[JBoss JIRA] (FORGE-1000) Forge scaffold should allow newly created un-persisted instances to be associated with each other in the views
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1000?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III updated FORGE-1000:
--------------------------------------
Fix Version/s: 2.x Future
> Forge scaffold should allow newly created un-persisted instances to be associated with each other in the views
> --------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-1000
> URL: https://issues.jboss.org/browse/FORGE-1000
> Project: Forge
> Issue Type: Feature Request
> Components: Scaffold
> Affects Versions: 1.3.2.Final
> Reporter: Vineet Reynolds
> Fix For: 2.x Future
>
>
> This is from the [Sakila-H2 model|https://github.com/maxandersen/sakila-h2].
> In the create stores screen, we have new Staff that can be added to a store, as well as a manager (another Staff) that can be assigned to a store. The manager to be assigned to the store is not nullable (and is required to be provided when creating/editing a store; see FORGE-999). When no Staff has been created yet, the list of staff that can be assigned as a manager is empty, thus making it impossible to create a new Store without modifying the scaffold.
> This could be improved by allowing new Staff to be created in the Create Stores screen, and allowing the newly created but un-persisted Staff to be assigned as Managers to the Store.
--
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
11 years
[JBoss JIRA] (FORGE-1002) Faces scaffold should treat properties lacking suitable converters differently
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1002?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III updated FORGE-1002:
--------------------------------------
Fix Version/s: 2.x Future
> Faces scaffold should treat properties lacking suitable converters differently
> ------------------------------------------------------------------------------
>
> Key: FORGE-1002
> URL: https://issues.jboss.org/browse/FORGE-1002
> Project: Forge
> Issue Type: Feature Request
> Components: Scaffold
> Affects Versions: 1.3.2.Final
> Reporter: Vineet Reynolds
> Fix For: 2.x Future
>
>
> This is from the [Sakila-H2 model|https://github.com/maxandersen/sakila-h2].
> The {{Staff}} JPA entity generated using the Forge Hibernate Tools plugin, contains a {{byte[]}} property in the form of a {{picture}}. The property is rendered as a {{h:inputText}} widget in the create/edit screens and as a {{h:outputText}} widget in the view screen. This results in errors like the following being reported during operations in such screens: {{Conversion Error setting value '' for 'null Converter'.}}
> Since a default converter cannot be applied, mostly due to the possibility of changing semantics of such properties across applications, it would be better to
> * either omit such properties for functional scaffolds,
> * or generate converters for every such type.
> * or use more appropriate widgets (like a file upload widget) that can operate on such data types.
> Also see the TicketMonster model, where a {{long[][]}} property is present in the {{SectionAllocation}} entity.
--
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
11 years