Author: ilya_shaikovsky
Date: 2011-01-24 05:03:49 -0500 (Mon, 24 Jan 2011)
New Revision: 21165
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/param/samples/param-sample.xhtml
Log:
simplified param demo. name not mandatory anymore in 4.x.
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/param/samples/param-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/param/samples/param-sample.xhtml 2011-01-24
07:12:45 UTC (rev 21164)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/param/samples/param-sample.xhtml 2011-01-24
10:03:49 UTC (rev 21165)
@@ -9,11 +9,11 @@
<rich:panel>
<h:panelGrid columns="2">
<a4j:commandButton value="Set Name to Alex" render="rep">
- <a4j:param name="username" value="Alex"
assignTo="#{userBean.name}" />
+ <a4j:param value="Alex" assignTo="#{userBean.name}" />
</a4j:commandButton>
<a4j:commandButton value="Set Name to John" render="rep">
- <a4j:param name="username" value="John"
assignTo="#{userBean.name}" />
+ <a4j:param value="John" assignTo="#{userBean.name}" />
</a4j:commandButton>
</h:panelGrid>
</rich:panel>
Show replies by date