Richfaces 拖放对象未定义? [英] Richfaces drag and drop object not defined?

查看:62
本文介绍了Richfaces 拖放对象未定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Mozilla 正在吐槽

Mozilla is spitting out

未定义 DnD

我所有的rich:dragSupport 和rich:dropSupport 标签上的错误.当我查看生成的 javascript 时,DnD 对象就在它应该在的位置,并且一切正常.关于为什么我的 DnD 对象没有定义的任何想法?有没有人遇到过使用 Richfaces dnd 的问题?

errors on all of my rich:dragSupport and rich:dropSupport tags. When I check out the generated javascript the DnD object is where it should be and things look ok. Any ideas on why my DnD object is not defined? Has anyone come accross gotchas with using richfaces dnd?

我们正在使用 Richfaces 3.2.1(根据 文档)

We are using Richfaces 3.2.1 (drag and drop started in 3.0.0 acording to docs)

我们如何使用它的示例:

An example of how we are using this:

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

推荐答案

我的问题:JBoss portlet 部署 xml 文件命名错误

My Problem: typo in naming of JBoss portlet deployment xml files

要检查的其他事项(从研究周开始):您是否正在部署必要的richfaces jar 文件?您是否有其他 js 脚本会导致命名空间问题,例如 jQuery 或原型?

Other things to check (from week of research): Are you deploying the necessary richfaces jar files? Do you have other js scripts that are causing namespace issues like jQuery or prototype?

这篇关于Richfaces 拖放对象未定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆