Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3023

JSFOperationsImpl does not give entity xhtml page the correct file name when first created in cases were the entity starts with more than one capital letter

    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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stewarta Alan Stewart
                Reporter:
                stewarta Alan Stewart
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: