struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Re: [struts] More Struts Insanity
Date Thu, 06 Mar 2008 07:00:52 GMT
On Wed, Mar 5, 2008 at 10:53 PM, Dale Newfield <Dale@newfield.org> wrote:
> Chris Pratt wrote:
>  > <!-- Equals(): <s:property
>  > value='%{originalMember.name.equals(currentMember.name)}'/> -->
>
> > <!-- Equals(): <s:property
>  > value='%{CurrentMember.name.equals(originalMember.name)}'/> -->
>
>  Was that case typo (CurrentMember instead of currentMember) introduced
>  in transcription?  I would assume it would not have produced "true" if
>  it were in your code...
>

Yup, it was a typo in the test source, but surprisingly OGNL accepted
it and appeared to do the right thing.  I corrected it and ran the
test again with the same results.
  (*Chris*)

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


Mime
View raw message