Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Complete
-
Affects Version/s: 1.2.0.RELEASE
-
Fix Version/s: 1.2.1.RELEASE
-
Component/s: JSF
-
Labels:None
Description
If an entity called, for example MTSZone, is scaffolded for JSF, the xhtml page created has the file name made up of simply the uncapitalised entity name, ie mTSZone.xhtml. However the managed bean refers to a different name, based on the call JavaSymbolName.getReservedWordSafeName. JSFOperationsImpl will be changed to make the same method call to create the page, thus ensuring consistency.
The JavaSymbolName.getReservedWordSafeName method uses java.beans.Introspector.decapitalize, so also see the javadocs for this method to see how names are treated.