[forge-issues] [JBoss JIRA] (FORGE-524) Scaffolding an entity with enum uses a <f:selectItem> for each enum value
George Gastaldi (JIRA)
jira-events at lists.jboss.org
Thu Jul 4 11:13:20 EDT 2013
[ https://issues.jboss.org/browse/FORGE-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772539#comment-12772539 ]
George Gastaldi edited comment on FORGE-524 at 7/4/13 11:12 AM:
----------------------------------------------------------------
IMHO this is the best strategy: http://stackoverflow.com/a/8229982
was (Author: gastaldi):
IMHO this is the best strategy: http://stackoverflow.com/a/2869011
> 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
> Fix For: 1.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list