Author: mvitenkov
Date: 2008-04-29 08:49:52 -0400 (Tue, 29 Apr 2008)
New Revision: 8297
Modified:
trunk/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionList.xhtml
trunk/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionListProperty.xhtml
Log:
binding
Modified:
trunk/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionList.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionList.xhtml 2008-04-29
12:48:19 UTC (rev 8296)
+++
trunk/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionList.xhtml 2008-04-29
12:49:52 UTC (rev 8297)
@@ -2,12 +2,15 @@
<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="dataDefinitionListSubviewID">
<rich:dataDefinitionList id="ddListID"
value="#{dataDefinitionList.arr}" var="arr"
first="#{dataDefinitionList.first}"
rendered="#{dataDefinitionList.rendered}"
title="#{dataDefinitionList.title}" dir="#{dataDefinitionList.dir}"
- rows="#{dataDefinitionList.rows}" style="#{style.style}"
styleClass="#{style.styleClass}"
columnClasses="#{style.columnClasses}"
rowClasses="#{style.rowClasses}">
+ rows="#{dataDefinitionList.rows}" style="#{style.style}"
styleClass="#{style.styleClass}"
columnClasses="#{style.columnClasses}"
rowClasses="#{style.rowClasses}"
+ binding="#{dataDefinitionList.myDefinitionList}"
+ rowKeyVar="myVar">
<f:facet name="header">
<h:outputText value="Africa(header):" />
</f:facet>
<h:outputText value="#{arr.str0} " />
<h:outputLink
value="http://www.jboss.com/"><f:verbatim>Link</f:v...
+ <h:outputText value="#{myVar}"></h:outputText>
<f:facet name="footer">
<h:outputText value="Africa(footer);" />
</f:facet>
Modified:
trunk/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionListProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionListProperty.xhtml 2008-04-29
12:48:19 UTC (rev 8296)
+++
trunk/test-applications/facelets/src/main/webapp/DataDefinitionList/DataDefinitionListProperty.xhtml 2008-04-29
12:49:52 UTC (rev 8297)
@@ -25,5 +25,8 @@
<h:outputText value="rendered" />
<h:selectBooleanCheckbox value="#{dataDefinitionList.rendered}"
onchange="submit();" />
+
+ <h:commandButton actionListener="#{dataDefinitionList.checkBinding}"
value="Binding"></h:commandButton>
+ <h:outputText
value="#{dataDefinitionList.bindLabel}"></h:outputText>
</h:panelGrid>
</f:subview>
\ No newline at end of file