[jboss-cvs] jboss-seam/examples/wiki/view/includes ...

Christian Bauer christian at hibernate.org
Fri Aug 31 09:38:12 EDT 2007


  User: cbauer  
  Date: 07/08/31 09:38:12

  Modified:    examples/wiki/view/includes     userControl.xhtml
                        searchControl.xhtml pluginPreferencesForm.xhtml
                        mainMenu.xhtml
  Log:
  More preferences for blogs
  
  Revision  Changes    Path
  1.12      +0 -1      jboss-seam/examples/wiki/view/includes/userControl.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: userControl.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/includes/userControl.xhtml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- userControl.xhtml	25 Aug 2007 17:59:24 -0000	1.11
  +++ userControl.xhtml	31 Aug 2007 13:38:12 -0000	1.12
  @@ -3,7 +3,6 @@
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
  -     xmlns:a="https://ajax4jsf.dev.java.net/ajax"
        xmlns:wiki="http://jboss.com/products/seam/wiki"
        xmlns:s="http://jboss.com/products/seam/taglib">
   
  
  
  
  1.8       +1 -1      jboss-seam/examples/wiki/view/includes/searchControl.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: searchControl.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/includes/searchControl.xhtml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- searchControl.xhtml	25 Aug 2007 17:59:24 -0000	1.7
  +++ searchControl.xhtml	31 Aug 2007 13:38:12 -0000	1.8
  @@ -5,7 +5,7 @@
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:s="http://jboss.com/products/seam/taglib">
   
  -    <h:form>
  +    <h:form id="searchControlForm">
           <h:panelGroup styleClass="searchControlTable">
               <h:inputText styleClass="searchControlInput" id="searchControlSearchString" value="#{wikiSearch.simpleQuery}"
                            onclick="clickClear(this, 'Search...')" onblur="clickRecall(this, 'Search...')"
  
  
  
  1.5       +63 -50    jboss-seam/examples/wiki/view/includes/pluginPreferencesForm.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: pluginPreferencesForm.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/includes/pluginPreferencesForm.xhtml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- pluginPreferencesForm.xhtml	17 Aug 2007 13:00:25 -0000	1.4
  +++ pluginPreferencesForm.xhtml	31 Aug 2007 13:38:12 -0000	1.5
  @@ -6,15 +6,30 @@
           xmlns:wiki="http://jboss.com/products/seam/wiki"
           xmlns:s="http://jboss.com/products/seam/taglib">
   
  +    <h:panelGrid columns="1" styleClass="pluginPreferencesEditor"
  +        cellpadding="0" cellspacing="0" border="0">
  +
  +        <h:panelGrid columns="2" styleClass="pluginPreferencesEditorHeader"
  +                     columnClasses="pluginPreferencesEditorTitle, pluginPreferencesEditorAction"
  +                     cellpadding="0" cellspacing="0" border="0">
  +
  +            <h:outputText styleClass="pluginPreferencesEditorTitleText" value="#{pluginPreferencesEditor.preferenceComponent.description}"/>
  +
  +            <a:commandLink action="#{pluginPreferencesEditor.apply}" tabindex="1"
  +                           reRender="#{pluginDiv}"
  +                           styleClass="buttonNonpersistent"><span class="buttonLabel">Apply</span></a:commandLink>
   
  -    #{pluginPreferencesEditor.preferenceComponent.description}
  +        </h:panelGrid>
   
  -    <h:panelGrid columns="2" style="margin-top:10px;margin-bottom:10px;" cellpadding="0" cellspacing="0" border="0">
  +        <h:panelGrid columns="1"
  +                     styleClass="pluginPreferencesEditorFormTable"
  +                     cellpadding="0" cellspacing="0" border="0">
   
           <h:dataTable var="v" style="width:10%;"
                        value="#{pluginPreferencesEditor.preferenceValues}"
                        styleClass="datatable topLeftBottomBorder"
  -                     columnClasses="tenPercentColumn alignLeft minorPadding, tenPercentColumn alignLeft rightBorder"
  +                         columnClasses="tenPercentColumn alignLeft minorPadding pluginPreferencesEditorPropertyDescription,
  +                                        tenPercentColumn alignLeft rightBorder pluginPreferencesEditorPropertyInput"
                        rowClasses="rowEven,rowOdd"
                        cellpadding="0" cellspacing="0" border="0">
   
  @@ -24,27 +39,27 @@
               <h:column>
   
                   <s:div rendered="#{v.preferenceProperty.type.simpleName == 'Boolean'}">
  -                    <h:selectBooleanCheckbox value="#{v.value}"/>
  +                        <h:selectBooleanCheckbox value="#{v.value}" tabindex="1"/>
                   </s:div>
   
                   <s:div rendered="#{v.preferenceProperty.type.simpleName == 'String'}">
  -                    <h:inputText value="#{v.value}" size="32"/>
  +                        <h:inputText value="#{v.value}" size="32" tabindex="1"/>
                   </s:div>
   
                   <s:div rendered="#{v.preferenceProperty.type.simpleName == 'Long'}">
  -                    <h:inputText value="#{v.value}" size="5">
  +                        <h:inputText value="#{v.value}" size="5" tabindex="1">
                           <f:converter converterId="javax.faces.Long"/>
                       </h:inputText>
                   </s:div>
   
                   <s:div rendered="#{v.preferenceProperty.type.simpleName == 'Double'}">
  -                    <h:inputText value="#{v.value}" size="10">
  +                        <h:inputText value="#{v.value}" size="10" tabindex="1">
                           <f:converter converterId="javax.faces.Double"/>
                       </h:inputText>
                   </s:div>
   
                   <s:div rendered="#{v.preferenceProperty.type.simpleName == 'Date'}">
  -                    <h:inputText id="dt" value="#{v.value}">
  +                        <h:inputText id="dt" value="#{v.value}" tabindex="1">
                           <f:convertDateTime pattern="dd. MMM yyyy, HH:mm" timeZone="#{wikiPreferences.timeZone}"/>
                       </h:inputText>
                       <s:selectDate for="dt" dateFormat="dd. MMM yyyy, HH:mm">
  @@ -58,9 +73,7 @@
   
           </h:dataTable>
   
  -        <a:commandLink action="#{pluginPreferencesEditor.apply}"
  -                       reRender="preview"
  -                       styleClass="buttonNonpersistent"><span class="buttonLabel">Apply</span></a:commandLink>
  +        </h:panelGrid>
   
       </h:panelGrid>
   
  
  
  
  1.6       +0 -1      jboss-seam/examples/wiki/view/includes/mainMenu.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: mainMenu.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/includes/mainMenu.xhtml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- mainMenu.xhtml	25 Aug 2007 17:59:24 -0000	1.5
  +++ mainMenu.xhtml	31 Aug 2007 13:38:12 -0000	1.6
  @@ -4,7 +4,6 @@
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:wiki="http://jboss.com/products/seam/wiki"
  -     xmlns:a="https://ajax4jsf.dev.java.net/ajax"
        xmlns:rich="http://richfaces.ajax4jsf.org/rich"
        xmlns:s="http://jboss.com/products/seam/taglib">
   
  
  
  



More information about the jboss-cvs-commits mailing list