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

Ján Jamrich commented on RF-10994:
----------------------------------

Issue can be simulated on page mentioned above in Firefox browser 

I was getting another error message in Chromium browser:
Uncaught TypeError: undefined is not a function
(anonymous function)
serverEventHandler                        richfaces.js:499
curry                                     richfaces.js:475
richfaces.createJSFEventsAdapter          richfaces.js:428
sendEvent                                 jsf.js:1
response                                  jsf.js:1
richfaces.queue.response                  richfaces-queue.js:407
jsf.ajax.response                         richfaces-queue.js:50
onComplete                                jsf.js:1
req.xmlReq.onreadystatechange             jsf.js:1

                
> DnD: scripts not getting loaded via ajax
> ----------------------------------------
>
>                 Key: RF-10994
>                 URL: https://issues.jboss.org/browse/RF-10994
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: base functionality , component-drag/drop
>    Affects Versions: 4.0.0.Final
>            Reporter: Ilya Shaikovsky
>            Assignee: Ján Jamrich
>            Priority: Critical
>             Fix For: 4.1.0.Milestone4
>
>
> {code}
> //
>               <rich:tree value="#{aaa.rootNode}" nodeType="#{node.type}"
>                       var="node">
>                       <rich:treeNode type="t1">
>                               <a4j:outputPanel layout="block">
>                                       <rich:dropTarget acceptedTypes="file"
>                                               dropListener="#{aaa.process}" />
>                                       <h:outputText value="#{node.label}" />
>                               </a4j:outputPanel>
>                       </rich:treeNode>
>                       <rich:treeNode type="t2">
>                               <a4j:outputPanel layout="block">
>                                       <rich:dragSource type="file" />
>                                       <h:outputText value="#{node.label}" />
>                               </a4j:outputPanel>
>                       </rich:treeNode>
>               </rich:tree>
> {code}
> Tree by default using ajax mode. So when you expanding nodes  -leafs which 
> getting loaded should be draggable. But there is no draggable script resource 
> so you could see JS errors instead saying that Draggable si not a constructor.
> If change toggleType to client - works fine. If add any draggable component 
> to the page - it also starts works as scripts already inplace.
> (should be easier to reproduce with tab panel or just conditionally rendered 
> panel for example).

--
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

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to