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 Mailing List" <user@struts.apache.org> > Date: Friday, April 4, 2008, 11:09 AM > Are you sure that "myBean" is not null? > > musachy > > On Fri, Apr 4, 2008 at 2:05 PM, akash agrawal > <[EMAIL PROTECTED]> wrote: > > Here is my JSP snippet. isXyz() does not work for me. > What am I doing incorrectly? > > > > <s:set name="myBean" > value="myBeanObject"></s:set> > > > > <s:checkbox name="xyz" > label="xyzLabel" value="%{#myBean.xyz}" > required="true" > tooltip="xyzTooltip"/> > > > > 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 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" 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. 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 with isXyz() instead of getXyz(). > > > > > > > > Thx > > > > > > > > -Akash > > > > > > > > > > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > > > You rock. That's why Blockbuster's > offering > > > you one month of Blockbuster Total Access, No > Cost. > > > > > http://tc.deals.yahoo.com/tc/blockbuster/text5.com > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > -- > > > "Hey you! Would you help me to carry the > stone?" > > > Pink Floyd > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > ____________________________________________________________________________________ > > You rock. That's why Blockbuster's offering > you one month of Blockbuster Total Access, No Cost. > > http://tc.deals.yahoo.com/tc/blockbuster/text5.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > -- > "Hey you! Would you help me to carry the stone?" > Pink Floyd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]