Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If the property name of the getter method starts with at least two uppercase characters, then you need to use all of those uppercase characters in the EL property name as well. In your particular case, you need to replace it by <code>${registrationVO.BCity}</code>. This is specified in chapter 8.8 of the <a href="http://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html" rel="nofollow noreferrer">Javabeans spec</a>. Here's an extract of the chapter (emphasis mine):</p> <blockquote> <h2>8.8 Capitalization of inferred names.</h2> <p>When we use design patterns to infer a property or event name, we need to decide what rules to follow for capitalizing the inferred name. If we extract the name from the middle of a normal mixedCase style Java name then the name will, by default, begin with a capital letter.</p> <p>Java programmers are accustomed to having normal identifiers start with lower case letters. Vigorous reviewer input has convinced us that we should follow this same conventional rule for property and event names.</p> <p>Thus when we extract a property or event name from the middle of an existing Java name, we normally convert the first character to lower case. <strong>However to support the occasional use of all upper-case names, we check if the first two characters of the name are both upper case and if so leave it alone</strong>. So for example,</p> <ul> <li>“FooBah” becomes “fooBah”</li> <li>“Z” becomes “z”</li> <li>“URL” becomes “URL”</li> </ul> <p>We provide a method <code>Introspector.decapitalize</code> which implements this conversion rule.</p> </blockquote> <p>That said, I would rather rename them to something more sensible. Maybe <code>birthCity</code> (if I guess it right), so that you can just nicely use <code>${registrationVO.birthCity}</code>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload