No, I don't think so (being no expert for the JSF expression language) it is not possible, as well as passing parameters to methods, which is even more restricting, I would say.
regards, Martin On Thu, 27 Jan 2005 17:31:50 -0500, Srikanth Madarapu <[EMAIL PROTECTED]> wrote: > 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 > >

