[seam-commits] Seam SVN: r15398 - branches/enterprise/WFK-2_1/jboss-seam-debug/src/main/java/org/jboss/seam/debug/jsf2.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Thu Jan 17 07:36:21 EST 2013
Author: manaRH
Date: 2013-01-17 07:36:21 -0500 (Thu, 17 Jan 2013)
New Revision: 15398
Added:
branches/enterprise/WFK-2_1/jboss-seam-debug/src/main/java/org/jboss/seam/debug/jsf2/DebugRedirect.java
Log:
JBSEAM-5063 re-added DebugRedirect class for jboss-seam-debug module
Added: branches/enterprise/WFK-2_1/jboss-seam-debug/src/main/java/org/jboss/seam/debug/jsf2/DebugRedirect.java
===================================================================
--- branches/enterprise/WFK-2_1/jboss-seam-debug/src/main/java/org/jboss/seam/debug/jsf2/DebugRedirect.java (rev 0)
+++ branches/enterprise/WFK-2_1/jboss-seam-debug/src/main/java/org/jboss/seam/debug/jsf2/DebugRedirect.java 2013-01-17 12:36:21 UTC (rev 15398)
@@ -0,0 +1,30 @@
+package org.jboss.seam.debug.jsf2;
+
+import static org.jboss.seam.annotations.Install.BUILT_IN;
+import org.jboss.seam.annotations.Install;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
+import org.jboss.seam.faces.FacesManager;
+
+ at Name("org.jboss.seam.debug.jsf.debugRedirect")
+ at BypassInterceptors
+ at Install(debug = true, precedence = BUILT_IN, classDependencies = "javax.faces.context.FacesContext")
+public class DebugRedirect
+{
+ private String viewId;
+
+ public String getViewId()
+ {
+ return viewId;
+ }
+
+ public void setViewId(String viewId)
+ {
+ this.viewId = viewId;
+ }
+
+ public void execute()
+ {
+ FacesManager.instance().redirect(viewId, null, false);
+ }
+}
\ No newline at end of file
More information about the seam-commits
mailing list