struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bOOyah <boo...@nowhere.org>
Subject Re: Problem with custom ActionMapping and <set-property ... />
Date Tue, 06 Apr 2004 20:35:58 GMT
chris wrote:

<snip-o-la />

> MUST NOT
> --------
> implement a "public boolean is{ParamName}()" method
> - doing so will prohibit the set{ParamName} method's invocation via the 
> <set-property ...>

Worked that out the hard way myself two days ago. I thought the 
convention was to name the getter for a boolean 'isFlag()'.  But not on 
Planet Struts.  After blubbing like a stuck pig for an hour I finally 
stabbed in the dark and named my getter 'getFlag()'.  Presto-hey!  It 
all worked.

Frameworks...you gotta love 'em.

-- 
bOOyah


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


Mime
View raw message