[ http://issues.apache.org/jira/browse/JS2-521?page=all ]
Ate Douma reassigned JS2-521:
-----------------------------
Assign To: Ate Douma
> j2-admin: Styling of login error messages (Login.jsp)
> -----------------------------------------------------
>
> Key: JS2-521
> URL: http://issues.apache.org/jira/browse/JS2-521
> Project: Jetspeed 2
> Type: Wish
> Components: Admin Portlets
> Versions: 2.1-dev
> Environment: windows xp, tomcat 5.5.16, jetspeed-21-dev build from src
> Reporter: Bruno Marti
> Assignee: Ate Douma
> Priority: Minor
>
> I've creaated a new sample portal (myportal) from source.
> Is it possible to add more styling to the admin-portlets?
> For example in login.jsp:
> actual code:
> <c:choose>
> <c:when test="${not empty errorCode}">
> <br>
> <i><fmt:message key="login.label.ErrorCode.${errorCode}"/></i>
> <br>
> </c:when>
> <c:otherwise>
> <c_rt:set var="retryCount"
> value="<%=((RequestContext)request.getAttribute(RequestContext.REQUEST_PORTALENV)).getSessionAttribute(LoginConstants.RETRYCOUNT)%>"/>
> <c:if test="${not empty retryCount}">
> <br>
> <i><fmt:message
> key="login.label.InvalidUsernameOrPassword"><fmt:param
> value="${retryCount}"/></fmt:message></i>
> <br>
> </c:if>
> </c:otherwise>
> </c:choose>
> my wish (formatted error-msg with portlet-msg style):
> <div class="portlet-msg-alert">
> <c:choose>
> <c:when test="${not empty errorCode}">
> <fmt:message key="login.label.ErrorCode.${errorCode}"/>
> </c:when>
> <c:otherwise>
> <c_rt:set var="retryCount"
> value="<%=((RequestContext)request.getAttribute(RequestContext.REQUEST_PORTALENV)).getSessionAttribute(LoginConstants.RETRYCOUNT)%>"/>
> <c:if test="${not empty retryCount}">
> <fmt:message key="login.label.InvalidUsernameOrPassword"><fmt:param
> value="${retryCount}"/></fmt:message>
> </c:if>
> </c:otherwise>
> </c:choose>
> </div>
> Or, can I override such sites in a way like I can override (example
> default-page.psml) with my own styles
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]