ICEfaces
  1. ICEfaces
  2. ICE-7102

<f:ajax disabled="true"> doesn't work on commandButtons within tables

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-2.0.0.GA
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Mojarra 2.1.2

      Description

      <f:ajax disabled="true"/> doesn't disable Ajax on commandButtons within tables. Example:

                     <ice:dataTable id="dataTable" var="var" value="#{myBean.list}">
      <ice:column id="column1">
      <h:outputText value="#{var}"/>
      </ice:column>
      <ice:column id="actionColumn">
      <h:commandButton id="tableButton" action="#{myBean.submit}" value="Do it">
      <f:ajax disabled="true"/>
      </h:commandButton>
      </ice:column>
      </ice:dataTable>

      Assumption: The hidden field holding the clientIds of the components with ajax disabled is missing the row number in the clientId for the commandButton:
      <input type="hidden" value=" myForm:dataTable:tableButton " id="myForm:ajaxDisabled" disabled="true" style="">

      The actual clientId of the command buttons are myForm:dataTable:0:tableButton and so on.

        Issue Links

          Activity

          Adrian Gygax created issue -
          Hide
          Adrian Gygax added a comment -

          Attached example application to reproduce the bug

          Show
          Adrian Gygax added a comment - Attached example application to reproduce the bug
          Adrian Gygax made changes -
          Field Original Value New Value
          Attachment buttonInTable.war [ 13402 ]
          Arran Mccullough made changes -
          Salesforce Case [5007000000I01pC]
          Ken Fyten made changes -
          Fix Version/s 2.1 [ 10241 ]
          Assignee Priority P3
          Assignee Ted Goddard [ ted.goddard ]
          Hide
          Ted Goddard added a comment -

          Do you have a workaround for this?

          Show
          Ted Goddard added a comment - Do you have a workaround for this?
          Hide
          Adrian Gygax added a comment -

          I don't have a general workaround for this bug. We just implemented our specific use case in a different way so this bug is no priority issue for us.

          Show
          Adrian Gygax added a comment - I don't have a general workaround for this bug. We just implemented our specific use case in a different way so this bug is no priority issue for us.
          Ken Fyten made changes -
          Link This issue depends on ICE-7135 [ ICE-7135 ]
          Ken Fyten made changes -
          Fix Version/s 3.1 [ 10312 ]
          Fix Version/s 3.0 [ 10241 ]
          Assignee Priority P3
          Assignee Ted Goddard [ ted.goddard ]
          Ken Fyten made changes -
          Fix Version/s 3.1 [ 10312 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Adrian Gygax
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: