JBoss Rich Faces SVN: r9393 - trunk/test-applications/facelets/src/main/webapp/PanelMenu.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 09:10:22 -0400 (Wed, 02 Jul 2008)
New Revision: 9393
Modified:
trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml 2008-07-02 13:08:49 UTC (rev 9392)
+++ trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenuProperty.xhtml 2008-07-02 13:10:22 UTC (rev 9393)
@@ -1,274 +1,354 @@
-<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" 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" id="panelMenuPropertySubviewID">
- <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>
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ 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" id="panelMenuPropertySubviewID">
+ <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="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="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="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="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="Disabled"></h:outputText>
- <h:selectBooleanCheckbox value="#{panelMenu.disabled}">
- <a4j:support event="onchange" reRender="panelMenuID,panelMenuID2,info"></a4j:support>
- </h:selectBooleanCheckbox>
+ <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: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: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 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"></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 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 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 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 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 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 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 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 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 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 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 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 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 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>
- <h:panelGrid columns="3">
- <h:column></h:column>
+ <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>
+ <h:panelGrid columns="3">
+ <h:column></h:column>
<h:outputText value="JavaScript API"></h:outputText>
- <h:column></h:column>
- <a4j:commandLink onclick="PanelMenu.doExpand($('formID:panelMenuSubviewID:panelMenuID'));return false;" value="doExpand"></a4j:commandLink>
- <a4j:commandLink onclick="PanelMenu.doCollapse($('formID:panelMenuSubviewID:panelMenuID'));return false;" value="doCollapse"></a4j:commandLink>
- </h:panelGrid>
+ <h:column></h:column>
+ <a4j:commandLink
+ onclick="PanelMenu.doExpand($('formID:panelMenuSubviewID:panelMenuID'));return false;"
+ value="doExpand"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="PanelMenu.doCollapse($('formID:panelMenuSubviewID:panelMenuID'));return false;"
+ value="doCollapse"></a4j:commandLink>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('panelMenuID').value}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9392 - trunk/test-applications/facelets/src/main/webapp/PanelBar.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 09:08:49 -0400 (Wed, 02 Jul 2008)
New Revision: 9392
Modified:
trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml 2008-07-02 13:06:39 UTC (rev 9391)
+++ trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBarProperty.xhtml 2008-07-02 13:08:49 UTC (rev 9392)
@@ -1,27 +1,43 @@
-<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" 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" id="panelBarPropertySubviewID">
- <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>
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ 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" id="panelBarPropertySubviewID">
+ <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="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="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="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>
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{panelBar.doStyles}"
+ value="#{panelBar.btnLabel}" />
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSelectedPanel" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('pBId').selectedPanel}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9391 - trunk/test-applications/facelets/src/main/webapp/Panel.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 09:06:39 -0400 (Wed, 02 Jul 2008)
New Revision: 9391
Modified:
trunk/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml 2008-07-02 13:05:02 UTC (rev 9390)
+++ trunk/test-applications/facelets/src/main/webapp/Panel/PanelProperty.xhtml 2008-07-02 13:06:39 UTC (rev 9391)
@@ -1,22 +1,37 @@
-<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" 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" id="PanelPropertySubviewID">
- <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>
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ 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" id="PanelPropertySubviewID">
+ <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="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="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>
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{panel.rendered}" onclick="submit()"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('panelId').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9390 - trunk/test-applications/facelets/src/main/webapp/Paint2D.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 09:05:02 -0400 (Wed, 02 Jul 2008)
New Revision: 9390
Modified:
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml 2008-07-02 13:00:21 UTC (rev 9389)
+++ trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml 2008-07-02 13:05:02 UTC (rev 9390)
@@ -79,4 +79,15 @@
<a4j:support event="onclick" reRender="paint2dID"></a4j:support>
</h:selectBooleanCheckbox>
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getData" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('paint2dID').data.text}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9389 - trunk/test-applications/facelets/src/main/webapp/ModalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 09:00:21 -0400 (Wed, 02 Jul 2008)
New Revision: 9389
Modified:
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2008-07-02 12:57:33 UTC (rev 9388)
+++ trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2008-07-02 13:00:21 UTC (rev 9389)
@@ -5,13 +5,21 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich" id="modalPanelSubviewID">
-
+ <script type="text/javascript">
+ function multiply(height,width){
+ var tbody = document.getElementById('tbodyID');
+ var trs = tbody.getElementsByTagName('TR');
+ var y = parseInt(height);
+ var x = parseInt(width);
+ trs[1].innerHTML = 'modalPanel\'s size: ' + x*y + ' px*px';
+ return false;
+ }
+</script>
<h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
<f:selectItems value="#{richBean.listContainer}" />
</h:selectOneMenu>
- <rich:modalPanel id="modalPanelID"
- left="#{modalPanel.left}"
+ <rich:modalPanel id="modalPanelID" left="#{modalPanel.left}"
top="#{modalPanel.top}" minHeight="#{modalPanel.minHeight}"
minWidth="#{modalPanel.minWidth}" height="#{modalPanel.height}"
width="#{modalPanel.width}" moveable="#{modalPanel.moveable}"
@@ -21,7 +29,7 @@
autosized="#{modalPanel.autosized}"
shadowDepth="#{modalPanel.shadowDepth}"
shadowOpacity="#{modalPanel.shadowOpacity}"
- showWhenRendered="#{modalPanel.showWhenRendered}"
+ showWhenRendered="#{modalPanel.showWhenRendered}"
headerClass="#{style.headerClass}" styleClass="#{style.styleClass}"
onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}"
onmaskcontextmenu="#{event.onmaskcontextmenu}"
@@ -31,8 +39,7 @@
onmaskmouseout="#{event.onmaskmouseout}"
onmaskmouseover="#{event.onmaskmouseover}"
onmaskmouseup="#{event.onmaskmouseup}" onmove="#{event.onmove}"
- onresize="#{event.onresize}" onshow="#{event.onshow}"
- >
+ onresize="#{event.onresize}" onshow="#{event.onshow}">
<f:facet name="header">
<h:outputText value="Heder goes here..." />
</f:facet>
@@ -40,19 +47,32 @@
<h:graphicImage value="/pics/error.gif"
onclick="Richfaces.hideModalPanel('modalPanelID');return false;" />
</f:facet>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2" id="findComponentID">
+ <tbody id="tbodyID">
+ <tr>
+ <td><a4j:commandLink value="getSize" reRender="findID"
+ onclick="javascript:multiply(#{rich:findComponent('modalPanelID').height},#{rich:findComponent('modalPanelID').width});"></a4j:commandLink>
+ </td>
+ </tr>
+ <tr>
+ <td><h:outputText /></td>
+ </tr>
+ </tbody>
+ </h:panelGrid>
+ <br />
<h:outputText value="This is Modal Panel example" styleClass="text1" />
<h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
<f:selectItems value="#{richBean.listContainer}" />
</h:selectOneMenu>
-
+
<applet code="ArcTest.class" width="400" height="400"
-
codebase="http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/"
-
alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason.">
- Your browser is completely ignoring the <APPLET> tag!
- </applet>
+ Your browser is completely ignoring the <APPLET> tag! </applet>
<h:inputText value="#{modalPanel.inputTextTest}" />
<h:selectOneListbox value="#{modalPanel.selectOneListboxTest}">
<f:selectItem itemLabel="1" itemValue="1" />
@@ -88,45 +108,61 @@
value="Close">
<f:verbatim>Close</f:verbatim>
</h:outputLink>
-
+
</rich:modalPanel>
-
+
<rich:modalPanel id="modalPanelID2">
- <f:facet name="controls">
+ <f:facet name="controls">
<h:graphicImage value="/pics/error.gif"
onclick="Richfaces.hideModalPanel('modalPanelID2');return false;" />
<h:form>
<a4j:commandLink action="#"
- oncomplete="Richfaces.hideModalPanel('modalPanelID2')" value="close" />
+ oncomplete="Richfaces.hideModalPanel('modalPanelID2')"
+ value="close" />
</h:form>
</f:facet>
<h:inputText value="#{sb.property}" id="text" />
- <rich:suggestionbox id="suggestionBoxId" eventsQueue="myEventsQueue" ajaxSingle="#{sb.ajaxSingle}" dir="#{sb.dir}"
- rendered="#{sb.rendered}" requestDelay="#{sb.requestDelay}" selfRendered="#{sb.selfRendered}" value="#{sb.value}" for="text"
- var="result" fetchValue="#{result.text}" suggestionAction="#{sb.autocomplete}" width="#{sb.width}" height="#{sb.height}"
- border="#{sb.border}" zindex="#{sb.zindex}" rules="#{sb.rules}" cellpadding="#{sb.cellpadding}"
- cellspacing="#{sb.cellspacing}" first="#{sb.first}" minChars="#{sb.minchars}" tokens="#{sb.tokens}" bgcolor="#{sb.bgColor}"
- focus="#{sb.forcus}" title="#{result.text}" summary="summary" shadowOpacity="#{sb.shadowOpacity}"
- shadowDepth="#{sb.shadowDepth}" selectValueClass="mousemove" frequency="#{sb.frequency}" nothingLabel="nothingLabel work! "
- entryClass="#{style.entryClass}" popupClass="#{style.popupClass}" popupStyle="#{style.popupStyle}" style="#{style.style}" styleClass="#{style.styleClass}" selectedClass="#{style.selectedClass}" rowClasses="#{style.rowClasses}"
- oncomplete="#{event.oncomplete}" onselect="#{event.onselect}" onbeforedomupdate="#{event.onbeforedomupdate}" onsubmit="#{event.onsubmit}">
- <h:column>
- <h:outputText value="#{result.city}" />
- </h:column>
- <h:column>
- <h:outputText value="#{result.contry}" />
- </h:column>
- <h:column>
- <h:outputText value="#{result.flag}" />
- </h:column>
- <h:column>
- <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
- </h:column>
- </rich:suggestionbox>
+ <rich:suggestionbox id="suggestionBoxId" eventsQueue="myEventsQueue"
+ ajaxSingle="#{sb.ajaxSingle}" dir="#{sb.dir}"
+ rendered="#{sb.rendered}" requestDelay="#{sb.requestDelay}"
+ selfRendered="#{sb.selfRendered}" value="#{sb.value}" for="text"
+ var="result" fetchValue="#{result.text}"
+ suggestionAction="#{sb.autocomplete}" width="#{sb.width}"
+ height="#{sb.height}" border="#{sb.border}" zindex="#{sb.zindex}"
+ rules="#{sb.rules}" cellpadding="#{sb.cellpadding}"
+ cellspacing="#{sb.cellspacing}" first="#{sb.first}"
+ minChars="#{sb.minchars}" tokens="#{sb.tokens}"
+ bgcolor="#{sb.bgColor}" focus="#{sb.forcus}" title="#{result.text}"
+ summary="summary" shadowOpacity="#{sb.shadowOpacity}"
+ shadowDepth="#{sb.shadowDepth}" selectValueClass="mousemove"
+ frequency="#{sb.frequency}" nothingLabel="nothingLabel work! "
+ entryClass="#{style.entryClass}" popupClass="#{style.popupClass}"
+ popupStyle="#{style.popupStyle}" style="#{style.style}"
+ styleClass="#{style.styleClass}"
+ selectedClass="#{style.selectedClass}"
+ rowClasses="#{style.rowClasses}" oncomplete="#{event.oncomplete}"
+ onselect="#{event.onselect}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onsubmit="#{event.onsubmit}">
+ <h:column>
+ <h:outputText value="#{result.city}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.contry}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.flag}" />
+ </h:column>
+ <h:column>
+ <h:outputLink value="http://www.jboss.com/">
+ <f:verbatim>Link</f:verbatim>
+ </h:outputLink>
+ </h:column>
+ </rich:suggestionbox>
</rich:modalPanel>
<a onclick="Richfaces.showModalPanel('modalPanelID');" href="#">Show
MP</a>
- <br/>
+ <br />
<a onclick="Richfaces.showModalPanel('modalPanelID2');" href="#">Show
MP2</a>
16 years, 6 months
JBoss Rich Faces SVN: r9388 - trunk/test-applications/facelets/src/main/webapp/Message.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 08:57:33 -0400 (Wed, 02 Jul 2008)
New Revision: 9388
Modified:
trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml
trunk/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml 2008-07-02 12:50:25 UTC (rev 9387)
+++ trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml 2008-07-02 12:57:33 UTC (rev 9388)
@@ -9,7 +9,7 @@
<rich:message for="#{message.msg}" tooltip="#{message.tooltip}" showDetail="#{message.showDetail}"
showSummary="#{message.showSummary}" passedLabel="No Error" errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
- infoLabelClass="infoLabel" warnLabelClass="fatalLabel" title="#{message.title}">
+ infoLabelClass="infoLabel" warnLabelClass="fatalLabel" title="#{message.title}" id="messageID">
<f:facet name="errorMarker">
@@ -40,7 +40,7 @@
showSummary="#{message.showSummary}" passedLabel="No Error" errorLabelClass="errorLabel" fatalLabelClass="warnLabel"
infoLabelClass="infoLabel" warnLabelClass="fatalLabel" warnMarkerClass="markerWarn" infoMarkerClass="markerInfo"
errorMarkerClass="markerError" fatalMarkerClass="markerFatal" errorClass="errorClass" fatalClass="fatalClass"
- warnClass="warnClass" infoClass="infoClass" labelClass="labelClass" styleClass="class" title="#{message.title}">
+ warnClass="warnClass" infoClass="infoClass" labelClass="labelClass" styleClass="class" title="#{message.title}" id="messagesID">
<f:facet name="errorMarker">
<h:graphicImage url="/pics/error.gif" />
</f:facet>
Modified: trunk/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml 2008-07-02 12:50:25 UTC (rev 9387)
+++ trunk/test-applications/facelets/src/main/webapp/Message/MessageProperty.xhtml 2008-07-02 12:57:33 UTC (rev 9388)
@@ -82,4 +82,21 @@
<h:commandButton value="submit" />
<a4j:commandButton value="submit ajax" />
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getFor(message)" reRender="findID1"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID1">
+ <h:outputText value="#{rich:findComponent('messageID').for}" />
+ </rich:column>
+ <rich:column>
+ <a4j:commandLink value="getRendererType(messages)" reRender="findID2"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID2">
+ <h:outputText value="#{rich:findComponent('messagesID').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9387 - trunk/test-applications/facelets/src/main/webapp/jQuery.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 08:50:25 -0400 (Wed, 02 Jul 2008)
New Revision: 9387
Modified:
trunk/test-applications/facelets/src/main/webapp/jQuery/jQuery.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/jQuery/jQuery.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/jQuery/jQuery.xhtml 2008-07-02 12:48:49 UTC (rev 9386)
+++ trunk/test-applications/facelets/src/main/webapp/jQuery/jQuery.xhtml 2008-07-02 12:50:25 UTC (rev 9387)
@@ -1,5 +1,9 @@
-<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" 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" id="jQuerySubviewID">
-<style>
+<f:subview xmlns:ui="http://java.sun.com/jsf/facelets"
+ 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" id="jQuerySubviewID">
+ <style>
.divSize_1 {
width: 150px;
height: 90px;
@@ -8,13 +12,13 @@
}
.divColor_1 {
-
- background-color: #1E90FF;
+ background-color: #1E90FF;
}
.divTextSize_1 {
font-size: xx-large;
}
+
.divSize_2 {
width: 90px;
height: 150px;
@@ -23,15 +27,17 @@
}
.divColor_2 {
- background-color: #7FFF00;
+ background-color: #7FFF00;
}
-.oddTable{
+.oddTable {
background-color: #FFE4C4;
}
-.activeTable{
+
+.activeTable {
background-color: #AFEEEE;
}
+
.fontColor {
font-style: italic;
color: #228B22;
@@ -41,46 +47,82 @@
<h:outputText value="add text: [li],work!, e.g. A. one [li],work!" />
<h:panelGroup>
<f:verbatim>
- <ol type="A" title="li">
- <li>one </li>
- <li>two </li>
- <li>three</li>
- </ol>
+ <ol type="A" title="li">
+ <li>one</li>
+ <li>two</li>
+ <li>three</li>
+ </ol>
</f:verbatim>
</h:panelGroup>
-
+
<h:outputText value="green text: add text3 " />
- <f:verbatim> <p><span>Text1 </span>text2</p> </f:verbatim>
-
- <h:panelGroup>
- <h:outputText value="Rectangle: size: "150 x 90"; bgcolor: "dodgerblue"" />
- <f:verbatim><br /></f:verbatim>
+ <f:verbatim>
+ <p><span>Text1 </span>text2</p>
+ </f:verbatim>
+
+ <h:panelGroup>
+ <h:outputText
+ value="Rectangle: size: "150 x 90"; bgcolor: "dodgerblue"" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
<h:outputText value="Table: bgcolor: "bisque"" />
</h:panelGroup>
- <f:verbatim><div id="div_1_ID">xx-large <br /> text </div></f:verbatim>
-
+ <f:verbatim>
+ <div id="div_1_ID">xx-large <br />
+ text</div>
+ </f:verbatim>
+
<h:panelGroup>
- <h:outputText value="Rectangle: size: "90 x 150"; border-color "red"" />
- <f:verbatim><br /></f:verbatim>
+ <h:outputText
+ value="Rectangle: size: "90 x 150"; border-color "red"" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
<h:outputText value="Table: bgcolor: "none"" />
- <f:verbatim><br /></f:verbatim>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
<h:outputText value="effect(mouseover)" />
</h:panelGroup>
- <f:verbatim><div id="div_2_ID"> normal text</div></f:verbatim>
- </h:panelGrid>
+ <f:verbatim>
+ <div id="div_2_ID">normal text</div>
+ </f:verbatim>
+ </h:panelGrid>
- <rich:jQuery selector="li" timing="onload" query="find('ol').end().append('[li],work!')" />
-
- <rich:jQuery selector="body" timing="onload" query="addClass('body')"/>
- <rich:jQuery selector="tr:nth-child(odd)" timing="onload" query="addClass('oddTable')" />
- <rich:jQuery selector="#panelGridID tr" query="mouseover(function(){jQuery(this).addClass('activeTable')})"/>
- <rich:jQuery selector="#panelGridID tr" query="mouseout(function(){jQuery(this).removeClass('activeTable')})"/>
-
- <rich:jQuery selector="#div_2_ID" timing="onload" query="mouseover(function(){jQuery(this).fadeOut({height: 'hide'}, 500).text('New text').animate({height: 'show'}, 500)})" />
- <rich:jQuery selector="p" timing="onload" query="find('span').html('text1').end().append('<p class=\'fontColor\'>add text3<p>')"/>
- <rich:jQuery selector="#div_1_ID" timing="onload" query="addClass('divSize_1')" />
- <rich:jQuery selector=".divSize_1" timing="onload" query="addClass('divColor_1')" />
- <rich:jQuery selector="#panelGridID #div_1_ID" timing="onload" query="addClass('divTextSize_1')" />
- <rich:jQuery selector="#form\\:panelGridID #div_2_ID" timing="onload" query="addClass('divSize_2')" />
+ <rich:jQuery selector="li" timing="onload" id="jQid"
+ query="find('ol').end().append('[li],work!')" />
+
+ <rich:jQuery selector="body" timing="onload" query="addClass('body')" />
+ <rich:jQuery selector="tr:nth-child(odd)" timing="onload"
+ query="addClass('oddTable')" />
+ <rich:jQuery selector="#panelGridID tr"
+ query="mouseover(function(){jQuery(this).addClass('activeTable')})" />
+ <rich:jQuery selector="#panelGridID tr"
+ query="mouseout(function(){jQuery(this).removeClass('activeTable')})" />
+
+ <rich:jQuery selector="#div_2_ID" timing="onload"
+ query="mouseover(function(){jQuery(this).fadeOut({height: 'hide'}, 500).text('New text').animate({height: 'show'}, 500)})" />
+ <rich:jQuery selector="p" timing="onload"
+ query="find('span').html('text1').end().append('<p class=\'fontColor\'>add text3<p>')" />
+ <rich:jQuery selector="#div_1_ID" timing="onload"
+ query="addClass('divSize_1')" />
+ <rich:jQuery selector=".divSize_1" timing="onload"
+ query="addClass('divColor_1')" />
+ <rich:jQuery selector="#panelGridID #div_1_ID" timing="onload"
+ query="addClass('divTextSize_1')" />
+ <rich:jQuery selector="#form\\:panelGridID #div_2_ID" timing="onload"
+ query="addClass('divSize_2')" />
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('jQid').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months
JBoss Rich Faces SVN: r9386 - trunk/test-applications/facelets/src/main/java/rich.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 08:48:49 -0400 (Wed, 02 Jul 2008)
New Revision: 9386
Modified:
trunk/test-applications/facelets/src/main/java/rich/RichBean.java
Log:
Modified: trunk/test-applications/facelets/src/main/java/rich/RichBean.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/rich/RichBean.java 2008-07-02 12:43:23 UTC (rev 9385)
+++ trunk/test-applications/facelets/src/main/java/rich/RichBean.java 2008-07-02 12:48:49 UTC (rev 9386)
@@ -54,7 +54,7 @@
map.add("Tree", add("/Tree/Tree", new boolean [] {false, true, false}));
map.add("VirtualEarth", add("/VirtualEarth/VirtualEarth", new boolean [] {false, true, false}));
map.add("ScrollableDataTable", add("/ScrollableDataTable/ScrollableDataTable", new boolean [] {false, true, false}));
- map.add("jQuery", add("/jQuery/jQuery", new boolean [] {false, true, false}));
+ map.add("jQuery", add("/jQuery/jQuery", new boolean [] {true, false, false}));
map.add("OrderingList", add("/OrderingList/OrderingList", new boolean [] {false, true, true}));
map.add("DataDefinitionList", add("/DataDefinitionList/DataDefinitionList", new boolean [] {false, true, false}));
map.add("DataOrderedList", add("/DataOrderedList/DataOrderedList", new boolean [] {false, true, false}));
16 years, 6 months
JBoss Rich Faces SVN: r9385 - trunk/test-applications/facelets/src/main/java/rich.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 08:43:23 -0400 (Wed, 02 Jul 2008)
New Revision: 9385
Modified:
trunk/test-applications/facelets/src/main/java/rich/RichBean.java
Log:
+jQuery
Modified: trunk/test-applications/facelets/src/main/java/rich/RichBean.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/rich/RichBean.java 2008-07-02 12:42:13 UTC (rev 9384)
+++ trunk/test-applications/facelets/src/main/java/rich/RichBean.java 2008-07-02 12:43:23 UTC (rev 9385)
@@ -54,7 +54,7 @@
map.add("Tree", add("/Tree/Tree", new boolean [] {false, true, false}));
map.add("VirtualEarth", add("/VirtualEarth/VirtualEarth", new boolean [] {false, true, false}));
map.add("ScrollableDataTable", add("/ScrollableDataTable/ScrollableDataTable", new boolean [] {false, true, false}));
- map.add("jQuery", add("/jQuery/jQuery", new boolean [] {false, false, false}));
+ map.add("jQuery", add("/jQuery/jQuery", new boolean [] {false, true, false}));
map.add("OrderingList", add("/OrderingList/OrderingList", new boolean [] {false, true, true}));
map.add("DataDefinitionList", add("/DataDefinitionList/DataDefinitionList", new boolean [] {false, true, false}));
map.add("DataOrderedList", add("/DataOrderedList/DataOrderedList", new boolean [] {false, true, false}));
@@ -71,6 +71,7 @@
map.add("InplaceInput", add("/InplaceInput/InplaceInput", new boolean [] {false, true, false}));
map.add("Skinning", add("/Skinning/Skinning", new boolean [] {false, false, false}));
map.add("HotKey", add("/HotKey/HotKey", new boolean [] {false, false, false}));
+ map.add("Validator", add("/Validator/Validator", new boolean [] {true, true, true}));
Iterator<String> iterator = map.getSet().iterator();
while(iterator.hasNext()){
list.add(new SelectItem(iterator.next()));
16 years, 6 months
JBoss Rich Faces SVN: r9384 - trunk/test-applications/facelets/src/main/webapp/Insert.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-02 08:42:13 -0400 (Wed, 02 Jul 2008)
New Revision: 9384
Modified:
trunk/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml 2008-07-02 12:41:17 UTC (rev 9383)
+++ trunk/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml 2008-07-02 12:42:13 UTC (rev 9384)
@@ -32,4 +32,15 @@
<h:outputText value="Rendered" />
<h:selectBooleanCheckbox value="#{insert.rendered}" onchange="submit();"/>
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSrc" reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('insertID').src}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 6 months