You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/09/18 01:26:32 UTC

cvs commit: jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/view user-details.jsp

taylor      2004/09/17 16:26:32

  Modified:    applications/pam/src/webapp/WEB-INF/view user-details.jsp
  Log:
  Cleanup of User Admin portlet, basic tabbing functionality working
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.3       +23 -8     jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/view/user-details.jsp
  
  Index: user-details.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/view/user-details.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- user-details.jsp	17 Sep 2004 18:44:06 -0000	1.2
  +++ user-details.jsp	17 Sep 2004 23:26:32 -0000	1.3
  @@ -29,17 +29,20 @@
   
   <c:set var="user" value="${requestScope.user}" />
   
  -user = <c:out value="${user}"/>
  -
  -<%--Beginning of User check -%>
  +<%--Beginning of User check --%>
   <c:if test="${user != null}">
   
  -userxxx = <c:out value="${user}"/>
  -
   <c:set var="tabs" value="${requestScope.tabs}"/>
   <c:set var="selectedTab" value="${requestScope.selected_tab}"/>
   
  -<fmt:message key="user.principal.name"/> = <c:out value="${user.Principal}"/><br />
  +<br/>
  +<div class='portlet-section-header'>
  +<fmt:message key="user.principal.name"/> :
  +<span style='font-size:11pt; text-transform:uppercase'>
  +<c:out value="${user.principal}"/>
  +</span>
  +</div>
  +<br/>
   
   <div id="tabs">
   	<c:set var="tab_items" value="${tabs}"/>
  @@ -48,9 +51,10 @@
   	<%@ include file="tabs.jsp"%>
   </div>
   
  +
   <%--Beginning of User Attributes tab data--%>
   <%--TODO:  switch to c:choose --%>
  -<c:if test="${selectedTab.id == 'user_attributes'}">
  +<c:if test="${currentTab.id == 'user_attributes'}">
     <div id="attributes">	
     </div>
     <h3>USER ATTRIBUTES</h3>
  @@ -66,10 +70,21 @@
     <h3>SECURITY ATTRIBUTES</h3>
     
   </c:if>
  -<%--End of UserAttr tab data--%>
  +<%--End of Security tab data--%>
   
  +<%--Beginning Profile tab data--%>
  +<%--TODO:  switch to c:choose --%>
  +<c:if test="${selectedTab.id == 'user_profile'}">
  +  <div id="Profile">
  +  </div>
  +  <h3>USER PROFILE</h3>
  +  
   </c:if>
  +<%--End of Profile tab data--%>
  +
  +
   <%--End of User check --%>
  +</c:if>
   
   <br />
   <br />
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org