markupSettings.setMarkupFactory(
new MarkupFactory() {
...
}
);
Please update the migration page.
On Tue, Feb 7, 2012 at 11:43 AM, Thomas Singer <[email protected]> wrote:
> We have following code in our WebApplication's init method:
>
> final IMarkupSettings markupSettings = getMarkupSettings();
> markupSettings.setMarkupParserFactory(new IMarkupParserFactory() {
> public MarkupParser newMarkupParser(MarkupResourceStream resource) {
> final MarkupParser parser = new MarkupParser(new XmlPullParser(),
> resource);
> parser.appendMarkupFilter(new OurFilter(), WicketTagIdentifier.class);
> ...
> return parser;
> }
> });
>
> IMarkupParserFactory is gone in Wicket 1.5,
> <https://cwiki.apache.org/WICKET/migration-to-wicket-15.html> does not tell
> anything about it. How to rewrite this with Wicket 1.5? Thanks in advance.
>
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]