taylor      2004/09/15 23:36:56

  Modified:    applications/pam/src/webapp/WEB-INF/view user-admin.jsp
  Log:
  user management continued, added basics for tabbed data entry
  
  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.2       +52 -10    
jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/view/user-admin.jsp
  
  Index: user-admin.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/view/user-admin.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- user-admin.jsp    15 Sep 2004 22:44:05 -0000      1.1
  +++ user-admin.jsp    16 Sep 2004 06:36:56 -0000      1.2
  @@ -14,21 +14,25 @@
   <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>

   <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>

   <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>

  +<%@ taglib uri="http://myfaces.sourceforge.net/tld/myfaces_ext_0_9.tld"; prefix="x"%>

  +

   <link href='css/security-admin.css' type='text/css'/>

   

   <f:view>

  -<h:dataTable 

  -     value="#{users.users}" 

  -     var="user"

  -     styleClass="securityList"

  -     headerClass="securityHeader"

  -     rowClasses="evenRow,oddRow"

  +<h:panelGrid columns='2'>

  +<h:panelGroup>

  +<h:dataTable

  +    value="#{users.users}"

  +    var="user"

  +    styleClass="portlet-section-body"

  +    headerClass="portlet-form-button"

  +    rowClasses="portlet-menu-item-selected,portlet-MintyBlue"

   >

       <h:column>

          <f:facet name="header">

            <h:outputText value="Last Name"

               style="font-weight: bold"/>

  -       </f:facet>    

  +       </f:facet>

           <h:outputText value='#{user.last}'/>

           <f:verbatim>,</f:verbatim>

       </h:column>

  @@ -36,10 +40,48 @@
          <f:facet name="header">

            <h:outputText value="First Name"

               style="font-weight: bold"/>

  -       </f:facet>        

  +       </f:facet>

           <h:outputText value='#{user.first}'/>

       </h:column>

  -

   </h:dataTable>

  +</h:panelGroup>

  +<h:panelGroup>

  +

  +<x:panelTabbedPane bgcolor="#FFFFCC" >

  +

  +    <f:verbatim>

  +        <p>User Information</p>

  +    </f:verbatim>

  +

  +    <x:panelTab id="tab1" label="Attributes" 
rendered="#{tabbedPaneBean.tab1Visible}">

  +        <h:inputText id="inp1"/><f:verbatim><br></f:verbatim>

  +        <h:inputText id="inp2" required="true" /><h:message for="inp2" 
showSummary="false" showDetail="true" />

  +    </x:panelTab>

  +

  +    <x:panelTab id="tab2" label="Roles" rendered="#{tabbedPaneBean.tab2Visible}">

  +

  +    <f:verbatim>

  +        <p> TAB TWO </p>

  +    </f:verbatim>

  +    </x:panelTab>

  +

  +    <x:panelTab id="tab3" label="Prefs" rendered="#{tabbedPaneBean.tab3Visible}">

  +        <h:inputText id="inp3"/><f:verbatim><br></f:verbatim>

  +        <h:inputText id="inp4"/><f:verbatim><br></f:verbatim>

  +        <h:inputText id="inp5"/><f:verbatim><br></f:verbatim>

  +    </x:panelTab>

  +

  +    <f:verbatim><br></f:verbatim>

  +

  +    <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab1Visible}"/><f:verbatim>Tab 
1 visible<br></f:verbatim>

  +    <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab2Visible}"/><f:verbatim>Tab 
2 visible<br></f:verbatim>

  +    <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab3Visible}"/><f:verbatim>Tab 
3 visible<br></f:verbatim>

  +

  +    <h:commandButton value="Save" />

  +

  +</x:panelTabbedPane>

  +

  +

  +</h:panelGroup>

  +</h:panelGrid>

   </f:view>

  -<p>end</p>

  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to