[jboss-cvs] jboss-portal/core/src/resources/portal-core-war/WEB-INF/jsp/management/plugins ...

Boleslaw Dawidowicz bdaw at o2.pl
Thu Jul 27 08:36:04 EDT 2006


  User: bdaw    
  Date: 06/07/27 08:36:04

  Modified:    core/src/resources/portal-core-war/WEB-INF/jsp/management/plugins 
                        manager.xhtml
  Log:
  management - enabling portal defaut page choice
  
  Revision  Changes    Path
  1.14      +43 -32    jboss-portal/core/src/resources/portal-core-war/WEB-INF/jsp/management/plugins/manager.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: manager.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/core/src/resources/portal-core-war/WEB-INF/jsp/management/plugins/manager.xhtml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- manager.xhtml	26 Jul 2006 22:03:55 -0000	1.13
  +++ manager.xhtml	27 Jul 2006 12:36:04 -0000	1.14
  @@ -15,12 +15,12 @@
         <h:outputLabel for="name">
            <h:outputText value="Portal Name: " style="font-weight:bold;"/>
         </h:outputLabel>
  -      <h:inputText id="name" value="#{addPortalAction.portalName}"
  -                   validator="#{addPortalAction.validatePortalName}"
  +      <h:inputText id="name" value="#{portalAction.portalName}"
  +                   validator="#{portalAction.validatePortalName}"
                      required="true"/>
         <h:messages style="color: red"/>
         <br/>
  -      <h:commandButton action="#{addPortalAction.execute}" value="Add portal"/>
  +      <h:commandButton action="#{portalAction.addPortal}" value="Add portal"/>
      </h:form>
   </h:panelGroup>
   
  @@ -33,9 +33,20 @@
      <f:verbatim><br/><br/></f:verbatim>
      <h:outputText style="font-weight:bold;" value="Type: "/>
      <f:verbatim>PORTAL<br/></f:verbatim>
  -   <h:form id="portal_form">
  +   <h:form id="portal_form_1">
         <h:outputLabel for="name">
  -         <h:outputText value="Page Name: " style="font-weight:bold;"/>
  +         <h:outputText value="Defaut Page Name: " style="font-weight:bold;"/>
  +      </h:outputLabel>
  +      <h:selectOneMenu value="#{portalAction.defaultPageName}">
  +         <f:selectItems value="#{portalobjectmgr.portalPageItems}"/>
  +      </h:selectOneMenu>
  +      <br/>
  +      <h:commandButton value="Update"/>
  +      <br/>
  +   </h:form>
  +   <h:form id="portal_form_2">
  +      <h:outputLabel for="name">
  +         <h:outputText value="New Page Name: " style="font-weight:bold;"/>
         </h:outputLabel>
         <h:inputText id="name" value="#{addPageAction.pageName}"
                      validator="#{addPageAction.validatePageName}"
  
  
  



More information about the jboss-cvs-commits mailing list