【问题标题】:Richfaces tree context menuRichfaces 树上下文菜单
【发布时间】:2010-12-17 16:55:21
【问题描述】:

我正在尝试将上下文菜单添加到我的一个实际上很丰富的组件:树。

<rich:tree switchType="ajax" ... >

            <rich:contextMenu event="oncontextmenu" attached="true" submitMode="ajax" id="treeMenu">
                <rich:menuItem>
                    <h:commandLink action="action.deleteResource" value="Delete" />
                </rich:menuItem>
                <rich:menuItem>
                    <h:commandLink action="action.editResource" value="Edit" />
                </rich:menuItem>
            </rich:contextMenu>
        </rich:tree>

但是当我点击鼠标右键时我看不到它。

提前致谢。

【问题讨论】:

    标签: jsf tree richfaces


    【解决方案1】:

    已解决....放个

    <rich:contextMenu> 
    

    内部

    <rich:treeNode>  
    

    【讨论】:

    • 你好安德鲁,谢谢你的回复。我明白了。
    猜你喜欢
    • 1970-01-01
    • 2017-11-10
    • 2011-06-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多