From: Leif J. <le...@us...> - 2007-06-10 20:11:37
|
User: leifj Date: 07/06/10 13:11:40 Modified: andromda-jsf2/src/main/resources/templates/jsf2/flow ActionForward.java.vsl Log: pass initial request parameters through Revision Changes Path 1.2 +1 -1 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/flow/ActionForward.java.vsl Index: ActionForward.java.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/flow/ActionForward.java.vsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- ActionForward.java.vsl 5 Dec 2006 19:39:29 -0000 1.1 +++ ActionForward.java.vsl 10 Jun 2007 20:11:40 -0000 1.2 @@ -48,7 +48,7 @@ #end #if (!$useCase.allForwards.empty) String forwardPath = ${managedBeansPackage}.UseCaseForwards.getPath(controller.${action.controllerAction}()); - response.sendRedirect(request.getContextPath() + forwardPath); + response.sendRedirect(request.getContextPath() + forwardPath + (request.getQueryString() != null ? "?"+request.getQueryString() : "")); #else controller.${action.controllerAction}(); #end |