ICEfaces
  1. ICEfaces
  2. ICE-7909

Allow ace:ajax to work with all h: components, not just ACE components

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0.BETA1, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3

      Description

      It would be nice if ace:ajax could be augmented to work with standard components, and not only with the tightly integrated ACE components.

        Issue Links

          Activity

          Hide
          Mark Collette added a comment -

          Modified the ace:ajax rendering code to handle differences between ACE components, and regular h: components, so that it can also be used with h: components. So far only verified with the h:selectManyCheckbox from the test scenario in ICE-7702.

          This code varies noticeably between trunk and branch, so branch will require separate implementation and verification.

          <f:subview id="testSub">
          <h:form id="form">
          <ace:tabSet id="sampleTabSet" clientSide="false">
          <ace:tabPane id="toDoList" label="To Do List">
          <h:selectManyCheckbox id="list" layout="pageDirection" selectedClass="selectedCheckBox">
          <f:selectItems value="#

          {tabSet.toDoList}

          "
          var="listItem"
          itemValue="#

          {listItem.value}

          "
          itemLabel="#

          {listItem.key}

          "/>
          <ace:ajax execute="@this" render="sampleTabSet"/>
          </h:selectManyCheckbox>

          trunk
          Subversion 28310

          Show
          Mark Collette added a comment - Modified the ace:ajax rendering code to handle differences between ACE components, and regular h: components, so that it can also be used with h: components. So far only verified with the h:selectManyCheckbox from the test scenario in ICE-7702 . This code varies noticeably between trunk and branch, so branch will require separate implementation and verification. <f:subview id="testSub"> <h:form id="form"> <ace:tabSet id="sampleTabSet" clientSide="false"> <ace:tabPane id="toDoList" label="To Do List"> <h:selectManyCheckbox id="list" layout="pageDirection" selectedClass="selectedCheckBox"> <f:selectItems value="# {tabSet.toDoList} " var="listItem" itemValue="# {listItem.value} " itemLabel="# {listItem.key} "/> <ace:ajax execute="@this" render="sampleTabSet"/> </h:selectManyCheckbox> trunk Subversion 28310
          Hide
          Mark Collette added a comment -

          We won't be doing this for 3.0.1, but here's the patch for the maintenance branch that's derived from the trunk fix. Unfortunately, while technically working, it somehow causes much extraneous browser state to be submitted to the server as well.

          Show
          Mark Collette added a comment - We won't be doing this for 3.0.1, but here's the patch for the maintenance branch that's derived from the trunk fix. Unfortunately, while technically working, it somehow causes much extraneous browser state to be submitted to the server as well.

            People

            • Assignee:
              Mark Collette
              Reporter:
              Mark Collette
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: