Oracle Apex 中具有动态操作的单个按钮上的多个条件 [英] Multiple conditions on single button with Dynamic Action in Oracle Apex
问题描述
请看下面的屏幕截图 我在 Oracle Apex 表单的顶部有一个按钮添加行",项目在一行中.每次单击顶部按钮时,我都添加了 10 行具有相同项目列表.你能帮我解决这个问题吗?
Please see below screen shot I have one button "Add Row" on the top and items in a single row of Oracle Apex Form. I have add 10 Rows with same items list on each click of the top button. Could you please help on this how can I achieve this.
推荐答案
如果我理解正确,并且您希望上传动态确定的文件数量,那么有很多选择
if I understood you correctly and you want a dynamically determined amount of files to upload, there are many options for that
最简单的 1 - 一次上传一个,并向用户显示上传的旧文件.
Easiest 1 - upload one at a time, and show the user older files that were uploaded.
最简单的 2 - 使用允许多个文件"选项,然后允许用户编辑名称https://jeffkemponoracle.com/2016/08/file-upload-improvements-in-apex-5-1/
Easiest 2 - Use the "Allow multiple files" option, and later on allow the user to edit names https://jeffkemponoracle.com/2016/08/file-upload-improvements-in-apex-5-1/
简单的选择:创建用于上传文档的模态对话框表单页面,并使添加行"按钮成为打开该模态对话框页面的链接.
Easy option: Create a modal dialog form page for uploading the documents, and make the "add row" button a link to open that modal dialog page.
更难的选择:使用 APEX_ITEM 包和动态操作:https://dzone.com/articles/super-dynamic-apex-forms-using-apex-item-and-dynam
Harder option: Using the APEX_ITEM package, and dynamic actions: https://dzone.com/articles/super-dynamic-apex-forms-using-apex-item-and-dynam
另一方面,如果您知道总是要上传 10 个项目,我建议您只需在应用构建器中创建所有项目,以节省时间..
If on the other hand you know you're always going to have 10 items uploaded, I suggest just creating them all in the app builder, and save time..
这篇关于Oracle Apex 中具有动态操作的单个按钮上的多个条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!