Render body only

2008-04-03 Thread Scott Sauyet
Hi, I'm looking to do exactly what was discussed in a thread a few years ago (http://tinyurl.com/3yo43s), namely to dynamically include or exclude a group of TR tags. I can wrap them in a SPAN with a WebMarkupContainer, but I like to have valid HTML and really don't want the SPAN tag in the

Re: Render body only

2008-04-03 Thread Jeremy Levy
Did you try setRenderBodyOnly(true) ? On Thu, Apr 3, 2008 at 10:28 AM, Scott Sauyet [EMAIL PROTECTED] wrote: Hi, I'm looking to do exactly what was discussed in a thread a few years ago (http://tinyurl.com/3yo43s), namely to dynamically include or exclude a group of TR tags. I can wrap them

Re: Render body only

2008-04-03 Thread Ryan Gravener
You can try wicket:container wicket:container wicket:id=foo tr wicket:id=dd.../tr /wicket:container http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-WicketTags On Thu, Apr 3, 2008 at 10:28 AM, Scott Sauyet [EMAIL PROTECTED] wrote: Hi, I'm looking to do exactly what

Re: Render body only

2008-04-03 Thread Scott Sauyet
Ryan Gravener wrote: You can try wicket:container wicket:container wicket:id=foo tr wicket:id=dd.../tr /wicket:container http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-WicketTags And that's even better. No ugly SPAN tags in the markup either. Thanks Jeremy and

Re: Render body only

2008-04-03 Thread Charlie Dobbie
Off Topic, but does anyone else apart from Scott and me get confused by this duality? Should I setProperty, or override getProperty? And the equally annoying Does getComponentX give me a reference to an already-created ComponentX, or do I override it to supply my own ComponentX? Charlie. On

Re: Render body only

2008-04-03 Thread John Krasnay
On Thu, Apr 03, 2008 at 03:50:42PM +0100, Charlie Dobbie wrote: Off Topic, but does anyone else apart from Scott and me get confused by this duality? Should I setProperty, or override getProperty? And the equally annoying Does getComponentX give me a reference to an already-created

Re: Render body only

2008-04-03 Thread Al Maw
Yeah. It's a bit nasty, but there's not really any other way to have both the flexibility and the convenience, unless you have some brilliant other idea? It's like jk says, normally you would use the setter, unless you need on-demand evaluation per page-view. Regards, Alastair On Thu, Apr 3,