[ http://issues.apache.org/jira/browse/EL-2?page=comments#action_12433949 ]
Rodrigo de Paula commented on EL-2:
-----------------------------------
Alter the method getName in class PropertySuffix for follow implementation:
public String getName () {
String result;
if (mName.length() == 1) {
result = mName.toLowerCase();
} else if (mName.length() > 1
&& Character.isLowerCase(mName.charAt(0))
&& Character.isUpperCase(mName.charAt(1))) {
result = mName.substring(0, 1).toUpperCase()
+ mName.substring(1);
} else if (mName.length() > 1
&& Character.isUpperCase(mName.charAt(0))
&& Character.isLowerCase(mName.charAt(1))) {
result = mName.substring(0, 1).toLowerCase()
+ mName.substring(1);
} else {
result = mName;
}
return result;
}
> [el] Properties with second letter upper case are not resolved
> --------------------------------------------------------------
>
> Key: EL-2
> URL: http://issues.apache.org/jira/browse/EL-2
> Project: Commons EL
> Issue Type: Bug
> Environment: Operating System: other
> Platform: Other
> Reporter: navid vahdat
>
> Using JavaServer Faces (MyFaces implementation), it is not possible to access
> backing bean properties like "xTest".
> This bug seems to have been filed with MyFaces before (see
> http://issues.apache.org/jira/browse/MYFACES-31)
> My application is generated by user input. I can't influence the naming of
> properties.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]