struts-user mailing list archives

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

<snip-o-la />

> --------
> 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. gotta love 'em.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message