Re: overriding getNamespace won't work

2012-01-03 Thread YK
I finally figured out the root of the troubles I'm running into... I removed the wicket namespace declaration (xmlns:wicket="http://wicket.apache.org"; ) and it worked ! thx ! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/overriding-getNamespace-won-t-work-tp424679

Re: overriding getNamespace won't work

2012-01-03 Thread YK
the only test I found is about changing the default namespace of a MarkupParser not the whole wicket app -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/overriding-getNamespace-won-t-work-tp4246795p4258756.html Sent from the Forum for Wicket Core developers mailing lis

Re: overriding getNamespace won't work

2012-01-03 Thread Juergen Donnerstag
There are working examples in our test suite. Please have a look their. They exist since the first days of Wicket. Juergen On Tue, Jan 3, 2012 at 10:05 PM, YK wrote: > Hi, > > sorry this does not work... > > I suspect it's feasable now > > thanks anyway > > -- > View this message in context: >

Re: overriding getNamespace won't work

2012-01-03 Thread Martin Grigorov
ticket + quickstart please On Tue, Jan 3, 2012 at 11:05 PM, YK wrote: > Hi, > > sorry this does not work... > > I suspect it's feasable now > > thanks anyway > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/overriding-getNamespace-won-t-work-tp4246795p4258593.h

Re: overriding getNamespace won't work

2012-01-03 Thread YK
Hi, sorry this does not work... I suspect it's feasable now thanks anyway -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/overriding-getNamespace-won-t-work-tp4246795p4258593.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: overriding getNamespace won't work

2012-01-01 Thread Martin Grigorov
Hi, This is the way. Try additionally to set the namespace on the MarkupResourceStream directly. On Sun, Jan 1, 2012 at 11:36 AM, YK wrote: > Ok. How to define a custom MarkupParser now?!! I can't find anything helpfull > except this link: > https://cwiki.apache.org/WICKET/adding-a-markup-filter

Re: overriding getNamespace won't work

2012-01-01 Thread YK
Ok. How to define a custom MarkupParser now?!! I can't find anything helpfull except this link: https://cwiki.apache.org/WICKET/adding-a-markup-filter.html adding-a-markup-filter.html I tried this: public class MyApplication extends Application { protected void init() { ... getMa

Re: overriding getNamespace won't work

2011-12-31 Thread Juergen Donnerstag
please see MarkupParserTest.java. The following is a partial copy: @Test public void tagParsing() throws Exception { final MarkupParser parser = new MarkupParser( "This is a test Bold! " + " ");

Re: overriding getNamespace won't work

2011-12-31 Thread YK
Hi, That's right. I'm trying to use another prefix than 'wicket' for my xhtml components. Thanks for the hint! By the way, is the following the right way to override the org.apache.wicket.markup.MarkupResourceStream#getWicketNamespace() method ? public class MyWicketApplication extends WebAppl

Re: overriding getNamespace won't work

2011-12-30 Thread Martin Grigorov
Hi, IMapperContext is a new class introduced in 1.5. We have unit tests that the namespace is actually in use. This namespace is for the Urls : default - /wicket/bookmarkable/com.example.MyPage custom - /mynamespace/bookmarkable/com.example.MyPage I guess you expect different behavior from it - t

Re: overriding getNamespace won't work

2011-12-30 Thread Juergen Donnerstag
I don't think it has changed in 1.5 compared to 1.4, but feel free to open a jira ticket and attach a quickstart -Juergen On Fri, Dec 30, 2011 at 9:44 PM, YK wrote: > hi, > > I'm playing with wicket 1.5.3 and I discovered that overriding getNamespace > method does not work! > > In my Application

overriding getNamespace won't work

2011-12-30 Thread YK
hi, I'm playing with wicket 1.5.3 and I discovered that overriding getNamespace method does not work! In my Application, I overrode the newMapperContext method to define a new IMapperContext but my app won't work: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ove