Re: How to write HTML directly

2009-10-26 Thread NiJK
Mauro, Thanks for your reply. I understand that Wicket doesn't work the same way and was wondering how this could be achieved. Is there just no way to output HTML directly? How would you use wicket to send an XML file, for example, or an image? -- View this message in context:

Re: How to write HTML directly

2009-10-26 Thread NiJK
igor.vaynberg wrote: add(new label(output, new propertymodel(this, itsMethod)).setescapemodelstrings(false)); and im markup wicket:container wicket:id=output/wicket:container -igor Igor, I just tried this and I end up with all the HTML contained within the wicket tags. Also, despite

Re: How to write HTML directly

2009-10-26 Thread NiJK
igor.vaynberg wrote: Also, despite the setEscapeModelString(false), all the HTML is escaped. that is pretty weird. i just tried and it worked fine for me... -igor Igor, Thanks for the info about setStripWicketTags(true). Something as simple as add(new

Re: How to write HTML directly

2009-10-26 Thread NiJK
James Carman-3 wrote: add(new Label(output,h1Hello/h1).setEscapeModelStrings(false)); Thanks for all your help on this, guys. And apologies to Igor for not paying attention to that syntax. -- View this message in context: