Get page name

var path:string = facesContext.getExternalContext().getRequest().getRequestURI()
return session.evaluate("@RightBack(\"" + path + "\"; \"/\")").get(0)

JavaScript (Server)
Aidan. Cooper
December 5, 2011 7:12 PM

All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.

1 comment(s)Login first to comment...
Glen P Urban
(at 08:45 on 16.10.2013)
alternatively: view.getPageName()