You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Willis Blackburn <wb...@panix.com> on 2011/01/22 18:38:46 UTC

Is it possible to change the "/wicket" path?

(Sorry if this seems familiar to anyone.  I accidentally posted it to the
Nabble "Apache Wicket" forum the first time, instead of Users.)

I have an application in which the majority of valid URLs map to a content
management system.  In general, anything that's not a bookmarked page or a
Wicket-defined URL goes to the CMS. 

In order to avoid having to list all the possible URLs that the application
itself uses and prohibit users from creating CMS files with those names, I
decided that any URL starting with "_" would be reserved by the system.  So
the (bookmarkable) login page is /_login. 

However it looks like I can't change the /wicket path that Wicket itself
uses.  I tracked this down to IMapperContext--but the field itself in
Application and its getter method are both final. 

Is there really no way to change /wicket to something else--like /_wicket? 

Thanks, 
Willis 
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-the-wicket-path-tp3231625p3231625.html
Sent from the Users forum 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: Is it possible to change the "/wicket" path?

Posted by Willis Blackburn <wb...@panix.com>.
Thanks!

On Jan 22, 2011, at 5:42 PM, Igor Vaynberg-2 [via Apache Wicket] wrote:

> https://issues.apache.org/jira/browse/WICKET-3368
> 
> -igor 
> 
> On Sat, Jan 22, 2011 at 9:38 AM, Willis Blackburn <[hidden email]> wrote:
> 
> > 
> > (Sorry if this seems familiar to anyone.  I accidentally posted it to the 
> > Nabble "Apache Wicket" forum the first time, instead of Users.) 
> > 
> > I have an application in which the majority of valid URLs map to a content 
> > management system.  In general, anything that's not a bookmarked page or a 
> > Wicket-defined URL goes to the CMS. 
> > 
> > In order to avoid having to list all the possible URLs that the application 
> > itself uses and prohibit users from creating CMS files with those names, I 
> > decided that any URL starting with "_" would be reserved by the system.  So 
> > the (bookmarkable) login page is /_login. 
> > 
> > However it looks like I can't change the /wicket path that Wicket itself 
> > uses.  I tracked this down to IMapperContext--but the field itself in 
> > Application and its getter method are both final. 
> > 
> > Is there really no way to change /wicket to something else--like /_wicket? 
> > 
> > Thanks, 
> > Willis 
> > -- 
> > View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-the-wicket-path-tp3231625p3231625.html
> > Sent from the Users forum mailing list archive at Nabble.com. 
> > 
> > --------------------------------------------------------------------- 
> > To unsubscribe, e-mail: [hidden email] 
> > For additional commands, e-mail: [hidden email] 
> > 
> >
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: [hidden email] 
> For additional commands, e-mail: [hidden email] 
> 
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-the-wicket-path-tp3231625p3231948.html
> To unsubscribe from Is it possible to change the "/wicket" path?, click here.


-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-the-wicket-path-tp3231625p3232027.html
Sent from the Users forum 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: Is it possible to change the "/wicket" path?

Posted by Igor Vaynberg <ig...@gmail.com>.
https://issues.apache.org/jira/browse/WICKET-3368

-igor

On Sat, Jan 22, 2011 at 9:38 AM, Willis Blackburn <wb...@panix.com> wrote:
>
> (Sorry if this seems familiar to anyone.  I accidentally posted it to the
> Nabble "Apache Wicket" forum the first time, instead of Users.)
>
> I have an application in which the majority of valid URLs map to a content
> management system.  In general, anything that's not a bookmarked page or a
> Wicket-defined URL goes to the CMS.
>
> In order to avoid having to list all the possible URLs that the application
> itself uses and prohibit users from creating CMS files with those names, I
> decided that any URL starting with "_" would be reserved by the system.  So
> the (bookmarkable) login page is /_login.
>
> However it looks like I can't change the /wicket path that Wicket itself
> uses.  I tracked this down to IMapperContext--but the field itself in
> Application and its getter method are both final.
>
> Is there really no way to change /wicket to something else--like /_wicket?
>
> Thanks,
> Willis
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-the-wicket-path-tp3231625p3231625.html
> Sent from the Users forum 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