Author: jjamrich
Date: 2011-05-16 11:17:29 -0400 (Mon, 16 May 2011)
New Revision: 22496
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richGraphValidator/all.xhtml
Log:
Fix summary attribute behavior
Missing part under condition when summary attr != null
caused that form weren't rendered.
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richGraphValidator/all.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richGraphValidator/all.xhtml 2011-05-16
15:17:15 UTC (rev 22495)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richGraphValidator/all.xhtml 2011-05-16
15:17:29 UTC (rev 22496)
@@ -171,11 +171,102 @@
<rich:panel header="Change password" style="width:500px">
<rich:messages for="gv2" />
<rich:messages globalOnly="true" />
- <h:panelGrid columns="3">
+ <h:panelGrid columns="6">
+ <h:outputText for="gv2_inplaceSelect" value="Inplace
Select" />
+ <rich:inplaceSelect id="gv2_inplaceSelect"
value="#{richGraphValidatorBean.inplaceSelect}" >
+ <f:selectItems value="#{richGraphValidatorBean.selectItems}" />
+ </rich:inplaceSelect>
+ <rich:message for="gv2_inplaceSelect" />
+ <h:outputText for="gv2_select" value="Select" />
+ <rich:select id="gv2_select"
value="#{richGraphValidatorBean.select}" >
+ <f:selectItems value="#{richGraphValidatorBean.selectItems}" />
+ </rich:select>
+ <rich:message for="gv2_select" />
+
+ <h:outputText for="gv2_inplaceInput" value="Inplace Input"
/>
+ <rich:inplaceInput id="gv2_inplaceInput"
value="#{richGraphValidatorBean.inplaceInput}" />
+ <rich:message for="gv2_inplaceInput" />
+
+ <h:outputText for="gv2_inputNumberSlider" value="Input Number
Slider" />
+ <rich:inputNumberSlider id="gv2_inputNumberSlider"
value="#{richGraphValidatorBean.inputNumberSlider}" />
+ <rich:message for="gv2_inputNumberSlider" />
+
+ <h:outputText for="gv2_inputNumberSpinner" value="Input Number
Spinner" />
+ <rich:inputNumberSpinner id="gv2_inputNumberSpinner"
value="#{richGraphValidatorBean.inputNumberSpinner}" />
+ <rich:message for="gv2_inputNumberSpinner" />
+
+ <h:outputText for="gv2_autocomplete" value="Autocomplete"
/>
+ <rich:autocomplete id="gv2_autocomplete"
value="#{richGraphValidatorBean.autocompleteInput}"
+ autocompleteMethod="#{richGraphValidatorBean.autocomplete}"
/>
+ <rich:message for="gv2_autocomplete" />
+
+ <h:outputText for="gv2_selectBooleanCheckbox" value="Select
Boolean Checkbox" />
+ <h:selectBooleanCheckbox id="gv2_selectBooleanCheckbox"
value="#{richGraphValidatorBean.selectBooleanCheckbox}" />
+ <rich:message for="gv2_selectBooleanCheckbox" />
+
+ <h:outputText for="gv2_inputText" value="Input Text" />
+ <h:inputText id="gv2_inputText"
value="#{richGraphValidatorBean.inputText}" />
+ <rich:message for="gv2_inputText" />
+
+ <h:outputText for="gv2_inputSecret" value="Input Secret"
/>
+ <h:inputSecret id="gv2_inputSecret"
value="#{richGraphValidatorBean.inputSecret}" />
+ <rich:message for="gv2_inputSecret" />
+
+ <h:outputText for="gv2_calendar" value="Calendar" />
+ <rich:calendar id="gv2_calendar"
value="#{richGraphValidatorBean.calendar}" enableManualInput="true"
/>
+ <rich:message for="gv2_calendar" />
+
+ <h:column/>
+ <h:column/>
+ <h:column/>
+
+ <h:outputText for="gv2_inputTextarea" value="Input Text
Area" />
+ <h:inputTextarea id="gv2_inputTextarea"
value="#{richGraphValidatorBean.inputTextarea}" />
+ <rich:message for="gv2_inputTextarea" />
+
+ <h:outputText for="gv2_selectOneListbox" value="Select One
Listbox" />
+ <h:selectOneListbox id="gv2_selectOneListbox"
value="#{richGraphValidatorBean.selectOneListbox}" >
+ <f:selectItems value="#{richGraphValidatorBean.selectItems}" />
+ </h:selectOneListbox>
+ <rich:message for="gv2_selectOneListbox" />
+
+ <h:outputText for="gv2_selectManyCheckbox" value="Select Many
Checkbox" />
+ <h:selectManyCheckbox id="gv2_selectManyCheckbox"
+
value="#{richGraphValidatorBean.selectManyCheckbox}" >
+ <f:selectItems
value="#{richGraphValidatorBean.selectItems}" />
+ </h:selectManyCheckbox>
+ <rich:message for="gv2_selectManyCheckbox" />
+
+ <h:outputText for="gv2_selectManyListbox" value="Select Many
Listbox" />
+ <h:selectManyListbox id="gv2_selectManyListbox"
value="#{richGraphValidatorBean.selectManyListbox}" >
+ <f:selectItems value="#{richGraphValidatorBean.selectItems}" />
+ </h:selectManyListbox>
+ <rich:message for="gv2_selectManyListbox" />
+
+ <h:outputText for="gv2_selectOneMenu" value="Select One
Menu" />
+ <h:selectOneMenu id="gv2_selectOneMenu"
value="#{richGraphValidatorBean.selectOneMenu}" >
+ <f:selectItems value="#{richGraphValidatorBean.selectItems}" />
+ </h:selectOneMenu>
+ <rich:message for="gv2_selectOneMenu" />
+
+ <h:outputText for="gv2_selectManyMenu" value="Select Many
Menu" />
+ <h:selectManyMenu id="gv2_selectManyMenu"
value="#{richGraphValidatorBean.selectManyMenu}" >
+ <f:selectItems value="#{richGraphValidatorBean.selectItems}" />
+ </h:selectManyMenu>
+ <rich:message for="gv2_selectManyMenu" />
+
+ <h:outputText for="gv2_selectOneRadio" value="Select One
Radio" />
+ <h:selectOneRadio id="gv2_selectOneRadio"
value="#{richGraphValidatorBean.selectOneRadio}" >
+ <f:selectItems value="#{richGraphValidatorBean.selectItems}" />
+ </h:selectOneRadio>
+ <rich:message for="gv2_selectOneRadio" />
+
</h:panelGrid>
- <a4j:commandButton value="Store changes"
- action="#{richGraphValidatorBean.anotherActionOnAllComponents}" />
+ <a4j:commandButton id="gv2_applyChanges"
+ value="Apply changes"
+
action="#{richGraphValidatorBean.anotherActionOnAllComponents}" />
+
</rich:panel>
</rich:graphValidator>
</ui:fragment>