rihcfaces 树中的上下文菜单
我在丰富的面孔树组件(rich:tree)中有上下文菜单。在我的树中,我列出了文件夹和子文件夹。通过使用上下文菜单,我可以编辑文件夹和子文件夹的数据。我有单独的方法来编辑文件夹和子文件夹文件夹。我如何在 cotnextmenu 单击操作中调用此方法?
I have context menu in rich faces tree component(rich:tree).In my tree i had listed folders and sub folders.By using context menu i can edit datas of the folders and sub folders.I have separate methods for edit folder and sub folders.How can i call this methods in cotnextmenu click action?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以为编辑文件夹和子文件夹操作设置 2 个不同的
,并在上下文菜单的 javascript 中将它们称为 onclick 条件。以及脚本函数
You can have 2 different
<a4j:jsFunction>
for both of your edit folders and subfolders action and call them onclick condition in javascript of contextmenu.And script function