Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-12671

dropTarget does not work inside dynamic tabs when switchType is ajax or server

    Details

    • Sprint:
      4.3.0.CR1 - Regression Fixes

      Description

      The following works fine:

      <rich:tabPanel switchType="client">
        <a4j:repeat value="#{bean.thingsToIterate}" var="thing">
          <rich:tab header="Tab #{thing}">
            <rich:panel style="width: 100px;">
              <rich:dragSource dragValue="drag-#{thing}" type="term" />
              drag #{thing}
            </rich:panel>
            <rich:panel style="width: 100px;">
              <rich:dropTarget dropValue="drop-#{thing}" acceptedTypes="term" dropListener="#{bean.processDrop}" execute="@form" render="@form" />
              drop #{thing}
            </rich:panel>
          </rich:tab>
        </a4j:repeat>
      </rich:tabPanel>
       
      public void processDrop(DropEvent evt) {
        log.info("processDrop called - dragVal: "+evt.getDragValue()+", dropVal: "+evt.getDropValue());
      }
      

      However, changing the switch type to ajax or server results in processDrop not being called. The POST data appears to be identical.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bleathem Brian Leathem
                  Reporter:
                  steeltomato Ken H
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 3 hours
                    3h
                    Remaining:
                    Remaining Estimate - 3 hours
                    3h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified