Hi Yang, Sorry to continue the same topic about PSML VelocityTwoColumns2575 pattern. You had given me the modified PSML file. I saved it with different name, with completely different 'ids' and executed inside Jetspeed-2. Sorry, but still I am getting 50%, 50% layout.
I think there is some problem with my Jetspeed-2 version. I had downloaded "Jetspeed2.0-MultiDb-install.jar" file from the URL http://portals.apache.org/jetspeed-2/download.html. Is the same version you are working on? You said that you are working on "2.1-dev". May I get that version. Please let me know the UEL for its download. Sorry for the inconvenience. Thanks. regards, Anand > > From: "Sie, Yang" <[EMAIL PROTECTED]> > Date: 2006/12/24 Sun AM 10:24:18 EST > To: "Jetspeed Developers List" <[email protected]> > Subject: RE: PSML fragment ID finds confusing > > Anand: > > Take a look at the following psml that you sent yesterday. I replaced > with demo portlets. Try to save this file to some other name and test it > out. Everything worked well, 2575 TwoColumns layout. I was also able to > change the layout to anything that I want. Nothing was wrong. I am using > 2.1-dev, Jetspeed-2.0 was the same as well in that regards. > > What needs to pay attention is the id in the layout fragment: > > <fragment id="mtf" type="layout" > > The id has to be unique. If you use the same id with a different name, > you need to restart Jetspeed after you change it. Try use an ID that you > *never* used before, restart jetspeed anyayway. Then you should be > fine. > > If you want to know what is actually used for the id you are assigning, > please take a look at Portlet_entity table and see what portletName is > when id is 'mtf'. You will get more info. Restart Jetspeed after any > manual change... > > ---Yang > > > ------------------------------------------------------------------ > > <?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="demo::BookmarkPortlet"> > <property layout="TwoColumns" name="row" value="0"/> > <property layout="TwoColumns" name="column" value="0"/> > </fragment> > <fragment id="mtf-2" type="portlet" > name="demo::UserInfoTest"> > <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> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
