Following is code extract --

At the TOP level, there can only be ONE fragment. So nesting everything in one parent fragment. This top level fragment has 2 children. First child has a 2 col layout, and the second child has a 3 column layout.

<fragment id="dp-ar-as-1" type="layout" name="jetspeed-layouts::VelocityOneColumn"> <fragment id="dp-ar-1" type="layout" name="jetspeed-layouts::VelocityTwoColumnsSmallRight">
     <property layout="OneColumn" name="row" value="0"/>
<fragment id="dp-as-1" type="portlet" name="tagportal::CompanyMaintPortlet">
       <property layout="TwoColumns" name="row" value="0" />
       <property layout="TwoColumns" name="column" value="0" />
     </fragment>
<fragment id="dp-ar-1.5" type="layout" name="jetspeed-layouts::VelocityOneColumn">
       <property layout="TwoColumns" name="row" value="0" />
       <property layout="TwoColumns" name="column" value="1" />
<fragment id="dp-as-1.5" type="portlet" name="tagportal::CompanyLookupPortlet">
         <property layout="OneColumn" name="row" value="0"/>
       </fragment>
<fragment id="dp-as-2" type="portlet" name="tagportal::ContactLookupPortlet">
         <property layout="OneColumn" name="row" value="1"/>
       </fragment>
<fragment id="dp-as-2.5" type="portlet" name="tagportal::CompTypePortlet">
         <property layout="OneColumn" name="row" value="2"/>
       </fragment>
     </fragment>
   </fragment>
<fragment id="dp-ar-3" type="layout" name="jetspeed-layouts::VelocityThreeColumns">
     <property layout="OneColumn" name="row" value="1"/>
<fragment id="companyclassmaint1" type="portlet" name="tagportal::CompMpidPortlet">
       <property layout="ThreeColumns" name="row" value="0" />
       <property layout="ThreeColumns" name="column" value="0" />
     </fragment>
<fragment id="dp-am-1" type="portlet" name="tagportal::CompanyClassPortlet">
       <property layout="ThreeColumns" name="row" value="0" />
       <property layout="ThreeColumns" name="column" value="1" />
     </fragment>
<fragment id="dp-am-2" type="portlet" name="tagportal::CompanyLevelPortlet">
       <property layout="ThreeColumns" name="row" value="0" />
       <property layout="ThreeColumns" name="column" value="2" />
     </fragment>
   </fragment>
 </fragment>


HTH,
Amit

----Original Message Follows----
From: Aaron Evans <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[email protected]>
To: [email protected]
Subject: Re: Layout Portlets
Date: Wed, 30 Nov 2005 18:00:44 +0000 (UTC)

Shah Amit <amit_shah25 <at> hotmail.com> writes:

> Also one thing that I had to sort of "hunt" and find was nesting layouts.
> That feature is really very powerful and handy in creating complicated
> layouts. For example, we can have one row with 2 columns, second row with 3
> columns  and then fourth row with 2 columns etc. etc. If there were an
> example like that shipped somewhere with jetspeed, I think that could help
> someone ...
>
> Thanks,
> Amit

Amit, how *do* you do that? That *would* be very useful.


Is it simply a matter of nesting the fragment tags?


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