-
1. Re: Drag and drop object not defined?
ilya_shaikovsky Oct 1, 2009 6:49 AM (in response to apryce)RF version? Page code?
-
2. Re: Drag and drop object not defined?
apryce Oct 1, 2009 10:20 AM (in response to apryce)RF version 3.2.1
I'm sorry I can't provide page code, but I am attempting to use the most basic usage off the docs. Something like:<a4j:outputPanel><rich:panel> <rich:dropSupport dropListener="#{myBean.dropAction}> <a4j:actionParam value="#{someData}" name="paramData" /> </rich:dropSupport> <a4j:repeat value="#{myBean.list}" var="item"> <a4j:outputPanel> <rich:panel> <rich:dragSupport dragValue="#{someOtherData}"> <a4j:actionparam value="#{someOtherOtherData}" name="secondParam" /> <h:outputText value="#{item.name}"></h:outputText> </rich:dragSupport> </rich:panel> </a4j:outputPanel> </a4j:repeat> </rich:panel></a4j:outputPanel>
-
3. Re: Drag and drop object not defined?
apryce Oct 1, 2009 12:28 PM (in response to apryce)I have also confirmed that we are deploying the richfaces-ui jar and that it has the needed classes.
-
4. Re: Drag and drop object not defined?
ilya_shaikovsky Oct 2, 2009 5:43 AM (in response to apryce)Highly recommend to update (at least to try) the version of RF to 3.3.1 GA or 3.3.2 CR1
-
5. Re: Drag and drop object not defined?
apryce Oct 2, 2009 1:16 PM (in response to apryce)"ilya_shaikovsky" wrote:
Highly recommend to update (at least to try) the version of RF to 3.3.1 GA or 3.3.2 CR1
Any particular reason for the high recommendation? Did DnD receive significant fixes in these versions? I tend to agree that it is best to keep up to date, but if there isn't a significant fix we will usually wait to upgrade our libraries until our next major release.
Adam -
6. Re: Drag and drop object not defined?
ilya_shaikovsky Oct 5, 2009 9:02 AM (in response to apryce)yes, As far as I remember some fixes was made related to such issue with DnD.
Actually we had for example 1100 jira tasks closed during 3.3.1 developent, so we can't keep in mind all fixed issues while reading forum issues reports :) And thats why we recommends to check (just to confirm) newest version and then report if it actual for latest builds. In other case we will spend too much time checking for the issue in precise environment of every reporter. -
7. Re: Drag and drop object not defined?
apryce Oct 6, 2009 6:51 PM (in response to apryce)We've tried the 3.3.1 with no change. We are actually successful in other places on our site. We have tried using other richfaces tags (toggle panel) in this same page and their javascript objects also fail. I checked that mvn is using richfaces-impl*, rishfaces-api*, and richfaces-ui*. Is there anything else that we need?
-
8. Re: Drag and drop object not defined?
apryce Oct 6, 2009 6:52 PM (in response to apryce)We've tried the 3.3.1 with no change. We are actually successful in other places on our site. We have tried using other richfaces tags (toggle panel) in this same page and their javascript objects also fail. I checked that mvn is using richfaces-impl*, rishfaces-api*, and richfaces-ui*. Is there anything else that we need?
-
9. Re: Drag and drop object not defined?
ilya_shaikovsky Oct 7, 2009 4:48 AM (in response to apryce)ok.. then lets check if you have any external js includes (maybe jQuerry or prototype).. if so - there could be conflicts between our built in and external ones.
-
10. Re: Drag and drop object not defined?
apryce Oct 7, 2009 2:34 PM (in response to apryce)We are using prototype, but upon removing the issue is still there. I noticed from firebug that there we aren't properly loading the richfaces js files. They're in the packaged war file, so I'll look into our deployment and post our results.
-
11. Re: Drag and drop object not defined?
apryce Oct 7, 2009 4:05 PM (in response to apryce)I got it....
Typo in jboss portlet files caused the needed headers to not be deployed. These headers contained the richfaces js imports.
Doh!