ICEfaces
  1. ICEfaces
  2. ICE-1418

Required attribute valueBinding unset when using partialSubmit

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.6DR#3, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      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.
      1. ReceiveSendUpdates.java
        6 kB
        Philip Breau
      2. SiaBlockingServlet.java
        25 kB
        Philip Breau

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: