Forum Stats

  • 3,784,031 Users
  • 2,254,874 Discussions
  • 7,880,653 Comments

Discussions

Re: Image field cannot refresh when navigate records in jsf page

kdario
kdario Member Posts: 3,519 Silver Crown
edited Sep 14, 2014 7:54AM in JDeveloper and ADF

As this has nothing to do with browser caching you should open new forum thread.

I will just give you some hints how to refresh your data, so you can open new thread if you have additional questions:

a) add Method Call Activity to your navigation(so instead of direct navigation to some page, first navigate to Method Call Activity to execute your iterator and then navigate to page)

b) use PagePhaseListener(or something like that ) to execute query

c) use Database Change Notification to register callback for db changes(this applies only to Oracle DB)

And note that "normal way" to refresh page is usually very bad for applications based on JSF/ADF so you should instruct your users to never use browser refresh and back button.

Dario

Comments

  • kdario
    kdario Member Posts: 3,519 Silver Crown
    edited Sep 14, 2014 6:55AM

    Hmm, it seems that this forum has some issues(or 'features')

    Post above is reply to this thread: Image field cannot refresh when navigate records in jsf page so I don't know how this became totally new thread

    Dario

  • BAO.SZ
    BAO.SZ Member Posts: 422

    Dario,

    As you said, this topic is off the original thread (Image field cannot refresh when navigate records in jsf page), but is valuable to me. so I branch it as a new one.

    I have two furthur question2:

    1.Your suggestion to refresh page data seems a bit complicated, does it the best practice for the job?

    --It seems, we also need to use Active Data technology?

    2.Can have more evidence or reference docs on this sayings:

    "normal way" to refresh page is usually very bad for applications based on JSF/ADF
    

    Thanks.

  • BAO.SZ
    BAO.SZ Member Posts: 422

    I use the Actions-->branch feature.

    But I cannot edit the first branched post, and you become the author of this thread.

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,802 Red Diamond

    BAZ, now things get messi

    Your intention was good, however branching away the answer isn't something you, we or anybody should do. Now @kdario is in the drivers seat for this thread, not you. It's a flaw in the software that you can branch away part of the thread, not your fault.

    Anyway I suggest that you open a new thread with your follow up question referring to the original thread. Abandon this one, please. We are happy to answer to the new thread.

    Timo

  • BAO.SZ
    BAO.SZ Member Posts: 422

    Timo and kdario,

    I'd glad to open a new thread for the topic. and thank you all very much for your patiences and kindness.

    I think the 'Action-->.branch' is an useful feature when some improvement been made, that is:

    When make the branching, the operator (which should be the author of the original thread) should be still the 'driver of the new thread',

    and can edit the title and post content for the new thread.(but now cannot).

    The benefit of above feature is :

    1. the new thread usaually will have some relation with the original one, so keep the relation between them will make the contents/threads in this forum more relevent.

    A relevant connected network of information will be more useful than a vast volume of unrelated segements of posts.

    2.little inputing will be needed by branch if the author can edit the original branch out post.


  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,802 Red Diamond

    I agree with you, however this is not the right place to discuss this. There is already an enhancement request (idea as it called in the new forum wording) for this at where you can add your comment and vote for the request to get implemented.

    Timo

This discussion has been closed.