5450 Posts in 1672 Topics by 1197 members
|Go to End|
15 June 2010 at 7:11am Last edited: 15 June 2010 7:12am
how can i redirect from a Controller to a deeply nested Page with only its URLSegment available?
My requested pages will all have the same pattern:
I get the PageObject of my project. So far so good. But the URLSegment of my PageObject is just "project" and not "/maincategory/subcategory/project". So my redirects aint working properly.
EDIT: i'm using 2.4 with nestedURLs enabled...
15 June 2010 at 12:32pm
If you have the Page object then you can call a method Link() on it which generates for you the actual nested link.
|Go to Top|