On Tue, Dec 4, 2012 at 9:58 AM, cknafl <chr.kn...@gmail.com> wrote: > Could be a possibility. I am trying it right now, I have to overwrite > newUrlRenderer in RequestCycle but how do I set my own RequestCycle? > > What I do not understand is that this behavior changed from wicket1.4 to > wicket6. >
I'm not sure that you need a custom UrlRenderer but if you do then see org.apache.wicket.Application#setRequestCycleProvider > > When I call a page with mountpath(value="bla") then I get a URL like > http://.../wicket/bla. When on this page is a button that makes a > setResponsePage(otherpage) I get a URL like http:// > .../wicket/wicket/page?1. > > One "/wicket/" is added altough I was in Wicket. > Yes. Wicket uses 'wicket' namespace for all pages which has no explicit mount path. See org.apache.wicket.Application#newMapperContext and org.apache.wicket.DefaultMapperContext#getNamespace > > You know what I mean. > > Regards > Christoph > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Struts-together-have-a-problem-when-not-adding-mountpath-to-the-Wicket-Page-tp4654359p4654458.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>