[
https://issues.jboss.org/browse/FORGE-402?page=com.atlassian.jira.plugin....
]
Lincoln Baxter III closed FORGE-402.
------------------------------------
Resolution: Done
Fixed in ForgePropertyStyle:
{code}
Field<?> field = fieldHolder.getField(propertyName);
// FORGE-402 (Support fields starting with capital letter.)
if ((field == null) && !StringUtils.isCapitalized(propertyName))
{
field = fieldHolder.getField(StringUtils.capitalize(propertyName));
}
return field;{code}
Forge scaffold cannot handle fields with names beginning with an
uppercase letter
---------------------------------------------------------------------------------
Key: FORGE-402
URL:
https://issues.jboss.org/browse/FORGE-402
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.0.0.Beta4
Reporter: Lincoln Baxter III
Assignee: Lincoln Baxter III
Fix For: 1.0.0.Beta4
{code}Caused by: java.lang.NullPointerException
at
org.jboss.forge.scaffold.faces.metawidget.inspector.propertystyle.ForgePropertyStyle$ForgeProperty.getAnnotation(ForgePropertyStyle.java:482)
at
org.jboss.forge.scaffold.faces.metawidget.inspector.ForgeInspector.inspectProperty(ForgeInspector.java:78)
at
org.metawidget.inspector.impl.BaseObjectInspector.inspectTraits(BaseObjectInspector.java:343)
at
org.metawidget.inspector.impl.BaseObjectInspector.inspectAsDom(BaseObjectInspector.java:243)
... 47 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira