You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Sébastien Pérochon <se...@neuf.fr> on 2006/03/18 22:08:45 UTC

OneColumn layout

 Hi,

I want only 1 portlet on a page, so I use the VelocityOneColumn layout
in order to display the portlet in maximized state. But it doesn't (it's
stay in normal state). What's wrong ?

<fragment id="dp-1" type="layout"
name="jetspeed-layouts::VelocityOneColumn">
<fragment id="dp-22" type="portlet"
name="j2-admin::ForgottenPasswordPortlet">
<property name="row" value="0"/>
</fragment>
</fragment>

Thanks,
Sebastien.

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


Re: OneColumn layout

Posted by Randy Watler <wa...@wispertel.net>.
The OneColumn layout and portlet window state are not related. There is
no way to specify the portlet window state in PSML at the moment. Will
be added shortly though!

Randy 

On Sat, 2006-03-18 at 22:08 +0100, Sébastien Pérochon wrote:
>  Hi,
> 
> I want only 1 portlet on a page, so I use the VelocityOneColumn layout
> in order to display the portlet in maximized state. But it doesn't (it's
> stay in normal state). What's wrong ?
> 
> <fragment id="dp-1" type="layout"
> name="jetspeed-layouts::VelocityOneColumn">
> <fragment id="dp-22" type="portlet"
> name="j2-admin::ForgottenPasswordPortlet">
> <property name="row" value="0"/>
> </fragment>
> </fragment>
> 
> Thanks,
> Sebastien.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 


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


Re: OneColumn layout

Posted by Sébastien Pérochon <se...@neuf.fr>.
Thanks all for yours answers...

After some tests, it appears that the behavior is depending both of the 
selected page theme and the selected portlet theme...
Sometimes, the portlet takes all the width... sometimes just the half... 
just by changing either the theme page or the theme portlet...

Scott T Weaver a écrit :
> Take a look at /src/webapp/WEB-INF/pages/jpetstore.psml for a reference.
>
> -Scott
>
>   
>> -----Original Message-----
>> From: Scott T Weaver [mailto:scotts-jetspeed-list@binary-designs.net]
>> Sent: Monday, March 20, 2006 10:10 AM
>> To: 'Jetspeed Users List'
>> Subject: RE: OneColumn layout
>>
>> Try using the "pretty-single-portlet" decoration as your portlet
>> decoration.
>>
>> Regards,
>> -Scott
>>
>>     
>>> -----Original Message-----
>>> From: Sébastien Pérochon [mailto:sebastien.perochon@neuf.fr]
>>> Sent: Saturday, March 18, 2006 4:09 PM
>>> To: Jetspeed Users List
>>> Subject: OneColumn layout
>>>
>>>  Hi,
>>>
>>> I want only 1 portlet on a page, so I use the VelocityOneColumn layout
>>> in order to display the portlet in maximized state. But it doesn't (it's
>>> stay in normal state). What's wrong ?
>>>
>>> <fragment id="dp-1" type="layout"
>>> name="jetspeed-layouts::VelocityOneColumn">
>>> <fragment id="dp-22" type="portlet"
>>> name="j2-admin::ForgottenPasswordPortlet">
>>> <property name="row" value="0"/>
>>> </fragment>
>>> </fragment>
>>>
>>> Thanks,
>>> Sebastien.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>>       
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>     
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>   

RE: OneColumn layout

Posted by Scott T Weaver <sc...@binary-designs.net>.
Take a look at /src/webapp/WEB-INF/pages/jpetstore.psml for a reference.

-Scott

> -----Original Message-----
> From: Scott T Weaver [mailto:scotts-jetspeed-list@binary-designs.net]
> Sent: Monday, March 20, 2006 10:10 AM
> To: 'Jetspeed Users List'
> Subject: RE: OneColumn layout
> 
> Try using the "pretty-single-portlet" decoration as your portlet
> decoration.
> 
> Regards,
> -Scott
> 
> > -----Original Message-----
> > From: Sébastien Pérochon [mailto:sebastien.perochon@neuf.fr]
> > Sent: Saturday, March 18, 2006 4:09 PM
> > To: Jetspeed Users List
> > Subject: OneColumn layout
> >
> >  Hi,
> >
> > I want only 1 portlet on a page, so I use the VelocityOneColumn layout
> > in order to display the portlet in maximized state. But it doesn't (it's
> > stay in normal state). What's wrong ?
> >
> > <fragment id="dp-1" type="layout"
> > name="jetspeed-layouts::VelocityOneColumn">
> > <fragment id="dp-22" type="portlet"
> > name="j2-admin::ForgottenPasswordPortlet">
> > <property name="row" value="0"/>
> > </fragment>
> > </fragment>
> >
> > Thanks,
> > Sebastien.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org



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


RE: OneColumn layout

Posted by Scott T Weaver <sc...@binary-designs.net>.
Try using the "pretty-single-portlet" decoration as your portlet decoration.

Regards,
-Scott

> -----Original Message-----
> From: Sébastien Pérochon [mailto:sebastien.perochon@neuf.fr]
> Sent: Saturday, March 18, 2006 4:09 PM
> To: Jetspeed Users List
> Subject: OneColumn layout
> 
>  Hi,
> 
> I want only 1 portlet on a page, so I use the VelocityOneColumn layout
> in order to display the portlet in maximized state. But it doesn't (it's
> stay in normal state). What's wrong ?
> 
> <fragment id="dp-1" type="layout"
> name="jetspeed-layouts::VelocityOneColumn">
> <fragment id="dp-22" type="portlet"
> name="j2-admin::ForgottenPasswordPortlet">
> <property name="row" value="0"/>
> </fragment>
> </fragment>
> 
> Thanks,
> Sebastien.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org



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