Oracle Apex 列表管理器/列表控件?
我有一个查询可以获取当前用户所属的所有组。目前,我可以将它用作选择列表控件中的 LOV。据我了解,Apex 中唯一的“列表框”类型控件是列表管理器和 Shuttle。似乎都无法工作。穿梭机是可行的,但只显示一个值,或者仅在左侧显示一个值。
您能提供一个如何正确设置的示例吗?无论是 2side 班车还是列表管理器......
I have a query which gets me all groups the current user belongs to. Currently, I am able to use it as a LOV in a Select List control. From what I understand, the only "list box"-type control in Apex is List Manager and Shuttle. Can't seem to get either to work. Shuttle kind of works, but only shows one value, or values just on the left side.
Can you provide with an example how to set it up properly? Either a 2side shuttle or a list manager...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
穿梭机有一个值列表,其值是选定 LOV 值的串联列表,用冒号分隔。
假设 LOV 包含以下值:
如果您希望它最初显示已选择的 Banana 和 Damson,则将 Shuttle 值设置为:
一旦用户移动了有关该值的项目,该值将更改为 例如
您将需要解析该值以获取个人价值观。实用函数 apex_util.string_to_table是理想的选择。 (链接文档中有一个很好的示例)。
我不熟悉列表管理器,但经过快速尝试,它似乎与上面的工作原理相同。
A shuttle has a list of values and its value is a concatenated list of selected LOV values, separated by colons.
Suppose the LOV contains the values:
If you want it to show initially with Banana and Damson already selected then set the shuttle value to:
Once the user has moved items about the value will change to e.g.
You would then need to parse that value to get the individual values. The utility function apex_util.string_to_table is ideal for that. (There is a nice example in the linked documentation).
I am not familiar with List Manager but from a quick try it appears to work on the same basis as above.