Hi,
I am new to Jetspeed 2 and portal development. I took an example from
http://portals.apache.org/jetspeed-2/guides/guide-psml.html#Layout_Fragments
to test nested layouts. Here is my psml file:
<?xml version="1.0" encoding="UTF-8"?>
<page id="/testlayout.psml" hidden="false">
<security-constraints>
<security-constraints-ref>public-view</security-constraints-ref>
</security-constraints>
<title>Layout Test</title>
<short-title>Layout Test</short-title>
<defaults skin="orange" layout-decorator="tigris"
portlet-decorator="tigris"/>
<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>
<metadata name="title" xml:lang="en">Testing nested layouts</metadata>
</page>
When I view the testlayout.psml page on jetspeed it gets the header
into the nested layout (I have two headers on my page). I had a look
at the source code and found out that it opens a new <html> tag for
the second layout fragment.
Is there a way to fix this problem? What am I doing wrong?
I'll be grateful for any suggestions...
Thanks,
Elf
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]