Author: mvitenkov
Date: 2008-12-09 13:13:25 -0500 (Tue, 09 Dec 2008)
New Revision: 11676
Modified:
trunk/test-applications/seamApp/web/src/main/webapp/pages/Rich/Rich.xhtml
trunk/test-applications/seamApp/web/src/main/webapp/pages/RichMenu/RichMenu.xhtml
Log:
+a4j:log
Modified: trunk/test-applications/seamApp/web/src/main/webapp/pages/Rich/Rich.xhtml
===================================================================
--- trunk/test-applications/seamApp/web/src/main/webapp/pages/Rich/Rich.xhtml 2008-12-09
18:12:57 UTC (rev 11675)
+++ trunk/test-applications/seamApp/web/src/main/webapp/pages/Rich/Rich.xhtml 2008-12-09
18:13:25 UTC (rev 11676)
@@ -5,7 +5,8 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
-
xmlns:s="http://jboss.com/products/seam/taglib">
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:a4j="http://richfaces.org/a4j">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<title>HelloWorld</title>
@@ -52,6 +53,7 @@
<h:panelGroup rendered="#{option.reProperty}">
<ui:include src="#{richBean.pathProperty}" />
</h:panelGroup>
+ <a4j:log popup="false"
rendered="#{option.log}"></a4j:log>
</h:panelGrid>
<ui:include src="/pages/Info/Info.xhtml" />
Modified:
trunk/test-applications/seamApp/web/src/main/webapp/pages/RichMenu/RichMenu.xhtml
===================================================================
---
trunk/test-applications/seamApp/web/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2008-12-09
18:12:57 UTC (rev 11675)
+++
trunk/test-applications/seamApp/web/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2008-12-09
18:13:25 UTC (rev 11676)
@@ -1,49 +1,65 @@
-<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>
<h:panelGrid columns="1">
<h:outputText value="Select skin: " />
- <h:selectOneMenu binding="#{skinBean.skinComponent}"
onblur="submit();">
+ <h:selectOneMenu binding="#{skinBean.skinComponent}"
+ 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>