Author: ilya_shaikovsky
Date: 2007-09-05 12:30:16 -0400 (Wed, 05 Sep 2007)
New Revision: 2777
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/snippets/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml
Log:
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml
(rev 0)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml 2007-09-05
16:30:16 UTC (rev 2777)
@@ -0,0 +1,17 @@
+ ....
+ <-- 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" >
+ <f:param name="param1" value="foo"/>
+ ...
+ </h:commandLink>
+ ....
+ </h:panelGrid>
+ ....
+ </h:form>
\ No newline at end of file