Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1-dev
-
None
-
windows xp, tomcat 5.5.16, jetspeed-21-dev build from src
Description
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