portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <anand.kulka...@e-zest.net>
Subject PSML fragment ID finds confusing
Date Thu, 01 Jan 1970 00:00:00 GMT
Hi,

Its really confusing in Jetspeed-2. I changed the id in the <fragment> tag. But sometimes
I get the body contents page as 50%, 50% layout and sometimes I do not see anything in body
contents. This change happens just because of changing fragment id inside PSML file.

When I read PSML basics on internet, it is said that the 'id' must be unique within the site.
And in my case it is certainly unique. Then why I am not getting 25% and 75% layout using
VelocityTwoColumns2575 layout pattern?

Is it a bug in Jetspeed-2?
Please share your comments.

Thanks.
regards,

Anand




> 
> From: "Sie, Yang" <yang.sie@fmr.com>
> Date: 2006/12/23 Sat PM 01:03:08 EST
> To: "Jetspeed Developers List" <jetspeed-dev@portals.apache.org>
> Subject: RE: RE: PSML: VelocityTwoColumns2575 does not work
> 
> Your psml is fine. I plugged in demo portlets and 2575 worked OK. In my
> last post, I suggested you try to make the fragment id different, did
> you try that??  i.e. make:
> 
> <fragment id="mtf" type="layout"  
> to
> <fragment id="anotherID" type="layout" 
> 
> what I wondered was that you started with mtf with 5050 to begin with,
> then changed to 2575.
> 
> ---Yang
> 
> 
> 
> 
> 
> >-----Original Message-----
> >From: anand.kulkarni@e-zest.net [mailto:anand.kulkarni@e-zest.net]
> >Sent: Saturday, December 23, 2006 10:01 AM
> >To: Jetspeed Developers List
> >Subject: Re: RE: PSML: VelocityTwoColumns2575 does not work
> >
> >Hi Yang,
> >
> >Thanks for your quick response.
> >As per your suggestions, I went through portlet.xml file. I saw there
> >various portlets/layouts mapped and one of them was of course
> >VelocityTwoColumns2575. I have tried all options of layout but its
> always
> >dividing my screens as 50%, 50%.
> >For your information, I am giving you my PSML definition. You please
> tell
> >me whats the wrong:
> >
> >
> >
> ><?xml version="1.0" encoding="UTF-8"?>
> >
> ><page id="/corporate.psml" hidden="false">
> >
> >	<title>Corporate</title>
> >	<metadata name="title" xml:lang="en">Estel Corporate</metadata>
> >
> >	<defaults skin="orange" layout-decorator="simple" portlet-
> >decorator="clear" />
> >
> >	<fragment id="mtf" type="layout" name="jetspeed-
> >layouts::VelocityTwoColumns2575">
> >	      <fragment id="mtf-1" type="portlet"
> >name="MTF::Estel_Corporate_ItemList">
> >	        <property layout="TwoColumns" name="row" value="0"/>
> >	        <property layout="TwoColumns" name="column" value="0"/>
> >	      </fragment>
> >	      <fragment id="mtf-2" type="portlet"
> >name="MTF::CMSPageVisualizationPortlet">
> >	        <property layout="TwoColumns" name="row" value="0"/>
> >	        <property layout="TwoColumns" name="column" value="1"/>
> >	      </fragment>
> >  </fragment>
> >
> >
> >	<security-constraints>
> >
> <security-constraints-ref>public-view</security-constraints-
> >ref>
> >	</security-constraints>
> ></page>
> >
> >Kindly send the reply as soon as possible.
> >Thanks.
> >regards,
> >
> >Anand
> >



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message