atom feed10 messages in org.apache.wicket.devmodal dialog and nesting of forms.
FromSent OnAttachments
Johan CompagnerFeb 16, 2012 11:16 am 
Igor VaynbergFeb 16, 2012 11:20 am 
Johan CompagnerFeb 16, 2012 11:22 am 
Johan CompagnerFeb 16, 2012 11:36 am 
Igor VaynbergFeb 16, 2012 11:52 am 
Johan CompagnerFeb 16, 2012 11:55 am 
Igor VaynbergFeb 16, 2012 11:58 am 
Johan CompagnerFeb 16, 2012 12:03 pm 
Igor VaynbergFeb 16, 2012 12:11 pm 
Sven MeierFeb 17, 2012 8:35 am 
Subject:modal dialog and nesting of forms.
From:Johan Compagner (jcom@gmail.com)
Date:Feb 16, 2012 11:16:37 am
List:org.apache.wicket.dev

here:

http://wicket.apache.org/apidocs/1.5/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.html

we say

"If you want to use form in modal window component make sure that you put the modal window itself in another form (nesting forms is legal in Wicket) and that the form on modal window is submitted before the window get closed."

problem is that this is illegal in the browser. And chrome some if i push through ajax new content in the modal dialog that has that form completely removes the form from the resulting component tree..

I guess this is because the modal dialog generates a form tag itself, and then also a form tag is generated in the content of the modal dialog itself and chrome just filters that out? Weird thing is that chrome doesn't do that when you do a full page refresh...

johan