Gili wrote:
So a panel may not have a body, which means my round corner box is really a border of some kind, but not really either.
Requirements:
- The box must be allowed to contain a body -- so it's not a panel.
Why not a panel? I would use a (MultiLine)Label or a ListView for that body. What you actually provide to be the body (like a static String), I would hide in an instance of IModel, so the RoundCornerPanel uses that as it's model.
- The box modifies the contents of the body, specifically it changes the background color of the inside of the box -- so it's not really a border.
Nope, I would not use a border.
See my problem? So what do you guys recommend?
Gili
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
