you could use a WebMarkupContainer.

Gerolf

On 10/22/07, Johan Maasing <[EMAIL PROTECTED]> wrote:
>
> I have some places where I use components only to modify the tag
> attributes.  As in:
>
> ----
> <div wicket:id="id"></div>
>
> ----
> final Label noopComponent = new Label(id, "");
> noopComponent.add(new AttributeModifier("style"...
>
>
> I was just wondering if there is an alternative to using Labels? It
> works fine but seems a bit silly to always output an empty string. In
> Tapestry I would have used the Any component for this, is there
> something similar in wicket?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to