Yep, that is making the hierarchies match.

Martijn

On 3/10/08, James Carman <[EMAIL PROTECTED]> wrote:
> On 3/10/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
>  > No. The hierarchy needs to match. Otherwise it is impossible to
>  >  distinguish a programming error from a non programming error.
>  >
>
>
> Can't you put in a placeholder empty Panel in the case where you don't
>  want stuff to show?  This assumes that the component you want to hide
>  is more complex than just a TextField or something.  So, when you want
>  to show the complex panel, you instantiate it and add it.  When you
>  don't, you add some empty panel (both having the same ids).  This way,
>  the hierarchy matches.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to