You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by aaime74 <an...@gmail.com> on 2008/06/17 17:04:55 UTC

Making all Wicket URL start with a subpath

Hi,
at GeoServer (www.geoserver.org) we're switching the web UI from Struts2 to
Wicket. Looks promising, but there's one catch: we'd like all of our UI
paths to be located under /geoserver/ui instead of /geoserver directly, even
for the wicket non mounted URLs. This is because we have other services
installed on other paths, and we'd like to keep everything separated.
So, is there any place where we can plugin in the general URL encoding
strategy to force all wicket url to start with /geoserver/ui? 
-- 
View this message in context: http://www.nabble.com/Making-all-Wicket-URL-start-with-a-subpath-tp17913538p17913538.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Making all Wicket URL start with a subpath

Posted by aaime74 <an...@gmail.com>.
We did not, we're using Spring and in web.xml we're using a single wildcard
mapping that forwards to the Spring dispatcher, and then that forwards to
the Wicket Servlet wrapping controller. 
Page links seem to work, but all references back to the ajax js resources
are trying to hit /geoserver/resources instead of /geoserver/ui/resources,
and also PageLink are trying to hit /geoserver/... directly (whilst
Bookmarkable
ones are working fine).

Cheers
Andrea


jwcarman wrote:
> 
> Have you tried mounting the WicketFilter with a different url-mapping?
> 
> On Tue, Jun 17, 2008 at 11:04 AM, aaime74 <an...@gmail.com> wrote:
>>
>> Hi,
>> at GeoServer (www.geoserver.org) we're switching the web UI from Struts2
>> to
>> Wicket. Looks promising, but there's one catch: we'd like all of our UI
>> paths to be located under /geoserver/ui instead of /geoserver directly,
>> even
>> for the wicket non mounted URLs. This is because we have other services
>> installed on other paths, and we'd like to keep everything separated.
>> So, is there any place where we can plugin in the general URL encoding
>> strategy to force all wicket url to start with /geoserver/ui?
>> --
>> View this message in context:
>> http://www.nabble.com/Making-all-Wicket-URL-start-with-a-subpath-tp17913538p17913538.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Making-all-Wicket-URL-start-with-a-subpath-tp17913538p17922964.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Making all Wicket URL start with a subpath

Posted by James Carman <ja...@carmanconsulting.com>.
Have you tried mounting the WicketFilter with a different url-mapping?

On Tue, Jun 17, 2008 at 11:04 AM, aaime74 <an...@gmail.com> wrote:
>
> Hi,
> at GeoServer (www.geoserver.org) we're switching the web UI from Struts2 to
> Wicket. Looks promising, but there's one catch: we'd like all of our UI
> paths to be located under /geoserver/ui instead of /geoserver directly, even
> for the wicket non mounted URLs. This is because we have other services
> installed on other paths, and we'd like to keep everything separated.
> So, is there any place where we can plugin in the general URL encoding
> strategy to force all wicket url to start with /geoserver/ui?
> --
> View this message in context: http://www.nabble.com/Making-all-Wicket-URL-start-with-a-subpath-tp17913538p17913538.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org