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/src/java/org/apache/jetspeed/portal/portlets GenericMVCPortlet.java
Date Tue, 04 Nov 2003 10:37:06 GMT
taylor      2003/11/04 02:37:06

  Modified:    src/java/org/apache/jetspeed/portal/portlets
                        GenericMVCPortlet.java
  Log:
  changed URLEncoder.encode to be Java 1.3 compliant
  this code should be rewritten to use JetspeedLink interface
  i will leave it for Jun so that he can get experience with JetspeedLink
  
  Revision  Changes    Path
  1.7       +1 -8      jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/GenericMVCPortlet.java
  
  Index: GenericMVCPortlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/GenericMVCPortlet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- GenericMVCPortlet.java	2 Nov 2003 20:07:16 -0000	1.6
  +++ GenericMVCPortlet.java	4 Nov 2003 10:37:06 -0000	1.7
  @@ -226,14 +226,7 @@
               
               // FIXME: please use JetspeedLink to create Portal URLs           
               String docUrl = "portal/" + path + "/js_peid/" + portletId + "?action=controls.Print";
  -            try 
  -            {
  -                docUrl = URLEncoder.encode(docUrl, "UTF-8");
  -            } 
  -            catch (UnsupportedEncodingException e)   
  -            {
  -                e.printStackTrace();
  -            }
  +            docUrl = URLEncoder.encode(docUrl); //, "UTF-8");
               // END FIXME:
               
               HttpServletRequest request = rundata.getRequest();
  
  
  

---------------------------------------------------------------------
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