5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 728 Views |
-
Redirect to deeply nested Page

15 June 2010 at 7:11am Last edited: 15 June 2010 7:12am
Hey there,
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:
"/maincategory/subcategory/project"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.
Any suggestions?
ThanksEDIT: i'm using 2.4 with nestedURLs enabled...
-
Re: Redirect to deeply nested Page

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.
| 728 Views | ||
|
Page:
1
|
Go to Top |

