[
https://issues.jboss.org/browse/FORGE-451?page=com.atlassian.jira.plugin....
]
Matej Briskar commented on FORGE-451:
-------------------------------------
I already created the _GenerateHashCodeEqualsCommand_ in the _parser-java_. However, I am
not sure which way to go to finish the issue.
Possible solution that I would rather discuss is:
Adding a new _FacesEntityValidationWizard_ in the
_FacesScaffoldProvider.getGenerationFlow()_ just after _ScaffoldableEntitySelectionWizard_
that will take care of the validation of the selected entites and if some checkbox
selected, generate the HashCode/Equals for each entity.
Could/Shouldn't this be somehow implemented in _ScaffoldableEntitySelectionWizard_ to
provide a more general option for each ScaffoldImpl to provide an EntityValidationWizard?
Warn a user if generating relationship CRUD screens and
HashCode/Equals are missing
-----------------------------------------------------------------------------------
Key: FORGE-451
URL:
https://issues.jboss.org/browse/FORGE-451
Project: Forge
Issue Type: Feature Request
Components: Scaffold
Affects Versions: 1.0.6.Final
Reporter: Pete Muir
Assignee: Matej Briskar
Labels: Starter
Fix For: 2.x Future
It's necessary to provide these on the entities in order for drop downs to work. If
not provided, there should be a WARN message.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)