Hi James,

I use a form in a moda window. i have also put the modal window inside
another form (i have called it modal window holder)

Josh.

On Tue, Mar 1, 2011 at 10:19 PM, James Carman <[email protected]>wrote:

> Did you check the javadocs for ModalWindow?
>
> "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."
>
> I don't know if that will help or not, but you seem to be using a form
> in the modal window.  Also, I believe it works better with pages than
> with panels.  You might try that.
>
>
> On Tue, Mar 1, 2011 at 2:14 PM, Josh Kamau <[email protected]> wrote:
> > Thanks Zultan for your feedback. Striping wicket tags didnt help.
> Anything
> > other than a table works. Does it mean it is "Illegal" to use table tags
> > inside inside a modal dialog?
> >
> > Josh.
> >
> > On Tue, Mar 1, 2011 at 10:09 PM, Zoltán Nagy <[email protected]>
> wrote:
> >
> >> exactly. the problem is on the client side.
> >>
> >> I don't know a really good solution but these workaround could solve it:
> >> - turn off generating "wicket:" tags:
> >> Application.get().getMarkupSettings().setStripWicketTags(true);
> >> - don't use table at all, use divs instead
> >> - use separate templates for development and production environment.
> >> only in production environment (where rendering "wicket:" tags is
> >> disabled) use table tags.
> >>
> >>
> >> 2011/3/1 Josh Kamau <[email protected]>:
> >> > Thanks Zoltan,
> >> >
> >> > How did you resolve the issue? In my case ,  the entire
> <table></table>
> >> tag
> >> > is removed. If i put a test label just outside the <table> tag, it is
> >> > displayed.
> >> >
> >> > Josh.
> >> >
> >>
> >>
> >> --
> >> Zoltán Nagy
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to