-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
i am new in programming with zk.
since days i have the problem that i can`t use the event "onCreate" for the combobox that is embedded in a grid.
I say:
<combobox id="seite" model="@{...}" autodrop="true" selectedItem="@{...}" cols="8">
and in the java - source:
I wrote:
public void onCreate$seite(ForwardEvent event){
seite.setDisabled(true);
System.out.println("oncreate 1");
}
=> the source is not reacting onto the direction.. i am very confused.
when i say:
<combobox id="seite" model="@{...}" onCreate="self.setDisabled(true);" autodrop="true" selectedItem="@{...}" cols="8">
it disables all comboboxes "seite" in all rows in the grid.
but it doesn`t react if the onCreate - method is in the java class that is used for other methods, that function!
can that be a bug of zk?
I am using java version 1.6
Hi,
Please see the discussion,
http://www.zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D8187%3BcategoryId%3D14%3B
use forward and try again!
Asked: 2009-05-19 07:13:49 +0800
Seen: 163 times
Last updated: May 19 '09