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:[EMAIL PROTECTED] 
Gesendet: Freitag, 16. Juni 2006 04:26
An: [email protected]
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 <[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