portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/layouts JetspeedJspLayout.java
Date Thu, 08 Mar 2001 16:26:18 GMT
ingo        01/03/08 08:26:18

  Modified:    src/java/org/apache/jetspeed/modules/layouts
                        JetspeedJspLayout.java
  Log:
  [MLS] Multi- markup & language support. First "simple" implementation.
  
  Revision  Changes    Path
  1.16      +5 -3      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/layouts/JetspeedJspLayout.java
  
  Index: JetspeedJspLayout.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/layouts/JetspeedJspLayout.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- JetspeedJspLayout.java	2001/03/07 06:43:53	1.15
  +++ JetspeedJspLayout.java	2001/03/08 16:26:08	1.16
  @@ -68,7 +68,7 @@
    *   The Ecs.jsp will handle ecs-screen processing.
    *
    * @author <a href="mailto:ingo@raleigh.ibm.com">Ingo Schuster</a>
  - * @version $Id: JetspeedJspLayout.java,v 1.15 2001/03/07 06:43:53 taylor Exp $
  + * @version $Id: JetspeedJspLayout.java,v 1.16 2001/03/08 16:26:08 ingo Exp $
    */
   public class JetspeedJspLayout extends Layout
   {
  @@ -83,19 +83,21 @@
   
           // set the content type (including charset)
           data.getResponse().setContentType(data.getContentType());
  -        Log.note("JetspeedJspLayout: set type to "+data.getContentType());
  +        Log.note("JetspeedJspLayout: set response content type to " + data.getContentType());
   
           // tell turbine that the response is handled by the JSP system.
           data.declareDirectResponse();
   
           // Put the path to the screen template into the request.
  -        String path = jsp.getProperties().getProperty("templates", "/WEB-INF/templates/jsp")
+ "/screens/";
  +        String path = jsp.getProperties().getProperty("templates", "/WEB-INF/templates/jsp")
+ "/screens";
           data.getRequest().setAttribute("screenJsp", path + data.getScreenTemplate() );
  +        Log.note("JetspeedJspLayout: set 'screenJSP' to: " + path + data.getScreenTemplate()
);
   
           // Grab the layout template set in the JetspeedTemplatePage.  
           String templateName = data.getLayoutTemplate();
   
           // Finally, generate the layout template and output to the response
  +        Log.note("JetspeedJspLayout: forward request to: " +  "/layouts" + templateName);
           jsp.handleRequest(data, "/layouts" + templateName, false);
       }
       
  
  
  

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