Author: theute
Date: 2011-10-03 17:08:34 -0400 (Mon, 03 Oct 2011)
New Revision: 7624
Modified:
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/groovy/portal/webui/UILoginForm.gtmpl
Log:
JBEPP-1104: 404 Page on Failed Login attemp followed by correct login
Modified:
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/groovy/portal/webui/UILoginForm.gtmpl
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/groovy/portal/webui/UILoginForm.gtmpl 2011-10-03
21:07:32 UTC (rev 7623)
+++
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/groovy/portal/webui/UILoginForm.gtmpl 2011-10-03
21:08:34 UTC (rev 7624)
@@ -6,8 +6,7 @@
jsmanager.importJavascript('eXo.portal.UIPortalControl');
jsmanager.addCustomizedOnLoadScript('document.getElementById("UIPortalComponentLogin").username.focus();');
HttpSession session = rcontext.getRequest().getSession();
- String requestPath = rcontext.getInitialURI();
- //session.setAttribute("initialURI", requestPath);
+ String initialURI = rcontext.getRequestParameter("initialURI");
%>
<div class="UILoginForm">
<div class="LoginDecorator">
@@ -23,7 +22,7 @@
<div class="LoginDecoratorBackground">
<div class="LoginDetailBox">
<form class="UIForm" id="$uicomponent.id"
name="loginForm" action="<%= rcontext.getRequestContextPath() +
"/login"%>" method="post" style="margin: 0px;">
- <input type="hidden" name="initialURI"
value="<%=requestPath %>"/>
+ <input type="hidden" name="initialURI"
value="<%=initialURI %>"/>
<div class="VerticalLayout">
<table class="UIFormGrid">
<tr class="UserNameField">
Show replies by date