Thanks Igor,

I'm using 1.2.4 - and now a bit confused with these compilation problems:

1) doesn't WicketMessageTagHandler needs a ContainerInfo in the
constructor.  Where is the best place to get that from?

2) and the super.initMarkupFilters(parser) line does not compile either.

I see that as per apidocs, the compile problem is expected:

http://wicket.sourceforge.net/apidocs/wicket/markup/parser/filter/WicketMessageTagHandler.html

However from SVN I see that what you provided should work.

http://svn.sourceforge.net/viewvc/wicket/trunk/wicket/src/java/wicket/markup/MarkupParserFactory.java?view=markup

What am I missing?

Thanks,

Peter.

On 1/20/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:

application.init() {
   super.init();
   getmarkupsettings.setmarkupparserfactory(new MarkupParserFactory() {
                protected void initMarkupFilters(final MarkupParser
parser)
    {
             super.initMarkupFilters (parser);
          parser.registermarkupfilter(new wicketmessagetaghandler());
    }


-igor


On 1/20/07, Peter Thomas < [EMAIL PROTECTED]> wrote:

> make sure you have WicketMessageTagHandler added to markupparser.
> >
> > -igor
> >
>
> I had the same question - but now how exacty do I add WicketMessageTagHandler
> to markupparser ?  I am trying to do this in the application but 
WicketMessageTagHandler
> needs a ContainerInfo.  Help!
>
> - Peter
>
>



-------------------------------------------------------------------------
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