<p wicket:id="foo"></p> add(new Label("foo", "<!-- some stuff that should only be visible when vie...-->").setEscape...(false).setRenderBodyOnly(true));
should do this trick, but then inside out. Martijn On 4/27/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: > What I'd like to do is something like: > > <!-- <p wicket:id="foo">some data that should only be visible when > viewing the page's source code</p> --> > > Does this make sense? How can I do that? > > Thanks, > Lowell > > ------------------------------------------------------------------------- > 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 > -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org ------------------------------------------------------------------------- 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