I can get it to fire from within my app's main WebApplication, but how can I get at the render String of HTML from outside of WebApplication. ie, in a Page or Panel that doesn't have access to the mounted URIRequestTargetUrlCodingStrategy? This is where I thought WicketTester would come into play...
Tremelune wrote: > > Is there another example somewhere besides the one that extends > WebApplication? I'd like to encapsulate all of this into a simple object > that took a Page and some params, and I imagine WicketTester is the way to > get that done. I just can't seem to get rendered HTML into the > StringResponse... > > I've dug around the Wicket test source to no avail. If anyone has gotten > this kicking, please post code...For the life of me, I can't get > URIRequestTargetUrlCodingStrategy.decode() to fire! > > > > > John Krasnay wrote: >> >> OK, so WicketTester is the way to go. JBQ's response implied that there >> was a more direct way to do it, but I'll give WicketTester a try. >> >> Thanks, >> >> jk >> >> On Sat, Jun 23, 2007 at 08:05:58PM -0700, Igor Vaynberg wrote: >>> >>> see our tests. all the mock setup is done for you. our tests simply >>> call a >>> few methods and get a page rendered into a string that is then >>> compared to >>> another file. >>> >>> -igor >> >> >> ------------------------------------------------------------------------- >> 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 >> >> > > -- View this message in context: http://www.nabble.com/How-to-get-HTML-source-code-from-a-wicket-page-tf3968790.html#a11546043 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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