use a div instead, span cannot contain any block elements...

-igor


On Nov 10, 2007 12:09 PM, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> Sure - what you need to do is have an enclosing <span> tag, and use
> that as the target, so at the moment you have
>
> Page
>  +-> Form
>       +-> Username
>       +-> Panel1
>       +-> Panel2
>
> Instead, you need to have
> Page
>  +-> Form
>       +-> Username
>            +-> Span
>                 +-> Panel1
>                 +-> Panel2
> with the <span> being a WebMarkupContainer.
>
> Then you add the panels to the span, rather than the form, and use the
> span as the target to refresh, but this way the form doesn't get
> refreshed, which is why you lost the 'username' value.
>
> /Gwyn
>
> On 10/11/2007, BatiB80 <[EMAIL PROTECTED]> wrote:
> >
>
> > Hmm.... - I think this method is new in version 1.3, but I use version 1.2.
> > And I think it's not included there...
> >
> > Do you know how to solve the problem with this version?
> >
> > Thanks!
> > --
> > View this message in context: 
> > http://www.nabble.com/Show-and-hide-panel-with-radio-choice-tf4779601.html#a13684798
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Download Wicket 1.2.6 now! - http://wicketframework.org
>
> ---------------------------------------------------------------------
>
> 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