Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Repeating HTML (sub)Region per selected row

956691Nov 6 2012 — edited Nov 7 2012
Dear all,

i recently started to use Oracle Apex and created an application where our internal users shall be able to buy certain services (i got inspired a bit by the sample shop application here).

My main issue right now is to repeat html sub regions with view-only and text fields per selected product. I can not find any way how a html region is created dynamically depending on priorly-selected products rows.
I browsed this forum and many pages in the internet but did not find any idea, toolset, example or else matching my idea. Thus i created this thread now.
If i missed something obvious i'm sorry! Please point me in the right direction then :)

The procedure is as following:
on the first page the user selects 1-n products to purchase/order (pretty similar to the example app)
Those products then shall be displayed on the second page because some of them require the user to enter mandatory informations (e.g. cost numbers and other stuff).
I have those products "at hand" and i can repeat them using for e.g. "htf.escape_sc(x.product_name)" in Page attributes but i want to achieve the following:

|------ Main HTML ---
| Main Order Number & user name
| -----HTML sub region 1 ---
| Product 1
| Display-name: Display Value
| Mandatory-Info: Display Value(s) Mandatory-Info-requested: Text input field
| other fields...
| -----HTML sub region 2 ---
| Product 2
| Display-name: Display Value
| Mandatory-Info: Display Value(s) Mandatory-Info-requested: Text input field
| other fields...
| -----HTML sub region 3 ---
| Product 3
| Display-name: Display Value
| Mandatory-Info: Display Value(s) Mandatory-Info-requested: Text input field
| other fields...
| -----HTML sub region X ---
| Product X
| Display-name: Display Value
| Mandatory-Info: Display Value(s) Mandatory-Info-requested: Text input field
| other fields...

and so on.

Now to the main question again: What is the right approach to do this? Where/how do i steer/set the creation of the different HTML regions to have a clear distinction between each product in one order?

Any advise is highly appreciated. If you need to know anything else from me, please let me know.

Best Regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2012
Added on Nov 6 2012
3 comments
607 views