[richfaces-svn-commits] JBoss Rich Faces SVN: r2720 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/snippets.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Sep 3 11:18:48 EDT 2007


Author: ilya_shaikovsky
Date: 2007-09-03 11:18:48 -0400 (Mon, 03 Sep 2007)
New Revision: 2720

Modified:
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/snippets/commandLinkProblem.xhtml
Log:


Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/snippets/commandLinkProblem.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/snippets/commandLinkProblem.xhtml	2007-09-03 15:17:44 UTC (rev 2719)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/snippets/commandLinkProblem.xhtml	2007-09-03 15:18:48 UTC (rev 2720)
@@ -1,12 +1,16 @@
   ....
-  <-- This code does not work correctly after the link is re-rendered -->
+  <-- This code does not work correctly after the link is re-rendered -->
+  <-- Parameter will not be encoded correctly in this case -->
   <h:form>
 	  	....
 	  	<a4j:commandButton value="Update Non-Ajax Link" reRender="panel" />
 	  	....
 	  	<h:panelGrid id="panel">
 	  	 	....
-	  		<h:commandLink value="Non-Ajax Submit" action="foo" />
+	  		<h:commandLink value="Non-Ajax Submit" action="foo" >
+	  			<f:param name="param1" value="foo"/>
+	  			...
+	  		</h:commandLink>
 	  		....
 	  	</h:panelGrid>
 	  	....




More information about the richfaces-svn-commits mailing list