Author: abelevich
Date: 2011-03-10 12:21:06 -0500 (Thu, 10 Mar 2011)
New Revision: 22144
Modified:
branches/4.0.X/examples/core-demo/src/main/webapp/ajax.xhtml
Log:
https://issues.jboss.org/browse/RF-10728 Ajax: different behavior in Mojarra and MyFaces
when disabled. Demo updated.
Modified: branches/4.0.X/examples/core-demo/src/main/webapp/ajax.xhtml
===================================================================
--- branches/4.0.X/examples/core-demo/src/main/webapp/ajax.xhtml 2011-03-10 16:44:21 UTC
(rev 22143)
+++ branches/4.0.X/examples/core-demo/src/main/webapp/ajax.xhtml 2011-03-10 17:21:06 UTC
(rev 22144)
@@ -95,7 +95,25 @@
<h:commandLink value="Link">
<a:ajax bypassUpdates="#{true}" />
</h:commandLink>
+
+
</h:panelGrid>
</h:form>
+
+ <!--
https://issues.jboss.org/browse/RF-10728 -->
+ <h:form>
+ <h:panelGrid columns="2">
+ f:ajax with h:commandLink
+ <h:commandLink value="commandLink">
+ <f:ajax disabled="false"/>
+ </h:commandLink>
+ disabled f:ajax with h:commandLink
+ <h:commandLink value="commandLink">
+ <f:ajax disabled="true"/>
+ </h:commandLink>
+ </h:panelGrid>
+
+
+ </h:form>
</h:body>
</html>
\ No newline at end of file