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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Dynamic Region Title

864430May 25 2011 — edited Aug 2 2013
Hello,

I'm attempting to create a generic survey like application that can have a number of possible questions and instructions. I would also like for the region title of certain regions to be dynamic, or rather equaling the value of some item on the page. I did some digging on Google and found that this was apparently possible in Apex 3, but I'm currently working in Apex 4. Does anyone know of a way to do this?

Thanks

Comments

Christine Lei-Oracle

Have you tried to wrap the child data the other way around as

const bufferingDP = new BufferingDataProvider(childArrayDataProvider);
this.childDataProvider(new ListDataProviderView(bufferingDP));

Hopefully in this way, ListDataProviderView would apply filter on all buffered data.

DaveArch

Thanks for your reply Christine.
Unfortunately that doesn’t work because wrapping it the other way around means that the functions specific to BufferingDataProvider are not available i.e. getSubmittableItems()
node.js:3173 Uncaught TypeError: this.childDataProvider(...).getSubmittableItems is not a function
Any other ideas?
Is there a way of altering the filterCriterion on ListDataProviderView without replacing the whole data provider which is wrapping it? I was wondering whether this would work so that they next time the data is fetched it will use the new filter?

Christine Lei-Oracle

The original wrapping order will use original data without buffered data information. Don't seem to have a way better than your current one although it's not that 'automatic' unfortunately.

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 30 2013
Added on May 25 2011
8 comments
5,455 views