Yep, totally. Anyting you like. If a component should /not/ be
attached to a certain tag, it should tell you so by throwing an
exception. Some of the formcomponents do this.

Eelco

On 10/17/05, Jason Essington <[EMAIL PROTECTED]> wrote:
> I had some markup that looked something like:
>
> <table>
>    <tr>
>      <td><span wicket:id="myPanel">[myPanel]</span></td>
>      <td><span wicket:id="myOtherPanel">[myOtherPanel]</span></td>
>    </tr>
> </table>
>
> I want to make some of the columns visible or not at runtime, so
> rather than adding another wicket:id to the td tag, and adding my
> panel to a WebMarkupContainer, I did something like:
>
> <table>
>    <tr>
>      <td wicket:id="myPanel">[myPanel]</td>
>      <td wicket:id="myOtherPanel">[myOtherPanel]</td>
>    </tr>
> </table>
>
> and can just set my panel as visible or not.
>
> So my question is, Is it reasonable to use a tag such as the <td> tag
> in place of the <span> tag that would ordinarily hold my panels?
>
> -jason
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to