portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portals-bridges/myfaces/src/java/org/apache/portals/bridges/myfaces FacesPortlet.java
Date Sat, 27 Nov 2004 17:31:32 GMT
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: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message