On Sat, Sep 22, 2001 at 02:52:17AM +0200, Dirk Jaeckel wrote:
> On Fri, Sep 21, 2001 at 09:25:31AM -0400, Terence Jacyno wrote:
> > Hi.
> > 
> > 
> > Struts would call getLogin() or getCancel(), depending on whether the
> > user clicked "Login" or "Cancel".  You can then test which button was
> > clicked by calling isCancelPressed() and isCancelPressed().  Trust me.
> > It works.
> > 
> 
> Yeah, it works. Is that documented anywhere? How did you find out?
> I rememeber asking this twice on this list and getting no answer. 
> 

Thinking about this for a second, I found out why the getter method
is called.  name.x is treated as a nested property. And so is
name.y. The getName()-Method is called twice.

Maybe this could be documented. Please!


Dirk



Reply via email to