Hi, https://issues.apache.org/jira/browse/WICKET-3433
You can use session.getClientInfo().isInternetExplorer() to add the class with AttributeModifier On Thu, Feb 28, 2013 at 10:19 PM, Nick Pratt <[email protected]> wrote: > Should the following work with Wicket 6.5/6.6? > > <!DOCTYPE html> > > <!--[if IE]> > <html class="IE"> > <![endif]--> > <!--[if !IE]> --> > <html class="NOT_IE"> > <!-- <![endif]--> > > </html> > > > Wicket is not parsing the conditional when its around the <html> element > itself - its failing to find the close tag > > ERROR - DefaultExceptionMapper - Unexpected error occurred > Tag does not have a close tag > > Just put the above HTML in the Quickstart HomePage.html, and remove all the > Components from HomePage.java to reproduce. > > It would also be helpful to tweak that error message to include the name of > the tag that cant be found. > > Nick > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
