----- Original Message ----- From: "Martijn Dashorst" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, July 22, 2005 9:33 AM
Subject: Re: [Wicket-user] Newbie confused about PageableListView


Use the AttributeModifier.

add(new Label("labelId", "Hello, World").add(new AttributeModifier("bgcolor", "black"));

Yeah, but now I'm controlling "bgcolor" attribute together with printing "Hello World" (Label component). I don't want to use Label, or some other component, I need some "NoOp" component, that does nothing, but only allows me to add AttributeModifier?

-Vjeran



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to