Is this not possible ?

-----Original Message-----
From: Srikanth Madarapu 
Sent: Thursday, January 27, 2005 9:30 AM
To: [email protected]
Subject: Math in the expressions.


Hi

  How can I do some Math in the expressions, like the following...

                <h:panelGrid cellspacing="3" id="command" 
columns="#{(manageProfileFace.addressHelper.columnCount+1)}">

I am getting ClassCastException with this kind of expression. Is there any way 
to achieve this ? I tried with and without parenthesis. I am using this 
columnCount in couple of places, in one location I need whatever is returned by 
getColumnCount and here I need to add one.

TIA

-Srikanth Madarapu

Reply via email to