[
https://jira.jboss.org/jira/browse/JBSEAM-3330?page=com.atlassian.jira.pl...
]
Valerie Griffin commented on JBSEAM-3330:
-----------------------------------------
There are probably multiple issues here. I agree that the long-term solution requires
further study and probably feature requests.
I believe that it is a bug for code GENERATED BY seam-gen to update the database without
requiring the Save button! At the very least, the seam-gen template should be modified,
possibly to use the suggested workaround.
ICEfaces edit page in seam-gen application updates without save
---------------------------------------------------------------
Key: JBSEAM-3330
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3330
Project: Seam
Issue Type: Feature Request
Components: ICE Faces Integration, Tools
Affects Versions: 2.0.3.CR1
Environment: ICEfaces
Reporter: Valerie Griffin
Assignee: judy guglielmin
The generated code includes partial submit. Whenever a field is changed, the database is
updated without requiring the Save button.
I've reported this problem to ICEfaces. The fix they propose requires the use of
manual flush, which I understand is not universally supported. (The fix is to use manual
flush and to override update, persist, and remove to invoke the manual flush.)
I'm changing my seam-gen files to use that fix but am not including them here because
I don't think that's necessarily the best fix.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira