Hi,
Struts 2 tags have value attribute where name of property is used to read the
value from the bean. If the property is lets say xyz, tag looks for getXyz().
Is this possible to customize that so that instead of getXyz(), it looks for
isXyz()? My boolean property has accessors which starts
Struts 2(OGNL technically speaking) will call getX() or isX() if one
of them exist, when y.x is evaluated.
musachy
On Fri, Apr 4, 2008 at 1:37 PM, akash agrawal [EMAIL PROTECTED] wrote:
Hi,
Struts 2 tags have value attribute where name of property is used to read
the value from the bean.
: Musachy Barroso [EMAIL PROTECTED]
Subject: Re: Struts2 tags behaviour customizable? isXyz() instead of getXyz()
To: Struts Users Mailing List user@struts.apache.org
Date: Friday, April 4, 2008, 10:47 AM
Struts 2(OGNL technically speaking) will call getX() or
isX() if one
of them exist, when y.x
myBean is not null, There are other field which are not boolean and I do get
them fine.
Thx
--- On Fri, 4/4/08, Musachy Barroso [EMAIL PROTECTED] wrote:
From: Musachy Barroso [EMAIL PROTECTED]
Subject: Re: Struts2 tags behaviour customizable? isXyz() instead of getXyz()
To: Struts Users
On Fri, Apr 4, 2008 at 1:17 PM, akash agrawal [EMAIL PROTECTED] wrote:
myBean is not null, There are other field which are not boolean and I do get
them fine.
Is it boolean, or Boolean? I've seen situations where I was hoping
isX would return a reference to a Boolean (when reference with
) side.
Thx.
-Akash
--- On Fri, 4/4/08, David Durham, Jr. [EMAIL PROTECTED] wrote:
From: David Durham, Jr. [EMAIL PROTECTED]
Subject: Re: Struts2 tags behaviour customizable? isXyz() instead of getXyz()
To: Struts Users Mailing List user@struts.apache.org, [EMAIL PROTECTED]
Date: Friday
On Fri, Apr 4, 2008 at 1:39 PM, akash agrawal [EMAIL PROTECTED] wrote:
It is a Boolean property but I still think it should work no matter whether
it is boolean or Boolean. APIs I am using are not mine so I can't change the
bean, but there are workaround I can put in although they aren't
David Durham, Jr. wrote:
On Fri, Apr 4, 2008 at 1:39 PM, akash agrawal [EMAIL PROTECTED] wrote:
It is a Boolean property but I still think it should work no matter whether it
is boolean or Boolean. APIs I am using are not mine so I can't change the bean,
but there are workaround I can put in
8 matches
Mail list logo