[jboss-cvs] jboss-seam/ui/src/main/java/org/jboss/seam/ui/component ...
Peter Muir
peter at bleepbleep.org.uk
Thu Nov 29 17:33:58 EST 2007
User: pmuir
Date: 07/11/29 17:33:58
Modified: ui/src/main/java/org/jboss/seam/ui/component
UISeamCommandBase.java
Log:
Add conversationName attribute
Revision Changes Path
1.10 +13 -0 jboss-seam/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UISeamCommandBase.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- UISeamCommandBase.java 17 Oct 2007 09:40:26 -0000 1.9
+++ UISeamCommandBase.java 29 Nov 2007 22:33:58 -0000 1.10
@@ -83,6 +83,13 @@
url.addParameter(uiPropagation);
}
+ if (getConversationName() != null)
+ {
+ UIConversationName name = UIConversationName.newInstance();
+ name.setValue(getConversationName());
+ url.addParameter(name);
+ }
+
ValueExpression taskInstanceValueExpression = getValueExpression("taskInstance");
if (taskInstanceValueExpression != null)
{
@@ -115,6 +122,10 @@
public abstract void setFragment(String fragment);
+ public abstract void setConversationName(String name);
+
+ public abstract String getConversationName();
+
public UISelection getSelection()
{
UIData parentUIData = getParentUIData();
@@ -142,6 +153,8 @@
}
}
+
+
public UIData getParentUIData()
{
UIComponent parent = this.getParent();
More information about the jboss-cvs-commits
mailing list