You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Douglas Ferguson <do...@douglasferguson.us> on 2009/04/20 20:16:47 UTC
Obtain a Page class via mounted page link
Is there a way to look up a mounted page link via the name?
I'm digging through the code but I don't see a way to do this..
Douglas Ferguson
mobile: 512.293.7279
office/fax: 512.462.0408
skype: stillrecording
aim: DaAmericanRuse
-
http://www.linkedin.com/in/douglasferguson
http://www.myspace.com/douglasferguson
http://www.douglasferguson.us/
http://www.distilleryrecords.com/
http://www.stillrecording.com/
Join my mailing list: distilleryrecords-subscribe@yahoogroups.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: Obtain a Page class via mounted page link
Posted by Douglas Ferguson <do...@douglasferguson.us>.
This seems to work.
WebRequestCodingStrategy strategy = (WebRequestCodingStrategy)PRManagerApplication.get().getRequestCycleProcessor().getRequestCodingStrategy();
BookmarkablePageRequestTarget target = (BookmarkablePageRequestTarget)strategy.urlCodingStrategyForPath("").decode(new RequestParameters());
target.getPageClass();
Ferguson
mobile: 512.293.7279
office/fax: 512.462.0408
skype: stillrecording
aim: DaAmericanRuse
-
http://www.linkedin.com/in/douglasferguson
http://www.myspace.com/douglasferguson
http://www.douglasferguson.us/
http://www.distilleryrecords.com/
http://www.stillrecording.com/
Join my mailing list: distilleryrecords-subscribe@yahoogroups.com
________________________________________
From: Douglas Ferguson [douglas@douglasferguson.us]
Sent: Monday, April 20, 2009 1:16 PM
To: users@wicket.apache.org
Subject: Obtain a Page class via mounted page link
Is there a way to look up a mounted page link via the name?
I'm digging through the code but I don't see a way to do this..
Douglas Ferguson
mobile: 512.293.7279
office/fax: 512.462.0408
skype: stillrecording
aim: DaAmericanRuse
-
http://www.linkedin.com/in/douglasferguson
http://www.myspace.com/douglasferguson
http://www.douglasferguson.us/
http://www.distilleryrecords.com/
http://www.stillrecording.com/
Join my mailing list: distilleryrecords-subscribe@yahoogroups.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