Discussions
Categories
- 385.5K All Categories
- 4.9K Data
- 2.5K Big Data Appliance
- 2.4K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
how to refresh the listview which is in another feature

Hi to all,
I have a problem with refreshing the listview.
In the application I have 3 features let's say "feature A" "feature B" and "feature C".
I also created the 2 tables and 1 view from sqlite db(local).and their names are "table A", "table B", and "view C"
view C is like this:
create view C as
select a.oneColumn
From table A a
Union
select b.oneColumn
From table B b;
Every feature has the main amx.page and each of them has listview which values come from the sqlite db (local).
In feature A, I can add new row to database (update the row or delete it ) and the listview is refreshed with the help of the "ProviderChangeSupport".
Same thing happens in feature B. Everything is ok until now. But in feature C, it has also listview. When I do delete operation or update operation in feature A or feature B,
the listview in feature C is not refreshed.
I hope, you all can understand easily the problem and help me for the solution.
Best Answer
-
Hi,
you need to reset a feature if - by navigating into it - you want to ensure the feature and thus the view refreshes. The provider change support only works within the classloader (feature) it is issued in. You can use a feature listener to refresh the data control collection used by a list, but this doesn't work automatically.
Frank
Answers
-
Hi,
you need to reset a feature if - by navigating into it - you want to ensure the feature and thus the view refreshes. The provider change support only works within the classloader (feature) it is issued in. You can use a feature listener to refresh the data control collection used by a list, but this doesn't work automatically.
Frank
-
Thank you Frank. This solution helps me.
-
I have a similar problem. Instead of a listview I have a data control feeding 4 select once choice components. Each one affects the next. Of course I could put the on four
different pages within the same feature, but that would make the UI much less intuitive. I'm unable to use provider change refresh on the selectOneChoice compmnents.
I am using Maf 2.5 and the latest edition of Jdeveloper. Thank you.
Regards Joseph.