taylor 2004/11/27 09:31:32 Modified: portals-bridges/myfaces/src/java/org/apache/portals/bridges/myfaces FacesPortlet.java Log: use a regex to properly replace thanks to Stephan Hesmer for pointing that one out Revision Changes Path 1.12 +1 -1 jakarta-jetspeed-2/portals-bridges/myfaces/src/java/org/apache/portals/bridges/myfaces/FacesPortlet.java Index: FacesPortlet.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/portals-bridges/myfaces/src/java/org/apache/portals/bridges/myfaces/FacesPortlet.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- FacesPortlet.java 30 Oct 2004 01:09:01 -0000 1.11 +++ FacesPortlet.java 27 Nov 2004 17:31:32 -0000 1.12 @@ -564,7 +564,7 @@ defaultView = facesContext.getViewRoot().getViewId(); } - portletRequest.setAttribute(REQUEST_SERVLET_PATH, defaultView.replaceAll(".jsp", ".jsf")); + portletRequest.setAttribute(REQUEST_SERVLET_PATH, defaultView.replaceAll("[.]jsp", ".jsf")); } else if (portletRequest instanceof RenderRequest) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]