Author: mvitenkov
Date: 2008-12-09 13:56:28 -0500 (Tue, 09 Dec 2008)
New Revision: 11679
Modified:
trunk/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml
trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml
Log:
+a4j:log
Modified: trunk/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml 2008-12-09
18:29:36 UTC (rev 11678)
+++ trunk/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml 2008-12-09
18:56:28 UTC (rev 11679)
@@ -57,18 +57,18 @@
<h:messages showDetail="true"
showSummary="true"></h:messages>
<h:panelGrid id="richGridID" columns="1"
width="100%">
- <h:column rendered="#{option.reComponent}">
+ <h:panelGroup rendered="#{option.reComponent}">
<ui:include src="${richBean.pathComponent}" />
- </h:column>
+ </h:panelGroup>
- <h:column rendered="#{option.reStraightforward}">
+ <h:panelGroup rendered="#{option.reStraightforward}">
<ui:include src="${richBean.pathStraightforward}" />
- </h:column>
+ </h:panelGroup>
- <h:column rendered="#{option.reProperty}">
+ <h:panelGroup rendered="#{option.reProperty}">
<ui:include src="${richBean.pathProperty}" />
- </h:column>
-
+ </h:panelGroup>
+ <a4j:log popup="false"
rendered="#{option.log}"></a4j:log>
</h:panelGrid>
<ui:include src="/pages/Info/Info.xhtml" />
Modified: trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2008-12-09
18:29:36 UTC (rev 11678)
+++
trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2008-12-09
18:56:28 UTC (rev 11679)
@@ -1,29 +1,42 @@
-<f:subview
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="richMenuSubviewID">
+<f:subview
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="richMenuSubviewID">
<h:panelGrid columns="5" border="1">
<h:panelGrid columns="2">
<h:outputText value="h" />
<h:outputText value="a4j" />
<h:commandButton value="submit" style="width : 85px; height :
21px;"></h:commandButton>
- <a4j:commandButton value="submit" reRender="richGridID"
style="width : 85px; height : 21px;"></a4j:commandButton>
- <h:commandButton value="immediate" immediate="true"
style="width : 85px; height : 21px;"></h:commandButton>
- <a4j:commandButton value="immediate" immediate="true"
reRender="richGridID" style="width : 85px; height :
21px;"></a4j:commandButton>
+ <a4j:commandButton value="submit" reRender="richGridID"
+ style="width : 85px; height : 21px;"></a4j:commandButton>
+ <h:commandButton value="immediate" immediate="true"
+ style="width : 85px; height : 21px;"></h:commandButton>
+ <a4j:commandButton value="immediate" immediate="true"
+ reRender="richGridID" style="width : 85px; height :
21px;"></a4j:commandButton>
</h:panelGrid>
<h:panelGrid columns="1">
- <a4j:status startText="WORK!" startStyle="color: red;"
stopText="a4j:status"></a4j:status>
+ <h:outputLabel for="a4jLodID"
value="a4j:log"></h:outputLabel>
+ <h:selectBooleanCheckbox id="a4jLodID" value="#{option.log}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+ <a4j:status startText="WORK!" startStyle="color: red;"
+ stopText="a4j:status"></a4j:status>
</h:panelGrid>
<h:panelGrid columns="1">
<h:panelGrid columns="4">
<h:outputText value="Default:" />
<h:selectBooleanCheckbox value="#{option.reDefault}" />
-
+
<h:outputText value="Component" />
- <h:selectBooleanCheckbox value="#{option.reComponent}"
onchange="submit();" />
+ <h:selectBooleanCheckbox value="#{option.reComponent}"
+ onchange="submit();" />
<h:outputText value="Straightforward" />
- <h:selectBooleanCheckbox value="#{option.reStraightforward}"
onchange="submit();" />
+ <h:selectBooleanCheckbox value="#{option.reStraightforward}"
+ onchange="submit();" />
<h:outputText value="Property" />
- <h:selectBooleanCheckbox value="#{option.reProperty}"
onchange="submit();" />
+ <h:selectBooleanCheckbox value="#{option.reProperty}"
+ onchange="submit();" />
</h:panelGrid>
</h:panelGrid>
@@ -32,20 +45,22 @@
<h:selectOneMenu binding="#{skinBean.component}"
onblur="submit();">
<a4j:support action="#{skinBean.change}" event="onchange"
/>
</h:selectOneMenu>
- <h:selectOneMenu value="#{skinning.selectSkinning}"
onblur="submit();">
- <f:selectItem itemLabel="none" itemValue="none"/>
- <f:selectItem itemLabel="skinning" itemValue="SKINNING"/>
- <f:selectItem itemLabel="skinningClass"
itemValue="SKINNING_CLASSES"/>
+ <h:selectOneMenu value="#{skinning.selectSkinning}"
+ onblur="submit();">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="skinning" itemValue="SKINNING" />
+ <f:selectItem itemLabel="skinningClass"
itemValue="SKINNING_CLASSES" />
</h:selectOneMenu>
</h:panelGrid>
<h:panelGrid columns="1">
<h:outputText value="Select component:" />
- <h:selectOneMenu value="#{richBean.src}" immediate="true"
onchange="submit();">
+ <h:selectOneMenu value="#{richBean.src}" immediate="true"
+ onchange="submit();">
<f:selectItems value="#{richBean.list}" />
- <f:param value="#{richBean.src}" name="currentComponent"/>
+ <f:param value="#{richBean.src}" name="currentComponent"
/>
</h:selectOneMenu>
</h:panelGrid>
</h:panelGrid>
<h:commandLink value="Back"
action="main"></h:commandLink>
-</f:subview>
+</f:subview>