> -----Original Message-----
> From: Eric Noriega [mailto:[EMAIL PROTECTED]
> 
>     Not true, I have read the specs and they do mention accessors in a
> rather vague fashion.  Your example clued me into what I had been
doing
> wrong while attempting to use the EL to access the objects directly.
I
> was using ${locale.DisplayName} since the method is
> locale.getDisplayName(), not realizing that the function should be
> called ${locale.displayName}.  Thanks for the info though.

Yes, the JavaBeans paradigm uses first-character lowercase for
properties, and initial cap when converting to the method name.  This
gets a wrinkle if your property name has the SECOND character
capitalized (I think that's it). I don't remember the details of that,
but I just avoid doing that.

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to