Hi,

I'm trying to use the wicket:eclosure tag in my application, I am
using a 2.0 snapshot. I've added
"getPageSettings().addComponentResolver(new EnclosureResolver());" to
my application init as instructed in the javadoc, however I still get
the following trace:

java.text.ParseException: Unkown tag name with Wicket namespace:
'enclosure'. Might be you haven't installed the appropriate resolver?
     at 
wicket.markup.parser.filter.WicketTagIdentifier.nextTag(WicketTagIdentifier.java:107)

Could it be because EncloseResolver doesn't have the static block to
register it as a well know tag, so shouldn't the following be added to
the class?

        static
        {
                // register "wicket:enclosure"
                WicketTagIdentifier.registerWellKnownTagName("enclosure");
        }

Wouter

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to