[JBoss JIRA] (FORGE-212) Classload dependencies of current project when performing certain operations
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-212?page=com.atlassian.jira.plugin.... ]
George Gastaldi closed FORGE-212.
---------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.13.2.Final
(was: 2.x Future)
Resolution: Done
Use {{Project.getFacet(ClassLoaderFacet.class).getClassLoader()}} to retrieve a classloader with the project binaries in it
> Classload dependencies of current project when performing certain operations
> -----------------------------------------------------------------------------
>
> Key: FORGE-212
> URL: https://issues.jboss.org/browse/FORGE-212
> Project: Forge
> Issue Type: Feature Request
> Components: Build Tools - Maven, Parsers / File Manipulation, Plugin API
> Affects Versions: 1.0.0.Alpha3
> Reporter: wiktorowski maximilien
> Assignee: George Gastaldi
> Priority: Minor
> Fix For: 2.13.2.Final
>
>
> "Generating crud views for entities located into an external jar is a use case i'd like to see implemented in forge.
> In my case i have a model.jar containing my entities and an admin.war generated with seam forge. I'd like to use from-entity to generate scaffolding views in admin.war for the entities located in model.jar"
> This means that Forge will need to classload dependencies of the target project in order to perform reflection-based generation. This may also require a reflection-based meta-model such as what was done with Errai/GWT.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-914) Rework the handling of 1:M relationships by the Faces scaffold
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-914?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-914:
----------------------------------
Priority: Major (was: Critical)
> Rework the handling of 1:M relationships by the Faces scaffold
> --------------------------------------------------------------
>
> Key: FORGE-914
> URL: https://issues.jboss.org/browse/FORGE-914
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 1.0.5.Final, 1.3.0.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
> Fix For: 2.x Future
>
>
> The generated Faces scaffold for 1:M relationships does not handle certain usability aspects.
> For example, a new row is automatically added by default when displaying a 1:M relationship upon create. However, unless the add button is clicked, the contents of the row are not added to the underlying managed bean. If the add button is not clicked, the contents of the row are not treated as a new item to be added. This is very confusing.
> Also, if bean validation is performed on the entities (in the rows of the 1:M relationship), and if it fails, then the contents need to be corrected, even though they may not be persisted in the database. Again, this is confusing behavior.
> Additionally, deletion of entities from the collection (1-side of the association) seems to be broken (FORGE-974).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months