如何动态地重新加载Oracle APEX 5.0树 [英] How to reload Oracle APEX 5.0 Tree dynamically

查看:319
本文介绍了如何动态地重新加载Oracle APEX 5.0树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

触发事件(例如单击按钮)时,我需要使用新参数重新加载完整的树,并且设置了项目值,并且需要在Tree SQL中使用新的项目值.

I need to reload full tree with new parameters when an event is triggered (say a button is clicked) an item value is set and new item value need to be used in Tree SQL.

树节点未刷新当我尝试使用刷新"操作刷新树区域时.

Tree nodes are not refreshing When I try to refresh tree region using "Refresh" action.

推荐答案

tree小部件支持大量高级操作.问题是顶点团队从未将这些选项提供给开发人员.相反,他们选择模仿用于老树的技术.虽然那棵树还提供了比他们所暴露的更多的东西...
简而言之,对于这两个版本,传递到树的数据都是页面渲染中的json-payload.树将消耗掉它并渲染节点.由于其数据的静态"性质,因此无法刷新它.

The tree widget supports a whole host of advanced operations. The problem is the apex team has never exposed these options to developers. Instead they chose to mimic the technique they used for the old tree. While that tree also supported far more than what they ever exposed...
The short of it is that with both versions the data delivered to the tree is a json-payload in the render of the page. The tree consumes this and renders the nodes. Because of the "static" nature of its data it can not be refreshed.

长话短说:对不起,由apex生成的树不支持刷新.您需要重新加载页面.

Long story short: sorry, the tree as generated by apex does not support refreshing. You'll need to reload the page.

这篇关于如何动态地重新加载Oracle APEX 5.0树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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