Author: charles.crouch(a)jboss.com
Date: 2009-03-05 16:42:33 -0500 (Thu, 05 Mar 2009)
New Revision: 179
Modified:
trunk/core/src/main/java/org/jboss/on/embedded/ui/configuration/resource/ResourceConfigurationUIBean.java
Log:
EMBJOPR-86 @End(ifOutcome... wasnt working so replace it with Conversation.end()
Modified:
trunk/core/src/main/java/org/jboss/on/embedded/ui/configuration/resource/ResourceConfigurationUIBean.java
===================================================================
---
trunk/core/src/main/java/org/jboss/on/embedded/ui/configuration/resource/ResourceConfigurationUIBean.java 2009-03-05
19:01:00 UTC (rev 178)
+++
trunk/core/src/main/java/org/jboss/on/embedded/ui/configuration/resource/ResourceConfigurationUIBean.java 2009-03-05
21:42:33 UTC (rev 179)
@@ -41,6 +41,7 @@
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Out;
import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.core.Conversation;
import org.jboss.seam.faces.FacesMessages;
import javax.faces.application.FacesMessage;
@@ -157,7 +158,6 @@
*
* @return String Results of the save success or failure.
*/
- @End(ifOutcome={"success, cancel"}, beforeRedirect = true)
public String saveConfiguration()
{
String result = Constants.OUTCOME_FAILURE;
@@ -174,6 +174,10 @@
break;
}
}
+
+ if (result == "success") {
+ Conversation.instance().end(true);
+ }
return result;
}
Show replies by date