Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8DR#1
-
Component/s: Framework, ICE-Components
-
Labels:None
-
Environment:Any
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
Issue Links
- is duplicated by
-
ICE-3883 remove PartialSubmitValueBinding objects before application server tries to serialize (Seam)
- Closed
The old behaviour of this code was to restore the required attribute of the component during the post RenderResponse phase. This meant that if other components in the form have the partial submit flag set to true, the the "required" attribute setting of components may be artificially turned off during rendering. This attribute was being restored, but only after the post renderResponse phase listener.
This was a problem when state saving is turned on because state saving is capturing the state after rendering is done on the component, but before the end of the renderResponse phase. Due to the nature of our DOMResponseRenderer, it has to be done after rendering, but before the document is closed.
The solution is to restore the correct state of the attributes in the pre render response phase listener.
There could be some changes in behaviour in rendering but the underlying functionality of the 'required' attribute should not change.