Yes, I think it is a Border. Please read the very detailed javadoc for Border. Border in the sense that it surrounds the body you provide. "This is some text inside my box" will replace the <wicket:region name=body/> tag. May be replace is not the right word, because the <wicket:region> will not be removed. The body is written immediately after that tag. I'm not sure the option of removing this tags is already in CVS.
Juergen On Sun, 09 Jan 2005 03:47:51 -0500, Gili <[EMAIL PROTECTED]> wrote: > > 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 > ------------------------------------------------------- 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
