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 already all set up, I was thinking of using Wicket to provide access to text-only resources (and eventually others, too). For example, I want to read in some page parameters and, based on those parameters, directly return a page of mime-type "text/plain" with some strictly text-only output (i.e. no tags). In other words, this is accessed directly from the outside as a url, preferably mounted as a "nice/pretty url". > > 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. I took a quick look... but aren't resources used internally by wicket for embedding into an html page? If so, it doesn't sound like this would work for what I'm intending... Or maybe I just don't see how to access the resource via a url to accomplish what I'm after. Cheers, Dave ------------------------------------------------------------------------- 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