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 - to be able to replace
the wicket: namespace in the markup.
For this you need
org.apache.wicket.markup.MarkupResourceStream#getWicketNamespace()

On Fri, Dec 30, 2011 at 10:55 PM, Juergen Donnerstag
<[email protected]> wrote:
> 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 <[email protected]> wrote:
>> 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/overriding-getNamespace-won-t-work-tp4246795p4246795.html
>> Sent from the Forum for Wicket Core developers mailing list archive at 
>> Nabble.com.



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

Reply via email to