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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>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
>
>
>
>>
>> From: "Sie, Yang" <[EMAIL PROTECTED]>
>> Date: 2006/12/23 Sat AM 09:05:11 EST
>> To: "Jetspeed Developers List" <[email protected]>
>> Subject: RE: PSML: VelocityTwoColumns2575 does not work
>>
>>
>> jetspeed-layouts::VelocityTwoColumns2575 should work. That is what I
>> used in my page. Please refer to your
>> \Jetspeed\WEB-INF\apps\jetspeed-layouts\WEB-INF\portlet.xml for all
>> supported layouts
>>
>> One thing that I can think of is that your layout fragment id. Change
>> that to something else when specify your new 2575 layout.
>>
>> Also, the <value> attribute in the property should be coordinates of
the
>> current layout, as in the following meaning the first row (row=0) and
>> second column (column=1)
>> <property name="row" value="0"/>
>> <property name="column" value="1"/>
>>
>> No need to specify 'column' if you are using oneColumnLayout.
>>
>> HTH.
>>
>> ---Yang
>>
>>
>> >-----Original Message-----
>> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> >Sent: Saturday, December 23, 2006 7:47 AM
>> >To: Jetspeed Developers List
>> >Subject: PSML: VelocityTwoColumns2575 does not work
>> >
>> >Hi,
>> >
>> >I want to develop a web page which has sections like leftleaf and
body
>> >contents. Inside the leftleaf I am going to display the Item tree
>> structure.
>> >Whenever we click on the item, it will display the details of that
item
>> >inside the body contents section.
>> >
>> >Here I want 25% width to be occupied by leftleaf and 75% width to be
>> >occupied by body contents.
>> >
>> >So, I used "VelocityTwoColumns2575" as jetspeed layout.
>> >But it always gives me 50%, 50%
>> >
>> >I also tried to say:
>> >
>> ><fragment id="100345" type="layout" name="jetspeed-
>> >layouts::VelocityTwoColumns">
>> >      <property layout="OneColumn" name="row" value="1"/>
>> >      <property layout="TwoColumns" name="sizes" value="25%,75%"/>
>> >
>> >But it is also not working. Do you know how to divide the screen for
>> 25%,
>> >75% pattern?
>> >Kindly send me the details of such PSML.
>> >
>> >Thanks.
>> >regards,
>> >
>> >Anand
>> >
>> >
>> >
>> >
>> >
>>
>---------------------------------------------------------------------
>> >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]
>>
>>
>
>
>---------------------------------------------------------------------
>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