Hi,
 
I was trying to create a layout by nesting more than one layout as shown
in the code below. However I can see only the top portlet in the browser
window. Other two portlets are not seen. What could be the reason for
this ?  Actually I found this piece of code  in the jetspeed-2
documentation.
 
========================================================================
======================================
CODE
------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<page>
  <!-- page info -->
  <title>Welcome to Jetspeed 2</title>  
 
  <!-- page decoration -->
  <defaults layout-decorator="simple" portlet-decorator="tigris"/>
 
  <!-- page fragments -->
  <fragment id="100393" type="layout"
name="jetspeed-layouts::VelocityOneColumn">
    <fragment id="100939" type="portlet"
name="j2-admin::LocaleSelector">
      <property layout="OneColumn" name="row" value="0"/>
    </fragment>                                
    <fragment id="100345" type="layout"
name="jetspeed-layouts::VelocityTwoColumns">
      <property layout="OneColumn" name="row" value="1"/>
      <property layout="TwoColumns" name="sizes" value="33%,66%"/>
      <fragment id="100121" type="portlet"
name="j2-admin::LoginPortlet">
        <property layout="TwoColumns" name="row" value="0"/>
        <property layout="TwoColumns" name="column" value="0"/>
      </fragment>                                
      <fragment id="100171" type="portlet" name="demo::UserInfoTest">
        <property layout="TwoColumns" name="row" value="0"/>
        <property layout="TwoColumns" name="column" value="1"/>
      </fragment>    
    </fragment>
  </fragment>
 
  <!-- security constraints -->
  <security-constraints>
    <security-constraints-ref>public-view</security-constraints-ref>
  </security-constraints>
</page>
========================================================================
===========================================
 
 
 
Thanks in  advance.
 
Regards,
Rajath.

Reply via email to