JDEV 11g R1: Static Lov does not refresh on changing locale

Hello,
I have created a static view object. Then created another view object that has an attribute defining a LOV using the former view object. In the web application I change the locale programmatically. I'm trying to set locale in ViewRoot, and also in the binding container:
      JSFUtils.getFacesContext().getViewRoot().setLocale(new Locale(localeStr));
      ADFUtils.getApplicationModuleForDataControl(AMDC).getSession().setLocale(locale);
      ADFUtils.getDCBindingContainer().getBindingContext().setLocaleContext(new DefLocaleContext(locale));
      ADFUtils.getDCBindingContainer().execute(); The problem is that the values of static list will not be translated. Though after executing rollback operation, they will show the translated values.
I suppose it has to do with caching LOV values.
Do you have any suggestion?? How can I make this LOV refresh??
Thanks, Eniko

Hi,
taking it from:
+"However , if we refresh the table or reload after save , the toop tip also get change . but we need to update the tool tip on change the lov . any suggestion ? "+
The autput text component is part of a table ? If so then the table needs to be refreshed as the values in there are stamped. If I am wrong with my table assumption and the output text is part of a form, try setting clientComponent="true" for the output text field
Frank

Similar Messages

  • Problem. Does not refresh language change in ADF components

    I have three recource bundles designated to change the language in a user interface.. The problem is that not all elements get refreshed.. Where could be the problem?

    I use af:selectOneChoice component to choose the language. If i choose a language I must click a submit button which instantaneously executes a submit action which reloads the page. Problem is when browsing other pages (after changing the language) not all the elements contain chosen lang. some of them still show previous one.. the only way to cope with it is to log off or restart the application... then everything is ok.. until I change the language actually... Can this be a problem with rendering or smth? Any ideas?

  • Find and replace in files does not refresh when changes are made

    Using RH10, I search for a term with the Find and Replace Options pod. I use the Find Results list as a reference only, and open each file from the Topic List. I do this instead of opening the topics from the Find Results tab because I want to see the WYSIWYG changes. Anyway, I make my edits and delete the search term from each topic. Then, to make sure I have done all the work, I run the search again. I expect to see no or at least fewer matches than before, but I still get some or all of the same results as before, even though I double-check the Design and HTML views of the topics and even check the source of a topic separately in Notepad, all indicating that the search term is gone from the topic.
    There is some ridiculous lingering or echo going on. I make sure to select Look in: <Current Project>, and the paths of all the Find Results files are fine. How do you refresh the search so that this echo doesn't occur?
    Also, I close the Find and Replace Options pod, reopen it and start the search again, and the same results are there.
    Message was edited by: DMilkes

    Hi there
    To avoid the message about the file being modified, close all topics in the editor before commencing with any find and replace operations. The message is produced because you have the aforementioned topics open in the editor.
    As you mention "Find and replace in files", I'm guessing you are referring to version 8. I just opened version 8 and performed a find and replace to confirm. There is a button allowing you to clear all.
    On the clicking and dragging to create a link, it's never worked that way. You simply cannot drag from the Topic List pod to do it. But you can from the Project Manager pod. Perhaps you should consider submitting a Wish Form to ask for the ability to click and drag from the Topic List pod to create links.
    As far as rearranging your topics into different folders, as long as you do it from inside RoboHelp you shouldn't be destroying any links. RoboHelp will update references for you as you move things around. The only issue is if you are automatically creating your TOC structure based on the project structure. But usually that's a one time shot. From there forward you just manage things using the TOC editor.
    Hopefully this helps... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • LOV does not show newly added data in the same session

    Hi guys,
    I work with JDeveloper 11g Release 2. We use Oracle ADF to develop our web app.
    In a page we have a LOV (say the page name is "a"). The related data for that LOV is inserted to the db in another page ( say the page name is "b").
    When new data is added in the page "b" and goes directly to the page "a" the LOV does not show newly added data. But if the user log out and log in again
    LOV shows newly added data correctly.
    Is there a way to show the newly added data in the same session without logging out? Please help.
    Regards !
    Sameera.

    Add the following method in your ViewRowImpl base class:
    public void refreshLOVAccessorQueries() {
        List lovs = getViewDef().getListBindingDefs();
         if (lovs != null) {
             for (Object obj : lovs) {
                getListBindingRSI((ListBindingDef)obj).getRowSet().executeQuery();
                 ListBindingDef lbd = (ListBindingDef)obj;
    Export that method to the Row Client interface, add him to the pageDef, and invoke in the executables section of the pageDef:
        <executables>
    <invokeAction Binds="refreshLOVAccessorQueries" id="callRefreshLOVs"
    RefreshCondition="#{!requestContext.postback and empty bindings.exceptionList}"/>
       </executables>

  • Advanced Table does not refresh after database level action

    Hi,
    I have a page which has an advanced table. I update the advanced table from the page do some validations, update some DB level columns(also part of advanced table) and see that the changes are saved to the DB but the advanced table does not show the updates done at the DB level.
    I tried clearing the VO Cache and re-executing the VO but still it does not refresh the Advanced table data.
    This is very critical requirement for the client, any inputs will be greatly appreciated.
    Thanks a lot in Advance.
    Here is the code snippet from my CO's processRequest:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAAdvancedTableBean tblbean = (OAAdvancedTableBean)webBean.findChildRecursive("recasttable");
    if(tblbean!=null)
    tblbean.setRendered(true);
    OAApplicationModule tblam = (OAApplicationModule)am.findApplicationModule("RecastLineAM1");
    tblam.invokeMethod("initQuery");
    tblbean.getTableData();
    Here is my AM - initQuery() code:
    public void initQuery()
    //clearVOCaches("RecastLineEO",true);
    clearVOCaches(null,true);
    getRecastLineVO1().init();
    Here is the VO - init() code:
    public void init()
    System.out.println("****************************executing...");
    OADBTransaction tx = (OADBTransaction) getApplicationModule().getTransaction();
    if (tx.getTransientValue("RECAST_ID") !=null)
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("recastId: "+ recastId);
    setWhereClause("RECAST_HDR_ID = :1");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, recastId);
    executeQuery();
    }

    hi,
    This is how I am calling a DB package. the package does updates on the table. once done I am issueing a commit and requerying the data, however the vo is not getting refreshed.... Can someone point out what am I missing... why is the VO not getting refreshed....
    This is very critical...
    Thanks
    Srini
    public void validateRecast(String respKey)
    OADBTransaction tx = (OADBTransaction)getApplicationModule().getTransaction();
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("*********************validateRecast().RecastId: " + recastId);
    OracleCallableStatement ocs = null;
    Connection conn = tx.getJdbcConnection();
    String strOut="", strErr="";
    Number respId = null;
    try
    respId = new Number(respKey);
    catch(Exception e)
    throw new OAException("Invalid Responsibility");
    String stmt = "BEGIN " +
    "GE_RECAST_UTILS_PKG.validate_recast(:1,:2,:3,:4); " +
    "END;";
    try
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setNUMBER(1,recastId);
    ocs.setNUMBER(2,respId);
    ocs.registerOutParameter(3,OracleTypes.VARCHAR);
    ocs.registerOutParameter(4,OracleTypes.VARCHAR);
    ocs.execute();
    strOut = ocs.getString(3);
    strErr = ocs.getString(4);
    ocs.close();
    System.out.println("Returned with: " + strOut);
    if(strOut.equalsIgnoreCase("ERROR"))
    //throw new OAException(strErr);
    tx.putTransientValue("ERROR",strErr);
    tx.commit();
    getApplicationModule().clearVOCaches("RecastLineEO",true);
    RecastLineVOImpl lineVo = (RecastLineVOImpl)getApplicationModule().findViewObject("RecastLineVO1");
    lineVo.init();
    System.out.println("===============RecastLnId: " +lineVo.first().getAttribute("RecastLnId"));
    System.out.println("===============Product Line: " +lineVo.first().getAttribute("ProductLine"));
    catch(SQLException e)
    tx.rollback();
    if(ocs!=null)
    try
    ocs.close();
    }catch(SQLException e1)
    throw OAException.wrapperException(e1);
    throw OAException.wrapperException(e);
    }

  • PDF output does not refresh data in BI Publisher, XML and HTML do refresh

    I just upgraded to BI Publisher 10.1.3.4.0 and I noticed that the PDF format of the reports does not reflect recent changes in data, while XML data and HTML output do reflect changes in data immediately.
    I'm using BI Publisher to print APEX applications reports. When I change some data in APEX forms, I click again in the Print button and the data remains unchanged. I made some testing inside Oracle BI Publisher, and noticed that XML data and HTML output do reflect changes, but PDF output remains with the old data for some unknown amount of time. I cannot identify a method to force the PDF to refresh, just un-log and log in again several times until the data appears updated. This is serious because when users change data and print again, they expect the changes to be reflected in the new printable report, and may not notice that the data is the old version.
    OS is Oracle Enterprise Linux.
    Any help on this will be very welcome.
    Francisco

    Open the report in Edit Mode Click on the reports and in the properties section Uncheck the
    Enable Document Cache Property and your issue should be resolved.

  • Discoverer 10.1.2 does not refresh new added column

    Hello,
    I need help to add a new item to EUL Business Area folder for a new added column in the database table.
    When I refresh the folder in the BA EUL, the result shows no difference between the folder and the underlying table in the database; however, when I quey the table in the database, a new column is there. The refresh of the folder in the Discoverer Admin tool cannot find the newly added column. Weird!! The first time saw this problem.
    Could someone shine some light on it? Would be really appreciate it!
    Ping

    I have a slightly different problem and can't solve it! When I refresh the EUL, the result shows the differences between the folder and the underlying tables in the database. However, it does not refresh the EUL in Discoverer Administrator 10g. Nothing happens! When I try to refresh again, the same list is shown... Does anyone know what could be happening?
    Thanks

  • Hyperlinked JSP Page does not refresh contents

    I have a very typical problem.
    In my application whenever I call a jsp page using hyperlink without any querystring attached to it the page called does not refresh. However when I press refresh on the browser it does refresh the contents. Basically in this page I am using some session variables to fetch data. So I do not call the page by passing querystring instead set the attributes of session variables and then the page is called as a hyperlink.
    However if I call the same page using submit the values are refreshed.
    Help on this urgently will be appreciated.
    Thanks
    Manish

    Just set 'no-cache' option for the jsp page and test it. It should work. only you need to do is
    response.setDateHeader("Expires",0);
         response.setHeader("Pragma","no-cache");
         if(request.getProtocol().equals("HTTP/1.1")) {
              response.setHeader("Cache-Control","no-cache");
    have fun!!
    ---rajsekhar

  • Management Studio 2008 does not refresh after table create / alter

    hello
    Management Studio 2008 does not refresh after table create / alter, why?
    f5 / refresh button does not work in "Object Explorer".... i always need the restart the whole application to see any changes, this is strange...
    regards, jan

    Hi jm,
    I’m writing to follow up with you on this post. Was the problem resolved after performing Vishal ‘s steps? If you are satisfied with our solution, I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings
    or concerns you may have.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • JTextArea does not refresh in real-time

    Hello all,
    Somehow, a JTextArea does not refresh ok. It refreshes only after myobject terminates. As a result, it does not write the results when i append them, but when the object that appends the data to it ends (myclass in the following example).
    If anyone has any suggestion, i would be more that pleased to hear it.
    Thanks
    odyspapa
    the relevant code is:
    main
      int cnt = 0;
      MyClass myobject = new MyClass();
      JTextArea ta = new JTextArea();
      // and now call an object that is supposed to
      // write to that area (pass jtextarea as a parameter)
      myobject.produceResults(ta);
    myclass
      produceResults(JTextArea ta)
        while (something)
          // process to produce results
          ta.append(the_result);

    make your text field final and add
    ie:
    tf.repaintwhere tf is your textfield.

  • Multi-select LOV does not work in forms

    the multi select LOV does not work in the form.
    the LOV works individually but in the form it does not work. it does not allow multiple selection from the list.
    is there a workaround for this or is this a bug ...?
    any ideas ...?
    thanx a lot.
    null

    Right, we cannot store more than one value in a single column in a table :), we were getting a lot of requests to support multiple select LOVs but requirements were contradictory if not mutually exclusive.
    The only sense it makes is when used together with user-defined object types (nested tables for example) but the current [application building]infrastructure we have does not support this. However, we are looking into this and this feature maybe implemented in a future release.

  • Workbook does not refresh in MS Office 2007 on Windows 7

    Hi,
    We are facing problems when we try to refresh the BI Workbooks on the
    Computer which is having Winodws 7 (OS) and MS OFFICE 2007.
    The Workbooks goes into endless loop, and it shows Processing. The
    Query does not refresh.
    These workbook were created in MS Office 2003 on a Windows XP (OS)
    machine.
    The workbook get refreshed on the MS OFFICE 2003 and WINDOWS XP
    Machine, but the same workbook is not refreshing on the WIndows 7 (OS)
    with Office 2007.
    THE SAP GUI is 7.10 and the following are support Patches installed.
    1) bi710sp12_1200-10004472
    2) gui710_18-10002995 ( Patch 18)
    Support Patch for SAP BW is SAPKW70020 (0020). 
    Is there any other setting to be done in Excel 2007 on the Machine
    which is having Windows 7 as Operating System.
    Please suggest.
    Thanks & Regards,
    Nilesh

    you are installing, running, Windows, natively, so it is the same.
    a partition manager does not affect the OS, and the support driver software is just that
    www.apple.com/support/bootcam faq manuals how-to & support

  • Login Window: Screen does not refresh correctly after waking 10.7.2 iMac and MacBook.

    I have a client who brought to my attention that when we wakes his iMac and MacBook after the screen dims or sleeps at login screen, that sometimes the screen does not refresh correctly and you must use the cursor to basically "clear the screen."  I have witnessed this myself and elimiated all third party products and this still happens.  I am starting to believe that is is a bug in 10.7.2.  Has anyone witnessed this or have any suggestions on how to remedy?  Thank you.

    Thanks lynque.  It turns out I did need a keychain repair, but that didn't fix the problem.  I probably should have done this earlier, but I ended up unplugging all peripherals (2 firewire + 3 USB) then powered up without issue.
    So I shut down, plugged in one at a time, and ran into the problem again after plugging in an external hard drive (WD My Book Essential).  I repaired with disk utility, but the problem remained.
    I then rebuilt the partitions with Disk Warrior, and now everything seems to work....

  • My desktop calendar does not refresh

    My iMac desktop calendar does not refresh - this is since I upgraded to Yosemite.  I get a notice "can't connect to cal.me.com - make sure you are connected to the internet and try later!!!"   It pushes out to my iPad and a shared iMac computer of my husbands  but not my desktop calendar.   Any ideas?

    Please sign out of iCloud in its preference pane, then sign back in.

  • Flash Animation Does Not Refresh

    I've created a Captivate demo that has an animated flash
    segment in the middle of it. This demo was developed for a trade
    show and was designed to loop so it can run automatically
    throughout the day. Plays great through the first pass. Problem is,
    after it has run once, the flash animation does not refresh and
    play. Only the blank slides are shown. Same thing happens if you
    play the demo then try to rewind to play one of the animated
    sequences.
    If I hit F5 to refresh the browser it plays. How can I get
    this animation file to refresh automatically so it does not require
    human intervention to refresh?
    Thanks!

    Do you have your last side set to go to slide 1 as your way
    of repeating? Try setting it to open other project and just point
    it at itself, this will make it reopen the project from scratch
    (set it to open in the same window). It will have to reload of
    course, but should work as designed.

Maybe you are looking for