Skip to Main Content
Feature Request FR-2469
Product Area Page Components
Status ROADMAP

18 Voters

Easier way to update labels or texts dynamically on client side. Create labels from "Static, sql, plsql".

gabriel.diaz.arias Public
· Apr 27 2022

Idea Summary
One common approach to improve user experience, is including counters in tab labels, in menu entries or in some cases changing dynamically item labels. In this case you would manually build a javascript dynamic action for changing the text, and specifying a fix id for the element or adding custom logic and html for region titles.

Use Case
Simplify modifying texts in client side without needing a full page refresh and losing scroll or context.

Preferred Solution (Optional)
It would be nice being able to choose item or region labels between “Static text, sql, plsql" as we have for the “Source” atribute. In addition to add support for the dynamic action “Refresh” to refresh both item value and item label. This way we could simplify this kind of modifications. Also adding support to dynamic action refresh for refreshing applicacion menus for updating counters included in menu entries or menu entries modifications.

This is currently on the roadmap for a future release of Oracle APEX.

Known Duplicates

Known duplicates

FR-2645
FR-2645 API for page item labels

Comments

Comments

  • john.snyders APEX Team OP 3.1 years ago

    Instead I hope we can provide data binding on the client side so that if for example you reference an item from say a region heading and the value of that item changes then the heading text would change. This is what most frameworks support though they differ in the details.

    I think this will cover most if not all of cases you mention. For menus it is going to depend on what you are referring to: menu widget for popups and top nav menu bar, or menu widget for mega menus, or treeView widget for side navigation menu etc.

  • gabriel.diaz.arias OP 3.1 years ago

    It would be nice being able to to do it like you mention! For the menus I was refering to the side menu navigation innfirst place, because it usually contains counters like this:

    But it would be nice being able to refresh dynamically any navigation component.

  • gabriel.diaz.arias OP 3.1 years ago

    Maybe this not might be needed if the “one page application” concept is adopted by apex.

  • fac586 OP 2.2 years ago

    See also FR-2287