El mar, 16-12-2008 a las 03:31 -0800, jWeekend escribió:
> Thorsten,
>
> Wicket's Border component has associated markup so it may not be what it
> sounds like you're looking for.
> If all you need is a rectangular border drawn around some widgets, group
> them together (maybe in a div), give the grouping a class attribute and
> apply a CSS style, eg
>
> .myGroupedWidgets {border: thin solid #ccc;}
>
> If you need more control/something more dynamic, you can map this grouping
> to a WebMarkupContainer and use an attribute modifier.
>
> Of course you could achieve the same effect with a Wicket Border component,
> but if all you're doing is wrapping your content in a div, you may not want
> the overhead of providing the associated markup file such a border would
> require. On the other hand, using a Border would enable you to wrap your
> content with much more interesting stuff than just a rectangle!
>
> Does that make sense?
Yeah after writing my last mails I had a closer look again on
BoxBorder.java and finally saw the BoxBorder.html.
I ended up creating a PlainBorder.java and PlainBorder.html that just
added my decorative. Step by step I getting the concept. ;)
thanks.
salu2
--
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>
Sociedad Andaluza para el Desarrollo de la Sociedad
de la Información, S.A.U. (SADESI)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]