I'm having a similar problem in 1.3.0-SNAPSHOT without any nested
forms.   I simply have a ModelWindow with a Panel, in the panel I
define (among other things):

  Form reorder = new Form("reorder");
  reorder.setOutputMarkupId(true);
  add( reorder );

But in the generated HTML, the <form> element was missing when I tried
to use a Model dialog with a Panel vs. a Page.    When I switched to
using a Page everything worked perfectly.


On 6/22/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> What wicket version are you using? Nested forms are only supported in
> 1.3. If you are using modal window with 1.2, the only reliable way to
> use forms is putting a page inside modal window.
>
> -Matej
>
> On 6/22/07, Frank Bille <[EMAIL PROTECTED]> wrote:
> > On 6/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
> > > 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).
> > >
> >
> > Why is the modal component defined inside the form? Couldn't you just move
> > it out of the form?
> >
> > Frank
> >
> > -------------------------------------------------------------------------
> > 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
> >
> >
>
> -------------------------------------------------------------------------
> 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
>



-- 
------
Tim O'Brien: (847) 863-7045

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: "users-subscribe at wicket.apache.org" and follow the 
instructions.
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to