It works! Thank you.
On Wed, Jan 28, 2009 at 2:38 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
you need to wire your events. listpanel can have an abstract onclicked();
editpanel can have a method called inputchanged() which calls
form.clearinput()
your listpanel can then look like this:
if the form is in invalid state and you want to reuse the same
instance of it you have to call Form#clearInput()
-igor
On Tue, Jan 27, 2009 at 8:06 PM, Anton Veretennikov
anton.veretenni...@gmail.com wrote:
I'm still with this problem... and created Test App for this.
When required field is
Thank you very much, Igor
This really works.
I think that it will be nice not to keep reference to a form by the way.
So I tried to make override of onBeforeRender() but...
Seems that getModelObject() every time returns just clicked object not
the one editing-continued.
Is there any method to
you need to wire your events. listpanel can have an abstract onclicked();
editpanel can have a method called inputchanged() which calls form.clearinput()
your listpanel can then look like this:
add(new listpanel() { onclicked() { editpanel.inputchanged(); }}):
that way everything is still nicely
Hello, all wicket users and developers!
Wicket is 1-4-SNAPSHOT (not revision 737998, it is not compiling for
test failures).
I have a simple form for GoodPrice object edit.
List of objects have a link that sets PanelModel.goodPrice to
currently editing object.
This is how I create my form with