HtmlValidator was not designed for use in WicketTester, see my response to this question [1].
That said, I'd like to extend HtmlValidator to be useful with wickettester and will gladly accept patches :-) Martijn [1] http://osdir.com/ml/users-wicket.apache.org/2009-08/msg00260.html On Mon, Aug 24, 2009 at 11:55 AM, Antoine van Wel<[email protected]> wrote: > Hi, > > HtmlValidator [1] turns out to be a great help for those who care about > valid (x)html. > Now I'm trying to get it to work in my unit tests, it doesn't seem to be > picked up; in fact I wonder if any responsefilter is being executed at all > when running from wickettester. What do you think? The filter is added > exactly as described in the blog through > getRequestCycleSettings().addResponseFilter(htmlValidator) and I'm sure that > is being executed. > > thanks > Antoine > > [1] http://wicketinaction.com/2009/06/wicket-html-validator-12/ > > -- > > --8<--8<-- > take your photos everywhere you go - http://www.memolio.com > --8<--8<-- > We don't see things as they are, we see things as we are. - Anais Nin > Whether you think you can or whether you think you can't, you're right. - > Henry Ford > --8<--8<-- > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
