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/xdocs psml.xml
Date Tue, 25 Jan 2005 08:58:37 GMT
taylor      2005/01/25 00:58:37

  Modified:    xdocs    psml.xml
  Log:
  shell for PSML docs
  
  Revision  Changes    Path
  1.2       +202 -1    jakarta-jetspeed-2/xdocs/psml.xml
  
  Index: psml.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/xdocs/psml.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- psml.xml	18 Jan 2005 07:55:19 -0000	1.1
  +++ psml.xml	25 Jan 2005 08:58:36 -0000	1.2
  @@ -24,8 +24,209 @@
     </properties>
     <body>
   <section name="PSML">
  +<ul>
  +	 <li><a href="#Page">Page</a></li>	      
  +	 <li><a href="#Defaults">Defaults</a></li>	 
  +    <li><a href="#Title and Metadata">Title and Metadata</a></li>
  +    <li><a href="#Layout Fragments">Layout Fragments</a></li> 
  
  +    <li><a href="#Portlet Fragments">Portlet Fragments</a></li>
   
  +    <li><a href="#Security Constraints">Security Constraints</a></li>
       
  +</ul>
  +    
   <p>
  -PSML - The Portal Structured Markup Language
  +PSML is an acronym for Portal Structure Markup Language. It was created to allow content
structure and abstraction within Jetspeed.
  +PSML defines how portlets are aggregated, layed out, and decorated on a portal page. Note
that page layout is not a part of the Java
  +Portlet Standard API. Thus PSML is a Jetspeed-specific implementation. Also note that PSML
in Jetspeed-2 is different from PSML in 
  +Jetspeed-1. This document can be used as a reference guide to the elements of a PSML resource.
  +</p>
  +<p>
  +Here is an example PSML file:    
  +</p>
  +<source><![CDATA[
  +<page>
  +  <defaults
  +     skin="orange"
  +     layout-decorator="tigris"
  +     portlet-decorator="tigris"
  +  />
  +  <title>Welcome to Jetspeed 2</title>
  +  <metadata name="title" xml:lang="fr">
  +		Ma Premiere Page de PSML
  +  </metadata>
  +  <metadata name="title" xml:lang="ja">
  +		Jetspeed 2 �よ���
  +  </metadata>
  +
  +  <fragment id="dp-1" type="layout" name="jetspeed::VelocityTwoColumns">
  +    <fragment id="dp-3" type="portlet" name="pam::LocaleSelector">
  +      <property layout="TwoColumns" name="row" value="0" />
  +      <property layout="TwoColumns" name="column" value="0" />
  +    </fragment>                                
  +    <fragment id="dp-12" type="portlet" name="security::LoginPortlet">
  +      <property layout="TwoColumns" name="row" value="0" />
  +      <property layout="TwoColumns" name="column" value="1" />
  +    </fragment>                                
  +    <fragment id="dp-7" type="portlet" name="demo::PickANumberPortlet" >
  +      <property layout="TwoColumns" name="row" value="1" />
  +      <property layout="TwoColumns" name="column" value="0" />
  +    </fragment>        
  +    <fragment id="dp-16" type="portlet" name="demo::RoleSecurityTest">
  +      <property layout="TwoColumns" name="row" value="1" />
  +      <property layout="TwoColumns" name="column" value="1" />
  +    </fragment>
  +    <fragment id="dp-9" type="portlet" name="demo::IFramePortlet">
  +      <property layout="TwoColumns" name="row" value="2" />
  +      <property layout="TwoColumns" name="column" value="0" />
  +    </fragment>
  +    <fragment id="dp-17" type="portlet" name="demo::UserInfoTest">
  +      <property layout="TwoColumns" name="row" value="2" />
  +      <property layout="TwoColumns" name="column" value="1" />
  +    </fragment>
  +    <fragment id="dp-18" type="portlet" name="demo::BookmarkPortlet">
  +      <property layout="TwoColumns" name="row" value="3" />
  +      <property layout="TwoColumns" name="column" value="1" />
  +    </fragment>
  +  </fragment>
  +
  +  <security-constraints>
  +    <security-constraints-ref>public-view</security-constraints-ref>
  +  </security-constraints>
  +</page>
  +]]></source>
  +</section>
  +<section name='Page'>
  +<p>
  +The Page element is a simple container to hold all other PSML elements.
  +There are two valid attributes for the Page element:
  +</p>
  +<table>
  +    <tr>
  +    <th>id</th>
  +    <th>hidden</th>
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    </tr>
  +</table>
  +<p>Example:</p>  
  +<source><![CDATA[
  +<page id='mypage' hidden='false'>
  +...
  +</page>  
  +]]></source>
  +</section>
  +<section name='Defaults'>
  +<p>
  +The Defaults element defines the default layout decorator and default portlet decorator.
  +The default layout decorator is applied to all layout fragments which do NOT have a decorator
attribute.
  +The default portlet decorator is applied to all portlet fragments which do NOT have a decorator
attribute.
  +There are three valid attributes on the defaults element:
  +</p>
  +<table>
  +    <tr>
  +    <th>skin</th>
  +    <th>layout-decorator</th>
  +    <th>portlet-decorator</th>    
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    <td></td>    
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    <td></td>    
  +    </tr>
  +</table>
  +<p>Example:</p>  
  +<source><![CDATA[
  +]]></source>
  +</section>
  +
  +<section name='Title and Metadata'>
  +<p>
  +</p>
  +<table>
  +    <tr>
  +    <th></th>
  +    <th></th>
  +    <th></th>    
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    <td></td>    
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    <td></td>    
  +    </tr>
  +</table>
  +<p>Example:</p>  
  +<source><![CDATA[
  +]]></source>
  +</section>
  +
  +<section name='Layout Fragments'>
  +<p>
  +</p>
  +<table>
  +    <tr>
  +    <th></th>
  +    <th></th>
  +    <th></th>    
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    <td></td>    
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    <td></td>    
  +    </tr>
  +</table>
  +<p>Example:</p>  
  +<source><![CDATA[
  +]]></source>
  +</section>
  +
  +<section name='Portlet Fragments'>
  +<p>
  +</p>
  +<table>
  +    <tr>
  +    <th></th>
  +    <th></th>
  +    <th></th>    
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    <td></td>    
  +    </tr>
  +    <tr>
  +    <td></td>
  +    <td></td>
  +    <td></td>    
  +    </tr>
  +</table>
  +<p>Example:</p>  
  +<source><![CDATA[
  +]]></source>
  +</section>
  +
  +<section name='Security Constraints'>
  +<p>
  +<a href='bronco.html'>Link to Security Constraints Docs</a>
   </p>
   </section>
   
  
  
  

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