Author: ayanul
Date: 2007-11-06 05:55:14 -0500 (Tue, 06 Nov 2007)
New Revision: 3777
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScroller.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScrollerProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScrollerStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTable.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTableProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTableStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenu.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenuProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenuStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/GmapProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/MessageStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2DStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/PanelStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBarStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/SeparatorProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/SeparatorStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/SpacerProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/SpacerStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanelProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanelStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanelProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanelStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/ToolBar/ToolBarProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/TooltipProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/TooltipStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Tree/TreeProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarthProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/InputNumberSliderProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/InputNumberSliderStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/InputNumberSpinnerProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/InputNumberSpinnerStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/jQuery/jQueryProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/jQuery/jQueryStraightforward.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/Blank.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/BlankProperty.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/BlankStraightforward.xhtml
Removed:
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DS.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DT.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DDMenu.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Rich/
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-Div.xml
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-SelectOneMenuPage.xml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Map.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/SelectOneMenuPage.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Test.xhtml
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/DragAndDrop/DragAndDrop.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/Message.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/Separator.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanel.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-Icon.xml
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/web.xml
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/inputNumberSlider.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/inputNumberSpinner.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Action/EventInfo.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div/Div.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Select/Map.xhtml
Log:
Update facelets
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -92,159 +92,5 @@
</h:panelGrid>
</rich:calendar>
</h:panelGrid>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="calendar straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{calendarBean.bTest1}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{calendarBean.bTest2}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{calendarBean.bTest3}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{calendarBean.bTest4}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{calendarBean.bTest5}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="calendarPropertyID"
switchType="client" opened="true" label="calendar
property">
- <h:panelGrid columns="2">
-
- <h:outputText value="Mode" />
- <h:selectOneRadio value="#{calendarBean.mode}"
onchange="submit();">
- <f:selectItem itemLabel="client" itemValue="client"/>
- <f:selectItem itemLabel="ajax" itemValue="ajax"/>
- </h:selectOneRadio>
-
-
- <h:outputText value="Select Locale:" />
- <h:selectOneRadio onchange="submit()"
valueChangeListener="#{calendarBean.selectLocale}">
- <f:selectItem itemLabel="US" itemValue="en/US" />
- <f:selectItem itemLabel="DE" itemValue="de/DE" />
- <f:selectItem itemLabel="FR" itemValue="fr/FR" />
- <f:selectItem itemLabel="RU" itemValue="ru/RU" />
- </h:selectOneRadio>
-
- <h:outputText value="Popup Mode:" />
- <h:selectBooleanCheckbox id="popupModeID"
value="#{calendarBean.popup}" onclick="submit()" />
-
- <h:outputText value="Custom day labels" />
- <h:selectOneRadio value="#{calendarBean.weekDay}">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="day labels" itemValue="long" />
- <f:selectItem itemLabel="day labels short" itemValue="short"
/>
- <a4j:support event="onclick"
reRender="calendarClientID,calendarAjaxID"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Custom month labels" />
- <h:selectOneRadio value="#{calendarBean.month}">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="day labels" itemValue="long" />
- <f:selectItem itemLabel="day labels short" itemValue="short"
/>
- <a4j:support event="onclick"
reRender="calendarClientID,calendarAjaxID"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Select Date Pattern:" />
- <h:selectOneMenu value="MMM d, yyyy" onchange="submit()">
- <f:selectItem itemLabel="d/M/yy" itemValue="d/M/yy" />
- <f:selectItem itemLabel="dd/M/yy" itemValue="dd/M/yy" />
- <f:selectItem itemLabel="d/MMM/y" itemValue="d/MMM/y" />
- <f:selectItem itemLabel="dd.MM.yyyy" itemValue="dd.MM.yyyy"
/>
- <f:selectItem itemLabel="MMM d, yyyy" itemValue="MMM d, yyyy"
/>
- <f:selectItem itemLabel="dd-MM-yyyy" itemValue="dd-MM-yyyy"
/>
- </h:selectOneMenu>
-
- <h:inputText id="selectdate" />
- <h:commandButton type="button" value="Select Date"
- onclick="$(this.form.id+':calendarID').component.selectDate(this.form[this.form.id+':selectdate'].value);"
/>
-
- <h:outputText value="Preload date range begin(d.m.y)" />
- <h:inputText value="#{calendarBean.preloadDateRangeBegin}"
onchange="submit();" />
-
- <h:outputText value="Preload date range end(d.m.y)" />
- <h:inputText value="#{calendarBean.preloadDateRangeEnd}"
onchange="submit();" />
-
- <h:outputText value="z-index:" />
- <h:inputText value="#{calendarBean.zindex}">
- <a4j:support event="onchange"
reRender="calendarClientID,calendarAjaxID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="reRender (counter):" />
- <h:outputText id="counter" value="#{calendarBean.counter}"
/>
-
- <h:outputText value="Required" />
- <h:selectBooleanCheckbox value="#{calendarBean.required}"
onclick="submit()" />
-
- <h:outputText value="Select Popup Joint Point:" />
- <h:selectOneRadio onchange="submit()"
value="#{calendarBean.jointPoint}">
- <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
- <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
- <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
- <f:selectItem itemLabel="top-left" itemValue="top-left"
/>
- </h:selectOneRadio>
-
- <h:outputText value="Select Popup Direction:" />
- <h:selectOneRadio onchange="submit()"
value="#{calendarBean.direction}">
- <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
- <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
- <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
- <f:selectItem itemLabel="top-left" itemValue="top-left"
/>
- <f:selectItem itemLabel="auto" itemValue="auto" />
- </h:selectOneRadio>
-
- <h:outputText value="Time Zone:" />
- <h:selectOneRadio valueChangeListener="#{calendarBean.timeZone}"
onchange="submit();">
- <f:selectItem itemLabel="Eastern European Time" itemValue="Eastern
European Time" />
- <f:selectItem itemLabel="Turkmenistan Time"
itemValue="Turkmenistan Time" />
- <f:selectItem itemLabel="Korea Standard Time" itemValue="Korea
Standard Time" />
- </h:selectOneRadio>
-
-
- <h:outputText value="ToolTip Mode:" />
- <h:selectOneRadio value="#{calendarBean.toolTipMode}"
onchange="submit();">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="single" itemValue="single" />
- <f:selectItem itemLabel="batch" itemValue="batch" />
- </h:selectOneRadio>
-
- <h:outputText value="BoundaryDatesMode:" />
- <h:selectOneRadio onclick="submit()"
value="#{calendarBean.boundary}">
- <f:selectItem itemLabel="inactive" itemValue="inactive"
/>
- <f:selectItem itemLabel="select" itemValue="select" />
- <f:selectItem itemLabel="scroll" itemValue="scroll" />
- </h:selectOneRadio>
-
- <h:outputText value="EnableManualInput:"></h:outputText>
- <h:selectBooleanCheckbox value="#{calendarBean.enableManualInput}"
onclick="submit()">
- </h:selectBooleanCheckbox>
-
- <h:outputText value="ShowInput:"></h:outputText>
- <h:selectBooleanCheckbox value="#{calendarBean.showInput}"
onclick="submit()">
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Disabled:" />
- <h:selectBooleanCheckbox value="#{calendarBean.disabled}"
onclick="submit()" />
-
- <h:outputText value="Rendered:" />
- <h:selectBooleanCheckbox value="#{calendarBean.rendered}"
onclick="submit()" />
-
- <f:verbatim></f:verbatim>
- <h:commandButton action="#{calendarBean.changeIcons}"
value="ChangeIcons" />
-
- <h:outputText value="Current date: " />
- <h:outputText value="#{calendarBean.currentDateAsText}" />
-
- <h:outputText value="Selected date: " />
- <h:outputText value="#{calendarBean.selectedDate}" />
-
- <f:verbatim></f:verbatim>
- <h:commandButton value="Submit" />
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,137 @@
+<f:subview id="calendarPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="calendarPropertyID"
switchType="client" opened="true" label="calendar
property">
+ <h:panelGrid columns="2">
+
+ <h:outputText value="Mode" />
+ <h:selectOneRadio value="#{calendarBean.mode}"
onchange="submit();">
+ <f:selectItem itemLabel="client" itemValue="client"/>
+ <f:selectItem itemLabel="ajax" itemValue="ajax"/>
+ </h:selectOneRadio>
+
+
+ <h:outputText value="Select Locale:" />
+ <h:selectOneRadio onchange="submit()"
valueChangeListener="#{calendarBean.selectLocale}">
+ <f:selectItem itemLabel="US" itemValue="en/US" />
+ <f:selectItem itemLabel="DE" itemValue="de/DE" />
+ <f:selectItem itemLabel="FR" itemValue="fr/FR" />
+ <f:selectItem itemLabel="RU" itemValue="ru/RU" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Popup Mode:" />
+ <h:selectBooleanCheckbox id="popupModeID"
value="#{calendarBean.popup}" onclick="submit()" />
+
+ <h:outputText value="Custom day labels" />
+ <h:selectOneRadio value="#{calendarBean.weekDay}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="day labels" itemValue="long" />
+ <f:selectItem itemLabel="day labels short" itemValue="short"
/>
+ <a4j:support event="onclick"
reRender="calendarClientID,calendarAjaxID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Custom month labels" />
+ <h:selectOneRadio value="#{calendarBean.month}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="day labels" itemValue="long" />
+ <f:selectItem itemLabel="day labels short" itemValue="short"
/>
+ <a4j:support event="onclick"
reRender="calendarClientID,calendarAjaxID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Select Date Pattern:" />
+ <h:selectOneMenu value="MMM d, yyyy" onchange="submit()">
+ <f:selectItem itemLabel="d/M/yy" itemValue="d/M/yy" />
+ <f:selectItem itemLabel="dd/M/yy" itemValue="dd/M/yy" />
+ <f:selectItem itemLabel="d/MMM/y" itemValue="d/MMM/y" />
+ <f:selectItem itemLabel="dd.MM.yyyy" itemValue="dd.MM.yyyy"
/>
+ <f:selectItem itemLabel="MMM d, yyyy" itemValue="MMM d, yyyy"
/>
+ <f:selectItem itemLabel="dd-MM-yyyy" itemValue="dd-MM-yyyy"
/>
+ </h:selectOneMenu>
+
+ <h:outputText value="Preload date range begin(d.m.y)" />
+ <h:inputText value="#{calendarBean.preloadDateRangeBegin}"
onchange="submit();" />
+
+ <h:outputText value="Preload date range end(d.m.y)" />
+ <h:inputText value="#{calendarBean.preloadDateRangeEnd}"
onchange="submit();" />
+
+ <h:outputText value="z-index:" />
+ <h:inputText value="#{calendarBean.zindex}">
+ <a4j:support event="onchange"
reRender="calendarClientID,calendarAjaxID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="reRender (counter):" />
+ <h:outputText id="counter" value="#{calendarBean.counter}"
/>
+
+ <h:outputText value="Required" />
+ <h:selectBooleanCheckbox value="#{calendarBean.required}"
onclick="submit()" />
+
+ <h:outputText value="Select Popup Joint Point:" />
+ <h:selectOneRadio onchange="submit()"
value="#{calendarBean.jointPoint}">
+ <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
+ <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
+ <f:selectItem itemLabel="top-left" itemValue="top-left"
/>
+ </h:selectOneRadio>
+
+ <h:outputText value="Select Popup Direction:" />
+ <h:selectOneRadio onchange="submit()"
value="#{calendarBean.direction}">
+ <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
+ <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
+ <f:selectItem itemLabel="top-left" itemValue="top-left"
/>
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Time Zone:" />
+ <h:selectOneRadio valueChangeListener="#{calendarBean.timeZone}"
onchange="submit();">
+ <f:selectItem itemLabel="Eastern European Time" itemValue="Eastern
European Time" />
+ <f:selectItem itemLabel="Turkmenistan Time"
itemValue="Turkmenistan Time" />
+ <f:selectItem itemLabel="Korea Standard Time" itemValue="Korea
Standard Time" />
+ </h:selectOneRadio>
+
+
+ <h:outputText value="ToolTip Mode:" />
+ <h:selectOneRadio value="#{calendarBean.toolTipMode}"
onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="single" itemValue="single" />
+ <f:selectItem itemLabel="batch" itemValue="batch" />
+ </h:selectOneRadio>
+
+ <h:outputText value="BoundaryDatesMode:" />
+ <h:selectOneRadio onclick="submit()"
value="#{calendarBean.boundary}">
+ <f:selectItem itemLabel="inactive" itemValue="inactive"
/>
+ <f:selectItem itemLabel="select" itemValue="select" />
+ <f:selectItem itemLabel="scroll" itemValue="scroll" />
+ </h:selectOneRadio>
+
+ <h:outputText value="EnableManualInput:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.enableManualInput}"
onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="ShowInput:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showInput}"
onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disabled:" />
+ <h:selectBooleanCheckbox value="#{calendarBean.disabled}"
onclick="submit()" />
+
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{calendarBean.rendered}"
onclick="submit()" />
+
+ <f:verbatim></f:verbatim>
+ <h:commandButton action="#{calendarBean.changeIcons}"
value="ChangeIcons" />
+
+ <h:outputText value="Current date: " />
+ <h:outputText value="#{calendarBean.currentDateAsText}" />
+
+ <h:outputText value="Selected date: " />
+ <h:outputText value="#{calendarBean.selectedDate}" />
+
+ <f:verbatim></f:verbatim>
+ <h:commandButton value="Submit" />
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Calendar/CalendarStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="calendarStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="calendar straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{calendarBean.bTest1}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{calendarBean.bTest2}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{calendarBean.bTest3}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{calendarBean.bTest4}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{calendarBean.bTest5}" value="run"
reRender="calendarClientID,calendarAjaxID,calendarPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -78,11 +78,5 @@
</h:dataTable>
</a4j:outputPanel>
</a4j:region>
- <h:panelGrid columns="2">
- <h:outputText value="Rendered:" />
- <h:selectBooleanCheckbox value="#{dfs.rendered}" >
- <a4j:support event="onclick"
reRender="p1"></a4j:support>
- </h:selectBooleanCheckbox>
- </h:panelGrid>
</a4j:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,13 @@
+<f:subview id="calendarPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <h:panelGrid columns="2">
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dfs.rendered}" >
+ <a4j:support event="onclick"
reRender="p1"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Deleted: branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DS.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DS.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DS.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,96 +0,0 @@
-<f:subview id="DataScrollerSubviewID"
-
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:rich="http://richfaces.org/rich">
- <h:form dir="DSform">
-
- <h:dataTable id="dataTableId" value="#{dataScroller.dataTable}"
- var="dT" cellpadding="5px" rows="5"
border="1">
- <f:facet name="header">
- <rich:datascroller fastControls="#{dataScroller.fastControls}"
- align="#{dataScroller.align}" rendered="#{dataScroller.render}"
- limitToList="#{dataScroller.limitToList}"
- renderIfSinglePage="#{dataScroller.renderIfSinglePage}"
- maxPages="#{dataScroller.maxPages}"
- scrollerListener="#{dataScroller.ScrollerListener}"
- onclick="print('onclickInputID', 'onclick work!')"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
- ondblclick="print('ondblclickInputID', 'ondblclick
work!')" onkeydown="print('onkeydownInputID', 'onkeydown
work!')"
- onkeypress="print('onkeypressInputID', 'onkeypress
work!')"
- onkeyup="print('onkeyupInputID', 'onkeyup work!')"
onmousedown="print('onmousedownInputID', 'onmousedown work!')"
- onmousemove="print('onmousemoveInputID', 'onmousemove
work!')" onmouseout="print('onmouseoutInputID', 'onmouseout
work!')"
- onmouseover="print('onmouseoverInputID', 'onmouseover
work!')" onmouseup="print('onmouseupInputID', 'onmouseup
work!')"/>
- </f:facet>
- <h:column>
- <h:outputText value="#{dT.data0}" />
- </h:column>
- <h:column>
- <h:outputText value="#{dT.data1}" />
- </h:column>
- </h:dataTable>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
- label="inputNumberSlider straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{dataScroller.bTest1}" value="run"
reRender="dataScrollerID,dTablePropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{dataScroller.bTest2}" value="run"
reRender="dataScrollerID,dTablePropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{dataScroller.bTest3}" value="run"
reRender="dataScrollerID,dTablePropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{dataScroller.bTest4}" value="run"
reRender="dataScrollerID,dTablePropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{dataScroller.bTest5}" value="run"
reRender="dataScrollerID,dTablePropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="dTablePropertyID"
switchType="client" opened="true"
- label="dataTable property">
-
- <h:commandButton action="#{dataScroller.CutArray}"
value="CutArray" />
- <h:commandButton action="#{dataScroller.RestoreArray}"
- value="RestoreArray" />
-
- <h:panelGrid columns="2">
- <h:outputText value="maxPages" />
- <h:inputText value="#{dataScroller.maxPages}">
- <a4j:support event="onchange"
reRender="dataScrollerID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Rendered:" />
- <h:selectBooleanCheckbox value="#{dataScroller.render}"
- onclick="submit();" />
-
- <h:outputText value="renderIfSinglePage:" />
- <h:selectBooleanCheckbox value="#{dataScroller.renderIfSinglePage}"
- onclick="submit();" />
-
- <h:outputText value="limitToList:" />
- <h:selectBooleanCheckbox value="#{dataScroller.limitToList}"
- onclick="submit();" />
-
- <h:outputText value="fastControls" />
- <h:selectOneRadio value="#{dataScroller.fastControls}">
- <f:selectItem itemLabel="auto" itemValue="auto" />
- <f:selectItem itemLabel="show" itemValue="show" />
- <f:selectItem itemLabel="hide" itemValue="hide" />
- <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="align" />
- <h:selectOneRadio value="#{dataScroller.align}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <f:selectItem itemLabel="center" itemValue="center" />
- <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
- </h:selectOneRadio>
- </h:panelGrid>
- </rich:simpleTogglePanel>
- </h:form>
-</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScroller.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScroller.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScroller.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,33 @@
+<f:subview id="DataScrollerSubviewID"
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich">
+ <h:form dir="DSform">
+
+ <h:dataTable id="dataTableId" value="#{dataScroller.dataTable}"
+ var="dT" cellpadding="5px" rows="5"
border="1">
+ <f:facet name="header">
+ <rich:datascroller fastControls="#{dataScroller.fastControls}"
+ align="#{dataScroller.align}" rendered="#{dataScroller.render}"
+ limitToList="#{dataScroller.limitToList}"
+ renderIfSinglePage="#{dataScroller.renderIfSinglePage}"
+ maxPages="#{dataScroller.maxPages}"
+ scrollerListener="#{dataScroller.ScrollerListener}"
+ onclick="print('onclickInputID', 'onclick work!')"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondblclick="print('ondblclickInputID', 'ondblclick
work!')" onkeydown="print('onkeydownInputID', 'onkeydown
work!')"
+ onkeypress="print('onkeypressInputID', 'onkeypress
work!')"
+ onkeyup="print('onkeyupInputID', 'onkeyup work!')"
onmousedown="print('onmousedownInputID', 'onmousedown work!')"
+ onmousemove="print('onmousemoveInputID', 'onmousemove
work!')" onmouseout="print('onmouseoutInputID', 'onmouseout
work!')"
+ onmouseover="print('onmouseoverInputID', 'onmouseover
work!')" onmouseup="print('onmouseupInputID', 'onmouseup
work!')"/>
+ </f:facet>
+ <h:column>
+ <h:outputText value="#{dT.data0}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{dT.data1}" />
+ </h:column>
+ </h:dataTable>
+ </h:form>
+</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScrollerProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScrollerProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScrollerProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,49 @@
+<f:subview id="datascrollerPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="dTablePropertyID"
switchType="client" opened="true"
+ label="datascroller property">
+
+ <h:commandButton action="#{dataScroller.CutArray}"
value="CutArray" />
+ <h:commandButton action="#{dataScroller.RestoreArray}"
+ value="RestoreArray" />
+
+ <h:panelGrid columns="2">
+ <h:outputText value="maxPages" />
+ <h:inputText value="#{dataScroller.maxPages}">
+ <a4j:support event="onchange"
reRender="dataScrollerID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.render}"
+ onclick="submit();" />
+
+ <h:outputText value="renderIfSinglePage:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.renderIfSinglePage}"
+ onclick="submit();" />
+
+ <h:outputText value="limitToList:" />
+ <h:selectBooleanCheckbox value="#{dataScroller.limitToList}"
+ onclick="submit();" />
+
+ <h:outputText value="fastControls" />
+ <h:selectOneRadio value="#{dataScroller.fastControls}">
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <f:selectItem itemLabel="show" itemValue="show" />
+ <f:selectItem itemLabel="hide" itemValue="hide" />
+ <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="align" />
+ <h:selectOneRadio value="#{dataScroller.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <a4j:support event="onclick"
reRender="dataTableId"></a4j:support>
+ </h:selectOneRadio>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScrollerStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScrollerStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataScroller/DataScrollerStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,26 @@
+<f:subview id="datascrollerStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
+ label="datascroller straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{dataScroller.bTest1}" value="run"
reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{dataScroller.bTest2}" value="run"
reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{dataScroller.bTest3}" value="run"
reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{dataScroller.bTest4}" value="run"
reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{dataScroller.bTest5}" value="run"
reRender="dataTableId,dTablePropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Deleted: branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DT.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DT.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DT.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,122 +0,0 @@
-<f:subview id="DataTableSubviewID"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-
- <h:form dir="DSform">
- <rich:dataTable id="dataTableID" var="dataTableID"
value="#{dataTable.mounths}" rowKeyVar="key"
styleClass="table"
- captionClass="caption" rowClasses="rowa,rowb,rowc rowcc"
headerClass="header" footerClass="footer" cellpadding=""
- cellspacing="" onRowClick="print('onRowClickInputID',
'onRowClick work!');alert('row #{key}');"
rendered="#{dataTable.rendered}" align="#{dataTable.align}"
bgcolor="red"
- border="#{dataTable.border}"
columnsWidth="#{dataTable.columnsWidth}" width="#{dataTable.width}"
title="DataTableTite"
- onRowDblClick="print('onRowDblClickInputID', 'onRowDblClick
work!')"
- onRowMouseDown="print('onRowMouseDownInputID', 'onRowMouseDown
work!')"
- onRowMouseMove="print('onRowMouseMoveInputID', 'onRowMouseMove
work!')"
- onRowMouseOut="print('onRowMouseOutInputID', 'onRowMouseOut
work!')"
- onRowMouseOver="print('onRowMouseOverInputID', 'onRowMouseOver
work!')"
- onRowMouseUp="print('onRowMouseUpInputID', 'onRowMouseUp
work!')">
- <f:facet name="caption">
- <h:outputText value="caption" />
- </f:facet>
- <f:facet name="header">
- <rich:columnGroup columnClasses="cola, colb ,rowc rowcc">
- <rich:column rowspan="2"
rendered="#{dataTable.r2rendered}">
- <h:outputText value="2-row head" />
- </rich:column>
- <h:column rendered="#{dataTable.r2rendered}">
- <h:outputText value="head in UIColumn" />
- </h:column>
- <rich:column breakBefore="true">
- <h:outputText value="2-d row head" />
- </rich:column>
- </rich:columnGroup>
- </f:facet>
- <f:facet name="footer">
- <h:outputText value="table foot" />
- </f:facet>
- <rich:columnGroup>
- <rich:column id="mounth" styleClass="column"
rowspan="2" headerClass="cheader" footerClass="cfooter">
- <f:facet name="header">
- <h:outputText value="mounth" />
- </f:facet>
- <f:facet name="footer">
- <h:outputText value="-//-" />
- </f:facet>
- <h:outputText value="#{dataTableID.mounth}" />
- </rich:column>
- <rich:column styleClass="column" headerClass="cheader"
footerClass="cfooter" rendered="#{dataTable.r2rendered}">
- <f:facet name="header">
- <h:outputText value="mounth" />
- </f:facet>
- <f:facet name="footer">
- <h:outputText value="-//-" />
- </f:facet>
- <h:outputText value="#{dataTableID.town}" />
- </rich:column>
- </rich:columnGroup>
- <rich:column styleClass="column" headerClass="cheader"
footerClass="cfooter" rendered="#{dataTable.r2rendered}">
- <h:outputText value="#{dataTableID.day}" />
- </rich:column>
- <rich:subTable id="detail" var="detail"
value="#{dataTableID.detail}">
- <rich:column id="name">
- <h:outputText value="#{detail.name}" />
- </rich:column>
- <rich:column id="qty" rendered="#{dataTable.r2rendered}">
- <h:outputText value="#{detail.qty}" />
- </rich:column>
- </rich:subTable>
- <rich:column id="total" styleClass="total"
colspan="2">
- <h:outputText value="#{dataTableID.total}" />
- </rich:column>
- </rich:dataTable>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="dataTable straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{dataTable.bTest1}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{dataTable.bTest2}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{dataTable.bTest3}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{dataTable.bTest4}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{dataTable.bTest5}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="dtPropertyID" switchType="client"
opened="true" label="dataTable property">
- <h:panelGrid columns="2" style="top">
- <h:outputText value="Align:"></h:outputText>
- <h:selectOneMenu value="#{dataTable.align}">
- <f:selectItem itemLabel="center" itemValue="center" />
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="right " itemValue="right" />
- <a4j:support event="onclick"
reRender="dataTableID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="Border: "></h:outputText>
- <h:inputText value="#{dataTable.border}">
- <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Columns Width: "></h:outputText>
- <h:inputText value="#{dataTable.columnsWidth}">
- <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Width: "></h:outputText>
- <h:inputText value="#{dataTable.width}">
- <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="rendered:" />
- <h:selectBooleanCheckbox value="#{dataTable.rendered}"
onclick="submit();" />
-
- <h:outputText value=" row 2 rendered" />
- <h:selectBooleanCheckbox value="#{dataTable.r2rendered}"
onclick="submit();" />
- </h:panelGrid>
- </rich:simpleTogglePanel>
- </h:form>
-</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTable.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTable.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTable.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,69 @@
+<f:subview id="DataTableSubviewID"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
+ <h:form dir="DSform">
+ <rich:dataTable id="dataTableID" var="dataTableID"
value="#{dataTable.mounths}" rowKeyVar="key"
styleClass="table"
+ captionClass="caption" rowClasses="rowa,rowb,rowc rowcc"
headerClass="header" footerClass="footer" cellpadding=""
+ cellspacing="" onRowClick="print('onRowClickInputID',
'onRowClick work!');alert('row #{key}');"
rendered="#{dataTable.rendered}" align="#{dataTable.align}"
bgcolor="red"
+ border="#{dataTable.border}"
columnsWidth="#{dataTable.columnsWidth}" width="#{dataTable.width}"
title="DataTableTite"
+ onRowDblClick="print('onRowDblClickInputID', 'onRowDblClick
work!')"
+ onRowMouseDown="print('onRowMouseDownInputID', 'onRowMouseDown
work!')"
+ onRowMouseMove="print('onRowMouseMoveInputID', 'onRowMouseMove
work!')"
+ onRowMouseOut="print('onRowMouseOutInputID', 'onRowMouseOut
work!')"
+ onRowMouseOver="print('onRowMouseOverInputID', 'onRowMouseOver
work!')"
+ onRowMouseUp="print('onRowMouseUpInputID', 'onRowMouseUp
work!')">
+ <f:facet name="caption">
+ <h:outputText value="caption" />
+ </f:facet>
+ <f:facet name="header">
+ <rich:columnGroup columnClasses="cola, colb ,rowc rowcc">
+ <rich:column rowspan="2"
rendered="#{dataTable.r2rendered}">
+ <h:outputText value="2-row head" />
+ </rich:column>
+ <h:column rendered="#{dataTable.r2rendered}">
+ <h:outputText value="head in UIColumn" />
+ </h:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="2-d row head" />
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="table foot" />
+ </f:facet>
+ <rich:columnGroup>
+ <rich:column id="mounth" styleClass="column"
rowspan="2" headerClass="cheader" footerClass="cfooter">
+ <f:facet name="header">
+ <h:outputText value="mounth" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="-//-" />
+ </f:facet>
+ <h:outputText value="#{dataTableID.mounth}" />
+ </rich:column>
+ <rich:column styleClass="column" headerClass="cheader"
footerClass="cfooter" rendered="#{dataTable.r2rendered}">
+ <f:facet name="header">
+ <h:outputText value="mounth" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="-//-" />
+ </f:facet>
+ <h:outputText value="#{dataTableID.town}" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:column styleClass="column" headerClass="cheader"
footerClass="cfooter" rendered="#{dataTable.r2rendered}">
+ <h:outputText value="#{dataTableID.day}" />
+ </rich:column>
+ <rich:subTable id="detail" var="detail"
value="#{dataTableID.detail}">
+ <rich:column id="name">
+ <h:outputText value="#{detail.name}" />
+ </rich:column>
+ <rich:column id="qty" rendered="#{dataTable.r2rendered}">
+ <h:outputText value="#{detail.qty}" />
+ </rich:column>
+ </rich:subTable>
+ <rich:column id="total" styleClass="total"
colspan="2">
+ <h:outputText value="#{dataTableID.total}" />
+ </rich:column>
+ </rich:dataTable>
+ </h:form>
+</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTableProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTableProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTableProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,39 @@
+<f:subview id="dataTablePropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="dtPropertyID" switchType="client"
opened="true" label="dataTable property">
+ <h:panelGrid columns="2" style="top">
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneMenu value="#{dataTable.align}">
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right " itemValue="right" />
+ <a4j:support event="onclick"
reRender="dataTableID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Border: "></h:outputText>
+ <h:inputText value="#{dataTable.border}">
+ <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Columns Width: "></h:outputText>
+ <h:inputText value="#{dataTable.columnsWidth}">
+ <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{dataTable.width}">
+ <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="rendered:" />
+ <h:selectBooleanCheckbox value="#{dataTable.rendered}"
onclick="submit();" />
+
+ <h:outputText value=" row 2 rendered" />
+ <h:selectBooleanCheckbox value="#{dataTable.r2rendered}"
onclick="submit();" />
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTableStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTableStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DataTable/DataTableStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="StraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="dataTable straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{dataTable.bTest1}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{dataTable.bTest2}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{dataTable.bTest3}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{dataTable.bTest4}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{dataTable.bTest5}" value="run"
reRender="dtPropertyID,dataTableID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/DragAndDrop/DragAndDrop.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DragAndDrop/DragAndDrop.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DragAndDrop/DragAndDrop.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,9 +1,6 @@
-<f:subview id="DtadAndDropSubviewID"
-
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:rich="http://richfaces.org/rich"
-
xmlns:h="http://java.sun.com/jsf/html">
-
+<f:subview id="DtadAndDropSubviewID"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:rich="http://richfaces.org/rich"
xmlns:h="http://java.sun.com/jsf/html">
+
<h:form id="form">
<h:panelGroup id="dragValueText">
@@ -15,9 +12,9 @@
<h:column>
<h:panelGrid styleClass="dropzoneDecoration" id="drag1">
<h:outputText value="#{type} - drag" />
- <rich:dragSupport dragType="#{type}" dragValue="#{type} -
value"
- action="#{dndBean.dragAction}"
- dragListener="#{dndBean.processDrag}">
+ <rich:dragSupport dragType="#{type}" dragValue="#{type} -
value" oncomplete="print('oncompleteInputID', 'oncomplete
work!')"
+ ondragend="print('ondragendInputID', 'ondragend work!')"
ondragstart="print('ondragstartInputID', 'ondragstart work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit work!')"
action="#{dndBean.dragAction}"
dragListener="#{dndBean.processDrag}">
</rich:dragSupport>
</h:panelGrid>
</h:column>
@@ -27,17 +24,18 @@
<h:column>
<h:panelGrid styleClass="dropzoneDecoration" id="drop2">
<h:outputText value="#{type} - drop" />
- <rich:dropSupport reRender="dragValueText"
- action="#{dndBean.dropAction}" acceptedTypes="#{type}"
- dropListener="#{dndBean.processDrop}" dropValue="#{type} -
value">
+ <rich:dropSupport reRender="dragValueText"
ondragenter="print('InputID', ' work!')"
ondragexit="print('InputID', ' work!')"
+ ondrop="print('InputID', ' work!')"
ondropend="print('InputID', ' work!')"
+ oncomplete="print('oncompleteInputID', 'oncomplete
work!')" ondragend="print('ondragendInputID', 'ondragend
work!')"
+ ondragstart="print('ondragstartInputID', 'ondragstart
work!')" onsubmit="print('onsubmitInputID', 'onsubmit
work!')"
+ action="#{dndBean.dropAction}" acceptedTypes="#{type}"
dropListener="#{dndBean.processDrop}" dropValue="#{type} - value">
</rich:dropSupport>
</h:panelGrid>
</h:column>
</h:dataTable>
</h:panelGrid>
- <rich:dragIndicator id="indicator" acceptClass="accept"
- rejectClass="reject">
+ <rich:dragIndicator id="indicator" acceptClass="accept"
rejectClass="reject">
<f:facet name="single">
<f:verbatim>{marker} <b>{testDrag}</b> {label}</f:verbatim>
</f:facet>
@@ -49,8 +47,7 @@
</rich:dndParam>
</rich:dragIndicator>
- <rich:dragIndicator id="dIndicator"
acceptClass="defaultIndicator"
- rejectClass="reject">
+ <rich:dragIndicator id="dIndicator"
acceptClass="defaultIndicator" rejectClass="reject">
<f:facet name="single">
<f:verbatim>{marker} <b>{testDrag}</b> {label}</f:verbatim>
</f:facet>
@@ -63,8 +60,7 @@
</rich:dragIndicator>
<h:panelGrid columns="1" style="position: relative; left:
140px;">
- <h:panelGrid columns="1"
- style="position: absolute; top: 30px; left: 300px;">
+ <h:panelGrid columns="1" style="position: absolute; top: 30px; left:
300px;">
<rich:dragIndicator id="defaultIndicator">
</rich:dragIndicator>
</h:panelGrid>
@@ -74,7 +70,10 @@
<h:panelGrid styleClass="dropzoneDecoration" id="grid1">
<f:verbatim>Accepts file and folder... Customizes</f:verbatim>
<rich:dropSupport id="zone1"
- ondrop="var zone = $('DtadAndDropSubviewID:form:grid1');
zone.style.borderColor= 'red'; setTimeout( function() { this.style.borderColor=
'navy'; }.bind(zone), 300);"
+ oncomplete="print('oncompleteInputID', 'oncomplete
work!')" ondragend="print('ondragendInputID', 'ondragend
work!')" ondragstart="print('ondragstartInputID', 'ondragstart
work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit work!')"
ondragenter="print('ondragenterInputID', 'ondragenter work!')"
+ ondragexit="print('ondragexitInputID', 'ondragexit
work!')" ondropend="print('ondropendInputID', 'ondropend
work!')"
+ ondrop="print('ondropInputID', 'ondrop work!');var zone =
$('DtadAndDropSubviewID:form:grid1'); zone.style.borderColor= 'red';
setTimeout( function() { this.style.borderColor= 'navy'; }.bind(zone),
300);"
acceptedTypes="file, folder" typeMapping="{file: testDrop}">
<rich:dndParam name="testDrop">
<h:graphicImage height="16" width="16"
@@ -91,23 +90,32 @@
<h:panelGrid styleClass="dropzoneDecoration" id="grid3">
<f:verbatim>Accepts none... Customizes</f:verbatim>
- <rich:dropSupport typeMapping="{file: testDrop}">
+ <rich:dropSupport typeMapping="{file: testDrop}"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondragenter="print('ondragenterInputID', 'ondragenter
work!')"
+ ondragexit="print('ondragexitInputID', 'ondragexit work!')"
+ ondrop="print('ondropInputID', 'ondrop work!')"
ondropend="print('ondropendInputID', 'ondropend work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit work!')">
<rich:dndParam name="testDrop">
- <h:graphicImage height="16" width="16"
- value="#{icon.iconFileManagerReject}" />
+ <h:graphicImage height="16" width="16"
value="#{icon.iconFileManagerReject}" />
</rich:dndParam>
</rich:dropSupport>
</h:panelGrid>
<h:panelGrid styleClass="dropzoneDecoration" id="grid4">
<f:verbatim>Accepts file and folder</f:verbatim>
- <rich:dropSupport acceptedTypes="file, folder">
+ <rich:dropSupport acceptedTypes="file, folder"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondragenter="print('ondragenterInputID', 'ondragenter
work!')"
+ ondragexit="print('ondragexitInputID', 'ondragexit work!')"
+ ondrop="print('ondropInputID', 'ondrop work!')"
ondropend="print('ondropendInputID', 'ondropend work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit work!')">
<rich:dndParam name="testDrop" value="testDropValue" />
</rich:dropSupport>
</h:panelGrid>
<h:panelGrid id="grid5">
- <rich:dragSupport dragType="file">
+ <rich:dragSupport dragType="file"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondragend="print('ondragendInputID', 'ondragend work!')"
ondragstart="print('ondragstartInputID', 'ondragstart work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit
work!')">
<rich:dndParam name="label" value="Label" />
<rich:dndParam name="testDrag" value="testDragValue" />
</rich:dragSupport>
@@ -115,7 +123,9 @@
</h:panelGrid>
<h:panelGrid id="grid6">
- <rich:dragSupport dragType="file"
dragIndicator="indicator">
+ <rich:dragSupport dragType="file" dragIndicator="indicator"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondragend="print('ondragendInputID', 'ondragend work!')"
ondragstart="print('ondragstartInputID', 'ondragstart work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit
work!')">
<rich:dndParam name="label" value="Label" />
<rich:dndParam name="testDrag" value="testDragValue" />
</rich:dragSupport>
@@ -123,7 +133,9 @@
</h:panelGrid>
<h:panelGrid id="grid7">
- <rich:dragSupport dragType="folder"
dragIndicator="indicator">
+ <rich:dragSupport dragType="folder" dragIndicator="indicator"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondragend="print('ondragendInputID', 'ondragend work!')"
ondragstart="print('ondragstartInputID', 'ondragstart work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit
work!')">
<rich:dndParam name="label" value="Label" />
<rich:dndParam name="testDrag" value="testDragValue for
Folder" />
</rich:dragSupport>
@@ -133,7 +145,9 @@
<h:outputText />
<h:panelGrid id="grid8">
- <rich:dragSupport dragType="folder">
+ <rich:dragSupport dragType="folder"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondragend="print('ondragendInputID', 'ondragend work!')"
ondragstart="print('ondragstartInputID', 'ondragstart work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit
work!')">
<rich:dndParam name="label" value="Label" />
<rich:dndParam name="testDrag" value="testDragValue for
Folder" />
</rich:dragSupport>
@@ -141,7 +155,9 @@
</h:panelGrid>
<h:panelGrid id="grid9">
- <rich:dragSupport dragType="file"
dragIndicator="defaultIndicator">
+ <rich:dragSupport dragType="file"
dragIndicator="defaultIndicator"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondragend="print('ondragendInputID', 'ondragend work!')"
ondragstart="print('ondragstartInputID', 'ondragstart work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit
work!')">
<rich:dndParam name="testDrag" value="testDragValue" />
<rich:dndParam name="marker" value="testMarkerValue" />
<rich:dndParam name="label" value="testDragValue" />
@@ -150,7 +166,9 @@
</h:panelGrid>
<h:panelGrid id="grid10">
- <rich:dragSupport dragType="folder"
dragIndicator="defaultIndicator">
+ <rich:dragSupport dragType="folder"
dragIndicator="defaultIndicator"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondragend="print('ondragendInputID', 'ondragend work!')"
ondragstart="print('ondragstartInputID', 'ondragstart work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit
work!')">
<rich:dndParam name="label" value="testDragValue for Folder"
/>
</rich:dragSupport>
<f:verbatim>Folder Draggable with defaultIndicator</f:verbatim>
@@ -159,13 +177,14 @@
</h:panelGrid>
<h:panelGrid id="renderedId">
- <rich:dragSupport dragType="file"
dragIndicator="defaultIndicator">
+ <rich:dragSupport dragType="file"
dragIndicator="defaultIndicator"
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
+ ondragend="print('ondragendInputID', 'ondragend work!')"
ondragstart="print('ondragstartInputID', 'ondragstart work!')"
+ onsubmit="print('onsubmitInputID', 'onsubmit
work!')">
<rich:dndParam name="marker" value="testMarkerValue" />
<rich:dndParam name="label" value="testDragValue" />
</rich:dragSupport>
- <h:graphicImage id="dragImage" value="/pics/masshtaby_01.jpg"
- width="200px" height="200px" />
+ <h:graphicImage id="dragImage" value="/pics/masshtaby_01.jpg"
width="200px" height="200px" />
<f:verbatim>dragSupport</f:verbatim>
</h:panelGrid>
Deleted:
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DDMenu.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DDMenu.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DDMenu.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,171 +0,0 @@
-<f:subview id="DropDownMenuSubviewID"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:c="http://java.sun.com/jsp/jstl/core">
- <h:form>
- <h:panelGrid columns="2">
- <rich:spacer width="400px"
height="400px"></rich:spacer>
- <rich:panel>
- <rich:dropDownMenu id="ddmId" value="DropDownMenu"
submitMode="#{dDMenu.mode}" hideDelay="#{dDMenu.hideDelay}"
- direction="#{dDMenu.direction}"
horizontalOffset="#{dDMenu.horizontalOffset}"
jointPoint="#{dDMenu.jointPoint}"
- popupWidth="#{dDMenu.popupWidth}"
showDelay="#{dDMenu.showDelay}" rendered="#{dDMenu.rendered}"
- verticalOffset="#{dDMenu.verticalOffset}" styleClass="panelpos"
event="#{dDMenu.event}"
- oncollapse="print('oncollapseInputID', 'oncollapse
work!')" onexpand="print('onexpandInputID', 'onexpand
work!')"
- ongroupactivate="print('ongroupactivateInputID', 'ongroupactivate
work!')"
- onitemselect="print('onitemselectInputID', 'onitemselect
work!')"
- onmousemove="print('onmousemoveInputID', 'onmousemove
work!')" onmouseout="print('onmouseoutInputID', 'onmouseout
work!')"
- onmouseover="print('onmouseoverInputID', 'onmouseover
work!')">
- <rich:menuItem icon="#{dDMenu.icon}"
onclick="print('onclickInputID', 'onclick work!')"
- oncomplete="print('oncompleteInputID', 'oncomplete
work!')" onmousedown="print('onmousedownInputID', 'onmousedown
work!')"
- onmousemove="print('InputID', ' work!')"
onmouseout="print('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="print('onmouseoverInputID', 'onmouseover
work!')" onmouseup="print('onmouseupInputID', 'onmouseup
work!')"
- onselect="print('onselectInputID', 'onselect
work!')">
- <h:outputText value="Item1(test events)" />
- </rich:menuItem>
- <rich:menuSeparator />
- <rich:menuItem icon="#{dDMenu.icon}"
onmousedown="alert('OnMouseDown')"
selectClass="mousemove">
- <h:outputText value="OnMouseDown" />
- </rich:menuItem>
- <rich:menuSeparator />
- <rich:menuItem>
- <h:outputText value="Item2" />
- </rich:menuItem>
- <rich:menuItem icon="#{dDMenu.icon}">
- <h:outputText value="Item3" />
- </rich:menuItem>
- <rich:menuSeparator />
- <rich:menuItem icon="/pics/ajax_process.gif"
iconDisabled="/pics/ajax_stoped.gif"
disabled="#{dDMenu.disabled}">
- <h:outputText value="Image"></h:outputText>
- </rich:menuItem>
- <rich:menuItem disabled="#{dDMenu.disabled}"
icon="#{dDMenu.icon}">
- <h:outputText value="Image:" />
- <h:graphicImage value="/pics/ajax_process.gif" />
- </rich:menuItem>
- <rich:menuSeparator />
- <rich:menuGroup value="Second level"
direction="#{dDMenu.groupDirection}" disabled="#{dDMenu.disabled}"
icon="#{dDMenu.icon}"
- iconFolder="#{dDMenu.iconFolder}">
- <rich:menuItem icon="#{dDMenu.icon}">
- <h:outputText value="Item3" />
- </rich:menuItem>
- <rich:menuItem value="Item4">
- <h:selectOneMenu value="#{dDMenu.selectMenu}">
- <f:selectItem itemLabel="Honda Accord" itemValue="accord"
/>
- <f:selectItem itemLabel="Toyota 4Runner"
itemValue="4runner" />
- <f:selectItem itemLabel="Nissan Z350" itemValue="nissan-z"
/>
- </h:selectOneMenu>
- </rich:menuItem>
- <rich:menuSeparator />
- <rich:menuItem icon="#{dDMenu.icon}">
- <h:outputText value="CheckBox " />
- <h:selectBooleanCheckbox value="#{dDMenu.check}"
onclick="submit()" />
- </rich:menuItem>
- </rich:menuGroup>
- </rich:dropDownMenu>
- </rich:panel>
- </h:panelGrid>
-
- <rich:simpleTogglePanel id="ddMenuStraightforwardID"
switchType="client" opened="true" label="dropDownMenu
straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{dDMenu.bTest1}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{dDMenu.bTest2}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{dDMenu.bTest3}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{dDMenu.bTest4}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{dDMenu.bTest5}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="ddMenuPropertyID"
switchType="client" opened="true" label="dropDownMenu
property">
- <h:panelGrid columns="2">
- <h:outputText value="HideDelay (ms):" />
- <h:inputText value="#{dDMenu.hideDelay}">
- <a4j:support event="onchange" reRender="ddmId" />
- </h:inputText>
-
- <h:outputText value="ShowDelay (ms):" />
- <h:inputText value="#{dDMenu.showDelay}">
- <a4j:support event="onchange" reRender="ddmId" />
- </h:inputText>
-
- <h:outputText value="PopupWidth (px):" />
- <h:inputText value="#{dDMenu.popupWidth}">
- <a4j:support event="onchange" reRender="ddmId" />
- </h:inputText>
-
- <h:outputText value="horizontalOffset (px):" />
- <h:inputText value="#{dDMenu.horizontalOffset}">
- <a4j:support event="onchange" reRender="ddmId" />
- </h:inputText>
-
- <h:outputText value="verticalOffset (px):" />
- <h:inputText value="#{dDMenu.verticalOffset}">
- <a4j:support event="onchange" reRender="ddmId" />
- </h:inputText>
-
- <h:outputText value="Mode:" />
- <h:selectOneRadio value="#{dDMenu.mode}">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <f:selectItem itemLabel="server" itemValue="server" />
- <a4j:support event="onclick" reRender="ddmId" />
- </h:selectOneRadio>
-
- <h:outputText value="Direction:" />
- <h:selectOneRadio value="#{dDMenu.direction}">
- <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
- <f:selectItem itemLabel="top-left" itemValue="top-left"
/>
- <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
- <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
- <f:selectItem itemLabel="auto" itemValue="auto" />
- <a4j:support event="onclick" reRender="ddmId" />
- </h:selectOneRadio>
-
- <h:outputText value="GroupDirection:" />
- <h:selectOneRadio value="#{dDMenu.groupDirection}">
- <f:selectItem itemLabel="top-up" itemValue="top-up" />
- <f:selectItem itemLabel="top-down" itemValue="top-down"
/>
- <f:selectItem itemLabel="bottom-up" itemValue="bottom-up"
/>
- <f:selectItem itemLabel="bottom-down" itemValue="bottom-down"
/>
- <f:selectItem itemLabel="auto" itemValue="auto" />
- <a4j:support event="onclick" reRender="ddmId" />
- </h:selectOneRadio>
-
- <h:outputText value="JointPoint:" />
- <h:selectOneRadio value="#{dDMenu.jointPoint}">
- <f:selectItem itemLabel="top-right" itemValue="tr" />
- <f:selectItem itemLabel="top-left" itemValue="tl" />
- <f:selectItem itemLabel="bottom-right" itemValue="br" />
- <f:selectItem itemLabel="bottom-left" itemValue="bl" />
- <f:selectItem itemLabel="auto" itemValue="auto" />
- <a4j:support event="onclick" reRender="ddmId" />
- </h:selectOneRadio>
-
- <h:outputText value="Menu appearance event:" />
- <h:selectOneRadio value="#{dDMenu.event}"
onclick="submit()">
- <f:selectItem itemLabel="onclick" itemValue="onclick" />
- <f:selectItem itemLabel="onmouseover" itemValue="onmouseover"
/>
- <a4j:support event="onclick" reRender="ddmId" />
- </h:selectOneRadio>
-
- <h:outputText value="Rendered:" />
- <h:selectBooleanCheckbox value="#{dDMenu.rendered}"
onclick="submit()">
-
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Disable some items:" />
- <h:selectBooleanCheckbox value="#{dDMenu.disabled}">
- <a4j:support reRender="ddmId" event="onclick" />
- </h:selectBooleanCheckbox>
- <h:commandButton action="#{dDMenu.changeIcons}"
value="ChangeIcons" />
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <a4j:log></a4j:log>
- </h:form>
-</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenu.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenu.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenu.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,66 @@
+<f:subview id="DropDownMenuSubviewID"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:c="http://java.sun.com/jsp/jstl/core">
+ <h:form>
+ <h:panelGrid columns="2">
+ <rich:spacer width="400px"
height="400px"></rich:spacer>
+ <rich:panel>
+ <rich:dropDownMenu id="ddmId" value="DropDownMenu"
submitMode="#{dDMenu.mode}" hideDelay="#{dDMenu.hideDelay}"
+ direction="#{dDMenu.direction}"
horizontalOffset="#{dDMenu.horizontalOffset}"
jointPoint="#{dDMenu.jointPoint}"
+ popupWidth="#{dDMenu.popupWidth}"
showDelay="#{dDMenu.showDelay}" rendered="#{dDMenu.rendered}"
+ verticalOffset="#{dDMenu.verticalOffset}" styleClass="panelpos"
event="#{dDMenu.event}"
+ oncollapse="print('oncollapseInputID', 'oncollapse
work!')" onexpand="print('onexpandInputID', 'onexpand
work!')"
+ ongroupactivate="print('ongroupactivateInputID', 'ongroupactivate
work!')"
+ onitemselect="print('onitemselectInputID', 'onitemselect
work!')"
+ onmousemove="print('onmousemoveInputID', 'onmousemove
work!')" onmouseout="print('onmouseoutInputID', 'onmouseout
work!')"
+ onmouseover="print('onmouseoverInputID', 'onmouseover
work!')">
+ <rich:menuItem icon="#{dDMenu.icon}"
onclick="print('onclickInputID', 'onclick work (item)!')"
+ oncomplete="print('oncompleteInputID', 'oncomplete work
(item)!')" onmousedown="print('onmousedownInputID', 'onmousedown
work (item)!')"
+ onmousemove="print('onmousemoveInputID', ' work
(item)!')" onmouseout="print('onmouseoutInputID', 'onmouseout
work (item)!')"
+ onmouseover="print('onmouseoverInputID', 'onmouseover work
(item)!')" onmouseup="print('onmouseupInputID', 'onmouseup work
(item)!')"
+ onselect="print('onselectInputID', 'onselect work
(item)!')">
+ <h:outputText value="Item1(test events)" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="#{dDMenu.icon}"
onmousedown="alert('OnMouseDown')"
selectClass="mousemove">
+ <h:outputText value="OnMouseDown" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem>
+ <h:outputText value="Item2" />
+ </rich:menuItem>
+ <rich:menuItem icon="#{dDMenu.icon}">
+ <h:outputText value="Item3" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="/pics/ajax_process.gif"
iconDisabled="/pics/ajax_stoped.gif"
disabled="#{dDMenu.disabled}">
+ <h:outputText value="Image"></h:outputText>
+ </rich:menuItem>
+ <rich:menuItem disabled="#{dDMenu.disabled}"
icon="#{dDMenu.icon}">
+ <h:outputText value="Image:" />
+ <h:graphicImage value="/pics/ajax_process.gif" />
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuGroup value="Second level"
direction="#{dDMenu.groupDirection}" disabled="#{dDMenu.disabled}"
icon="#{dDMenu.icon}"
+ iconFolder="#{dDMenu.iconFolder}">
+ <rich:menuItem icon="#{dDMenu.icon}">
+ <h:outputText value="Item3" />
+ </rich:menuItem>
+ <rich:menuItem value="Item4">
+ <h:selectOneMenu value="#{dDMenu.selectMenu}">
+ <f:selectItem itemLabel="Honda Accord" itemValue="accord"
/>
+ <f:selectItem itemLabel="Toyota 4Runner"
itemValue="4runner" />
+ <f:selectItem itemLabel="Nissan Z350" itemValue="nissan-z"
/>
+ </h:selectOneMenu>
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem icon="#{dDMenu.icon}">
+ <h:outputText value="CheckBox " />
+ <h:selectBooleanCheckbox value="#{dDMenu.check}"
onclick="submit()" />
+ </rich:menuItem>
+ </rich:menuGroup>
+ </rich:dropDownMenu>
+ </rich:panel>
+ </h:panelGrid>
+ <a4j:log></a4j:log>
+ </h:form>
+</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenuProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenuProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenuProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,91 @@
+<f:subview id="dropDownMenuPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="ddMenuPropertyID"
switchType="client" opened="true" label="dropDownMenu
property">
+ <h:panelGrid columns="2">
+ <h:outputText value="HideDelay (ms):" />
+ <h:inputText value="#{dDMenu.hideDelay}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="ShowDelay (ms):" />
+ <h:inputText value="#{dDMenu.showDelay}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="PopupWidth (px):" />
+ <h:inputText value="#{dDMenu.popupWidth}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="horizontalOffset (px):" />
+ <h:inputText value="#{dDMenu.horizontalOffset}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="verticalOffset (px):" />
+ <h:inputText value="#{dDMenu.verticalOffset}">
+ <a4j:support event="onchange" reRender="ddmId" />
+ </h:inputText>
+
+ <h:outputText value="Mode:" />
+ <h:selectOneRadio value="#{dDMenu.mode}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Direction:" />
+ <h:selectOneRadio value="#{dDMenu.direction}">
+ <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
+ <f:selectItem itemLabel="top-left" itemValue="top-left"
/>
+ <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="GroupDirection:" />
+ <h:selectOneRadio value="#{dDMenu.groupDirection}">
+ <f:selectItem itemLabel="top-up" itemValue="top-up" />
+ <f:selectItem itemLabel="top-down" itemValue="top-down"
/>
+ <f:selectItem itemLabel="bottom-up" itemValue="bottom-up"
/>
+ <f:selectItem itemLabel="bottom-down" itemValue="bottom-down"
/>
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="JointPoint:" />
+ <h:selectOneRadio value="#{dDMenu.jointPoint}">
+ <f:selectItem itemLabel="top-right" itemValue="tr" />
+ <f:selectItem itemLabel="top-left" itemValue="tl" />
+ <f:selectItem itemLabel="bottom-right" itemValue="br" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bl" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Menu appearance event:" />
+ <h:selectOneRadio value="#{dDMenu.event}"
onclick="submit()">
+ <f:selectItem itemLabel="onclick" itemValue="onclick" />
+ <f:selectItem itemLabel="onmouseover" itemValue="onmouseover"
/>
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dDMenu.rendered}"
onclick="submit()">
+
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disable some items:" />
+ <h:selectBooleanCheckbox value="#{dDMenu.disabled}">
+ <a4j:support reRender="ddmId" event="onclick" />
+ </h:selectBooleanCheckbox>
+ <h:commandButton action="#{dDMenu.changeIcons}"
value="ChangeIcons" />
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenuStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenuStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/DropDownMenu/DropDownMenuStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="dropDownMenuStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="ddMenuStraightforwardID"
switchType="client" opened="true" label="dropDownMenu
straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{dDMenu.bTest1}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{dDMenu.bTest2}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{dDMenu.bTest3}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{dDMenu.bTest4}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{dDMenu.bTest5}" value="run"
reRender="ddmId,ddMenuPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -50,19 +50,6 @@
</f:verbatim>
</h:panelGroup>
- <rich:panel>
- <h:panelGrid columns="2">
- <h:outputText value="Dragging:" />
- <h:selectBooleanCheckbox value="#{gmap.dragging}"
onclick="submit()" />
-
- <h:outputText value="Continuous Zoom:" />
- <h:selectBooleanCheckbox value="#{gmap.continuousZoom}"
onclick="submit()" />
-
- <h:outputText value="Double Click Zoom:" />
- <h:selectBooleanCheckbox value="#{gmap.doubleClickZoom}"
onclick="submit()" />
- </h:panelGrid>
- </rich:panel>
-
<a4j:outputPanel id="zoomer">
<script>
function zoomIt() {
Added: branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/GmapProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/GmapProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Gmap/GmapProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,17 @@
+<f:subview id="GmapPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <h:panelGrid columns="2">
+ <h:outputText value="Dragging:" />
+ <h:selectBooleanCheckbox value="#{gmap.dragging}"
onclick="submit()" />
+
+ <h:outputText value="Continuous Zoom:" />
+ <h:selectBooleanCheckbox value="#{gmap.continuousZoom}"
onclick="submit()" />
+
+ <h:outputText value="Double Click Zoom:" />
+ <h:selectBooleanCheckbox value="#{gmap.doubleClickZoom}"
onclick="submit()" />
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -11,38 +11,5 @@
<rich:insert id="insertID" highlight="#{insert.highlight}"
rendered="#{insert.rendered}"
src="#{insert.src}"></rich:insert>
</rich:panel>
-
- <h:panelGrid columns="2">
- <h:outputText value="Highlight:" />
- <h:selectOneMenu value="#{insert.highlight}">
- <f:selectItem itemValue="HTML" itemLabel="HTML" />
- <f:selectItem itemValue="GROOVY" itemLabel="GROOVY" />
- <f:selectItem itemValue="JAVA" itemLabel="JAVA" />
- <f:selectItem itemValue="BEANSHELL" itemLabel="BEANSHELL"
/>
- <f:selectItem itemValue="BSH" itemLabel="BSH" />
- <f:selectItem itemValue="XML" itemLabel="XML" />
- <f:selectItem itemValue="XHTML" itemLabel="XHTML" />
- <f:selectItem itemValue="LZX" itemLabel="LZX" />
- <f:selectItem itemValue="CPP" itemLabel="CPP" />
- <f:selectItem itemValue="CXX" itemLabel="CXX" />
- <a4j:support event="onclick"
reRender="panelID,insertID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="Select file:" />
- <h:selectOneMenu value="#{insert.src}">
- <f:selectItem itemValue="/Insert/src/test.html"
itemLabel="HTML" />
- <f:selectItem itemValue="/Insert/src/test.java"
itemLabel="JAVA" />
- <f:selectItem itemValue="/Insert/src/test.groovy"
itemLabel="GROOVY" />
- <f:selectItem itemValue="/Insert/src/test.bsh"
itemLabel="BEANSHELL,BSH" />
- <f:selectItem itemValue="/Insert/src/test.xml" itemLabel="XML"
/>
- <f:selectItem itemValue="/Insert/Insert.xhtml"
itemLabel="XHTML" />
- <f:selectItem itemValue="/Insert/src/test.lzx" itemLabel="LZX"
/>
- <f:selectItem itemValue="/Insert/src/test.cpp"
itemLabel="CPP,CXX" />
- <a4j:support event="onclick" action="submit();"
reRender="panelID,insertID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="Rendered" />
- <h:selectBooleanCheckbox value="#{insert.rendered}"
onchange="submit();"/>
- </h:panelGrid>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,39 @@
+<f:subview id="InsertPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <h:panelGrid columns="2">
+ <h:outputText value="Highlight:" />
+ <h:selectOneMenu value="#{insert.highlight}">
+ <f:selectItem itemValue="HTML" itemLabel="HTML" />
+ <f:selectItem itemValue="GROOVY" itemLabel="GROOVY" />
+ <f:selectItem itemValue="JAVA" itemLabel="JAVA" />
+ <f:selectItem itemValue="BEANSHELL" itemLabel="BEANSHELL"
/>
+ <f:selectItem itemValue="BSH" itemLabel="BSH" />
+ <f:selectItem itemValue="XML" itemLabel="XML" />
+ <f:selectItem itemValue="XHTML" itemLabel="XHTML" />
+ <f:selectItem itemValue="LZX" itemLabel="LZX" />
+ <f:selectItem itemValue="CPP" itemLabel="CPP" />
+ <f:selectItem itemValue="CXX" itemLabel="CXX" />
+ <a4j:support event="onclick"
reRender="panelID,insertID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Select file:" />
+ <h:selectOneMenu value="#{insert.src}">
+ <f:selectItem itemValue="/Insert/src/test.html"
itemLabel="HTML" />
+ <f:selectItem itemValue="/Insert/src/test.java"
itemLabel="JAVA" />
+ <f:selectItem itemValue="/Insert/src/test.groovy"
itemLabel="GROOVY" />
+ <f:selectItem itemValue="/Insert/src/test.bsh"
itemLabel="BEANSHELL,BSH" />
+ <f:selectItem itemValue="/Insert/src/test.xml" itemLabel="XML"
/>
+ <f:selectItem itemValue="/Insert/Insert.xhtml"
itemLabel="XHTML" />
+ <f:selectItem itemValue="/Insert/src/test.lzx" itemLabel="LZX"
/>
+ <f:selectItem itemValue="/Insert/src/test.cpp"
itemLabel="CPP,CXX" />
+ <a4j:support event="onclick" action="submit();"
reRender="panelID,insertID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Rendered" />
+ <h:selectBooleanCheckbox value="#{insert.rendered}"
onchange="submit();"/>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Message/Message.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/Message.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/Message.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -66,108 +66,5 @@
<br />
</f:verbatim>
- <rich:simpleTogglePanel switchType="client" opened="true"
label="modalPanel straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{messages.bTest1}" value="run"
onclick="submit()"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{messages.bTest2}" value="run"
onclick="submit()"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{messages.bTest3}" value="run"
onclick="submit()"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{messages.bTest4}" value="run"
onclick="submit()"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{messages.bTest5}" value="run"
onclick="submit()"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="msgPropertyID" switchType="client"
opened="true" label="modalPanel property">
- <h:panelGrid columns="2">
- <h:outputText value="1." />
- <h:selectOneMenu id="select1" value="#{message.select1}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
-
- <h:outputText value="2." />
- <h:selectOneMenu id="select2" value="#{message.select2}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
-
- <h:outputText value="3." />
- <h:selectOneMenu id="select3" value="#{message.select3}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
-
- <h:outputText value="4." />
- <h:selectOneMenu id="select4" value="#{message.select4}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
-
- <h:outputText value="5." />
- <h:selectOneMenu id="select5" value="#{message.select5}">
- <f:selectItem itemValue="error" itemLabel="error" />
- <f:selectItem itemValue="fatal" itemLabel="fatal" />
- <f:selectItem itemValue="warn" itemLabel="warning" />
- <f:selectItem itemValue="info" itemLabel="info" />
- <f:selectItem itemValue="passed" itemLabel="passed" />
- <f:validator validatorId="MessageValidator" />
- </h:selectOneMenu>
-
- <h:outputText value="Rich Message Demo:" />
- <h:selectOneMenu value="#{message.msg}">
- <f:selectItem itemValue="no" itemLabel="no" />
- <f:selectItem itemValue="select1" itemLabel="1" />
- <f:selectItem itemValue="select2" itemLabel="2" />
- <f:selectItem itemValue="select3" itemLabel="3" />
- <f:selectItem itemValue="select4" itemLabel="4" />
- <f:selectItem itemValue="select5" itemLabel="5" />
- </h:selectOneMenu>
-
- <h:outputText value="Title:" />
- <h:inputText value="#{message.title}" />
-
- <h:outputText value="Show Detail:" />
- <h:selectBooleanCheckbox value="#{message.showDetail}" />
-
- <h:outputText value="ShowSummary" />
- <h:selectBooleanCheckbox value="#{message.showSummary}" />
-
- <h:outputText value="Tooltip" />
- <h:selectBooleanCheckbox value="#{message.tooltip}" />
-
- <h:outputText value="Layout:" />
- <h:selectOneMenu value="#{message.layout}">
- <f:selectItem itemValue="table" itemLabel="table" />
- <f:selectItem itemValue="list" itemLabel="list" />
- </h:selectOneMenu>
-
- <h:commandButton value="submit" />
- <a4j:commandButton value="submit ajax" />
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,91 @@
+<f:subview id="MessagePropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="msgPropertyID" switchType="client"
opened="true" label="modalPanel property">
+ <h:panelGrid columns="2">
+ <h:outputText value="1." />
+ <h:selectOneMenu id="select1" value="#{message.select1}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="2." />
+ <h:selectOneMenu id="select2" value="#{message.select2}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="3." />
+ <h:selectOneMenu id="select3" value="#{message.select3}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="4." />
+ <h:selectOneMenu id="select4" value="#{message.select4}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="5." />
+ <h:selectOneMenu id="select5" value="#{message.select5}">
+ <f:selectItem itemValue="error" itemLabel="error" />
+ <f:selectItem itemValue="fatal" itemLabel="fatal" />
+ <f:selectItem itemValue="warn" itemLabel="warning" />
+ <f:selectItem itemValue="info" itemLabel="info" />
+ <f:selectItem itemValue="passed" itemLabel="passed" />
+ <f:validator validatorId="MessageValidator" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Rich Message Demo:" />
+ <h:selectOneMenu value="#{message.msg}">
+ <f:selectItem itemValue="no" itemLabel="no" />
+ <f:selectItem itemValue="select1" itemLabel="1" />
+ <f:selectItem itemValue="select2" itemLabel="2" />
+ <f:selectItem itemValue="select3" itemLabel="3" />
+ <f:selectItem itemValue="select4" itemLabel="4" />
+ <f:selectItem itemValue="select5" itemLabel="5" />
+ </h:selectOneMenu>
+
+ <h:outputText value="Title:" />
+ <h:inputText value="#{message.title}" />
+
+ <h:outputText value="Show Detail:" />
+ <h:selectBooleanCheckbox value="#{message.showDetail}" />
+
+ <h:outputText value="ShowSummary" />
+ <h:selectBooleanCheckbox value="#{message.showSummary}" />
+
+ <h:outputText value="Tooltip" />
+ <h:selectBooleanCheckbox value="#{message.tooltip}" />
+
+ <h:outputText value="Layout:" />
+ <h:selectOneMenu value="#{message.layout}">
+ <f:selectItem itemValue="table" itemLabel="table" />
+ <f:selectItem itemValue="list" itemLabel="list" />
+ </h:selectOneMenu>
+
+ <h:commandButton value="submit" />
+ <a4j:commandButton value="submit ajax" />
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/MessageStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/MessageStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Message/MessageStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="MessageStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="modalPanel straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{message.bTest1}" value="run"
onclick="submit()"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{message.bTest2}" value="run"
onclick="submit()"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{message.bTest3}" value="run"
onclick="submit()"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{message.bTest4}" value="run"
onclick="submit()"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{message.bTest5}" value="run"
onclick="submit()"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -23,59 +23,5 @@
<a onclick="Richfaces.showModalPanel('MPform:MPid');"
href="#">Show MP</a>
<rich:spacer height="20px"></rich:spacer>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="modalPanel straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{modalPanel.bTest1}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{modalPanel.bTest2}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{modalPanel.bTest3}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{modalPanel.bTest4}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{modalPanel.bTest5}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="mpPropertyID" switchType="client"
opened="true" label="modalPanel property">
- <h:panelGrid columns="2">
-
- <h:outputText value="Width:" />
- <h:inputText value="#{modalPanel.width}">
- <a4j:support event="onchange"
reRender="MPform:MPid"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Height:" />
- <h:inputText value="#{modalPanel.height}">
- <a4j:support event="onchange"
reRender="MPform:MPid"></a4j:support>
- </h:inputText>
-
- <h:outputText value="minWidth:" />
- <h:inputText value="#{modalPanel.minWidth}">
- <a4j:support event="onchange"
reRender="MPform:MPid"></a4j:support>
- </h:inputText>
-
- <h:outputText value="minHeight:" />
- <h:inputText value="#{modalPanel.minHeight}">
- <a4j:support event="onchange"
reRender="MPform:MPid"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Resizeable:" />
- <h:selectBooleanCheckbox value="#{modalPanel.resizeable}">
- <a4j:support event="onclick"
reRender="MPform:MPid"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Moveable:" />
- <h:selectBooleanCheckbox value="#{modalPanel.moveable}">
- <a4j:support event="onclick"
reRender="MPform:MPid"></a4j:support>
- </h:selectBooleanCheckbox>
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,41 @@
+<f:subview id="ModalPanelPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="mpPropertyID" switchType="client"
opened="true" label="modalPanel property">
+ <h:panelGrid columns="2">
+
+ <h:outputText value="Width:" />
+ <h:inputText value="#{modalPanel.width}">
+ <a4j:support event="onchange"
reRender="MPform:MPid"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height:" />
+ <h:inputText value="#{modalPanel.height}">
+ <a4j:support event="onchange"
reRender="MPform:MPid"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="minWidth:" />
+ <h:inputText value="#{modalPanel.minWidth}">
+ <a4j:support event="onchange"
reRender="MPform:MPid"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="minHeight:" />
+ <h:inputText value="#{modalPanel.minHeight}">
+ <a4j:support event="onchange"
reRender="MPform:MPid"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Resizeable:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.resizeable}">
+ <a4j:support event="onclick"
reRender="MPform:MPid"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Moveable:" />
+ <h:selectBooleanCheckbox value="#{modalPanel.moveable}">
+ <a4j:support event="onclick"
reRender="MPform:MPid"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="ModalPanelStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="modalPanel straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{modalPanel.bTest1}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{modalPanel.bTest2}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{modalPanel.bTest3}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{modalPanel.bTest4}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{modalPanel.bTest5}" value="run"
reRender="MPform:MPid,mpPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -5,103 +5,5 @@
align="#{paint2D.align}" hspace="#{paint2D.hspace}"
vspace="#{paint2D.vspace}" bgcolor="#{paint2D.bgcolor}"
format="#{paint2D.format}" title="#{paint2D.title}"
styleClass="#{paint2D.styleString}" border="#{paint2D.border}"
rendered="#{paint2D.rendered}" />
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="paint2D straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{paint2D.bTest1}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{paint2D.bTest2}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{paint2D.bTest3}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{paint2D.bTest4}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{paint2D.bTest5}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="paint2DPropertyID"
switchType="client" opened="true" label="paint2D
property">
- <h:panelGrid columns="2" cellpadding="5px"
border="2">
- <h:outputText value="Text"></h:outputText>
- <h:inputText value="#{paintData.text}">
- <a4j:support event="onchange" reRender="paint2dID" />
- </h:inputText>
-
- <h:outputText value="Width: "></h:outputText>
- <h:inputText value="#{paint2D.width}">
- <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Height: "></h:outputText>
- <h:inputText value="#{paint2D.height}">
- <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Vertical space: "></h:outputText>
- <h:inputText value="#{paint2D.vspace}">
- <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Horizontal space: "></h:outputText>
- <h:inputText value="#{paint2D.hspace}">
- <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Align:"></h:outputText>
- <h:selectOneMenu value="#{paint2D.align}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="middle" itemValue="middle" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <f:selectItem itemLabel="bottom" itemValue="bottom" />
- <f:selectItem itemLabel="top" itemValue="top" />
- <a4j:support event="onclick"
reRender="paint2dID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="Format:"></h:outputText>
- <h:selectOneMenu value="#{paint2D.format}">
- <f:selectItem itemLabel="jpeg" itemValue="jpeg" />
- <f:selectItem itemLabel="gif" itemValue="gif" />
- <f:selectItem itemLabel="png" itemValue="png" />
- <a4j:support event="onclick"
reRender="paint2dID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="Background Colour"></h:outputText>
- <h:selectOneMenu value="#{paint2D.bgcolor}">
- <f:selectItem itemLabel="aqua" itemValue="aqua" />
- <f:selectItem itemLabel="blue" itemValue="blue" />
- <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
- <f:selectItem itemLabel="gray" itemValue="gray" />
- <f:selectItem itemLabel="lime" itemValue="lime" />
- <f:selectItem itemLabel="maroon" itemValue="maroon" />
- <f:selectItem itemLabel="purple" itemValue="purple" />
- <f:selectItem itemLabel="red" itemValue="red" />
- <f:selectItem itemLabel="silver" itemValue="silver" />
- <f:selectItem itemLabel="teal" itemValue="teal" />
- <f:selectItem itemLabel="yellow" itemValue="yellow" />
- <f:selectItem itemLabel="white" itemValue="white" />
- <a4j:support event="onclick"
reRender="paint2dID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="Style" />
- <h:selectBooleanCheckbox value="#{paint2D.style}">
- <a4j:support event="onclick" reRender="paint2dID,borderID"
/>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Border: "></h:outputText>
- <h:inputText id="borderID" disabled="#{paint2D.style}"
value="#{paint2D.border}">
- <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Rendered"></h:outputText>
- <h:selectBooleanCheckbox value="#{paint2D.rendered}">
- <a4j:support event="onclick"
reRender="paint2dID"></a4j:support>
- </h:selectBooleanCheckbox>
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,85 @@
+<f:subview id="Paint2DPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="paint2DPropertyID"
switchType="client" opened="true" label="paint2D
property">
+ <h:panelGrid columns="2" cellpadding="5px"
border="2">
+ <h:outputText value="Text"></h:outputText>
+ <h:inputText value="#{paintData.text}">
+ <a4j:support event="onchange" reRender="paint2dID" />
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{paint2D.width}">
+ <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height: "></h:outputText>
+ <h:inputText value="#{paint2D.height}">
+ <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Vertical space: "></h:outputText>
+ <h:inputText value="#{paint2D.vspace}">
+ <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Horizontal space: "></h:outputText>
+ <h:inputText value="#{paint2D.hspace}">
+ <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneMenu value="#{paint2D.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="middle" itemValue="middle" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <a4j:support event="onclick"
reRender="paint2dID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Format:"></h:outputText>
+ <h:selectOneMenu value="#{paint2D.format}">
+ <f:selectItem itemLabel="jpeg" itemValue="jpeg" />
+ <f:selectItem itemLabel="gif" itemValue="gif" />
+ <f:selectItem itemLabel="png" itemValue="png" />
+ <a4j:support event="onclick"
reRender="paint2dID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Background Colour"></h:outputText>
+ <h:selectOneMenu value="#{paint2D.bgcolor}">
+ <f:selectItem itemLabel="aqua" itemValue="aqua" />
+ <f:selectItem itemLabel="blue" itemValue="blue" />
+ <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
+ <f:selectItem itemLabel="gray" itemValue="gray" />
+ <f:selectItem itemLabel="lime" itemValue="lime" />
+ <f:selectItem itemLabel="maroon" itemValue="maroon" />
+ <f:selectItem itemLabel="purple" itemValue="purple" />
+ <f:selectItem itemLabel="red" itemValue="red" />
+ <f:selectItem itemLabel="silver" itemValue="silver" />
+ <f:selectItem itemLabel="teal" itemValue="teal" />
+ <f:selectItem itemLabel="yellow" itemValue="yellow" />
+ <f:selectItem itemLabel="white" itemValue="white" />
+ <a4j:support event="onclick"
reRender="paint2dID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Style" />
+ <h:selectBooleanCheckbox value="#{paint2D.style}">
+ <a4j:support event="onclick" reRender="paint2dID,borderID"
/>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Border: "></h:outputText>
+ <h:inputText id="borderID" disabled="#{paint2D.style}"
value="#{paint2D.border}">
+ <a4j:support event="onchange"
reRender="paint2dID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{paint2D.rendered}">
+ <a4j:support event="onclick"
reRender="paint2dID"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2DStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2DStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Paint2D/Paint2DStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="Paint2DStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="paint2D straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{paint2D.bTest1}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{paint2D.bTest2}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{paint2D.bTest3}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{paint2D.bTest4}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{paint2D.bTest5}" value="run"
reRender="paint2dID,paint2DPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -4,7 +4,8 @@
<h:outputText value="Panel 1, rendered: #{!panel.rendered}; Panel 2, rendered
#{panel.rendered};"></h:outputText>
- <rich:panel rendered="#{!panel.rendered}" id="p1"
style="width:#{panel.width};height:#{panel.height};overflow:auto;">
+ <rich:panel rendered="#{!panel.rendered}" id="p1"
style="width:#{panel.width};height:#{panel.height};overflow:auto;"
+ ondblclick="print('ondblclickInputID', 'ondblclick work!')"
onkeydown="print('onkeydownInputID', 'onkeydown work!')"
onclick="print('onclickInputID', 'onclick work!')"
onkeypress="print('onkeypressInputID', 'onkeypress work!')"
onkeyup="print('onkeyupInputID', 'onkeyup work!')"
onmousedown="print('onmousedownInputID', 'onmousedown work!')"
onmousemove="print('onmousemoveInputID', 'onmousemove work!')"
onmouseout="print('onmouseoutInputID', 'onmouseout work!')"
onmouseover="print('onmouseoverInputID', 'onmouseover work!')"
onmouseup="print('onmouseupInputID', 'onmouseup work!')">
<f:facet name="header">
<h:outputText id="t1" value="#{panel.title[0]} (Panel 1)"
/>
</f:facet>
@@ -40,47 +41,6 @@
<f:verbatim>This is panel 2 example...(Test events)</f:verbatim>
</rich:panel>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="panel straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{panel.bTest1}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{panel.bTest2}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{panel.bTest3}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{panel.bTest4}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{panel.bTest5}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="panelPropertyID" switchType="client"
opened="true" label="panel property">
- <h:panelGrid columns="2" cellpadding="10px">
- <h:outputText value="Title"></h:outputText>
- <h:inputText valueChangeListener="#{panel.makeTitle}">
- <a4j:support event="onchange"
reRender="t1,t2,t3,o1,o2"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Width: "></h:outputText>
- <h:inputText value="#{panel.width}">
- <a4j:support event="onchange"
reRender="panelId,p1"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Height: "></h:outputText>
- <h:inputText value="#{panel.height}">
- <a4j:support event="onchange"
reRender="panelId,p1"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{panel.rendered}"
onclick="submit()"></h:selectBooleanCheckbox>
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,28 @@
+<f:subview id="PanelPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="panelPropertyID" switchType="client"
opened="true" label="panel property">
+ <h:panelGrid columns="2" cellpadding="10px">
+ <h:outputText value="Title"></h:outputText>
+ <h:inputText valueChangeListener="#{panel.makeTitle}">
+ <a4j:support event="onchange"
reRender="t1,t2,t3,o1,o2"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{panel.width}">
+ <a4j:support event="onchange"
reRender="panelId,p1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height: "></h:outputText>
+ <h:inputText value="#{panel.height}">
+ <a4j:support event="onchange"
reRender="panelId,p1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panel.rendered}"
onclick="submit()"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/PanelStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/PanelStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Panel/PanelStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="PanelStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="panel straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{panel.bTest1}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{panel.bTest2}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{panel.bTest3}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{panel.bTest4}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{panel.bTest5}" value="run"
reRender="panelPropertyID,panelId,p1,t1,t2,t3,o1,o2"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -31,51 +31,5 @@
</rich:panelBar>
<rich:spacer height="20px"></rich:spacer>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="panelBar straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{panelBar.bTest1}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{panelBar.bTest2}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{panelBar.bTest3}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{panelBar.bTest4}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{panelBar.bTest5}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="pbPropertyID" switchType="client"
opened="true" label="panelBar property">
- <h:panelGrid columns="2" cellspacing="10px">
- <h:outputText value="Label: "></h:outputText>
- <h:inputText valueChangeListener="#{panelBar.makeLabels}">
- <a4j:support event="onchange"
reRender="pBId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Width: "></h:outputText>
- <h:inputText value="#{panelBar.width}">
- <a4j:support event="onchange"
reRender="pBId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Height: "></h:outputText>
- <h:inputText value="#{panelBar.height}">
- <a4j:support event="onchange"
reRender="pBId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Rendered"></h:outputText>
- <h:selectBooleanCheckbox value="#{panelBar.rendered}">
- <a4j:support event="onchange" reRender="pBId" />
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Switch Styles:" />
- <h:commandButton action="#{panelBar.doStyles}"
value="#{panelBar.btnLabel}" />
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,33 @@
+<f:subview id="panelBarPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="pbPropertyID" switchType="client"
opened="true" label="panelBar property">
+ <h:panelGrid columns="2" cellspacing="10px">
+ <h:outputText value="Label: "></h:outputText>
+ <h:inputText valueChangeListener="#{panelBar.makeLabels}">
+ <a4j:support event="onchange"
reRender="pBId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{panelBar.width}">
+ <a4j:support event="onchange"
reRender="pBId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height: "></h:outputText>
+ <h:inputText value="#{panelBar.height}">
+ <a4j:support event="onchange"
reRender="pBId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelBar.rendered}">
+ <a4j:support event="onchange" reRender="pBId" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{panelBar.doStyles}"
value="#{panelBar.btnLabel}" />
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBarStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBarStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelBar/PanelBarStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="panelBarStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="panelBar straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{panelBar.bTest1}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{panelBar.bTest2}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{panelBar.bTest3}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{panelBar.bTest4}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{panelBar.bTest5}" value="run"
reRender="pbPropertyID,pBId"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -170,301 +170,5 @@
<br />
<br />
</f:verbatim>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="panelMenu straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{panelMenu.bTest1}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{panelMenu.bTest2}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{panelMenu.bTest3}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{panelMenu.bTest4}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{panelMenu.bTest5}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="pmPropertyID" switchType="client"
opened="true" label="panelMenu property">
- <h:panelGrid columns="2">
- <h:outputText value="Width"></h:outputText>
- <h:inputText value="#{panelMenu.width}">
- <a4j:support event="onchange"
reRender="panelMenuID,panelMenuID2,info"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Tab Index"></h:outputText>
- <h:inputText value="#{panelMenu.tabIndex}">
- <a4j:support event="onchange"
reRender="panelMenuID,panelMenuID2,info"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Expand Single"></h:outputText>
- <h:selectBooleanCheckbox value="#{panelMenu.expandSingle}">
- <a4j:support event="onchange"
reRender="panelMenuID"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Mode"></h:outputText>
- <h:selectOneRadio value="#{panelMenu.mode}" id="Mode1ID"
onchange="submit();">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <f:selectItem itemLabel="server" itemValue="server" />
- </h:selectOneRadio>
-
- <h:outputText value="Expand mode"></h:outputText>
- <h:selectOneRadio value="#{panelMenu.expandMode}"
onchange="submit();">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <f:selectItem itemLabel="server" itemValue="server" />
- </h:selectOneRadio>
-
- <h:outputText value="Align:"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.align}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="middle" itemValue="middle" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <f:selectItem itemLabel="bottom" itemValue="bottom" />
- <f:selectItem itemLabel="top" itemValue="top" />
- <a4j:support event="onclick"
reRender="panelMenuID,panelMenuID2,info"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="Disabled"></h:outputText>
- <h:selectBooleanCheckbox value="#{panelMenu.disabled}">
- <a4j:support event="onchange"
reRender="panelMenuID,panelMenuID2,info"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Rendered"></h:outputText>
- <h:selectBooleanCheckbox value="#{panelMenu.rendered}"
onchange="submit();"></h:selectBooleanCheckbox>
- </h:panelGrid>
-
- <h:panelGrid columns="4">
- <h:outputText value="Icon"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.icon}"
onchange="submit();">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- </h:selectOneMenu>
-
- <h:outputText value="icon Item"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.item}"
onchange="submit();">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item " itemValue="#{icon.iconItem}"
/>
- </h:selectOneMenu>
-
- <h:outputText value="icon Disabled"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.disabled}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Disabled Item"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.disabledItem}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Top Item"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.topItem}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Top Disabled Item"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.topDisabledItem}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Expanded Group"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.expandedGroup}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon CollapsedGroup"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.collapsedGroup}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Disabled Group"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.disabledGroup}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Expanded Top Group"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.expandedTopGroup}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Collapsed Top Group"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.collapsedTopGroup}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Top Disable Group"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.topDisableGroup}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Expanded"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.expanded}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Collapsed"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.icon.collapsed}">
- <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
- <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
- <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
- <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
- <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
- <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
- <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
- <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
- <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
- </h:panelGrid>
- <br />
- <h:panelGrid columns="4">
- <h:outputText value="icon Group Position"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.iconGroupPosition}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Group Top Position"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.iconGroupTopPosition}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Item Position"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.iconItemPosition}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="icon Item Top Position"></h:outputText>
- <h:selectOneMenu value="#{panelMenu.iconItemTopPosition}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
- </h:selectOneMenu>
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,283 @@
+<f:subview id="panelMenuPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="pmPropertyID" switchType="client"
opened="true" label="panelMenu property">
+ <h:panelGrid columns="2">
+ <h:outputText value="Width"></h:outputText>
+ <h:inputText value="#{panelMenu.width}">
+ <a4j:support event="onchange"
reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Tab Index"></h:outputText>
+ <h:inputText value="#{panelMenu.tabIndex}">
+ <a4j:support event="onchange"
reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Expand Single"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelMenu.expandSingle}">
+ <a4j:support event="onchange"
reRender="panelMenuID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Mode"></h:outputText>
+ <h:selectOneRadio value="#{panelMenu.mode}" id="Mode1ID"
onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Expand mode"></h:outputText>
+ <h:selectOneRadio value="#{panelMenu.expandMode}"
onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="middle" itemValue="middle" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="bottom" itemValue="bottom" />
+ <f:selectItem itemLabel="top" itemValue="top" />
+ <a4j:support event="onclick"
reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Disabled"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelMenu.disabled}">
+ <a4j:support event="onchange"
reRender="panelMenuID,panelMenuID2,info"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panelMenu.rendered}"
onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+
+ <h:panelGrid columns="4">
+ <h:outputText value="Icon"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.icon}"
onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.item}"
onchange="submit();">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item " itemValue="#{icon.iconItem}"
/>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Disabled"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.disabled}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Disabled Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.disabledItem}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Top Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.topItem}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Top Disabled Item"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.topDisabledItem}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Expanded Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.expandedGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon CollapsedGroup"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.collapsedGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Disabled Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.disabledGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Expanded Top Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.expandedTopGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Collapsed Top Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.collapsedTopGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Top Disable Group"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.topDisableGroup}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Expanded"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.expanded}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Collapsed"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.icon.collapsed}">
+ <f:selectItem itemLabel="none" itemValue="#{icon.none}"
/>
+ <f:selectItem itemLabel="Ajax Process"
itemValue="#{icon.iconAjaxProcess}" />
+ <f:selectItem itemLabel="Ajax Stoped"
itemValue="#{icon.iconAjaxStoped}" />
+ <f:selectItem itemLabel="Collapse"
itemValue="#{icon.iconCollapse}" />
+ <f:selectItem itemLabel="Expand"
itemValue="#{icon.iconExpand}" />
+ <f:selectItem itemLabel="File Manager"
itemValue="#{icon.iconFileManager}" />
+ <f:selectItem itemLabel="File Manager Reject"
itemValue="#{icon.iconFileManagerReject}" />
+ <f:selectItem itemLabel="Header"
itemValue="#{icon.iconHeader}" />
+ <f:selectItem itemLabel="Item" itemValue="#{icon.iconItem}"
/>
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+ </h:panelGrid>
+ <br />
+ <h:panelGrid columns="4">
+ <h:outputText value="icon Group Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconGroupPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Group Top Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconGroupTopPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Item Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconItemPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="icon Item Top Position"></h:outputText>
+ <h:selectOneMenu value="#{panelMenu.iconItemTopPosition}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick"
reRender="panelMenuID"></a4j:support>
+ </h:selectOneMenu>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="panelMenuStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="panelMenu straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{panelMenu.bTest1}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{panelMenu.bTest2}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{panelMenu.bTest3}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{panelMenu.bTest4}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{panelMenu.bTest5}" value="run"
reRender="pmPropertyID,panelMenuID,panelMenuID2,info"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -35,6 +35,6 @@
</rich:column>
</rich:scrollableDataTable>
- <a4j:commandButton value="reRender"
reRender="sdt"></a4j:commandButton>
+
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTableProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,8 @@
+<f:subview id="scrollableDataTablePropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <a4j:commandButton value="reRender"
reRender="sdt"></a4j:commandButton>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/Separator.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/Separator.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/Separator.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -12,67 +12,5 @@
onmouseover="print('onmouseoverInputID', 'onmouseover
work!')" onmouseup="print('onmouseupInputID', 'onmouseup
work!')"></rich:separator>
<h:outputText value="Some text two..."
styleClass="text"></h:outputText>
<rich:spacer height="20px"></rich:spacer>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="separator straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{separator.bTest1}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{separator.bTest2}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{separator.bTest3}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{separator.bTest4}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{separator.bTest5}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="separatorPropertyID"
switchType="client" opened="true" label="separator
property">
- <h:panelGrid columns="2">
- <h:outputText value="Width (px or %): "></h:outputText>
- <h:inputText value="#{separator.width}">
- <a4j:support event="onchange"
reRender="separatorId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Height (px or %):"></h:outputText>
- <h:inputText value="#{separator.height}">
- <a4j:support event="onchange"
reRender="separatorId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="LineType:"></h:outputText>
- <h:selectOneRadio value="#{separator.lineType}"
layout="pageDirection">
- <f:selectItem itemLabel="beveled" itemValue="beveled" />
- <f:selectItem itemLabel="dotted" itemValue="dotted" />
- <f:selectItem itemLabel="dashed" itemValue="dashed" />
- <f:selectItem itemLabel="double" itemValue="double" />
- <f:selectItem itemLabel="solid" itemValue="solid" />
- <a4j:support event="onclick"
reRender="separatorId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Align:"></h:outputText>
- <h:selectOneRadio value="#{separator.align}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="center" itemValue="center" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <a4j:support event="onclick"
reRender="separatorId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Title:"></h:outputText>
- <h:inputText value="#{separator.title}">
- <a4j:support event="onchange"
reRender="separatorId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{separator.rendered}"
onclick="submit()"></h:selectBooleanCheckbox>
-
- <h:outputText value="Switch Styles:" />
- <h:commandButton action="#{separator.doStyles}"
value="#{separator.btnLabel}" />
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/SeparatorProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/SeparatorProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/SeparatorProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,49 @@
+<f:subview id="SeparatorPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="separatorPropertyID"
switchType="client" opened="true" label="separator
property">
+ <h:panelGrid columns="2">
+ <h:outputText value="Width (px or %): "></h:outputText>
+ <h:inputText value="#{separator.width}">
+ <a4j:support event="onchange"
reRender="separatorId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{separator.height}">
+ <a4j:support event="onchange"
reRender="separatorId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="LineType:"></h:outputText>
+ <h:selectOneRadio value="#{separator.lineType}"
layout="pageDirection">
+ <f:selectItem itemLabel="beveled" itemValue="beveled" />
+ <f:selectItem itemLabel="dotted" itemValue="dotted" />
+ <f:selectItem itemLabel="dashed" itemValue="dashed" />
+ <f:selectItem itemLabel="double" itemValue="double" />
+ <f:selectItem itemLabel="solid" itemValue="solid" />
+ <a4j:support event="onclick"
reRender="separatorId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneRadio value="#{separator.align}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick"
reRender="separatorId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Title:"></h:outputText>
+ <h:inputText value="#{separator.title}">
+ <a4j:support event="onchange"
reRender="separatorId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{separator.rendered}"
onclick="submit()"></h:selectBooleanCheckbox>
+
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{separator.doStyles}"
value="#{separator.btnLabel}" />
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/SeparatorStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/SeparatorStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Separator/SeparatorStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="SeparatorStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="separator straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{separator.bTest1}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{separator.bTest2}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{separator.bTest3}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{separator.bTest4}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{separator.bTest5}" value="run"
reRender="separatorId,separatorPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -66,52 +66,5 @@
</rich:simpleTogglePanel>
<rich:spacer height="20px"></rich:spacer>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="spacer straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{simpleTogglePanel.bTest1}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{simpleTogglePanel.bTest2}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{simpleTogglePanel.bTest3}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{simpleTogglePanel.bTest4}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{simpleTogglePanel.bTest5}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="stpPropertyID" switchType="client"
opened="true" label="spacer property">
- <h:panelGrid columns="2" border="1">
- <h:outputText value="Width:">
- </h:outputText>
- <h:inputText value="#{simpleTogglePanel.width}">
- <a4j:support event="onchange"
reRender="sTP,sTP1"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Height:">
- </h:outputText>
- <h:inputText value="#{simpleTogglePanel.height}">
- <a4j:support event="onchange"
reRender="sTP,sTP1"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Switch Type:"></h:outputText>
- <h:selectOneRadio value="#{simpleTogglePanel.switchType}">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="server" itemValue="server" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <a4j:support event="onclick"
reRender="sTP,sTP1,sTP2"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{simpleTogglePanel.rendered}"
onclick="submit()">
- </h:selectBooleanCheckbox>
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,34 @@
+<f:subview id="stpPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="stpPropertyID" switchType="client"
opened="true" label="spacer property">
+ <h:panelGrid columns="2" border="1">
+ <h:outputText value="Width:">
+ </h:outputText>
+ <h:inputText value="#{simpleTogglePanel.width}">
+ <a4j:support event="onchange"
reRender="sTP,sTP1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height:">
+ </h:outputText>
+ <h:inputText value="#{simpleTogglePanel.height}">
+ <a4j:support event="onchange"
reRender="sTP,sTP1"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Switch Type:"></h:outputText>
+ <h:selectOneRadio value="#{simpleTogglePanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick"
reRender="sTP,sTP1,sTP2"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{simpleTogglePanel.rendered}"
onclick="submit()">
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="stpStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="spacer straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest1}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest2}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest3}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest4}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{simpleTogglePanel.bTest5}"
value="run"
reRender="sTP,sTP1,sTP2,stpPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -20,45 +20,5 @@
onmouseup="print('onmouseupInputID', 'onmouseup
work!')">
</rich:spacer>
<h:outputText value="Some text two..."
styleClass="text"></h:outputText>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="spacer straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{spacer.bTest1}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{spacer.bTest2}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{spacer.bTest3}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{spacer.bTest4}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{spacer.bTest5}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="spacerPropertyID"
switchType="client" opened="true" label="spacer
property">
- <h:panelGrid columns="2">
- <h:outputText value="Width (px or %):"></h:outputText>
- <h:inputText value="#{spacer.width}">
- <a4j:support event="onchange"
reRender="spacerId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Height (px or %):"></h:outputText>
- <h:inputText value="#{spacer.height}">
- <a4j:support event="onchange"
reRender="spacerId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{spacer.rendered}"
onclick="submit()">
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Style" />
- <a4j:commandButton id="btn" action="#{spacer.doStyle}"
value="#{spacer.btn}" reRender="spacerId,
btn"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/SpacerProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/SpacerProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/SpacerProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,27 @@
+<f:subview id="spacerPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="spacerPropertyID"
switchType="client" opened="true" label="spacer
property">
+ <h:panelGrid columns="2">
+ <h:outputText value="Width (px or %):"></h:outputText>
+ <h:inputText value="#{spacer.width}">
+ <a4j:support event="onchange"
reRender="spacerId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{spacer.height}">
+ <a4j:support event="onchange"
reRender="spacerId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{spacer.rendered}"
onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Style" />
+ <a4j:commandButton id="btn" action="#{spacer.doStyle}"
value="#{spacer.btn}" reRender="spacerId,
btn"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/SpacerStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/SpacerStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Spacer/SpacerStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="spacerStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="spacer straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{spacer.bTest1}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{spacer.bTest2}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{spacer.bTest3}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{spacer.bTest4}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{spacer.bTest5}" value="run"
reRender="spacerPropertyID,spacerId"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -18,7 +18,7 @@
summary="summary" shadowOpacity="#{sb.shadowOpacity}"
shadowDepth="#{sb.shadowDepth}" reRender="#{sb.reRender}"
selectValueClass="mousemove" frequency="#{sb.frequency}"
- nothingLabel="fdsf" oncomplete="print('oncompleteInputID',
'oncomplete work!')"
+ nothingLabel="nothingLabel work! "
oncomplete="print('oncompleteInputID', 'oncomplete work!')"
onselect="print('onselectInputID', 'onselect work!')"
onsubmit="print('onsubmitInputID', 'onsubmit work!')">
<h:column>
<h:outputText value="#{result.text}" />
@@ -32,126 +32,5 @@
<br />
</f:verbatim>
- <rich:simpleTogglePanel switchType="client" opened="true"
- label="suggestionBox straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{sb.bTest1}" value="run"
- reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{sb.bTest2}" value="run"
- reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{sb.bTest3}" value="run"
- reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{sb.bTest4}" value="run"
- reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{sb.bTest5}" value="run"
- reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="sbPropertyID" switchType="client"
- opened="true" label="suggestionBox property">
- <h:panelGrid columns="2" cellpadding="5px">
-
- <h:outputText value="z-index"></h:outputText>
- <h:selectOneRadio value="#{sb.zindex}">
- <f:selectItem itemLabel="1" itemValue="1" />
- <f:selectItem itemLabel="3" itemValue="3" />
- <a4j:support event="onclick"
reRender="suggestionBoxId"></a4j:support>
- </h:selectOneRadio>
-
- <f:verbatim>Frequency</f:verbatim>
- <h:inputText value="#{sb.frequency}">
- <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <f:verbatim>Border</f:verbatim>
- <h:inputText value="#{sb.border}">
- <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <f:verbatim>Width</f:verbatim>
- <h:inputText value="#{sb.width}">
- <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <f:verbatim>Height</f:verbatim>
- <h:inputText value="#{sb.height}">
- <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <f:verbatim>Cellpadding</f:verbatim>
- <h:inputText value="#{sb.cellpadding}">
- <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <f:verbatim>Cellspacing</f:verbatim>
- <h:inputText value="#{sb.cellspacing}">
- <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <f:verbatim>First</f:verbatim>
- <h:inputText value="#{sb.first}">
- <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <f:verbatim>MinChars</f:verbatim>
- <h:inputText value="#{sb.minchars}">
- <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Background Colour"></h:outputText>
- <h:selectOneMenu value="#{sb.bgColor}">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="aqua" itemValue="aqua" />
- <f:selectItem itemLabel="blue" itemValue="blue" />
- <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
- <f:selectItem itemLabel="gray" itemValue="gray" />
- <f:selectItem itemLabel="lime" itemValue="lime" />
- <f:selectItem itemLabel="maroon" itemValue="maroon" />
- <f:selectItem itemLabel="purple" itemValue="purple" />
- <f:selectItem itemLabel="red" itemValue="red" />
- <f:selectItem itemLabel="silver" itemValue="silver" />
- <f:selectItem itemLabel="teal" itemValue="teal" />
- <f:selectItem itemLabel="yellow" itemValue="yellow" />
- <f:selectItem itemLabel="white" itemValue="white" />
- <a4j:support event="onclick"
reRender="suggestionBoxId"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="Shadow Opacity"></h:outputText>
- <h:selectOneRadio value="#{sb.shadowOpacity}">
- <f:selectItem itemLabel="1" itemValue="1" />
- <f:selectItem itemLabel="3" itemValue="2" />
- <f:selectItem itemLabel="5" itemValue="3" />
- <f:selectItem itemLabel="7" itemValue="4" />
- <f:selectItem itemLabel="9" itemValue="5" />
- <f:selectItem itemLabel="11" itemValue="6" />
- <f:selectItem itemLabel="13" itemValue="7" />
- <f:selectItem itemLabel="15" itemValue="8" />
- <a4j:support event="onclick"
reRender="suggestionBoxId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Shadow Depth"></h:outputText>
- <h:selectOneRadio value="#{sb.shadowDepth}">
- <f:selectItem itemLabel="3" itemValue="3" />
- <f:selectItem itemLabel="4" itemValue="4" />
- <f:selectItem itemLabel="5" itemValue="5" />
- <f:selectItem itemLabel="6" itemValue="6" />
- <f:selectItem itemLabel="7" itemValue="6" />
- <a4j:support event="onclick"
reRender="suggestionBoxId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="reRender"></h:outputText>
- <h:selectBooleanCheckbox
value="#{sb.reRender}"></h:selectBooleanCheckbox>
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,31 @@
+<f:subview id="suggestionboxPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
+ label="suggestionBox straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{sb.bTest1}" value="run"
+ reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{sb.bTest2}" value="run"
+ reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{sb.bTest3}" value="run"
+ reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{sb.bTest4}" value="run"
+ reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{sb.bTest5}" value="run"
+ reRender="sbPropertyID,suggestionBoxId"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBoxStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,103 @@
+<f:subview id="suggestionboxStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="sbPropertyID" switchType="client"
+ opened="true" label="suggestionBox property">
+ <h:panelGrid columns="2" cellpadding="5px">
+
+ <h:outputText value="z-index"></h:outputText>
+ <h:selectOneRadio value="#{sb.zindex}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <a4j:support event="onclick"
reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <f:verbatim>Frequency</f:verbatim>
+ <h:inputText value="#{sb.frequency}">
+ <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <f:verbatim>Border</f:verbatim>
+ <h:inputText value="#{sb.border}">
+ <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <f:verbatim>Width</f:verbatim>
+ <h:inputText value="#{sb.width}">
+ <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <f:verbatim>Height</f:verbatim>
+ <h:inputText value="#{sb.height}">
+ <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <f:verbatim>Cellpadding</f:verbatim>
+ <h:inputText value="#{sb.cellpadding}">
+ <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <f:verbatim>Cellspacing</f:verbatim>
+ <h:inputText value="#{sb.cellspacing}">
+ <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <f:verbatim>First</f:verbatim>
+ <h:inputText value="#{sb.first}">
+ <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <f:verbatim>MinChars</f:verbatim>
+ <h:inputText value="#{sb.minchars}">
+ <a4j:support event="onchange"
reRender="suggestionBoxId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Background Colour"></h:outputText>
+ <h:selectOneMenu value="#{sb.bgColor}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="aqua" itemValue="aqua" />
+ <f:selectItem itemLabel="blue" itemValue="blue" />
+ <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
+ <f:selectItem itemLabel="gray" itemValue="gray" />
+ <f:selectItem itemLabel="lime" itemValue="lime" />
+ <f:selectItem itemLabel="maroon" itemValue="maroon" />
+ <f:selectItem itemLabel="purple" itemValue="purple" />
+ <f:selectItem itemLabel="red" itemValue="red" />
+ <f:selectItem itemLabel="silver" itemValue="silver" />
+ <f:selectItem itemLabel="teal" itemValue="teal" />
+ <f:selectItem itemLabel="yellow" itemValue="yellow" />
+ <f:selectItem itemLabel="white" itemValue="white" />
+ <a4j:support event="onclick"
reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Shadow Opacity"></h:outputText>
+ <h:selectOneRadio value="#{sb.shadowOpacity}">
+ <f:selectItem itemLabel="1" itemValue="1" />
+ <f:selectItem itemLabel="3" itemValue="2" />
+ <f:selectItem itemLabel="5" itemValue="3" />
+ <f:selectItem itemLabel="7" itemValue="4" />
+ <f:selectItem itemLabel="9" itemValue="5" />
+ <f:selectItem itemLabel="11" itemValue="6" />
+ <f:selectItem itemLabel="13" itemValue="7" />
+ <f:selectItem itemLabel="15" itemValue="8" />
+ <a4j:support event="onclick"
reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Shadow Depth"></h:outputText>
+ <h:selectOneRadio value="#{sb.shadowDepth}">
+ <f:selectItem itemLabel="3" itemValue="3" />
+ <f:selectItem itemLabel="4" itemValue="4" />
+ <f:selectItem itemLabel="5" itemValue="5" />
+ <f:selectItem itemLabel="6" itemValue="6" />
+ <f:selectItem itemLabel="7" itemValue="6" />
+ <a4j:support event="onclick"
reRender="suggestionBoxId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="reRender"></h:outputText>
+ <h:selectBooleanCheckbox
value="#{sb.reRender}"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanel.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanel.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanel.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -51,85 +51,5 @@
</rich:tabPanel>
<rich:spacer height="20px"></rich:spacer>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="dataTable straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{tabPanel.bTest1}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{tabPanel.bTest2}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{tabPanel.bTest3}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{tabPanel.bTest4}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{tabPanel.bTest5}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="tpPropertyID" switchType="client"
opened="true" label="tabPanel property">
- <h:panelGrid columns="2" cellspacing="10px">
- <h:outputText value="Width (px or %):"></h:outputText>
- <h:inputText value="#{tabPanel.width}" onchange="submit();"
/>
-
- <h:outputText value="Height (px or %):"></h:outputText>
- <h:inputText value="#{tabPanel.height}" onchange="submit();"
/>
-
- <h:outputText value="Title:"></h:outputText>
- <h:inputText value="#{tabPanel.title}">
- <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="LabelWidth:"></h:outputText>
- <h:inputText value="#{tabPanel.labelWidth}"
onchange="submit();" />
-
- <h:outputText value="SwitchType:"></h:outputText>
- <h:selectOneRadio value="#{tabPanel.switchType}">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="server" itemValue="server" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Header Alignment:"></h:outputText>
- <h:selectOneRadio value="#{tabPanel.headerAlignment}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="center" itemValue="center" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Header Spacing:"></h:outputText>
- <h:inputText value="#{tabPanel.headerSpacing}">
- <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Selected Tab:"></h:outputText>
- <h:selectOneRadio value="#{tabPanel.selectedTab}"
onchange="submit();">
- <f:selectItem itemLabel="1" itemValue="tabOne" />
- <f:selectItem itemLabel="2" itemValue="tabTwo" />
- <f:selectItem itemLabel="3" itemValue="tabThr" />
- </h:selectOneRadio>
-
- <h:outputText value="immediate" />
- <h:selectBooleanCheckbox value="#{tabPanel.immediate}">
- <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Rendered"></h:outputText>
- <h:selectBooleanCheckbox value="#{tabPanel.rendered}"
onclick="submit()">
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Disable Tab"></h:outputText>
- <h:selectBooleanCheckbox value="#{tabPanel.disabledTab}"
onclick="submit()">
- </h:selectBooleanCheckbox>
- <h:outputText value="Switch Styles:" />
- <h:commandButton action="#{tabPanel.doStyles}"
value="#{tabPanel.btnLabel}" />
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanelProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanelProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanelProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="tabPanelPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="dataTable straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{tabPanel.bTest1}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{tabPanel.bTest2}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{tabPanel.bTest3}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{tabPanel.bTest4}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{tabPanel.bTest5}" value="run"
reRender="tpPropertyID,tabPanelId"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanelStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanelStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/TabPanel/TabPanelStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,67 @@
+<f:subview id="tabPanelStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="tpPropertyID" switchType="client"
opened="true" label="tabPanel property">
+ <h:panelGrid columns="2" cellspacing="10px">
+ <h:outputText value="Width (px or %):"></h:outputText>
+ <h:inputText value="#{tabPanel.width}" onchange="submit();"
/>
+
+ <h:outputText value="Height (px or %):"></h:outputText>
+ <h:inputText value="#{tabPanel.height}" onchange="submit();"
/>
+
+ <h:outputText value="Title:"></h:outputText>
+ <h:inputText value="#{tabPanel.title}">
+ <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="LabelWidth:"></h:outputText>
+ <h:inputText value="#{tabPanel.labelWidth}"
onchange="submit();" />
+
+ <h:outputText value="SwitchType:"></h:outputText>
+ <h:selectOneRadio value="#{tabPanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Header Alignment:"></h:outputText>
+ <h:selectOneRadio value="#{tabPanel.headerAlignment}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="center" itemValue="center" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Header Spacing:"></h:outputText>
+ <h:inputText value="#{tabPanel.headerSpacing}">
+ <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Selected Tab:"></h:outputText>
+ <h:selectOneRadio value="#{tabPanel.selectedTab}"
onchange="submit();">
+ <f:selectItem itemLabel="1" itemValue="tabOne" />
+ <f:selectItem itemLabel="2" itemValue="tabTwo" />
+ <f:selectItem itemLabel="3" itemValue="tabThr" />
+ </h:selectOneRadio>
+
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{tabPanel.immediate}">
+ <a4j:support event="onchange"
reRender="tabPanelId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tabPanel.rendered}"
onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disable Tab"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tabPanel.disabledTab}"
onclick="submit()">
+ </h:selectBooleanCheckbox>
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{tabPanel.doStyles}"
value="#{tabPanel.btnLabel}" />
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -151,52 +151,6 @@
<br />
<br />
</f:verbatim>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="tooglePanel straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{togglePanel.bTest1}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{togglePanel.bTest2}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{togglePanel.bTest3}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{togglePanel.bTest4}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{togglePanel.bTest5}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="tPanelPropertyID"
switchType="client" opened="true" label="tooglePanel
property">
- <h:panelGrid columns="2" cellpadding="5px"
cellspacing="5px">
- <h:outputText value="InitialState:"></h:outputText>
- <h:selectOneRadio value="#{togglePanel.initialState}">
- <f:selectItem itemLabel="Asus" itemValue="asus" />
- <f:selectItem itemLabel="Benq" itemValue="benq" />
- <f:selectItem itemLabel="toshiba" itemValue="toshiba" />
- <a4j:support event="onchange"
reRender="tooggleTest:panel2"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="StateOrder:"></h:outputText>
- <h:selectOneRadio value="#{togglePanel.stateOrder}">
- <f:selectItem itemLabel="Asus,Benq,Toshiba"
itemValue="asus,benq,toshiba" />
- <f:selectItem itemLabel="Toshiba, Asus, Benq"
itemValue="toshiba,asus,benq" />
- <a4j:support event="onchange"
reRender="tooggleTest:panel2"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="switchType:"></h:outputText>
- <h:selectOneRadio value="#{togglePanel.switchType}">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="server" itemValue="server" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <a4j:support event="onclick"
reRender="panel1,panel2"></a4j:support>
- </h:selectOneRadio>
- </h:panelGrid>
- </rich:simpleTogglePanel>
<ui:debug hotkey="L"></ui:debug>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanelProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanelProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanelProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,33 @@
+<f:subview id="togglePanelPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="tPanelPropertyID"
switchType="client" opened="true" label="tooglePanel
property">
+ <h:panelGrid columns="2" cellpadding="5px"
cellspacing="5px">
+ <h:outputText value="InitialState:"></h:outputText>
+ <h:selectOneRadio value="#{togglePanel.initialState}">
+ <f:selectItem itemLabel="Asus" itemValue="asus" />
+ <f:selectItem itemLabel="Benq" itemValue="benq" />
+ <f:selectItem itemLabel="toshiba" itemValue="toshiba" />
+ <a4j:support event="onchange"
reRender="tooggleTest:panel2"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="StateOrder:"></h:outputText>
+ <h:selectOneRadio value="#{togglePanel.stateOrder}">
+ <f:selectItem itemLabel="Asus,Benq,Toshiba"
itemValue="asus,benq,toshiba" />
+ <f:selectItem itemLabel="Toshiba, Asus, Benq"
itemValue="toshiba,asus,benq" />
+ <a4j:support event="onchange"
reRender="tooggleTest:panel2"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="switchType:"></h:outputText>
+ <h:selectOneRadio value="#{togglePanel.switchType}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick"
reRender="panel1,panel2"></a4j:support>
+ </h:selectOneRadio>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanelStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanelStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanelStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="togglePanelStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="tooglePanel straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{togglePanel.bTest1}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{togglePanel.bTest2}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{togglePanel.bTest3}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{togglePanel.bTest4}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{togglePanel.bTest5}" value="run"
reRender="panel1,panel2,tPanelPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -33,29 +33,5 @@
</rich:toolBar>
- <h:panelGrid columns="2">
- <h:outputText value="Image location:"></h:outputText>
- <h:selectOneRadio value="#{toolBar.location}">
- <f:selectItem itemLabel="left" itemValue="left" />
- <f:selectItem itemLabel="right" itemValue="right" />
- <a4j:support event="onclick"
reRender="toolBarId"></a4j:support>
- </h:selectOneRadio>
-
-
- <h:outputText value="itemSeparator:"></h:outputText>
- <h:selectOneRadio value="#{toolBar.itemSeparator}">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="line" itemValue="line" />
- <f:selectItem itemLabel="square" itemValue="square" />
- <f:selectItem itemLabel="disc" itemValue="disc" />
- <f:selectItem itemLabel="grid" itemValue="grid" />
- <a4j:support event="onclick"
reRender="toolBarId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Switch Styles" />
- <a4j:commandButton id="slBtn" value="#{toolBar.btnLabel}"
- action="#{toolBar.doStyles}" reRender="toolBarId,slBtn">
- </a4j:commandButton>
- </h:panelGrid>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/ToolBar/ToolBarProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/ToolBar/ToolBarProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/ToolBar/ToolBarProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,32 @@
+<f:subview id="toolBarPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <h:panelGrid columns="2">
+ <h:outputText value="Image location:"></h:outputText>
+ <h:selectOneRadio value="#{toolBar.location}">
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <a4j:support event="onclick"
reRender="toolBarId"></a4j:support>
+ </h:selectOneRadio>
+
+
+ <h:outputText value="itemSeparator:"></h:outputText>
+ <h:selectOneRadio value="#{toolBar.itemSeparator}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="line" itemValue="line" />
+ <f:selectItem itemLabel="square" itemValue="square" />
+ <f:selectItem itemLabel="disc" itemValue="disc" />
+ <f:selectItem itemLabel="grid" itemValue="grid" />
+ <a4j:support event="onclick"
reRender="toolBarId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Switch Styles" />
+ <a4j:commandButton id="slBtn" value="#{toolBar.btnLabel}"
+ action="#{toolBar.doStyles}" reRender="toolBarId,slBtn">
+ </a4j:commandButton>
+ </h:panelGrid>
+
+</f:subview>
\ No newline at end of file
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -66,96 +66,6 @@
<f:verbatim>
<br />
</f:verbatim>
- <rich:simpleTogglePanel id="toolTipStraightforwardID"
switchType="client" opened="true" label="toolTip
straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{dDMenu.bTest1}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{dDMenu.bTest2}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{dDMenu.bTest3}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{dDMenu.bTest4}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{dDMenu.bTest5}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="toolTipPropertyID"
switchType="client" opened="true" label="toolTip
property">
- <h:panelGrid columns="2">
- <h:outputText value="Text:"></h:outputText>
- <h:inputText value="#{tooltip.value}">
- <a4j:support event="onchange" reRender="tooltipID" />
- </h:inputText>
-
- <h:outputText value="Delay"></h:outputText>
- <h:inputText value="#{tooltip.delay}">
- <a4j:support event="onchange" reRender="tooltipID" />
- </h:inputText>
-
- <h:outputText value="Layout:"></h:outputText>
- <h:selectOneRadio value="#{tooltip.layout}">
- <f:selectItem itemLabel="inline" itemValue="inline" />
- <f:selectItem itemLabel="block" itemValue="block" />
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectOneRadio>
-
- <h:outputText value="Mode:"></h:outputText>
- <h:selectOneRadio value="#{tooltip.mode}">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectOneRadio>
-
- <h:outputText value="Horizontal offset:"></h:outputText>
- <h:inputText value="#{tooltip.horizontalOffset}">
- <a4j:support event="onchange" reRender="tooltipID" />
- </h:inputText>
-
- <h:outputText value="Vertical offset:"></h:outputText>
- <h:inputText value="#{tooltip.verticalOffset}">
- <a4j:support event="onchange" reRender="tooltipID" />
- </h:inputText>
-
- <h:outputText value="Follow mouse:"></h:outputText>
- <h:selectBooleanCheckbox value="#{tooltip.followMouse}">
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Direction:" />
- <h:selectOneRadio value="#{tooltip.direction}">
- <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
- <f:selectItem itemLabel="top-left" itemValue="top-left"
/>
- <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
- <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectOneRadio>
-
- <h:outputText value="Style:"></h:outputText>
- <h:selectOneRadio value="#{tooltip.style}">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="border:3px; font:bold 14px;"
itemValue="border:3px; font:bold 14px;" />
- <f:selectItem itemLabel="border:green 3px solid;
background-color:yellow;"
- itemValue="border:green 3px solid; background-color:yellow;" />
- <f:selectItem itemLabel="border:green 2px solid;
font-family:monospace;"
- itemValue="border:green 2px solid; font-family:monospace;" />
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectOneRadio>
-
- <h:outputText value="Disambled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{tooltip.disabled}">
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{tooltip.rendered}">
- <a4j:support event="onclick" reRender="tooltipID" />
- </h:selectBooleanCheckbox>
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/TooltipProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/TooltipProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/TooltipProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="toolTipPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="toolTipStraightforwardID"
switchType="client" opened="true" label="toolTip
straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{tooltip.bTest1}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{tooltip.bTest2}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{tooltip.bTest3}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{tooltip.bTest4}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{tooltip.bTest5}" value="run"
reRender="tooltipID,toolTipPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/TooltipStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/TooltipStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Tooltip/TooltipStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,79 @@
+<f:subview id="toolTipStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="toolTipPropertyID"
switchType="client" opened="true" label="toolTip
property">
+ <h:panelGrid columns="2">
+ <h:outputText value="Text:"></h:outputText>
+ <h:inputText value="#{tooltip.value}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Delay"></h:outputText>
+ <h:inputText value="#{tooltip.delay}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Layout:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.layout}">
+ <f:selectItem itemLabel="inline" itemValue="inline" />
+ <f:selectItem itemLabel="block" itemValue="block" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Mode:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.mode}">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Horizontal offset:"></h:outputText>
+ <h:inputText value="#{tooltip.horizontalOffset}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Vertical offset:"></h:outputText>
+ <h:inputText value="#{tooltip.verticalOffset}">
+ <a4j:support event="onchange" reRender="tooltipID" />
+ </h:inputText>
+
+ <h:outputText value="Follow mouse:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.followMouse}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Direction:" />
+ <h:selectOneRadio value="#{tooltip.direction}">
+ <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
+ <f:selectItem itemLabel="top-left" itemValue="top-left"
/>
+ <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Style:"></h:outputText>
+ <h:selectOneRadio value="#{tooltip.style}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="border:3px; font:bold 14px;"
itemValue="border:3px; font:bold 14px;" />
+ <f:selectItem itemLabel="border:green 3px solid;
background-color:yellow;"
+ itemValue="border:green 3px solid; background-color:yellow;" />
+ <f:selectItem itemLabel="border:green 2px solid;
font-family:monospace;"
+ itemValue="border:green 2px solid; font-family:monospace;" />
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectOneRadio>
+
+ <h:outputText value="Disambled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.disabled}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{tooltip.rendered}">
+ <a4j:support event="onclick" reRender="tooltipID" />
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added: branches/3.1.x/test-applications/facelets/src/main/webapp/Tree/TreeProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/Tree/TreeProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/Tree/TreeProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,8 @@
+<f:subview id="treePropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -11,31 +11,6 @@
onmousemove="print('onmousemoveInputID', 'onmousemove
work!')" onmouseout="print('onmouseoutInputID', 'onmouseout
work!')"
onmouseover="print('onmouseoverInputID', 'onmouseover
work!')" onmouseup="print('onmouseupInputID', 'onmouseup
work!')"/>
- <h:panelGroup>
- <f:verbatim>
- Dashboard:<br />
- <a href="javascript:void(0);" onclick="map.HideDashboard();return
false;">Remove</a>
- <a href="javascript:void(0);" onclick="map.ShowDashboard();return
false;">Show</a>
- <br />
- <br />
- Type:<br />
- <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Road);return false;">Road</a>
- <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Aerial);return false;">Aerial</a>
- <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Hybrid);return false;">Hybrid</a>
- <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Birdseye);return
false;">Birdseye</a>
- <br />
- <br />
- Zoom:<br />
- <a href="javascript:void(0);" onclick="map.ZoomIn();return
false;">In</a>
- <a href="javascript:void(0);" onclick="map.ZoomOut();return
false;">Out</a>
- <br />
- <br />
- <a href="javascript:void(0);" onclick="showExadel();return
false;">Show Exadel Office</a>
- <br />
- <a href="javascript:void(0);" onclick="showExadelInMinsk();return
false;">Show Exadel in Belarus</a>
- </f:verbatim>
- </h:panelGroup>
-
</h:panelGrid>
<a4j:outputPanel id="zoomer">
<script>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarthProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarthProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarthProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,31 @@
+<f:subview id="virtualEarthPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <h:panelGroup>
+ <f:verbatim>
+ Dashboard:<br />
+ <a href="javascript:void(0);" onclick="map.HideDashboard();return
false;">Remove</a>
+ <a href="javascript:void(0);" onclick="map.ShowDashboard();return
false;">Show</a>
+ <br />
+ <br />
+ Type:<br />
+ <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Road);return false;">Road</a>
+ <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Aerial);return false;">Aerial</a>
+ <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Hybrid);return false;">Hybrid</a>
+ <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Birdseye);return
false;">Birdseye</a>
+ <br />
+ <br />
+ Zoom:<br />
+ <a href="javascript:void(0);" onclick="map.ZoomIn();return
false;">In</a>
+ <a href="javascript:void(0);" onclick="map.ZoomOut();return
false;">Out</a>
+ <br />
+ <br />
+ <a href="javascript:void(0);" onclick="showExadel();return
false;">Show Exadel Office</a>
+ <br />
+ <a href="javascript:void(0);" onclick="showExadelInMinsk();return
false;">Show Exadel in Belarus</a>
+ </f:verbatim>
+ </h:panelGroup>
+</f:subview>
\ No newline at end of file
Deleted:
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-Div.xml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-Div.xml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-Div.xml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces
Config 1.0//EN"
-
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
-<faces-config>
- <managed-bean>
- <managed-bean-name>divBean</managed-bean-name>
- <managed-bean-class>div.DivBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
-</faces-config>
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-Icon.xml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-Icon.xml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-Icon.xml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -4,7 +4,7 @@
<faces-config>
<managed-bean>
<managed-bean-name>icon</managed-bean-name>
- <managed-bean-class>style.icon.Icon</managed-bean-class>
+ <managed-bean-class>util.icon.Icon</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>
Deleted:
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-SelectOneMenuPage.xml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-SelectOneMenuPage.xml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-SelectOneMenuPage.xml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces
Config 1.0//EN"
-
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
-<faces-config>
- <managed-bean>
- <managed-bean-name>somp</managed-bean-name>
-
<managed-bean-class>selectOneMenuPage.SelectOneMenuPage</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
-</faces-config>
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -10,7 +10,7 @@
</navigation-case>
<navigation-case>
<from-outcome>Spinner</from-outcome>
- <to-view-id>/inputNumberSpinner/inputNumberSpinner.xhtml</to-view-id>
+ <to-view-id>/InputNumberSpinner/InputNumberSpinner.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>Panel</from-outcome>
@@ -46,7 +46,7 @@
</navigation-case>
<navigation-case>
<from-outcome>Slide</from-outcome>
- <to-view-id>/inputNumberSlider/inputNumberSlider.xhtml</to-view-id>
+ <to-view-id>/InputNumberSlider/InputNumberSlider.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>PanelBar</from-outcome>
@@ -70,11 +70,11 @@
</navigation-case>
<navigation-case>
<from-outcome>DS</from-outcome>
- <to-view-id>/DataScroller/DS.xhtml</to-view-id>
+ <to-view-id>/DataScroller/DataScroller.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>DDMenu</from-outcome>
- <to-view-id>/DropDownMenu/DDMenu.xhtml</to-view-id>
+ <to-view-id>/DropDownMenu/DropDownMenu.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>DFS</from-outcome>
@@ -141,7 +141,7 @@
<from-view-id>/Panel/Panel.xhtml</from-view-id>
<navigation-case>
<from-outcome>Sample2</from-outcome>
- <to-view-id>/Panel/panel2.xhtml</to-view-id>
+ <to-view-id>/Panel/Panel2.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/web.xml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/web.xml 2007-11-06
09:29:31 UTC (rev 3776)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/web.xml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -33,17 +33,17 @@
</context-param>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
-
<param-value>/WEB-INF/faces-config-DataTable.xml,/WEB-INF/faces-config-SimpleTogglePanel.xml,
-
/WEB-INF/faces-config-Panel.xml,/WEB-INF/faces-config-PanelBar.xml,/WEB-INF/faces-config-TabPanel.xml,
-
/WEB-INF/faces-config-TogglePanel.xml,/WEB-INF/faces-config-Paint2D.xml,/WEB-INF/faces-config-InputNumberSlider.xml,
-
/WEB-INF/faces-config-InputNumberSpinner.xml,/WEB-INF/faces-config-DDMenu.xml,/WEB-INF/faces-config-Tree.xml,
-
/WEB-INF/faces-config-PanelMenu.xml,/WEB-INF/faces-config-Icon.xml,/WEB-INF/faces-config-ModalPanel.xml,
-
/WEB-INF/faces-config-tooltip.xml,/WEB-INF/faces-config-Skin.xml,/WEB-INF/faces-config-Calendar.xml,
-
/WEB-INF/faces-config-Gmap.xml,/WEB-INF/faces-config-DataFilterSlider.xml,/WEB-INF/faces-config-Separator.xml,
-
/WEB-INF/faces-config-Spacer.xml,/WEB-INF/faces-config-ToolBar.xml,/WEB-INF/faces-config-DataScroller.xml,
- /WEB-INF/faces-config-SuggestionBox.xml,/WEB-INF/faces-config-Message.xml,
-
/WEB-INF/faces-config-VirtualEarth.xml,/WEB-INF/faces-config-Effect.xml,/WEB-INF/faces-config-Insert.xml,
- /WEB-INF/faces-config-RichBean.xml,/WEB-INF/faces-config-ScrollableDataTable.xml,
+
<param-value>/WEB-INF/faces-config-RichPanelsBean,/WEB-INF/faces-config-DataTable.xml,/WEB-INF/faces-config-SimpleTogglePanel.xml,
+
/WEB-INF/faces-config-Panel.xml,/WEB-INF/faces-config-PanelBar.xml,/WEB-INF/faces-config-TabPanel.xml,
+
/WEB-INF/faces-config-TogglePanel.xml,/WEB-INF/faces-config-Paint2D.xml,/WEB-INF/faces-config-InputNumberSlider.xml,
+
/WEB-INF/faces-config-InputNumberSpinner.xml,/WEB-INF/faces-config-DDMenu.xml,/WEB-INF/faces-config-Tree.xml,
+
/WEB-INF/faces-config-PanelMenu.xml,/WEB-INF/faces-config-Icon.xml,/WEB-INF/faces-config-ModalPanel.xml,
+
/WEB-INF/faces-config-tooltip.xml,/WEB-INF/faces-config-Skin.xml,/WEB-INF/faces-config-Calendar.xml,
+
/WEB-INF/faces-config-Gmap.xml,/WEB-INF/faces-config-DataFilterSlider.xml,/WEB-INF/faces-config-Separator.xml,
+
/WEB-INF/faces-config-Spacer.xml,/WEB-INF/faces-config-ToolBar.xml,/WEB-INF/faces-config-DataScroller.xml,
+ /WEB-INF/faces-config-SuggestionBox.xml,/WEB-INF/faces-config-Message.xml,
+
/WEB-INF/faces-config-VirtualEarth.xml,/WEB-INF/faces-config-Effect.xml,/WEB-INF/faces-config-Insert.xml,
+ /WEB-INF/faces-config-RichBean.xml,/WEB-INF/faces-config-ScrollableDataTable.xml,
/WEB-INF/faces-config-RichTest.xml,/WEB-INF/faces-config-jQuery.xml,/WEB-INF/faces-config-DragAndDrop.xml</param-value>
</context-param>
<filter>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/InputNumberSliderProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/InputNumberSliderProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/InputNumberSliderProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,106 @@
+<f:subview id="inputNumberSliderPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="iNSliderPropertyID"
switchType="client" opened="true" label="inputNumberSlider
property">
+ <h:panelGrid columns="2" cellspacing="10px"
border="1">
+ <h:outputText value="value" />
+ <h:inputText value="#{inputNumberSlider.value}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="inputPosition"></h:outputText>
+ <h:selectOneRadio value="#{inputNumberSlider.inputPosition}">
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="Width:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.width}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Max Value:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.maxValue}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Min Value:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.minValue}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Input Size:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.inputSize}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Input MaxLength:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.maxlength}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Step:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.step}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="tabindex" />
+ <h:inputText value="#{inputNumberSlider.tabindex}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.disabled}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.rendered}"
onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Manual Input:"></h:outputText>
+ <h:selectBooleanCheckbox
value="#{inputNumberSlider.enableManualInput}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Boundary Values:"></h:outputText>
+ <h:selectBooleanCheckbox
value="#{inputNumberSlider.showBoundaryValues}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Show Input:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.showInput}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="showToolTip" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.showToolTip}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="required" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.required}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage" />
+ <h:inputText value="#{inputNumberSlider.requiredMessage}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.immediate}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Switch Styles" />
+ <a4j:commandButton id="slBtn"
value="#{inputNumberSlider.btnLabel}"
action="#{inputNumberSlider.doStyles}"
+ reRender="SliderId,slBtn">
+ </a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/InputNumberSliderStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/InputNumberSliderStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/InputNumberSliderStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="inputNumberSliderStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="inputNumberSlider straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest1}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest2}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest3}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest4}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{inputNumberSlider.bTest5}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/inputNumberSlider.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/inputNumberSlider.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSlider/inputNumberSlider.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -4,7 +4,7 @@
<h:panelGrid columns="1">
<rich:inputNumberSlider id="SliderId"
immediate="#{inputNumberSlider.immediate}"
inputPosition="#{inputNumberSlider.inputPosition}"
showToolTip="#{inputNumberSlider.showToolTip}"
- tabindex="#{inputNumberSlider.tabindex}"
value="#{inputNumberSlider.value}" valueChangeListener="key"
+ tabindex="#{inputNumberSlider.tabindex}"
value="#{inputNumberSlider.value}" valueChangeListener="{key}"
required="#{inputNumberSlider.rendered}"
requiredMessage="#{inputNumberSlider.requiredMessage}"
disabled="#{inputNumberSlider.disabled}"
enableManualInput="#{inputNumberSlider.enableManualInput}"
inputSize="#{inputNumberSlider.inputSize}"
maxValue="#{inputNumberSlider.maxValue}"
minValue="#{inputNumberSlider.minValue}"
@@ -13,138 +13,9 @@
barClass="#{inputNumberSlider.barStyle}"
tipClass="#{inputNumberSlider.tipStyle}"
inputClass="#{inputNumberSlider.inputStyle}"
handleClass="#{inputNumberSlider.handleStyle}"
styleClass="#{inputNumberSlider.tipStyle}"
maxlength="#{inputNumberSlider.maxlength}"
onmousedown="print('onmousedownInputID', 'onmousedown work!')"
- onblur="print('onblurInputID', 'onblur work!')"
onchange="print('onchangeInputID', 'onchange work!')"
- onclick="print('onclickInputID', 'onclick work!')"
ondblclick="print('ondblclickInputID', 'ondblclick work!')"
- onerror="print('ondblclickInputID', 'ondblclick work!')"
onfocus="print('onfocusInputID', 'onfocus work!')"
- onselect="print('onselectInputID', 'onselect work!')"
onkeydown="print('onkeydownInputID', 'onkeydown work!')"
- onkeypress="print('onkeypressInputID', 'onkeypress work!')"
onkeyup="print('onkeyupInputID', 'onkeyup work!')"
- onmousemove="print('onmousemoveInputID', 'onmousemove
work!')" onmouseout="print('onmouseoutInputID', 'onmouseout
work!')"
- onmouseover="print('onmouseoverInputID', 'onmouseover
work!')" onmouseup="print('onmouseupInputID', 'onmouseup
work!')">
- <a4j:support event="onchange" reRender="valueID,work" />
+ >
</rich:inputNumberSlider>
-
- <h:outputText id="work" value="#{key}" />
</h:panelGrid>
-
<rich:spacer height="20px"></rich:spacer>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="inputNumberSlider straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{inputNumberSlider.bTest1}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{inputNumberSlider.bTest2}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{inputNumberSlider.bTest3}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{inputNumberSlider.bTest4}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{inputNumberSlider.bTest5}"
value="run"
reRender="SliderId,iNSliderPropertyID"></a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="iNSliderPropertyID"
switchType="client" opened="true" label="inputNumberSlider
property">
- <h:panelGrid columns="2" cellspacing="10px"
border="1">
- <h:outputText value="value" />
- <h:inputText value="#{inputNumberSlider.value}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="inputPosition"></h:outputText>
- <h:selectOneRadio value="#{inputNumberSlider.inputPosition}">
- <f:selectItem itemLabel="right" itemValue="right" />
- <f:selectItem itemLabel="left" itemValue="left" />
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="Width:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.width}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Max Value:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.maxValue}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Min Value:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.minValue}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Input Size:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.inputSize}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Input MaxLength:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.maxlength}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Step:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.step}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="tabindex" />
- <h:inputText value="#{inputNumberSlider.tabindex}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Disabled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSlider.disabled}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSlider.rendered}"
onclick="submit()">
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Manual Input:"></h:outputText>
- <h:selectBooleanCheckbox
value="#{inputNumberSlider.enableManualInput}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Boundary Values:"></h:outputText>
- <h:selectBooleanCheckbox
value="#{inputNumberSlider.showBoundaryValues}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Show Input:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSlider.showInput}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="showToolTip" />
- <h:selectBooleanCheckbox value="#{inputNumberSlider.showToolTip}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="required" />
- <h:selectBooleanCheckbox value="#{inputNumberSlider.required}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="requiredMessage" />
- <h:inputText value="#{inputNumberSlider.requiredMessage}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
-
- <h:outputText value="immediate" />
- <h:selectBooleanCheckbox value="#{inputNumberSlider.immediate}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Switch Styles" />
- <a4j:commandButton id="slBtn"
value="#{inputNumberSlider.btnLabel}"
action="#{inputNumberSlider.doStyles}"
- reRender="SliderId,slBtn">
- </a4j:commandButton>
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/InputNumberSpinnerProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/InputNumberSpinnerProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/InputNumberSpinnerProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,56 @@
+<f:subview id="iNSpinnerPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel id="iNSpinnerPropertyID"
switchType="client" opened="true" label="inputNumberSpinner
property">
+ <h:panelGrid columns="2" cellpadding="10px"
border="1">
+ <h:outputText value="Max: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.max}">
+ <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Min: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.min}">
+ <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Step: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.step}">
+ <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Size: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.inputSize}">
+ <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Value: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.value}">
+ <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Cycled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.cycled}">
+ <a4j:support event="onclick"
reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Manual Input:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.manualInput}">
+ <a4j:support event="onclick"
reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.disabled}">
+ <a4j:support event="onclick"
reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.rendered}"
onclick="submit()">
+ </h:selectBooleanCheckbox>
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{inputNumberSpinner.doStyles}"
value="#{inputNumberSpinner.btnLabel}" />
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/InputNumberSpinnerStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/InputNumberSpinnerStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/InputNumberSpinnerStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,25 @@
+<f:subview id="iNSpinnerStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+ <rich:simpleTogglePanel switchType="client" opened="true"
label="inputNumberSpinner straightforward">
+ <h:panelGrid columns="2">
+ <h:outputText value="Test1" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest1}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test2" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest2}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test3" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest3}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test4" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest4}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+
+ <h:outputText value="Test5" />
+ <a4j:commandButton action="#{inputNumberSpinner.bTest5}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/inputNumberSpinner.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/inputNumberSpinner.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/inputNumberSpinner/inputNumberSpinner.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -19,75 +19,5 @@
onmouseup="print('onmouseupInputID', 'onmouseup work!')"
ondownclick="print('ondownclickInputID', 'ondownclick work!')"
onupclick="print('onupclickInputID', 'onupclick
work!')"></rich:inputNumberSpinner>
<rich:spacer height="20px"></rich:spacer>
-
- <rich:simpleTogglePanel switchType="client" opened="true"
label="inputNumberSpinner straightforward">
- <h:panelGrid columns="2">
- <h:outputText value="Test1" />
- <a4j:commandButton action="#{inputNumberSpinner.bTest1}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test2" />
- <a4j:commandButton action="#{inputNumberSpinner.bTest2}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test3" />
- <a4j:commandButton action="#{inputNumberSpinner.bTest3}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test4" />
- <a4j:commandButton action="#{inputNumberSpinner.bTest4}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
-
- <h:outputText value="Test5" />
- <a4j:commandButton action="#{inputNumberSpinner.bTest5}"
value="run"
reRender="SpinnerID,iNSpinnerPropertyID"></a4j:commandButton>
- </h:panelGrid>
-
- </rich:simpleTogglePanel>
-
- <rich:simpleTogglePanel id="iNSpinnerPropertyID"
switchType="client" opened="true" label="inputNumberSpinner
property">
- <h:panelGrid columns="2" cellpadding="10px"
border="1">
- <h:outputText value="Max: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.max}">
- <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Min: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.min}">
- <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Step: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.step}">
- <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Size: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.inputSize}">
- <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Value: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.value}">
- <a4j:support reRender="SpinnerID"
event="onchange"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Cycled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSpinner.cycled}">
- <a4j:support event="onclick"
reRender="SpinnerID"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Manual Input:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSpinner.manualInput}">
- <a4j:support event="onclick"
reRender="SpinnerID"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Disabled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSpinner.disabled}">
- <a4j:support event="onclick"
reRender="SpinnerID"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSpinner.rendered}"
onclick="submit()">
- </h:selectBooleanCheckbox>
- <h:outputText value="Switch Styles:" />
- <h:commandButton action="#{inputNumberSpinner.doStyles}"
value="#{inputNumberSpinner.btnLabel}" />
- </h:panelGrid>
- </rich:simpleTogglePanel>
</h:form>
</f:subview>
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/jQuery/jQueryProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/jQuery/jQueryProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/jQuery/jQueryProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,7 @@
+<f:subview id="jQueryPropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/jQuery/jQueryStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/jQuery/jQueryStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/jQuery/jQueryStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,7 @@
+<f:subview id="jQueryStraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+</f:subview>
\ No newline at end of file
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Action/EventInfo.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Action/EventInfo.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Action/EventInfo.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -3,135 +3,135 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<f:verbatim><div style="position: relative">
- <input id="ontableaveInputID" type="hidden" value=""
size="42" />
+ <input id="ontabenterInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onLoadMapInputID" type="hidden" value=""
size="42" />
+ <input id="ontableaveInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onselectionchangeInputID" type="hidden"
value="" size="42" />
+ <input id="onLoadMapInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="ondownclickInputID" type="hidden" value=""
size="42" />
+ <input id="onselectionchangeInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onupclickInputID" type="hidden" value=""
size="42" />
+ <input id="ondownclickInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="oninitInputID" type="hidden" value=""
size="42" />
+ <input id="onupclickInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="ongroupactivateInputID" type="hidden"
value="" size="42" />
+ <input id="oninitInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onitemselectInputID" type="hidden"
value="" size="42" />
+ <input id="ongroupactivateInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onsubmitInputID" type="hidden" value=""
size="42" />
+ <input id="onitemselectInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onRowClickInputID" type="hidden" value=""
size="42" />
+ <input id="onsubmitInputID" type="hidden" value="don't
work!" size="42" />
+ </div></f:verbatim>
+ <f:verbatim><div style="position: relative">
+ <input id="onRowClickInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onRowDblClickInputID" type="hidden"
value="" size="42" />
+ <input id="onRowDblClickInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onRowMouseDownInputID" type="hidden"
value="" size="42" />
+ <input id="onRowMouseDownInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onRowMouseMoveInputID" type="hidden"
value="" size="42" />
+ <input id="onRowMouseMoveInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onRowMouseOutInputID" type="hidden"
value="" size="42" />
+ <input id="onRowMouseOutInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onRowMouseOverInputID" type="hidden"
value="" size="42" />
+ <input id="onRowMouseOverInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onRowMouseUpInputID" type="hidden"
value="" size="42" />
+ <input id="onRowMouseUpInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onselectInputID" type="hidden" value=""
size="42" />
+ <input id="onselectInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onchangeInputID" type="hidden" value=""
size="42" />
+ <input id="onchangeInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onfocusInputID" type="hidden" value=""
size="42" />
+ <input id="onfocusInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onblurInputID" type="hidden" value=""
size="42" />
+ <input id="onblurInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onclickInputID" type="hidden" value=""
size="42" />
+ <input id="onclickInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="oncollapseInputID" type="hidden" value=""
size="42" />
+ <input id="oncollapseInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="oncompleteInputID" type="hidden" value=""
size="42" />
+ <input id="oncompleteInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="ondblclickInputID" type="hidden" value=""
size="42" />
+ <input id="ondblclickInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="ondragendInputID" type="hidden" value=""
size="42" />
+ <input id="ondragendInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="ondragenterInputID" type="hidden" value=""
size="42" />
+ <input id="ondragenterInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="ondragexitInputID" type="hidden" value=""
size="42" />
+ <input id="ondragexitInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="ondragstartInputID" type="hidden" value=""
size="42" />
+ <input id="ondragstartInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="ondropInputID" type="hidden" value=""
size="42" />
+ <input id="ondropInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="ondropendInputID" type="hidden" value=""
size="42" />
+ <input id="ondropendInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onexpandInputID" type="hidden" value=""
size="42" />
+ <input id="onexpandInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onkeydownInputID" type="hidden" value=""
size="42" />
+ <input id="onkeydownInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onkeypressInputID" type="hidden" value=""
size="42" />
+ <input id="onkeypressInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onkeyupInputID" type="hidden" value=""
size="42" />
+ <input id="onkeyupInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onmousedownInputID" type="hidden" value=""
size="42" />
+ <input id="onmousedownInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onmousemoveInputID" type="hidden" value=""
size="42" />
+ <input id="onmousemoveInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onmouseoutInputID" type="hidden" value=""
size="42" />
+ <input id="onmouseoutInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onmouseoverInputID" type="hidden" value=""
size="42" />
+ <input id="onmouseoverInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onmouseupInputID" type="hidden" value=""
size="42" />
+ <input id="onmouseupInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onselectedInputID" type="hidden" value=""
size="42" />
+ <input id="onselectedInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onhideInputID" type="hidden" value=""
size="42" />
+ <input id="onhideInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onmouseoverInputID" type="hidden" value=""
size="42" />
+ <input id="onmouseupInputID" type="hidden"
value="don't work!" size="42" />
</div></f:verbatim>
<f:verbatim><div style="position: relative">
- <input id="onmouseupInputID" type="hidden" value=""
size="42" />
+ <input id="onshowInputID" type="hidden" value="don't
work!" size="42" />
</div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onshowInputID" type="hidden" value=""
size="42" />
- </div></f:verbatim>
</f:subview>
Added: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/Blank.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/Blank.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/Blank.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,5 @@
+<f:subview id="calendarSubviewID"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
+ <h:form>
+ </h:form>
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/BlankProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/BlankProperty.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/BlankProperty.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,7 @@
+<f:subview id="PropertySubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+</f:subview>
\ No newline at end of file
Added:
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/BlankStraightforward.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/BlankStraightforward.xhtml
(rev 0)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Blank/BlankStraightforward.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -0,0 +1,7 @@
+<f:subview id="StraightforwardSubviewID"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+</f:subview>
\ No newline at end of file
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div/Div.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div/Div.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div/Div.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -19,9 +19,14 @@
<div id="div_1_ID" style="position: relative; left:600px; top:500px;
z-index:1;">
<div id="div_2_ID" style="position: absolute; left:-580px;
top:-450px;">
- <ui:include src="${richBean.src}" />
+ <ui:include src="${richBean.pathComponent}" />
+ <h:form>
+ <ui:include src="${richBean.pathStraightforward}" />
+ <ui:include src="${richBean.pathProperty}" />
+ </h:form>
</div>
</div>
+
</body>
</f:view>
</html>
Deleted: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,65 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:rich="http://richfaces.org/rich"
-
xmlns:ui="http://java.sun.com/jsf/facelets">
-<f:view>
- <head>
- <title></title>
- <link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css" />
- </head>
- <body>
- <div id="div_1_ID" style="position: relative; left:600px; top:500px;
z-index:1;">
- <div id="div_2_ID" style="position: absolute; left:-580px;
top:-450px;">
- <ui:include src="${divBean.src}" />
- </div>
- </div>
-
- <div id="divOpthID" align="right">
- <h:form id="forvDivOpthID">
- <h:panelGrid columns="2">
- <h:selectOneMenu
binding="#{skinBean.component}"></h:selectOneMenu>
- <h:commandLink action="#{skinBean.change}" value="set skin"
/>
-
- <h:outputText value="Select component:" />
- <h:selectOneMenu value="#{divBean.src}"
onchange="submit();">
- <f:selectItem itemValue="/Calendar/Calendar.xhtml"
itemLabel="Calendar" />
- <f:selectItem itemValue="/DataFilterSlider/DataFilterSlider.xhtml"
itemLabel="Data Filter Slider" />
- <f:selectItem itemValue="/DataScroller/DS.xhtml" itemLabel="Date
Scroller" />
- <f:selectItem itemValue="/DataTable/DT.xhtml" itemLabel="Date
Table" />
- <f:selectItem itemValue="/DradAndDrop/DragAndDrop.xhtml"
itemLabel="Drag And Drop" />
- <f:selectItem itemValue="/DropDownMenu/DDMenu.xhtml"
itemLabel="Drop Down Menu" />
- <f:selectItem itemValue="/Effect/Effect.xhtml"
itemLabel="Effect" />
- <f:selectItem itemValue="/Gmap/Gmap.xhtml" itemLabel="Gmap"
/>
- <f:selectItem itemValue="/inputNumberSlider/inputNumberSlider.xhtml"
itemLabel="Input Number Slider" />
- <f:selectItem itemValue="/inputNumberSpinner/inputNumberSpinner.xhtml"
itemLabel="Input Number Spinner" />
- <f:selectItem itemValue="/Insert/Insert.xhtml"
itemLabel="Insert" />
- <f:selectItem itemValue="/Message/Message.xhtml"
itemLabel="Message" />
- <f:selectItem itemValue="/ModalPanel/ModalPanel.xhtml"
itemLabel="Modal Panel" />
- <f:selectItem itemValue="/Paint2D/Paint2D.xhtml"
itemLabel="Paint2D" />
- <f:selectItem itemValue="/Panel/Panel.xhtml"
itemLabel="Panel" />
- <f:selectItem itemValue="/Panel/panel2.xhtml"
itemLabel="Panel2" />
- <f:selectItem itemValue="/PanelBar/PanelBar.xhtml"
itemLabel="Panel Bar" />
- <f:selectItem itemValue="/PanelMenu/PanelMenu.xhtml"
itemLabel="Panel Menu" />
- <f:selectItem itemValue="/Separator/Separator.xhtml"
itemLabel="Separator" />
- <f:selectItem itemValue="/SimpleTogglePanel/SimpleTogglePanel.xhtml"
itemLabel="Simple Toggle Panel" />
- <f:selectItem itemValue="/Spacer/Spacer.xhtml"
itemLabel="Spacer" />
- <f:selectItem itemValue="/SuggestionBox/SuggestionBox.xhtml"
itemLabel="Suggestion Box" />
- <f:selectItem itemValue="/TabPanel/TabPanel.xhtml" itemLabel="Tab
Panel" />
- <f:selectItem itemValue="/TogglePanel/TogglePanel.xhtml"
itemLabel="Toggle Panel" />
- <f:selectItem itemValue="/ToolBar/ToolBar.xhtml" itemLabel="Tool
Bar" />
- <f:selectItem itemValue="/Tooltip/Tooltip.xhtml"
itemLabel="Tooltip" />
- <f:selectItem itemValue="/Tree/Tree.xhtml" itemLabel="Tree"
/>
- <f:selectItem itemValue="/VirtualEarth/VirtualEarth.xhtml"
itemLabel="Virtual Earth" />
- </h:selectOneMenu>
- </h:panelGrid>
- <h:commandLink value="Back"
action="main"></h:commandLink>
- </h:form>
- </div>
- </body>
-</f:view>
-</html>
Deleted: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Map.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Map.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Map.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,63 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:rich="http://richfaces.org/rich"
-
xmlns:ui="http://java.sun.com/jsf/facelets">
-<f:view>
- <head>
- <title></title>
- <link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css" />
- </head>
- <body>
- <div id="divOpthID" align="right" style="z-index:
2">
- <h:form id="forvDivOpthID">
- <h:panelGrid columns="2">
- <h:selectOneMenu
binding="#{skinBean.component}"></h:selectOneMenu>
- <h:commandLink action="#{skinBean.change}" value="set skin"
/>
-
- <h:outputText value="Select component:" />
- <h:selectOneMenu value="#{divBean.src}"
onchange="submit();">
- <f:selectItem itemValue="/Calendar/Calendar.xhtml"
itemLabel="Calendar" />
- <f:selectItem itemValue="/DataFilterSlider/DataFilterSlider.xhtml"
itemLabel="Data Filter Slider" />
- <f:selectItem itemValue="/DataScroller/DS.xhtml" itemLabel="Date
Scroller" />
- <f:selectItem itemValue="/DataTable/DT.xhtml" itemLabel="Date
Table" />
- <f:selectItem itemValue="/DradAndDrop/DragAndDrop.xhtml"
itemLabel="Drag And Drop" />
- <f:selectItem itemValue="/DropDownMenu/DDMenu.xhtml"
itemLabel="Drop Down Menu" />
- <f:selectItem itemValue="/Effect/Effect.xhtml"
itemLabel="Effect" />
- <f:selectItem itemValue="/Gmap/Gmap.xhtml" itemLabel="Gmap"
/>
- <f:selectItem itemValue="/inputNumberSlider/inputNumberSlider.xhtml"
itemLabel="Input Number Slider" />
- <f:selectItem itemValue="/inputNumberSpinner/inputNumberSpinner.xhtml"
itemLabel="Input Number Spinner" />
- <f:selectItem itemValue="/Insert/Insert.xhtml"
itemLabel="Insert" />
- <f:selectItem itemValue="/Message/Message.xhtml"
itemLabel="Message" />
- <f:selectItem itemValue="/ModalPanel/ModalPanel.xhtml"
itemLabel="Modal Panel" />
- <f:selectItem itemValue="/Paint2D/Paint2D.xhtml"
itemLabel="Paint2D" />
- <f:selectItem itemValue="/Panel/Panel.xhtml" itemLabel="Panel"
/>
- <f:selectItem itemValue="/Panel/panel2.xhtml"
itemLabel="Panel2" />
- <f:selectItem itemValue="/PanelBar/PanelBar.xhtml" itemLabel="Panel
Bar" />
- <f:selectItem itemValue="/PanelMenu/PanelMenu.xhtml"
itemLabel="Panel Menu" />
- <f:selectItem itemValue="/Separator/Separator.xhtml"
itemLabel="Separator" />
- <f:selectItem itemValue="/SimpleTogglePanel/SimpleTogglePanel.xhtml"
itemLabel="Simple Toggle Panel" />
- <f:selectItem itemValue="/Spacer/Spacer.xhtml"
itemLabel="Spacer" />
- <f:selectItem itemValue="/SuggestionBox/SuggestionBox.xhtml"
itemLabel="Suggestion Box" />
- <f:selectItem itemValue="/TabPanel/TabPanel.xhtml" itemLabel="Tab
Panel" />
- <f:selectItem itemValue="/TogglePanel/TogglePanel.xhtml"
itemLabel="Toggle Panel" />
- <f:selectItem itemValue="/ToolBar/ToolBar.xhtml" itemLabel="Tool
Bar" />
- <f:selectItem itemValue="/Tooltip/Tooltip.xhtml"
itemLabel="Tooltip" />
- <f:selectItem itemValue="/Tree/Tree.xhtml" itemLabel="Tree"
/>
- <f:selectItem itemValue="/VirtualEarth/VirtualEarth.xhtml"
itemLabel="Virtual Earth" />
- </h:selectOneMenu>
- </h:panelGrid>
- </h:form>
- </div>
- <div id="divID" style="position: absolute; top:15px; left: 10px;
z-index: 1">
- <ui:include src="/pages/SelectOneMenuPage.xhtml" />
- </div>
- <ui:include src="${divBean.src}" />
-
- </body>
-</f:view>
-</html>
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -34,8 +34,11 @@
<ui:include src="/pages/RichMenu/RichMenu.xhtml" />
</div>
- <ui:include src="${richBean.src}" />
-
+ <ui:include src="${richBean.pathComponent}" />
+ <h:form>
+ <ui:include src="${richBean.pathStraightforward}" />
+ <ui:include src="${richBean.pathProperty}" />
+ </h:form>
<rich:modalPanel id="eventInfoID" autosize="true"
minHeight="550" minWidth="200" moveable="true"
resizeable="true" style="overflow: true;">
<f:facet name="header">
<h:outputText value="Events ..." />
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -6,7 +6,6 @@
<h:outputText value="Select skin: " />
<h:selectOneMenu binding="#{skinBean.component}"
onblur="submit();">
<a4j:support action="#{skinBean.change}"
event="onchange"/>
-
</h:selectOneMenu>
</h:panelGrid>
</rich:toolBarGroup>
@@ -15,36 +14,37 @@
<h:panelGrid columns="1">
<h:outputText value="Select component:" />
<h:selectOneMenu value="#{richBean.src}"
onchange="submit();">
- <f:selectItem itemValue="/Calendar/Calendar.xhtml"
itemLabel="Calendar" />
- <f:selectItem itemValue="/DataFilterSlider/DataFilterSlider.xhtml"
itemLabel="Data Filter Slider" />
- <f:selectItem itemValue="/DataScroller/DS.xhtml" itemLabel="Date
Scroller" />
- <f:selectItem itemValue="/DataTable/DT.xhtml" itemLabel="Date
Table" />
- <f:selectItem itemValue="/DradAndDrop/DragAndDrop.xhtml"
itemLabel="Drag And Drop" />
- <f:selectItem itemValue="/DropDownMenu/DDMenu.xhtml"
itemLabel="Drop Down Menu" />
- <f:selectItem itemValue="/Effect/Effect.xhtml"
itemLabel="Effect" />
- <f:selectItem itemValue="/Gmap/Gmap.xhtml" itemLabel="Gmap"
/>
- <f:selectItem itemValue="/inputNumberSlider/inputNumberSlider.xhtml"
itemLabel="Input Number Slider" />
- <f:selectItem itemValue="/inputNumberSpinner/inputNumberSpinner.xhtml"
itemLabel="Input Number Spinner" />
- <f:selectItem itemValue="/Insert/Insert.xhtml"
itemLabel="Insert" />
- <f:selectItem itemValue="/Message/Message.xhtml"
itemLabel="Message" />
- <f:selectItem itemValue="/ModalPanel/ModalPanel.xhtml"
itemLabel="Modal Panel" />
- <f:selectItem itemValue="/Paint2D/Paint2D.xhtml"
itemLabel="Paint2D" />
- <f:selectItem itemValue="/Panel/Panel.xhtml"
itemLabel="Panel" />
- <f:selectItem itemValue="/Panel/panel2.xhtml"
itemLabel="Panel2" />
- <f:selectItem itemValue="/PanelBar/PanelBar.xhtml"
itemLabel="Panel Bar" />
- <f:selectItem itemValue="/PanelMenu/PanelMenu.xhtml"
itemLabel="Panel Menu" />
- <f:selectItem itemValue="/Separator/Separator.xhtml"
itemLabel="Separator" />
- <f:selectItem itemValue="/SimpleTogglePanel/SimpleTogglePanel.xhtml"
itemLabel="Simple Toggle Panel" />
- <f:selectItem itemValue="/Spacer/Spacer.xhtml"
itemLabel="Spacer" />
- <f:selectItem itemValue="/SuggestionBox/SuggestionBox.xhtml"
itemLabel="Suggestion Box" />
- <f:selectItem itemValue="/TabPanel/TabPanel.xhtml" itemLabel="Tab
Panel" />
- <f:selectItem itemValue="/TogglePanel/TogglePanel.xhtml"
itemLabel="Toggle Panel" />
- <f:selectItem itemValue="/ToolBar/ToolBar.xhtml" itemLabel="Tool
Bar" />
- <f:selectItem itemValue="/Tooltip/Tooltip.xhtml"
itemLabel="Tooltip" />
- <f:selectItem itemValue="/Tree/Tree.xhtml" itemLabel="Tree"
/>
- <f:selectItem itemValue="/VirtualEarth/VirtualEarth.xhtml"
itemLabel="Virtual Earth" />
- <f:selectItem
itemValue="/ScrollableDataTable/ScrollableDataTable.xhtml"
itemLabel="ScrollableDataTable" />
- <f:selectItem itemValue="/jQuery/jQuery.xhtml"
itemLabel="jQuery" />
+ <f:selectItem itemValue="Blank" itemLabel="Blank" />
+ <f:selectItem itemValue="Calendar" itemLabel="Calendar"
/>
+ <f:selectItem itemValue="DataFilterSlider" itemLabel="Data Filter
Slider" />
+ <f:selectItem itemValue="DataScroller" itemLabel="Date
Scroller" />
+ <f:selectItem itemValue="DataTable" itemLabel="Date Table"
/>
+ <f:selectItem itemValue="DragAndDrop" itemLabel="Drag And
Drop" />
+ <f:selectItem itemValue="DropDownMenu" itemLabel="Drop Down
Menu" />
+ <f:selectItem itemValue="Effect" itemLabel="Effect" />
+ <f:selectItem itemValue="Gmap" itemLabel="Gmap" />
+ <f:selectItem itemValue="InputNumberSlider" itemLabel="Input
Number Slider" />
+ <f:selectItem itemValue="InputNumberSpinner" itemLabel="Input
Number Spinner" />
+ <f:selectItem itemValue="Insert" itemLabel="Insert" />
+ <f:selectItem itemValue="Message" itemLabel="Message" />
+ <f:selectItem itemValue="ModalPanel" itemLabel="Modal Panel"
/>
+ <f:selectItem itemValue="Paint2D" itemLabel="Paint2D" />
+ <f:selectItem itemValue="Panel" itemLabel="Panel" />
+ <f:selectItem itemValue="Panel2" itemLabel="Panel2" />
+ <f:selectItem itemValue="PanelBar" itemLabel="Panel Bar"
/>
+ <f:selectItem itemValue="PanelMenu" itemLabel="Panel Menu"
/>
+ <f:selectItem itemValue="Separator" itemLabel="Separator"
/>
+ <f:selectItem itemValue="SimpleTogglePanel" itemLabel="Simple
Toggle Panel" />
+ <f:selectItem itemValue="Spacer" itemLabel="Spacer" />
+ <f:selectItem itemValue="SuggestionBox" itemLabel="Suggestion
Box" />
+ <f:selectItem itemValue="TabPanel" itemLabel="Tab Panel"
/>
+ <f:selectItem itemValue="TogglePanel" itemLabel="Toggle
Panel" />
+ <f:selectItem itemValue="ToolBar" itemLabel="Tool Bar" />
+ <f:selectItem itemValue="Tooltip" itemLabel="Tooltip" />
+ <f:selectItem itemValue="Tree" itemLabel="Tree" />
+ <f:selectItem itemValue="VirtualEarth" itemLabel="Virtual
Earth" />
+ <f:selectItem itemValue="ScrollableDataTable"
itemLabel="ScrollableDataTable" />
+ <f:selectItem itemValue="jQuery" itemLabel="jQuery" />
</h:selectOneMenu>
</h:panelGrid>
</rich:toolBarGroup>
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Select/Map.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Select/Map.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Select/Map.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -18,12 +18,17 @@
</div>
<div id="divPageID" style="position: absolute; background-color:gray;
top:60px; left: 10px; z-index: 2">
- <ui:include src="${richBean.src}" />
+ <ui:include src="${richBean.pathComponent}" />
+ <h:form>
+ <ui:include src="${richBean.pathStraightforward}" />
+ <ui:include src="${richBean.pathProperty}" />
+ </h:form>
</div>
<div id="divID" style="absolute; relative; top:60px; left: 10px;
z-index: 1">
<ui:include src="/pages/Select/SelectOneMenuPage.xhtml" />
</div>
+
</body>
</f:view>
</html>
Deleted:
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/SelectOneMenuPage.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/SelectOneMenuPage.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/SelectOneMenuPage.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,175 +0,0 @@
-<h:form id="formSOMID"
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:rich="http://richfaces.org/rich">
-
- <h:panelGrid columns="7" cellpadding="20px"
cellspacing="30px">
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
-
- <h:selectOneMenu value="selectItem" >
- <f:selectItem itemLabel="selectItem" itemValue="test" />
- </h:selectOneMenu>
- </h:panelGrid>
-</h:form>
Deleted: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Test.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Test.xhtml 2007-11-06
09:29:31 UTC (rev 3776)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Test.xhtml 2007-11-06
10:55:14 UTC (rev 3777)
@@ -1,60 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:rich="http://richfaces.org/rich"
-
xmlns:ui="http://java.sun.com/jsf/facelets">
-<f:view>
- <head>
- <title></title>
- <link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css" />
- </head>
- <body>
- <div id="divOpthID" align="right">
- <h:form id="forvDivOpthID">
- <h:panelGrid columns="2">
- <h:selectOneMenu
binding="#{skinBean.component}"></h:selectOneMenu>
- <h:commandLink action="#{skinBean.change}" value="set skin"
/>
-
- <h:outputText value="Select component:" />
- <h:selectOneMenu value="#{divBean.src}"
onchange="submit();">
- <f:selectItem itemValue="/Calendar/Calendar.xhtml"
itemLabel="Calendar" />
- <f:selectItem itemValue="/DataFilterSlider/DataFilterSlider.xhtml"
itemLabel="Data Filter Slider" />
- <f:selectItem itemValue="/DataScroller/DS.xhtml" itemLabel="Date
Scroller" />
- <f:selectItem itemValue="/DataTable/DT.xhtml" itemLabel="Date
Table" />
- <f:selectItem itemValue="/DradAndDrop/DragAndDrop.xhtml"
itemLabel="Drag And Drop" />
- <f:selectItem itemValue="/DropDownMenu/DDMenu.xhtml"
itemLabel="Drop Down Menu" />
- <f:selectItem itemValue="/Effect/Effect.xhtml"
itemLabel="Effect" />
- <f:selectItem itemValue="/Gmap/Gmap.xhtml" itemLabel="Gmap"
/>
- <f:selectItem itemValue="/inputNumberSlider/inputNumberSlider.xhtml"
itemLabel="Input Number Slider" />
- <f:selectItem itemValue="/inputNumberSpinner/inputNumberSpinner.xhtml"
itemLabel="Input Number Spinner" />
- <f:selectItem itemValue="/Insert/Insert.xhtml"
itemLabel="Insert" />
- <f:selectItem itemValue="/Message/Message.xhtml"
itemLabel="Message" />
- <f:selectItem itemValue="/ModalPanel/ModalPanel.xhtml"
itemLabel="Modal Panel" />
- <f:selectItem itemValue="/Paint2D/Paint2D.xhtml"
itemLabel="Paint2D" />
- <f:selectItem itemValue="/Panel/Panel.xhtml" itemLabel="Panel"
/>
- <f:selectItem itemValue="/Panel/panel2.xhtml"
itemLabel="Panel2" />
- <f:selectItem itemValue="/PanelBar/PanelBar.xhtml" itemLabel="Panel
Bar" />
- <f:selectItem itemValue="/PanelMenu/PanelMenu.xhtml"
itemLabel="Panel Menu" />
- <f:selectItem itemValue="/Separator/Separator.xhtml"
itemLabel="Separator" />
- <f:selectItem itemValue="/SimpleTogglePanel/SimpleTogglePanel.xhtml"
itemLabel="Simple Toggle Panel" />
- <f:selectItem itemValue="/Spacer/Spacer.xhtml"
itemLabel="Spacer" />
- <f:selectItem itemValue="/SuggestionBox/SuggestionBox.xhtml"
itemLabel="Suggestion Box" />
- <f:selectItem itemValue="/TabPanel/TabPanel.xhtml" itemLabel="Tab
Panel" />
- <f:selectItem itemValue="/TogglePanel/TogglePanel.xhtml"
itemLabel="Toggle Panel" />
- <f:selectItem itemValue="/ToolBar/ToolBar.xhtml" itemLabel="Tool
Bar" />
- <f:selectItem itemValue="/Tooltip/Tooltip.xhtml"
itemLabel="Tooltip" />
- <f:selectItem itemValue="/Tree/Tree.xhtml" itemLabel="Tree"
/>
- <f:selectItem itemValue="/VirtualEarth/VirtualEarth.xhtml"
itemLabel="Virtual Earth" />
- </h:selectOneMenu>
- </h:panelGrid>
- </h:form>
- </div>
- <ui:include src="${divBean.src}" />
-
- </body>
-</f:view>
-</html>