> A panel can not have a body where you reference it. But, in Java, as a
> component, you can give it a model. And - obviously - you can use that
> model to render the panel"s markup (that has a body). Additionally,
> using our new <wicket notation, you could give this body (assuming it"s
> a String/ text) as an argument for the panel. That too, you can use for
> rendering your panel"s markup.
Ok, just to follow up on this conversation... I need to be able
to specify a body for the RoundCornerPanel in index.html so it reads:
<wicket:component name="myBox"
class="wicket.markup.html.panel.RoundCornerPanel" width="100%">
This is some text inside my box
</wicket:component>
Now, if you are saying that is it impossible to do this, then
RoundCornerPanel is not really a Panel. Is it a Border then? This seems
rather odd to me because it modifies the background color of the tags
found within it. It is a box, not a border.
What do you guys recommend I do?
Thanks,
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