Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-524

Scaffolding an entity with enum uses a <f:selectItem> for each enum value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 1.0.6.Final
    • Scaffold
    • None

    Description

      When scaffolding an entity with a enumeration as an attribute (displaying it as a selectOneMenu), the enum values are placed directly inside the XHTML.

      This is a bad thing, since when you modify the enumeration you MUST change the XHTML also. The scaffolding should use <f:selectItems> instead

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-ggastald George Gastaldi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: