raphael     2002/11/26 07:47:47

  Modified:    docs/site layout.html
  Added:       docs/site/images portal.png portaldom.png sequence1.png
                        sequence2.png sequence3.png
  Log:
  Update and complete initial layout documentation
  
  Revision  Changes    Path
  1.2       +33 -2     jakarta-jetspeed/docs/site/layout.html
  
  Index: layout.html
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/docs/site/layout.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- layout.html       22 Nov 2002 17:36:32 -0000      1.1
  +++ layout.html       26 Nov 2002 15:47:47 -0000      1.2
  @@ -185,7 +185,7 @@
         A typical portal page would combine all of these elements to render the full 
portal
         within a single Turbine screen area, as shown in the following schema:
       </p>
  -                                                <image src="images/layout.png" />
  +                                                <image src="images/layout.png" 
align="center" />
                                                   <p>
         This example also shows how the Jetspeed panes are handled by specialized 
controllers and
         controls, respectively <code>PanedPortletController</code> and 
<code>PanedPortletControl</code>.
  @@ -210,8 +210,39 @@
         <tr><td>
           <blockquote>
                                       <p>
  -      <strong>To be completed</strong>
  +      The Layout API which is the foundation of the portal page rendering in 
Jetspeed is loosely based
  +      on AWT design:      
       </p>
  +                                                <ul>
  +      <li>Portlet = AWT Component</li>
  +      <li>PortletSet = AWT Container</li>
  +      <li>PortletController = AWT LayoutManager</li>
  +    </ul>
  +                                                <p>
  +      There's no real equivalent to the <code>PortletControl</code> class, which 
mostly acts as a 
  +      managing proxy for an inner <code>Portlet</code> or <code>PortletSet</code>.
  +    </p>
  +                                                <image src="images/portal.png" 
align="center" />
  +                                                <p>
  +      Note that in this API, the <code>Portlet</code> class is used as a simple 
graphical widget 
  +      and thus although it's possible to overload its behavior to also have a 
servlet-like
  +      component lifecycle model, it's best to keep its subclass operations as 
simple as possible 
  +      and implement expensive business operations in other classes (Turbine tools, 
EJBs, etc...).
  +    </p>
  +                                                <p>
  +      The portal page is rendered by the portal engine using a document object 
model tree of portlet
  +      objects. This DOM tree is typically created by the <code>PortalToolkit</code> 
service from a 
  +      static PSML page description resource.
  +    </p>
  +                                                <image src="images/portaldom.png" 
align="center" />
  +                                                <p>
  +      The complete page rendering process is triggered by calling the 
<code>getContent</code> method
  +      on the root portlet object. The following sequences describe the standard 
layout sequence using
  +      the default Velocity based Turbine setup.
  +    </p>
  +                                                <image src="images/sequence1.png" 
align="center" />
  +                                                <image src="images/sequence2.png" 
align="center" />
  +                                                <image src="images/sequence3.png" 
align="center" />
                               </blockquote>
           </p>
         </td></tr>
  
  
  
  1.1                  jakarta-jetspeed/docs/site/images/portal.png
  
        <<Binary file>>
  
  
  1.1                  jakarta-jetspeed/docs/site/images/portaldom.png
  
        <<Binary file>>
  
  
  1.1                  jakarta-jetspeed/docs/site/images/sequence1.png
  
        <<Binary file>>
  
  
  1.1                  jakarta-jetspeed/docs/site/images/sequence2.png
  
        <<Binary file>>
  
  
  1.1                  jakarta-jetspeed/docs/site/images/sequence3.png
  
        <<Binary file>>
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to