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 Konrad Billewicz <kb...@infovide.pl> on 2005/11/08 09:02:23 UTC

Layout configuration

Hi,

I will give question by example. Inside file portlet.xml of jetspeed-layouts 
I would like to do something like this:

<portlet id="VelocityTwoColumnsSmallLeft">
<portlet-name>VelocityTwoColumnsSmallLeft</portlet-name>
...
<init-param>
<name>columns</name>
<value>2</value>
</init-param>
<init-param>
<name>sizes</name>
<value>200,*</value>
</init-param>
<init-param>
<name>layoutType</name>
<value>TwoColumns</value>
</init-param>
<portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
<expiration-cache>-1</expiration-cache>
...
</portlet>

But... I'm getting an exception...

java.lang.NumberFormatException: For input string: "*"

...and... 200 is not interpreted as 200 pixels (what was my idea) but as 
200%.

How to handle these problems?

Best regards,
Konrad Billewicz




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