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, 20

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 Comp

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 T

Re: Render body only

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

Re: Render body only

2008-04-03 Thread Scott Sauyet
Jeremy Levy wrote: Did you try setRenderBodyOnly(true) ? D'Oh! No, I was looking to subclass and override getRenderBodyOnly(). Sheer brilliance! -- Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: Render body only

2008-04-03 Thread Ryan Gravener
You can try 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 was discussed in a thread a few years ago > (http://tinyurl.com/

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 tags. > > I can wrap

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 tags. I can wrap them in a with a WebMarkupContainer, but I like to have valid HTML and really don't want the tag in the final outpu