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 Prashant <pr...@indicussoftware.com> on 2006/06/16 04:26:01 UTC
about VelocityTwoColumns layout
Hello,
I am using velocity as view for my portlets.
Now i am using VelocityTwoColumns layout for displaying the content as
two columns .. but the portlets contents gets displayed as 2 rows
instead..
When i saw html source of the page it seems due to tag <div id="c_">
it is displaying as 2 rows .. when i commented this tag the contents are
getting displayed as 2 columns..
I have also tried to use VelocityTwoColumnsTable but there is some
problem with this layout and the decorators were not applied in this
case.
I think i have to create my own layout !! But i have no idea about
VelocityTwoColumns layout implementation..
Can anybody provide me more information about VelocityMultiColumn
implementation and what can be done to customize it .
thanks and regards
prashant
--
Prashant <pr...@indicussoftware.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: AW: about VelocityTwoColumns layout
Posted by Prashant <pr...@indicussoftware.com>.
Hello,
Thanks for prompt reply.
I am using Jetspeed 2.
I think if i can create my own layout like VelocityTwoColumns , it will
help to fulfil the GUI needs..
This customized layout will add some specific tags around the portlets..
Can you guide me How can I achieve this in Jetspeed 2.
regards
prashant
--
Prashant <pr...@indicussoftware.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
AW: about VelocityTwoColumns layout
Posted by ap...@salesfactory.org.
for JS1: open controllers.xreg and append a new layout - like this
example:
<portlet-controller-entry name="TwoColumnsRight_small"
hidden="false">
<meta-info>
<title>Two columns (10/90)</title>
</meta-info>
<classname>org.apache.jetspeed.portal.controllers.VelocityPortletControl
ler</classname>
<parameter name="template" value="multicolumn.vm"
hidden="false"/>
<parameter name="action"
value="controllers.MultiColumnControllerAction"
hidden="false"/>
<parameter name="sizes" value="10%,90%" hidden="false"/>
<parameter name="cols" value="2" hidden="false"/>
<media-type ref="html"/>
</portlet-controller-entry>
Here is a two-colums-layout defined. the left col is 10%, the right one
90%
Hope this helps.
cu
-----Ursprüngliche Nachricht-----
Von: Prashant [mailto:prashant@indicussoftware.com]
Gesendet: Freitag, 16. Juni 2006 04:26
An: jetspeed-user@portals.apache.org
Betreff: about VelocityTwoColumns layout
Hello,
I am using velocity as view for my portlets.
Now i am using VelocityTwoColumns layout for displaying the content as
two columns .. but the portlets contents gets displayed as 2 rows
instead..
When i saw html source of the page it seems due to tag <div id="c_">
it is displaying as 2 rows .. when i commented this tag the contents are
getting displayed as 2 columns..
I have also tried to use VelocityTwoColumnsTable but there is some
problem with this layout and the decorators were not applied in this
case.
I think i have to create my own layout !! But i have no idea about
VelocityTwoColumns layout implementation..
Can anybody provide me more information about VelocityMultiColumn
implementation and what can be done to customize it .
thanks and regards
prashant
--
Prashant <pr...@indicussoftware.com>
---------------------------------------------------------------------
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