Thanks. Managed to get HTML for a web page. However, when I try to render a component, I run to problems as the component is manually rendered and attached to HTML body through ajax. As such, it will throw page not found.
When I try to add the component to a dummy website and render, the component appears correctly but ajax behavior will throw page expired exception. Any help? ptrthomas wrote: > > On Sun, Jan 25, 2009 at 6:25 AM, ken.p <ken.annihilat...@gmail.com> wrote: > >> >> Hi, >> >> I have a requirement which needed to obtain final rendered html as >> string. >> E.g: >> java: >> add(new Panel1("p1")); >> html: >> <div wicket:id="p1"></div> >> >> I need to be able to captured rendered HTML for the above. >> Any example is appreciated. > > > Have a look at this thread: > > http://www.nabble.com/Render-a-Wicket-page-to-a-string-for-HTML-email-tc20325702.html > > >> >> -- >> View this message in context: >> http://www.nabble.com/Obtain-Rendered-HTML-programmatically-tp21647328p21647328.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > -- View this message in context: http://www.nabble.com/Obtain-Rendered-HTML-programmatically-tp21647328p21826698.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org