[seam-commits] Seam SVN: r9257 - in branches/community/Seam_2_0/ui/src/main/java/org/jboss/seam/ui: util and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Oct 10 15:49:54 EDT 2008
Author: dan.j.allen
Date: 2008-10-10 15:49:54 -0400 (Fri, 10 Oct 2008)
New Revision: 9257
Modified:
branches/community/Seam_2_0/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java
branches/community/Seam_2_0/ui/src/main/java/org/jboss/seam/ui/util/ViewUrlBuilder.java
Log:
revert JBSEAM-3535
Modified: branches/community/Seam_2_0/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java
===================================================================
--- branches/community/Seam_2_0/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java 2008-10-10 19:37:59 UTC (rev 9256)
+++ branches/community/Seam_2_0/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java 2008-10-10 19:49:54 UTC (rev 9257)
@@ -110,13 +110,10 @@
url.addParameter(uiTaskId);
}
- if (!usedParameters.contains("dataModelSelection"))
+ UISelection uiSelection = getSelection();
+ if (uiSelection != null)
{
- UISelection uiSelection = getSelection();
- if (uiSelection != null)
- {
- url.addParameter(uiSelection);
- }
+ url.addParameter(uiSelection);
}
encodedUrl = url.getEncodedUrl();
Modified: branches/community/Seam_2_0/ui/src/main/java/org/jboss/seam/ui/util/ViewUrlBuilder.java
===================================================================
--- branches/community/Seam_2_0/ui/src/main/java/org/jboss/seam/ui/util/ViewUrlBuilder.java 2008-10-10 19:37:59 UTC (rev 9256)
+++ branches/community/Seam_2_0/ui/src/main/java/org/jboss/seam/ui/util/ViewUrlBuilder.java 2008-10-10 19:49:54 UTC (rev 9257)
@@ -40,7 +40,7 @@
public void addParameter(UIParameter parameter) throws UnsupportedEncodingException
{
String name = parameter.getName();
- if (parameter.getValue() != null && !(name.equals(page.getConversationIdParameter().getParameterName())
+ if (!(name.equals(page.getConversationIdParameter().getParameterName())
&& getParameters().containsKey(name)))
{
super.addParameter(parameter);
@@ -51,4 +51,4 @@
public String getEncodedUrl() {
return FacesContext.getCurrentInstance().getExternalContext().encodeActionURL(super.getEncodedUrl());
}
-}
+}
\ No newline at end of file
More information about the seam-commits
mailing list