Re: [Wicket-user] Formatting non-html templates

2007-05-05 Thread Jean-Baptiste Quenot
* David Leangen: > > and now component.setRenderBodyOnly(true) > > Looks like this approach does exactly what I want after all. :-D I guess you can also add a markup filter that will strip out the XML tags. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ---

Re: [Wicket-user] Formatting non-html templates

2007-04-27 Thread David Leangen
> > test > > > > wicket will output this: > > > > test > > > > and now component.setRenderBodyOnly(true) Ah! Eureka! Thank you for this. :-) Looks like this approach does exactly what I want after all. :-D - This SF.ne

Re: [Wicket-user] Formatting non-html templates

2007-04-27 Thread Juergen Donnerstag
> test > > wicket will output this: > > test > and now component.setRenderBodyOnly(true) Juergen - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of yo

Re: [Wicket-user] Formatting non-html templates

2007-04-26 Thread David Leangen
> > On Fri, 2007-04-27 at 07:59 +0200, Juergen Donnerstag wrote: > > > You know that you can remove all tag from output, do you? To remove > > > is simply a matter of settings and all other tags (e.g. > > > ) can be "removed" by subclassing onComponentTag > > > and not output anything. This appro

Re: [Wicket-user] Formatting non-html templates

2007-04-26 Thread David Leangen
Ok, my bad. The error had nothing to do with what you suggested. I'm playing around with all this now. Thanks for the tips! On Fri, 2007-04-27 at 15:09 +0900, David Leangen wrote: > On Fri, 2007-04-27 at 07:59 +0200, Juergen Donnerstag wrote: > > You know that you can remove all tag from out

Re: [Wicket-user] Formatting non-html templates

2007-04-26 Thread David Leangen
On Fri, 2007-04-27 at 07:59 +0200, Juergen Donnerstag wrote: > You know that you can remove all tag from output, do you? To remove > is simply a matter of settings and all other tags (e.g. > ) can be "removed" by subclassing onComponentTag > and not output anything. Sure, I guess that would work

Re: [Wicket-user] Formatting non-html templates

2007-04-26 Thread Juergen Donnerstag
You know that you can remove all tag from output, do you? To remove is simply a matter of settings and all other tags (e.g. ) can be "removed" by subclassing onComponentTag and not output anything. Juergen On 4/27/07, David Leangen <[EMAIL PROTECTED]> wrote: > Just to be sure we're talking about

Re: [Wicket-user] Formatting non-html templates

2007-04-26 Thread David Leangen
Just to be sure we're talking about the same thing here... ;-) > > I have overridden Page with PlainTextPage that outputs text/plain. > > Hmmm. Does that work? Wicket still needs tags to operate... Since there's so much "nice stuff" already available through Wicket and my Wicket framework is al

Re: [Wicket-user] Formatting non-html templates

2007-04-26 Thread Eelco Hillenius
> Hello! > > I have overridden Page with PlainTextPage that outputs text/plain. Hmmm. Does that work? Wicket still needs tags to operate... > I'm wondering: what's the best way to be able to add the plain-text > equivalent of panels to my template? Resources. See for instance TextTemplate and fr