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

          Hide
          Ted Goddard added a comment -

          I see what you mean about #

          {false}

          .

          Thanks for your contribution. A modification of the provided fix has been checked in and should propagate to the public repository later today.

          Show
          Ted Goddard added a comment - I see what you mean about # {false} . Thanks for your contribution. A modification of the provided fix has been checked in and should propagate to the public repository later today.
          Hide
          Philip Breau added a comment -

          The required attribute is not working when contained in a UIData component. Please see https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4030 for more details.

          Show
          Philip Breau added a comment - The required attribute is not working when contained in a UIData component. Please see https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4030 for more details.
          Hide
          Ted Goddard added a comment -

          The proposed change in the suportilla case is a major re-work of this part of the implementation so will require some consideration.

          Show
          Ted Goddard added a comment - The proposed change in the suportilla case is a major re-work of this part of the implementation so will require some consideration.
          Hide
          Claudio Tasso added a comment -

          I'll be glad to talk about it, if you like. We've already made in our enviroment and it works fine (untill now, of course ).

          Show
          Claudio Tasso added a comment - I'll be glad to talk about it, if you like. We've already made in our enviroment and it works fine (untill now, of course ).
          Hide
          Ken Fyten added a comment -

          Marking this fixed for the non-UIData component cases.

          There is a follow-up issue for the UIData components: ICE-1654.

          Show
          Ken Fyten added a comment - Marking this fixed for the non-UIData component cases. There is a follow-up issue for the UIData components: ICE-1654 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved: