Skip to Main Content

Java Development Tools

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.

ADF mobile list view auto update

MohanSoundararajanSep 5 2013 — edited Sep 17 2013

I am trying to mimic the 'StockTracker' example provided in the samples of ADF mobile.  I exactly want the same functionality

  • Update the list view based on the data update
  • The whole screen should NOT refresh ( with circular reload icon at the centre ), but only the data part alone
  • In addition, I have many other components (graphs, input fields, etc., ) in the page

I have tried to do a bit by bit comparison with the StockTracker example, but still I could not get the list view data update properly.  The whole page refreshes (even if I have only the list view in the page)

The observations were

  1. The whole page refreshes with the circular reload icon
  2. Having list view alone (without any other component) also refreshes the whole page.  ( similar to StockTracker example )
  3. Having other components (without list view) with the same data control used for the list view, auto updates the bar graph or pie chart without reloading the page

More details

  • I have propertyChangeSupport related code in the appropriate bean, as the values of the data points / records would change dynamically
  • I do not want providerChangeSupport as the number of data points / records will not change in list/graph
  • Bar graphs and Pie charts refresh properly using the same data control
  • Problem is only with the list views, which on including, reloads the whole page

So, is there anything I am missing for the list view.  I started mimicing the StockTracker example completely, but missing something.

Could anybody get what it is ?

Thanks in advance

- Mohan

Comments

Hi,

if the stock tracker app works for you then try and implement all that it uses in your application until it starts working. Then yo can cut back on e.g. not using the providerChangeSupport. Note that if the property change notification is only added to data points, no full page refresh should happen. So wondering how likely it is that you perform a property refresh on a container component instead the data component only

Frank

994132

I have similar requirement like Mr.Mohan. I want to search items from search box. If I enter some staring letters, it should show the list of items matching with that name. Anybody have any idea?

MohanSoundararajan

you can pretty much have it.

In value change listener of the search box, tie up your search method, which updates the list view's backing collection.  You can use the providerChangeSupport to reflect the changes in the list.

I am doing this, but for me, the refresh happens with a circular reload icon at the centre of the page, which I am tryiing to by pass

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

Post Details

Locked on Oct 15 2013
Added on Sep 5 2013
3 comments
402 views