Hi, i'm having an strange behavior in my application.
i have a form with a listview inside and the items in this listview can be
reordered using buttons (that's why the list is inside a form). In the
form i have a link that opens a modalWindow to add a new element to my
list (the link and the modal are defined as elements inside the form).
This modalWindow contains a new form to complete the necesary information
and a button to close the modal and add it to the original (reorderable)
listview.
The thing is that the 'second' form created inside the modal does not
write the html correctly and thus the javascript fails with "form has no
properties".
Using firebug i could find that the modal doesn't have the <form> tag
inside, after the <div> defining the window it just have the all the
<input>s and <select>s, so when javascript is looking for it to make the
submition, it fails.
I added setOutputMarkupId(true) to all my involved components to check if
i was missing something but still has the same issue.
I think there is a bug in somewhere... what do you think? there's some
workaround for this?

thanks a lot.

--
D.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to