> 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 friend.

> wicket-contrib-velocity seems to be no good, since it appears to be for
> html templates.

Velocity can be used for anything really. But it only makes sense to
use Velocity over e.g. TextTemplate or StringResourceStream or
whatever if you need to do some (semi) complex rendering, with loops
and conditionals and stuff.

> Should I implement my own velocity stuff, or is there a better way?
>
> Maybe something like this already exists, but I just haven't seen it?

Entirely depends on what exactly you need. I think you should play
around with resources a bit.

Eelco

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to