]
George Gastaldi closed FORGE-524.
---------------------------------
Fix Version/s: (was: 3.x Future)
Resolution: Out of Date
Scaffolding an entity with enum uses a <f:selectItem> for each
enum value
-------------------------------------------------------------------------
Key: FORGE-524
URL:
https://issues.jboss.org/browse/FORGE-524
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.0.6.Final
Reporter: George Gastaldi
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