Hi
I can't seem to find version 7.0.7 on the maven repository.
Seems like it was there not too long ago.
Thanks
Martin
↧
Zk 7.0.7 Not on Maven repository
↧
How to open an upload window without clicking on a component ?
Hello everyone, this is my first question. Is it possible open the upload dialog/window without an event ? The user will input some info and after a few validations I open or not a upload dialog, like the one on onUpload event. I am using ZK 6.0.0.
Thanks in advance and sorry for the bad english.
↧
↧
Listbox fixed size
Hi all!
Hi have a question related to listbox size.
I have a listbox and I'd like to maintain a fixed size of it.
For example I want listbox always contains 10 line even if the list is empty.
Is there a way to do this?
Thank you in advance
Have a nice day !!!
:D
Morena
↧
AutoSave spreedsheet
Hi,
i have a problem with autosave feature. I put this code to my zk.xml file (in WEB-INF folder)zssapp.save.period.second 30
And when i deploy it on server it nothing happend. Could you help me with autosave? I need something more?
↧
ZK Do's and Dont's: Part 1

**ZK offers many features to simplify the creation of a Java-based web application. Here are some useful cases where ZK efficiency can be maximized:** [http://goo.gl/IP6cxv](http://goo.gl/IP6cxv)
**ZK offers many features to simplify the creation of a Java-based web application. Here are some useful cases where ZK efficiency can be maximized:** [http://goo.gl/IP6cxv](http://goo.gl/IP6cxv)
↧
↧
Multiple drag and drop element without Interoperability
Hi all,
I have a problem with my drag and drop.
I'm not sure if it's an intended design or not but I didn't see anything about this on forums or javadoc.
If you put, let's say, 2 listbox on a page. On both listbox you implement the drag and drop to reorder the list box.
If you take the element from 1 listbox and hover it on the other listbox, you will have a green check mark to the left because the listbox is "droppable". But you don't want it to be there.
Is there any way to check a onDrag or onOver event to check if it can actually be droppable by the good element?
Thanks
↧
Can't cause update of component visiblity in Window based on changed boolean property
For this example, I have a window that displays connection status. Either connected or disconnected. When I press the connect button I want the visibility of one groupbox of components to hide and another to appear. The actual implementation is more complex, but here is a trimmed down example.
I'm hoping / guessing I'm missing something simple in configuring my bindings or @NotifyChange() calls.
When the window is displayed it shows a Disconnected message and a connect button. Pressing the connect button calls through to the connect() command and the connected properties value gets updated from false to true. (I can see this through the debugger) However the view does not update to hide the upper groupbox and display the lower groupbox. The label that is @bind(vm.connected) does not update either.
If I change the initial value of connected from false to true, then the first groupbox is hidden and the second group box is displayed on initial viewing, however it will not swap back.
What am I missing? Help much appreciated.
Thanks,
Derek
Zul file:
View Model:
package test;
import org.zkoss.bind.annotation.Command;
import org.zkoss.bind.annotation.NotifyChange;
public class TestVM {
boolean connected = false;
public boolean isConnected() {
return connected;
}
public void setConnected(boolean connect) {
this.connected = connect;
}
@NotifyChange("connected")
@Command
public void connect() {
setConnected(true);
}
@NotifyChange("connected")
@Command
public void disconnect() {
setConnected(false);
}
}
↧
Autoscroll on selecteditem on combo not working
I have a comboBox with more than 100 values but when we select the value from combobox . Combo box should be auto scroll to the Selecteditem but it is not.
↧
OR operation in EL expression
Hi all,
I'd like to know if exist a EL expression to translate OR in .zul file.
Thanks in advance.
Have a nice day.
Morena
↧
↧
Override onsearching in chosenbox
Hi All,
I have a requirement to use chosenbox but the filter functionality should work if the input value is found anywhere in the chosen option list. I analyzed the filter functionality works with "Startwith" of the input value but i have to change it to "contains".
For examnple: if the listmodel contain 3 options as:
ABC
BAC
CCB
Then if user enter "a" as input then it should filter both "ABC" and "BAC" as both contains the letter "a".
↧
adding scroll bar to list box
Currently all list boxes and gris in our application have pagination. We want to change them to have scroll bars instead. I have tried adding org.zkoss.zul.nativebar and org.zkoss.zul.listbox.rod in zk.xml. The list boxes have vflex set to true. But I cannot see any scroll bars in the list boxes.
Can someone help me to get the scroll bars working?
thanks
↧
used zAu.send in mvvm
I want to use an action to perform zAu.send sever the MVVM pattern
Thank
file .zulSend simple string
File Code java Mvvm
public class QuytrinhKetoanVM extends BaseViewModel {
@Init
public void initVM() {
}
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view) {
Selectors.wireComponents(view, this, false);
}
@Command("onFlowform")
public void onFlowform(Event event) {
System.out.println("Call form highcharts");
}
@Command("onValidate")
public void onValidate() {
System.out.println("Call form highcharts");
}
@Override
public void onClose(Event event) {
}
}
Thank
file .zul
↧
ZSS 3.8.3 now available!!!
ZSS 3.8.3 contains 7 new features and 27 bug fixes:
**Feature Highlights:**
Support custom table style
Support to get merged regions
Support to get last column/row which contains data
***For the complete list of new features and bug-fixes, please refer to:*** [http://www.zkoss.org/product/zkspreadsheet/releasenote/3.8.3](http://www.zkoss.org/product/zkspreadsheet/releasenote/3.8.3)
**Feature Highlights:**
Support custom table style
Support to get merged regions
Support to get last column/row which contains data
***For the complete list of new features and bug-fixes, please refer to:*** [http://www.zkoss.org/product/zkspreadsheet/releasenote/3.8.3](http://www.zkoss.org/product/zkspreadsheet/releasenote/3.8.3)
↧
↧
Extend Grid in Java
I'm trying to expand a Grid in Java but I'm being unsuccessful.
I've crated a zul template that looks like this:
|
|
|
|
|
and my Java class looks like this:
public class ShotDescriptionGrid extends Grid implements IdSpace {
/**
*
*/
private static final long serialVersionUID = 1L;
@Wire
Label vaccineLabel;
@Wire
Textbox vaccineName;
@Wire
Label lotLabel;
@Wire
Textbox lotValue;
@Wire
Label dateLabel;
@Wire
Textbox dateValue;
@Wire
Label reactionsLabel;
@Wire
Textbox reactionsText;
@Wire
Label observationsLabel;
@Wire
Textbox observationsText;
/**
*
*/
public ShotDescriptionGrid(String vaccineLabel, String vaccineName, String lotLabel, String lotValue,
String dateLabel, String dateValue, String reactionsLabel, String reactionsText,
String observationsLabel, String observationsText) {
Executions.createComponents("/WEB-INF/grids/descriptionShots.zul", this, null);
Selectors.wireVariables(this, this, null);
Selectors.wireEventListeners(this, this);
setHeight("100%");setWidth("100%");
setStyle("overflow:auto;");
this.vaccineLabel.setValue(vaccineLabel);
this.vaccineName.setValue(vaccineName);
this.lotLabel.setValue(lotLabel);
this.lotValue.setValue(lotValue);
this.dateLabel.setValue(dateLabel);
this.dateValue.setValue(dateValue);
this.reactionsLabel.setValue(reactionsLabel);
this.reactionsText.setValue(reactionsText);
this.observationsLabel.setValue(observationsLabel);
this.observationsText.setValue(observationsText);
}
Besides the obvious extensive parameters in the constructor (this was a basic approach to see if it'd work) problem my variables aren't being wired in the component.
Am I doing something wrong or I can't extend a Grid in Java?
Thanks for help.
↧
Radiogroup before check complete event, is it possible?
Hello,
I need an event that runs before the onCheck on radiogroup because when the users changes his already made selection I want to warn him that this change will affect his work somehow and I'll show a messagebox asking him if he is sure of what his is doing.
Is there an event to do this?
Regards
↧
Updated ZK Spreadsheet Demo is now available!
Hi all,
Come and explore ZK Spreadsheet by visiting our updated demo: Excel Compatibility and User Permission!
Click to find out: http://goo.gl/wnTfpl
Click to find out: http://goo.gl/wnTfpl
↧
Contributor's sharing: updated Russian translation in ZK
Thanks to our contributor **Rostislav Dublin aka DRS** for providing updated Russian translation!
The enhancement will be included in our ZK 8.0.2 version.
The enhancement will be included in our ZK 8.0.2 version.
ZK Team
↧
↧
How to override zk.Widget method for only concrete object?
↧
Zk Any Interface with setModel method
I have a method with a lot of bussiness logic and the first parameter is a Combobox i need the exact same logic but now with a chosen box i think if combobox and chosenbox would share a interface with setModel method would solve my problem something like
public interface ModelAble
{
public void setModel(ListModel> model);
}
Would solve my problem using ModelAble in my model and Combobox and Chosenbox would work very easy but any interface works for both? i need setModel method because is the way i put the data into both Components any workaround.
↧
Upload Multiple Files at Once
I have look many documentation about "Upload Multiple Files at Once", but all I can find is telling me: Repeatedly select files, and then upload once.
I wonder in ZK how can I select multiple files just one time( meaning one opration, without repeatedly ), and then upload those files at once.
Thank you. I really need to find out this answer.
↧