Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:any
-
Support Case References:
Description
When the attribute "partialSubmit" of an UIInput or UICommand is true, ICEFaces
modifies all the others inputText components and their required property is set
to FALSE.
I think that there's a problem when the required attribute contains a ValueBinding.
Consider the following example:
<ice:commandButton action="#{testBean.togglePopup}" value="Partial Submit"
partialSubmit="true"/>
<ice:commandButton action="#{testBean.togglePopup}" value="Standard Submit" />
<ice:inputText required="#{testBean.required}"/>
After the a partial submit cycle, ICEFaces assigns TRUE to the required
attribute of the previously modified components.This is not
correct because if the required attribute contains a value-binding then that
value-binding is lost and the expression is not evaluated any more.
modifies all the others inputText components and their required property is set
to FALSE.
I think that there's a problem when the required attribute contains a ValueBinding.
Consider the following example:
<ice:commandButton action="#{testBean.togglePopup}" value="Partial Submit"
partialSubmit="true"/>
<ice:commandButton action="#{testBean.togglePopup}" value="Standard Submit" />
<ice:inputText required="#{testBean.required}"/>
After the a partial submit cycle, ICEFaces assigns TRUE to the required
attribute of the previously modified components.This is not
correct because if the required attribute contains a value-binding then that
value-binding is lost and the expression is not evaluated any more.
Issue Links
- blocks
-
ICE-1654 Required attribute bound to a valueBinding is unset when using partialSubmit in UIData components
- Closed
developed a patch which should solve this problem.
The BlockingServlet is the patch for ICEFaces 1.5.x and ReceiveSendUpdates is for ICEFaces 1.6.0.