add(new label("output", new propertymodel(this,
"itsMethod")).setescapemodelstrings(false));

and im markup

<wicket:container wicket:id="output"></wicket:container>

-igor


On Mon, Oct 26, 2009 at 10:27 AM, nick kitching <[email protected]> wrote:
>
> Hi,
>
> I have a Java class which outputs HTML directly including <HTML>,<HEAD> and 
> <BODY> tags.
>
> Using JSP I simply include this class as a bean and then have the JSP do 
> something like
> ${bean.itsMethod}
> to have those tags written directly into my page.
>
> I'm just starting out with Wicket and wondered how I could use this same bean 
> in Wicket pages.
>
> Thanks in advance.
>
> _________________________________________________________________
> New Windows 7: Find the right PC for you. Learn more.
> http://www.microsoft.com/windows/buy/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to