[richfaces-issues] [JBoss JIRA] (RF-12671) dropTarget does not work inside dynamic tabs when switchType is ajax or server

Juraj Húska (JIRA) jira-events at lists.jboss.org
Tue Jan 15 09:09:22 EST 2013


    [ https://issues.jboss.org/browse/RF-12671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745901#comment-12745901 ] 

Juraj Húska commented on RF-12671:
----------------------------------

Verified on the user provided sample code. Therefore closing.
                
> dropTarget does not work inside dynamic tabs when switchType is ajax or server
> ------------------------------------------------------------------------------
>
>                 Key: RF-12671
>                 URL: https://issues.jboss.org/browse/RF-12671
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-drag/drop
>    Affects Versions: 4.3.0.M3
>            Reporter: Ken H
>            Assignee: Brian Leathem
>             Fix For: 4.3.0.CR1
>
>   Original Estimate: 3 hours
>  Remaining Estimate: 3 hours
>
> The following works fine:
> {code}
> <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());
> }
> {code}
> However, changing the switch type to ajax or server results in processDrop not being called. The POST data appears to be identical.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list