Hi Al,

Tuesday, November 6, 2007, 12:30:00 PM, you wrote:

AM> Gwyn Evans wrote:
>> Hi,
>>   I've got a form, which I'm processing with Ajax, but I need to go
>> onto a different page once it submits correctly.  The problem I'm
>> seeing is that if I do a
>>    setResponsePage(Sent.class);
>> 
>> then the URL that's being generated is:
>>   http://.../xyz/?wicket:bookmarkablePage=%3Acom.s.c.web.xyz.Sent
>> 
>> The problem might be that my Home page is mounted as /sc (using
>> HybridUrlCodingStrategy) but as a result there's no '/' page, so the
>> request isn't picked up by the Wicket filter & goes to the default
>> index.html.
>> 
>>   (I'll try mounting the 'Sent' page & see what effect that has, but
>> wanted to run that by people & I can't access the IRC at the moment!)

AM> Sounds like a bug. As luck would have it, I'm looking at the code around
AM> there for another bug at the moment, so give me a quickstart and a JIRA
AM> issue and I'll fix it.

Thanks - I've added https://issues.apache.org/jira/browse/WICKET-1133
although I then tested it in Jetty as well as Winstone & it was fine
in Jetty/failed in Winstone, so chances are it's not Wicket.

It's just the "?wicket:..." processing though - mounting the
destination page means it works in both containers.
-- 
/Gwyn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to