Author: nbelaevski
Date: 2010-05-04 18:43:58 -0400 (Tue, 04 May 2010)
New Revision: 16891
Added:
root/examples/trunk/components/core-demo/src/main/webapp/attachQueue.xhtml
Modified:
root/examples/trunk/components/core-demo/src/main/webapp/welcome.xhtml
Log:
https://jira.jboss.org/jira/browse/RFPL-518
Added: root/examples/trunk/components/core-demo/src/main/webapp/attachQueue.xhtml
===================================================================
--- root/examples/trunk/components/core-demo/src/main/webapp/attachQueue.xhtml
(rev 0)
+++ root/examples/trunk/components/core-demo/src/main/webapp/attachQueue.xhtml 2010-05-04
22:43:58 UTC (rev 16891)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:a4j="http://richfaces.org/a4j">
+<f:view>
+ <h:head>
+ </h:head>
+ <h:body>
+ <h:form id="form">
+
+ <a4j:ajax>
+ <h:inputText />
+
+ <a4j:attachQueue id="firstAttach" />
+ </a4j:ajax>
+
+ <a4j:ajax event="valueChange">
+ <h:panelGroup>
+ <a4j:ajax event="valueChange">
+ <h:inputText />
+
+ <a4j:commandLink value="Link">
+ <a4j:attachQueue id="linkAttach" />
+ </a4j:commandLink>
+
+ <a4j:attachQueue id="secondAttach" />
+ </a4j:ajax>
+ </h:panelGroup>
+ </a4j:ajax>
+ </h:form>
+
+ <ui:debug hotkey="L" />
+ </h:body>
+</f:view>
+</html>
\ No newline at end of file
Modified: root/examples/trunk/components/core-demo/src/main/webapp/welcome.xhtml
===================================================================
--- root/examples/trunk/components/core-demo/src/main/webapp/welcome.xhtml 2010-05-04
22:40:24 UTC (rev 16890)
+++ root/examples/trunk/components/core-demo/src/main/webapp/welcome.xhtml 2010-05-04
22:43:58 UTC (rev 16891)
@@ -10,6 +10,7 @@
<h1>Welcome To RichFaces 4.x Core Demo</h1>
<ul>
<li><h:link outcome="ajax">a4j:ajax</h:link></li>
+ <li><h:link
outcome="attachQueue">a4j:attachQueue</h:link></li>
<li><h:link
outcome="button">a4j:commandButton</h:link></li>
<li><h:link
outcome="link">a4j:commandLink</h:link></li>
<li><h:link outcome="log">a4j:log</h:link></li>