RE: ModalWindow and Form problems

2013-05-22 Thread Michal Wegrzyn
Anybody?

Best regards,
Michał Węgrzyn

 -Original Message-
 From: Michal Wegrzyn [mailto:michal.wegr...@onior.com]
 Sent: Wednesday, May 08, 2013 11:22
 To: users@wicket.apache.org
 Subject: ModalWindow and Form problems
 
 Hi,
 
 We are using modal window with two forms at the moment: FilterForm and
 Form (Wicket 1.5.9) (inside bean edit panel with ajax).
 FilterForm is not used at the moment (hidden filter fields).
 
 Everything works fine in IE and Firefox but in Chrome form tag is not
 rendered (only body of the form element is rendered) which causes:
 
 ERROR: Wicket.Ajax.Call.submitFormById: Trying to submit form with id
 'form27a' that is not in document.
 
 Wrapping modals in forms doesn't help. If I override isRootForm with
 false then submit succeeds, but after that forms doesn't work
 anymore.
 I think that it can be connected with nested forms and Wicket's
 ModalWindow structure. I saw several issues on Jira:
 
 https://issues.apache.org/jira/browse/WICKET-1826
 https://issues.apache.org/jira/browse/WICKET-2214
 https://issues.apache.org/jira/browse/WICKET-3404
 
 Are there any improvements in Wicket 6.x.x regarding modal forms? If
 not, are there any plans or other up-to-date issue?
 Regardless priority of old issues, it seems that it's a serious
 problem.
 
 Best regards,
 Michał Węgrzyn


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



ModalWindow and Form problems

2013-05-08 Thread Michal Wegrzyn
Hi,

We are using modal window with two forms at the moment: FilterForm and Form 
(Wicket 1.5.9) (inside bean edit panel with ajax).
FilterForm is not used at the moment (hidden filter fields).

Everything works fine in IE and Firefox but in Chrome form tag is not 
rendered (only body of the form element is rendered) which causes:

ERROR: Wicket.Ajax.Call.submitFormById: Trying to submit form with id 'form27a' 
that is not in document.

Wrapping modals in forms doesn't help. If I override isRootForm with false 
then submit succeeds, but after that forms doesn't work anymore.
I think that it can be connected with nested forms and Wicket's ModalWindow 
structure. I saw several issues on Jira:

https://issues.apache.org/jira/browse/WICKET-1826
https://issues.apache.org/jira/browse/WICKET-2214
https://issues.apache.org/jira/browse/WICKET-3404

Are there any improvements in Wicket 6.x.x regarding modal forms? If not, are 
there any plans or other up-to-date issue?
Regardless priority of old issues, it seems that it's a serious problem.

Best regards,
Michał Węgrzyn