Author: nbelaevski
Date: 2010-07-05 11:10:53 -0400 (Mon, 05 Jul 2010)
New Revision: 17718
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAttachQueue.java
root/ui/core/trunk/ui/src/test/java/org/richfaces/component/QueueRendererTest.java
Log:
https://jira.jboss.org/browse/RF-8752
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAttachQueue.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAttachQueue.java 2010-07-05
13:35:42 UTC (rev 17717)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAttachQueue.java 2010-07-05
15:10:53 UTC (rev 17718)
@@ -81,8 +81,12 @@
public abstract String getOnrequestdequeue();
@Attribute
- public abstract String getQueueId();
+ public abstract String getName();
+ public String getQueueId() {
+ return getName();
+ }
+
@Override
public String getFamily() {
return COMPONENT_FAMILY;
Modified:
root/ui/core/trunk/ui/src/test/java/org/richfaces/component/QueueRendererTest.java
===================================================================
---
root/ui/core/trunk/ui/src/test/java/org/richfaces/component/QueueRendererTest.java 2010-07-05
13:35:42 UTC (rev 17717)
+++
root/ui/core/trunk/ui/src/test/java/org/richfaces/component/QueueRendererTest.java 2010-07-05
15:10:53 UTC (rev 17718)
@@ -61,7 +61,7 @@
"'form': {'requestDelay': 400}," +
"'form:firstAttach': {'timeout': 300,
'requestGroupingId': 'request'}," +
"'second': {'requestDelay': 400, 'timeout': 100,
'ignoreDupResponses': true}," +
- "'form:linkAttach': {'timeout': 500}," +
+ "'form:linkAttach': {'timeout': 500, 'queueId':
'second'}," +
"'form:secondAttach': {}" +
"});";