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/portal/src/webapp/WEB-INF/pages default-page.psml
Date Mon, 29 Mar 2004 04:51:48 GMT
taylor      2004/03/28 20:51:48

  Modified:    portal/src/java/org/apache/jetspeed/engine/servlet
                        ServletRequestImpl.java
               portal/src/java/org/apache/jetspeed/tools/pamanager
                        PortletApplicationManager.java
               portal/src/webapp/WEB-INF/pages default-page.psml
  Log:
  Bug in ServletRequestImpl where post parameters failed to appear on targeted portlet's getParameter(s)(Map)
  This fix is not the final solution, but will enable portlets to test handling posted form
datas
  
  Added pickanumber portlet to default PSML
  
  Revision  Changes    Path
  1.7       +7 -1      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestImpl.java
  
  Index: ServletRequestImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ServletRequestImpl.java	8 Mar 2004 00:26:30 -0000	1.6
  +++ ServletRequestImpl.java	29 Mar 2004 04:51:48 -0000	1.7
  @@ -81,6 +81,10 @@
   
       public Map getParameterMap()
       {
  +        /*
  +         * DST TODO: REMOVING this code for now so that FORM post parameters are passed
on.
  +         * I will schedule time to rewrite and ensure it works with the spec 
  +         * 
           //get control params
           if (portletParameters == null)
           {
  @@ -122,6 +126,8 @@
           }
   
           return Collections.unmodifiableMap(portletParameters);
  +        */
  +        return Collections.unmodifiableMap(super.getParameterMap());
       }
   
       public Enumeration getParameterNames()
  
  
  
  1.9       +5 -5      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java
  
  Index: PortletApplicationManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- PortletApplicationManager.java	8 Mar 2004 00:34:16 -0000	1.8
  +++ PortletApplicationManager.java	29 Mar 2004 04:51:48 -0000	1.9
  @@ -230,7 +230,7 @@
                   else
                   {
                       // Uses war file and applicationServerName
  -                    deployServer(strWarFileName, strAppServer, strPortletAppName, strServer,
intServerPort, strUserName, strPassword);
  +                    // DST: deployServer(strWarFileName, strAppServer, strPortletAppName,
strServer, intServerPort, strUserName, strPassword);
                   }
               }
           }
  @@ -400,7 +400,7 @@
        * @param paName The Portlet Application name
        * @throws PortletApplicationException
        */
  -
  +/*
       public static void deployServer(String warFile, String appServer, String strPortletAppName,
String strServer, int intServerPort, String strUser, String strPassword)
       {
           Object dc;
  @@ -409,7 +409,7 @@
               
               try
               {
  -				dc = new CatalinaPAM(strServer, intServerPort, strUser, strPassword);
  +                dc = new CatalinaPAM(strServer, intServerPort, strUser, strPassword);
                   ((Deployment) dc).deploy(warFile, strPortletAppName);
               }
               catch (PortletApplicationException e)
  @@ -423,7 +423,7 @@
               System.out.println("Application Server: " + appServer + " not supported");
           }
       }
  -
  +*/
       /**
        * Prepares the specified war file for deployment.
        *
  
  
  
  1.15      +4 -0      jakarta-jetspeed-2/portal/src/webapp/WEB-INF/pages/default-page.psml
  
  Index: default-page.psml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/pages/default-page.psml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- default-page.psml	22 Mar 2004 23:26:39 -0000	1.14
  +++ default-page.psml	29 Mar 2004 04:51:48 -0000	1.15
  @@ -40,5 +40,9 @@
         <property layout="TwoColumns" name="row" value="1" />
         <property layout="TwoColumns" name="column" value="1" />
       </fragment>
  +    <fragment id="7" type="portlet" name="HW_App::PickANumberPortlet" decorator="minty-blue">
  +      <property layout="TwoColumns" name="row" value="2" />
  +      <property layout="TwoColumns" name="column" value="0" />
  +    </fragment>        
     </fragment>
   </page>
  
  
  

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