Ensemble Tags
Tag loginlink


This stores the URL prefix for the login page in memory using the given key and scope. The login prefix will end with a forward slash. This login prefix should be followed by the page suffix for the page that should be displayed after login.

Example:
For example, if the external URL prefix of the resource is http://www.ensemble.com/app/ and the desired page after login is http://www.ensemble.com/app/pages/mainpage.html, then the full login link would be made by adding pages/mainpage.html to the login link prefix.
<pt:ensemble.loginlink pt:level="4" pt:key="loginurlprefix"/>
var loginLink = "<pt:logic.value pt:value="$loginurlprefix"/>" + "pages/mainpage.html";


Tag Information
Tag Nameloginlink

Attributes
NameTypeRequiredDefault ValueDescription
levelinttruenullThe authentication level that the user will use to login.
keystringtruenullThe key used to store the resource data in memory.
scopescopefalseportlet requestThe scope used to store the resource data in memory. See the Logic Tag Library description for more details about valid scope arguments.


Copyright 2005 Plumtree Software, Inc.