Hi Xena

Not sure what you mean with "redirecting parent page". In which context you 
want to redirect? You want to create a redirect template?
Note that STK has a redirect template. You may not want to use STK, but the stk 
redirection template could be a good source of inspiration.
By the way: Be aware that your redirection logic may point to a page node which 
also is a redirect. If that's the case, make sure to avoid circular 
redirections.

Now concerning "we have some that are managed by ACL":
When a user requests a page with a template which has a model class. ... If the 
model class is operating on JCR, this is done in the context of the user 
requesting the page ("user context").
E.g. this means: If the user requesting the page has the role "anonymous" - the 
model class searching some nodes / pages will not find nodes which are not 
readable for "anonymous".

Here you have some links to java classes on git which could be interesting:

[url=https://git.magnolia-cms.com/projects/MODULES/repos/standard-templating-kit/browse/magnolia-module-standard-templating-kit/src/main/java/info/magnolia/module/templatingkit/templates/RedirectTemplateModel.java]RedirectTemplateModel.java[/url]

[url=https://git.magnolia-cms.com/projects/MODULES/repos/standard-templating-kit/browse/magnolia-module-standard-templating-kit/src/main/java/info/magnolia/module/templatingkit/redirection/validator/RedirectTargetValidator.java]RedirectTargetValidator[/url]

I hope this helps,
kind regards,
 Christoph

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=80daf1a1-8c5c-414f-8765-fca7e99fd142


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to