Author: lfryc(a)redhat.com
Date: 2010-11-16 11:16:33 -0500 (Tue, 16 Nov 2010)
New Revision: 20058
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JPollBean.java
Log:
added defaults for a4j:poll - simple (enabled: true, interval: 2500)
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JPollBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JPollBean.java 2010-11-16
16:14:39 UTC (rev 20057)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/A4JPollBean.java 2010-11-16
16:16:33 UTC (rev 20058)
@@ -58,8 +58,9 @@
logger.debug("initializing bean " + getClass().getName());
attributes = Attributes.getUIComponentAttributes(UIPoll.class, getClass());
+ attributes.setAttribute("enabled", true);
attributes.setAttribute("rendered", true);
- attributes.setAttribute("interval", 5000);
+ attributes.setAttribute("interval", 2500);
attributes.setAttribute("action", "increaseCounterAction");
attributes.setAttribute("actionListener",
"increaseCounterActionListener");
}
Show replies by date