Hello,

In the following piece of code, I have a DropDownChoice
instance which triggers specific actions (a page redirect)
whenever its state changes.

http://pastie.caboo.se/203169

Inside 'onSelectionChanged' method, I have to get
form's content a user may have provided;
namely 'number' and 'name' values, to
construct an object, here it's an account,
which will be later passed on to another page.

But if I try 'getForm()' method, I always get
an empty form despite the fact that Wicket
generated:

<select ... onchange="...; document.getElementById('form1').submit();"

which as far as I understand should have submitted
an entire form when the state of 'select' changes.

I cannot figure this out... Am I missing something?

Ciao,
-- 
Jakub P. Nowak

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to