[jboss-svn-commits] JBL Code SVN: r13617 - labs/jbosslabs/trunk/portal-extensions/forge-mapper/src/java/org/jboss/labs/mapper/command.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Jul 18 18:35:20 EDT 2007
Author: adamw
Date: 2007-07-18 18:35:20 -0400 (Wed, 18 Jul 2007)
New Revision: 13617
Modified:
labs/jbosslabs/trunk/portal-extensions/forge-mapper/src/java/org/jboss/labs/mapper/command/MainCF.java
Log:
Redirects
Modified: labs/jbosslabs/trunk/portal-extensions/forge-mapper/src/java/org/jboss/labs/mapper/command/MainCF.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-mapper/src/java/org/jboss/labs/mapper/command/MainCF.java 2007-07-18 21:16:52 UTC (rev 13616)
+++ labs/jbosslabs/trunk/portal-extensions/forge-mapper/src/java/org/jboss/labs/mapper/command/MainCF.java 2007-07-18 22:35:20 UTC (rev 13617)
@@ -97,7 +97,7 @@
rest = "";
}
- sendRedirect(invocation, "/developers" + rest);
+ sendRedirect(invocation, "/developers/" + rest);
return null;
}
}
@@ -108,6 +108,14 @@
sendRedirect(invocation, "/" + rest);
return null;
+ } else if ("jbossrules".equals(parser.getFirstToken())) {
+ String rest = parser.getRest();
+
+ if (rest == null) {
+ rest = "";
+ }
+
+ sendRedirect(invocation, "/drools/" + rest);
}
// End of redirects.
More information about the jboss-svn-commits
mailing list