[forge-issues] [JBoss JIRA] (FORGE-524) Scaffolding an entity with enum uses a <f:selectItem> for each enum value
George Gastaldi (JIRA)
issues at jboss.org
Mon Jun 30 11:12:26 EDT 2014
[ https://issues.jboss.org/browse/FORGE-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi updated FORGE-524:
----------------------------------
Fix Version/s: 2.x Future
(was: 1.x Future)
> 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
> Security Level: Public(Everyone can see)
> Components: Scaffold
> Affects Versions: 1.0.6.Final
> Reporter: George Gastaldi
> Fix For: 2.x Future
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the forge-issues
mailing list