Maneo,

This should work. Remove the 'simple' decorator definition... that is
normally not needed and might be confusing matters. Decorators for
nested layout portlets default to 'clear' internally but act as a layout
portlet.

Also, what version are you using? Nested layouts were broken in the 2.0
binary release IIRC. If you need a stable version that has them fixed,
build the 2.0.1 branch from source.

HTH,

Randy

On Tue, 2006-05-09 at 09:52 +0200, maneo wrote:
> Hi!
> 
> I took an example (from: 
> http://portals.apache.org/jetspeed-2/guides/guide-psml.html) of PSML 
> with nested fragment element.
> 
> <page>
>   <!-- page decoration -->
>   <defaults skin="orange" layout-decorator="tigris" 
> portlet-decorator="tigris"/>
> 
>   <!-- page fragments -->
>   <fragment id="10039x3" type="layout" 
> name="jetspeed-layouts::VelocityOneColumn">
>     <fragment id="10093x9" type="portlet" name="j2-admin::LocaleSelector">
>       <property layout="OneColumn" name="row" value="0"/>
>     </fragment>
>     <fragment id="10034x5" type="layout" 
> name="jetspeed-layouts::VelocityTwoColumns" decorator="simple">
>       <property layout="OneColumn" name="row" value="1"/>
>       <property layout="TwoColumns" name="sizes" value="33%,66%"/>
>       <fragment id="10012x1" type="portlet" name="j2-admin::LoginPortlet">
>         <property layout="TwoColumns" name="row" value="0"/>
>         <property layout="TwoColumns" name="column" value="0"/>
>       </fragment>
>       <fragment id="10017x1" type="portlet" name="demo::UserInfoTest">
>         <property layout="TwoColumns" name="row" value="0"/>
>         <property layout="TwoColumns" name="column" value="1"/>
>       </fragment>   
>     </fragment>
>   </fragment>
> ...
> </page>
> I've changed fragments ids to preserve them unique, and added "simple" 
> decorator to nested fragment.
> If i understand the idea behind nested elements correctly it should 
> result in layout similar to this :
>  A
> BC
> Instead of that i'm getting only A portlet. I use portal from  
> jetspeed2.0-MultiDb-install.jar.
> Does someone had this kind of problem? I'll be grateful for any clues.
> 
> Adam
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to