Author: ppitonak(a)redhat.com
Date: 2010-09-21 12:34:05 -0400 (Tue, 21 Sep 2010)
New Revision: 19290
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JAjaxBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hCommandLink.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hGraphicImage.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputSecret.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputText.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputTextarea.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectBooleanCheckbox.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyCheckbox.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyListbox.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyMenu.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneListbox.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneMenu.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneRadio.xhtml
Log:
* scope of A4JAjaxBean changed to view
* all pages for a4j:ajax fixed
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JAjaxBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JAjaxBean.java 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JAjaxBean.java 2010-09-21
16:34:05 UTC (rev 19290)
@@ -28,9 +28,9 @@
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
-import javax.faces.bean.SessionScoped;
+import javax.faces.bean.ViewScoped;
+
import org.ajax4jsf.component.behavior.AjaxBehavior;
-
import org.richfaces.tests.metamer.Attributes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -42,7 +42,7 @@
* @version $Revision$
*/
@ManagedBean(name = "a4jAjaxBean")
-@SessionScoped
+@ViewScoped
public class A4JAjaxBean implements Serializable {
private static final long serialVersionUID = -546567867L;
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hCommandLink.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hCommandLink.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hCommandLink.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -60,9 +60,12 @@
/>
</h:commandLink>
- <a4j:outputPanel id="output" layout="block">
+ <a4j:outputPanel id="output1" layout="block">
<h:outputText value="#{a4jAjaxBean.input}"/>
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ <h:outputText value="#{a4jAjaxBean.input}"/>
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hGraphicImage.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hGraphicImage.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hGraphicImage.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -61,11 +61,16 @@
<br/><br/>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
<h:outputText value="#{timeBean.date}">
<f:convertDateTime pattern="HH:mm:ss.SSS" />
</h:outputText>
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ <h:outputText value="#{timeBean.date}">
+ <f:convertDateTime pattern="HH:mm:ss.SSS" />
+ </h:outputText>
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputSecret.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputSecret.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputSecret.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -59,9 +59,12 @@
/>
</h:inputSecret>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
<h:outputText value="#{a4jAjaxBean.input}"/>
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ <h:outputText value="#{a4jAjaxBean.input}"/>
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputText.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputText.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputText.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -59,9 +59,12 @@
/>
</h:inputText>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
<h:outputText value="#{a4jAjaxBean.input}"/>
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ <h:outputText value="#{a4jAjaxBean.input}"/>
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputTextarea.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputTextarea.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hInputTextarea.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -58,10 +58,13 @@
status="#{a4jAjaxBean.attributes['status'].value}"
/>
</h:inputTextarea>
-
- <a4j:outputPanel id="output">
+
+ <a4j:outputPanel id="output1" layout="block">
<h:outputText value="#{a4jAjaxBean.input}"/>
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ <h:outputText value="#{a4jAjaxBean.input}"/>
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectBooleanCheckbox.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectBooleanCheckbox.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectBooleanCheckbox.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -61,9 +61,12 @@
<br/>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
Your selection: #{a4jAjaxBean.boolVal}
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ Your selection: #{a4jAjaxBean.boolVal}
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyCheckbox.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyCheckbox.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyCheckbox.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -68,9 +68,12 @@
<br/>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
Your selection: #{a4jAjaxBean.cars}
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ Your selection: #{a4jAjaxBean.cars}
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyListbox.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyListbox.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyListbox.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -67,9 +67,12 @@
<br/>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
Your selection: #{a4jAjaxBean.cars}
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ Your selection: #{a4jAjaxBean.cars}
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyMenu.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyMenu.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectManyMenu.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -67,9 +67,12 @@
<br/>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
Your selection: #{a4jAjaxBean.cars}
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ Your selection: #{a4jAjaxBean.cars}
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneListbox.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneListbox.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneListbox.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -66,9 +66,12 @@
<br/>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
Your selection: #{a4jAjaxBean.car}
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ Your selection: #{a4jAjaxBean.car}
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneMenu.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneMenu.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneMenu.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -67,9 +67,12 @@
<br/>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
Your selection: #{a4jAjaxBean.car}
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ Your selection: #{a4jAjaxBean.car}
+ </a4j:outputPanel>
</ui:define>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneRadio.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneRadio.xhtml 2010-09-21
16:04:06 UTC (rev 19289)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/a4jAjax/hSelectOneRadio.xhtml 2010-09-21
16:34:05 UTC (rev 19290)
@@ -67,9 +67,12 @@
<br/>
- <a4j:outputPanel id="output">
+ <a4j:outputPanel id="output1" layout="block">
Your selection: #{a4jAjaxBean.car}
</a4j:outputPanel>
+ <a4j:outputPanel id="output2" layout="block">
+ Your selection: #{a4jAjaxBean.car}
+ </a4j:outputPanel>
</ui:define>