The pre-login page is an interstitial page displayed before the login form.
The pre-login page could display an important message about availability or new functionality. The pre-login page can also be used to display a custom message to users who are part of an experience definition that is blocked from accessing the requested resource.
In the example below, the pre-login page (preinterstitialpage.jsp) displays a message about server maintenance. This page uses the pt:common.error tag to display any errors within the page, and the pt:core.html tag to display the submit button.
<%@page contentType="text/html;charset=UTF-8"%> <HTML> <BODY> <SPAN xlmns:pt='http://www.plumtree.com/xmlschemas/ptui/'> <FORM action="./processpreinterstitialpage.jsp" method="POST"> <P> <TABLE> <TR><TD> <CENTER><B>Maintenance Updates</B></CENTER> </TD></TR> <TR><TD> This server will be going down for maintenance on 5/28/07 at 6:37PM and 24 seconds.<BR> <pt:common.error> <P><B><FONT color="red"><pt:logic.value pt:value="$#10.ptmsgs_login"/></FONT>:</B> <pt:common.errortext/> </P> </pt:common.error> </TD></TR> <TR><TD> <CENTER> <pt:core.html pt:tag="input" type="submit" value="$#2.ptmsgs_samples"/> </CENTER> </TD></TR> </TABLE> </FORM> </SPAN> </BODY> </HTML>
When the user clicks the submit button, the processing page shown below (processpreinterstitialpage.jsp) sets the runner_pre_interstitial_complete header to true, which directs the browser to the login page. It also provides error text for the error page in case processing fails.
<%@page contentType="text/html;charset=UTF-8"%> <HTML> <BODY> <% out.println( "<P>Ensemble pre-login interstitial page processing login completion error. Contact your system administrator.</P>"); response.addHeader( "runner_pre_interstitial_complete", "true") %> </BODY> </HTML>