[richfaces-issues] [JBoss JIRA] (RF-10947) rich:dragSource doesn't work after being rerendered via ajax

Brian Leathem (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 26 18:42:45 EDT 2011


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

Brian Leathem commented on RF-10947:
------------------------------------

Unable to re-produce using the above composite component code in either of the situations:
# Embedding the code directly in a page
# Using the code in a composite component
# Embedding the code in a iteration element (tried both rich:list and a4j:repeat)

However, I was able to reproduce this in issue RF-10994, and Richard commented above that he sees this in an extended data table.
                
> rich:dragSource doesn't work after being rerendered via ajax
> ------------------------------------------------------------
>
>                 Key: RF-10947
>                 URL: https://issues.jboss.org/browse/RF-10947
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-drag/drop
>    Affects Versions: 4.0.0.Final
>         Environment: mojarra 2.1.1 gf3.1 
>            Reporter: Adrian Meredith
>              Labels: draganddrop
>             Fix For: 4.2.0.Tracking
>
>
> Drag Source is not applied 
> using the following code in a composite component
> {code}
> <a4j:outputPanel layout="block" styleClass="rf-ind-drag" >
>     <rich:dragSource  type="webResult" dragValue="1"/>
>     <h:outputText value="works"></h:outputText>
> </a4j:outputPanel>
> <h:panelGroup id="content" layout="block" rendered="#{cc.attrs.rendered}" style="width: 100%; height:100%;">
> 	<a4j:outputPanel layout="block" styleClass="rf-ind-drag" >
> 		<rich:dragSource  type="webResult" dragValue="1"/>
>                 <h:outputText value="doesn't work"></h:outputText>
>         </a4j:outputPanel>
> ...
> {code}
> Basically the panel at the top is draggable, the one at the bottom (which is below the panelGroup) is not.  Looking at the source its as though dragSource isn't even there as it is rendered without any reference to it (i.e. no ui-draggable class for example).
> Drag and drop support was the main reason i'm using richfaces! so its very important to me as i one to drag rows from our table widget onto another panel for quick tagging of results.  Unfortunately I'm gonna be away for the next two weeks but It'd be good to get more information on it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list