Jsf page not getting refreshed with updated values?

Hi All,
- managed-bean - session scope.
- On a request, Even though, I am updating the bean's properties(values), my Jsf page is not getting refreshed with updated values as it is displaying the older values.
Can anybody throw some light?
Thanks in advance.
- Sri

Please try to give us more information, follow BalusC suggestion.
For this moment I only can say you that the more common cause to this problem (in my expirence) is that you have problems with your conversion/validate phase.

Similar Messages

  • ADF Struts : Form not getting refreshed with new values

    I have a view object based ona entity object. It has an additional attribute(calculated attribute) selected from some other table. In my browse page, I click on edit button and change the calculated attribute in the edit page and comeback to the browse page. In the browse page, the changed calculated attribute is not getting reflected. however the database has the changed value. Now, if I query the same browse page in a different browser window, it shows the changed value. But, still the original browser window shows the unchanged value only(even after refreshing the browser). So, this is server caching. Why is the application module not refreshing the bindings? What should be done to achieve the bindings refresh?

    Did you look at:
    http://radio.weblogs.com/0118231/stories/2005/06/16/whyIsntRefreshingTheBrowserPageEnoughToRefreshTheDataDisplayed.html

  • Report doest get refreshed with updated data

    Hi All,
    I am facing a strange problem, where my report doest get refreshed with updated data when it’s called second time.
    1.     Screen1 – Preview option – Preview Screen
    2.     Preview Screen – Print option (Button) – Report generated and displayed in the IE Browser window with a dynamically generated PIN (Query written in WHEN-BUTTON-PRESSED trigger)
    3.     Screen2 is displayed in the backend
    4.     Screen2 – Cancel option – Screen1
    5.     Screen1 – Preview option – Preview Screen
    6.     Preview Screen – Print option (Button) – Report generated and displayed in the IE Browser window with a same PIN as in step2. Actually here the Query written in WHEN-BUTTON-PRESSED trigger generates a new PIN.
    7.     When checked in the backend this new PIN is updated, but the same is not displayed on the Report. That means to say that report is not refreshed. When I click on the refresh button in the IE Browser window explicitly, the report is refreshed and displays the PIN as found in the backend.
    What I expect is that the report should get refreshed automatically with a new PIN, when I choose Print option in Preview Screen.
    Can anybody help me in overcoming this challenge?
    Regards,
    SAM

    Hi All,
    What i did was i encoded the PIN and sent it as a paramter to call the report.
    In the report i decoded the PIN and printed it. This way my URL to call the report was always updated with the decoded PIN value and would refresh the page successfully, everytime its called.
    Regards,
    SAM

  • Child CMP local object not getting refreshed with parent entity information

    Hi,
    I have a container mnaged relatioships (example) between Emp and Dept entities. I have generated their DTO and using them to tranfer data across layers.
    I am updating deptno CMP field of EMP entity and returning the Entity DTO. When extracting dept information like empLocalDTO.getDept_Deptno().getDname(), it's returning old department name.
    Can anybody help in resolving this problem of DeptLocal object not getting updated when setting deptno on EmpLocal entity?
    Session Bean updateEmp method code:
    EmpLocal local = (EmpLocal) getEmpLocalHome().findByPrimaryKey(dto.getEmpno());
    local.setDeptno(dto.getDeptno());
    local.setSal(dto.getSal());
    local.setJob(dto.getJob());
    EmpLocalDTO eDTO = new EmpLocalDTO(local);
    Servlet Code:
    localDTO = empLocal.updateEmp(localDTO);
    out.println("Dname : " + localDTO.getDept_deptnoDTO().getDname() + " <BR/>");
    Thanks

    I haven't personally seen this but Daniele Grandini in his article states:
    -          The
    ICMP latency between the Management Server and the Domain Controller is above 150 msec (this is no fixed rule)
    - This specific issue manifest itself when the Active Directory lookup takes more than 1000 msec (more or less);
    If the agents have been green (healthy) intermittently then it suggests that it is not a configuration issue as such with the agent but some sort of communication \ authentication issue. And that suggests you are seeing the same issue .. at present there
    isn't a straight forward workaround as you can't force the agents to use certificates to get around the problem. 
    The notes at the bottom of Daniele's article are not promising - http://nocentdocent.wordpress.com/2012/10/26/opsmgr-2012-agents-across-slow-wan-links-are-unable-to-communicate/
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • Cell data not getting refreshed in which user enters data OO ALV(editable)

    Hi Friends,
    I am using OO ALV for editable grid display.
    I am unable to change grid data in the cell in which user enters something, using OO ALV. Did through debugging of my own program and found that some problem with system program. Then I did all system debugging. Could not find out why is the grid not getting refreshed with the new data in the cell in which user had entered some value. Rest of the cell's data are getting refreshed with the values which i am updating in the final internal table. I can see that the data in the final internal table is changed for the cell in which user enters data. But even after the call of
          CALL METHOD obj_alvgrid1->refresh_table_display
    does not refreshes the data in the cell in which user had entered data. Rest of the cells data are getting refreshed.
    Piece of code:
      SET HANDLER obj_event_receiver->handle_data_changed
                                         FOR obj_alvgrid1.
        METHODS: handle_data_changed
                       FOR EVENT data_changed OF cl_gui_alv_grid
                           IMPORTING er_data_changed
                                     e_onf4
                                     e_onf4_before
                                     e_onf4_after.
    METHOD handle_data_changed.
      DATA : v_valid    TYPE char1,
             v_refresh  TYPE char1.
    *--check mt_good_cells semantically
      CALL METHOD perform_semantic_checks( er_data_changed ).
    *--If PBO is again visited, just refresh the ALV grid.
      CALL METHOD obj_alvgrid1->refresh_table_display
        EXCEPTIONS
          finished = 1
          OTHERS   = 2.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
    ENDMETHOD.
    METHOD perform_semantic_checks.
        LOOP AT er_data_changed->mt_good_cells INTO w_good.
          v_index = sy-tabix.
          CASE w_good-fieldname.
            WHEN 'ZASCAS'.
    *Now here based on some conditions I am changing my final internal table i_zamtsmatnp
                              MODIFY i_zamtsmatnp FROM w_zamtsmatnp INDEX
                                               w_good-row_id TRANSPORTING
                                                 zascas modif.
    User enters data in zascas field. Based on the data entered, I am changing other fields which is getting refreshed. I am also changing zascas in the program even after user had already entered the value which was bit wrong and i am correcting it in the program on the even "data_changed" even.
    Please help me friends as i m strugling past hours wondering why the data is not getting refreshed for the cell in which user enter data.
    Regards,
    Surya

    Hi Surya,
       The approach you are following is correct. You need to use the comibnation of all these things:
    Event - DATA_CHANGED
    Methods - CHECK_CHANGED_DATA
                 -  GET_CHANGED_DATA.
    However, here are few standard programs which are having similar functionality.
    BCALV_EDIT_03
    BCALV_EDIT_07
    Check out these once.
    Note: If anything is helpful, dont forget to reward points
    Thanks,
    Adithya K
    SAP Practise
    [email protected]

  • Toplink Cache not getting refreshed after executing UpdateAllQuery

    After executing UpdateAllQuery, the records in the database are getting updated, however the Toplink cache is not getting refreshed with the new data, it still has stale data which is causing issues.
    We're also setting
    updateQuery.setCacheUsage(UpdateAllQuery.INVALIDATE_CACHE);
    Thanks.

    Toplink version is 10.1.3.0.0
    Here is the code
    UpdateAllQuery updateQuery = new UpdateAllQuery(RegisterImpl.class);
    updateQuery.setCacheUsage(UpdateAllQuery.INVALIDATE_CACHE);
    ExpressionBuilder registerBuilder = updateQuery.getExpressionBuilder();
    updateQuery.addArgument("userIdArg");
    updateQuery.addArgument("channelArg");
    updateQuery.addArgument("tokenArg");
    updateQuery.addArgument("dateArg");
    updateQuery.addArgument("businessFuncIdArg");
    Expression reservedDetailRegExp = registerBuilder.get("reservedDetail");
    // build expressions
    Expression userIdExp = reservedDetailRegExp.get("userId").equal(
    registerBuilder.getParameter("userIdArg"));
    Expression channelExp = reservedDetailRegExp.get("channel").equal(
    registerBuilder.getParameter("channelArg"));
    Expression tokenExp = reservedDetailRegExp.get("token").equal(
    registerBuilder.getParameter("tokenArg"));
    Expression dateExp = reservedDetailRegExp.get("date").equal(
    registerBuilder.getParameter("dateArg"));
    Expression busFuncExp = registerBuilder.get("businessFuncId").equal(
    registerBuilder.getParameter("businessFuncIdArg"));
    // set selection criteria
    updateQuery.setSelectionCriteria(userIdExp.and(channelExp.and(tokenExp.and(dateExp
    .and(busFuncExp)))));
    // substitute the values
    updateQuery.addUpdate(reservedDetailRegExp.get("userId"), "");
    updateQuery.addUpdate(reservedDetailRegExp.get("channel"), "");
    updateQuery.addUpdate(reservedDetailRegExp.get("token"), "");
    updateQuery.addUpdate(reservedDetailRegExp.get("date"), "");
    updateQuery.addUpdate(registerBuilder.get("businessFuncId"), "");
    In the object model for the query, the RegisterImpl has an aggregate mapping (ReservedDetail), which in turn has a number of direct-to-field mappings and an one-to-one mapping to businessFunction (for our query we use a direct query key "businessFuncId")

  • Values not getting refreshed in web report.

    Hello Friends,
    Currently i am running an web report. The scenerio is i have check box with 5 options For Ex: IMS , IMR, IMN,IMM,IMP.
    IMS is the combination of all divisions and IMR is the combination of only three divisions.
    In BEx we runthe report with divisions . For ex : divisions are Ind1, ind2,ind3,ind4,ind 5.
    Instead of displaying divisions in the select options like Ind1,ind2....etc., we have created a structure in the report
    and using new selection we have restricted the divisions with IMS,IMN,etc.,
    IMS->combination of all divisions. IMR is combination of ind1,ind2,ind3.
    IMN... all are with single divisions
    Now we have assigned the query in the data provider for select options in hte web report,
    But when we select any options the values of the remaining queries are not getting refreshed.
    If we use the divisons directly with out using the structures the values are getting refreshed.
    Can any one give me the solutions for this?
    Regards
    Srinivas

    Hi Mansi,
    Check the Prompt properties in the Edit Query window of the webI. In the query filters section of window, click on the blue icon which says Prompt Properties. Deselect Keep Last values select and run the webI again.
    If the solution is not related to your question, please provide more details.
    Thanks,
    Rajesh

  • Message not getting refreshed in bsp pages.

    Hi experts,
    An error message which is getting displayed should be removed on leaving the page. I mean the meassage area is not getting refreshed on leaving the page. Everytime i need to refresh the page to remove it. Please help.
    Abhi.

    hello Friend,
    Please clear the internal table / work are used to show message in OnInitialization method of the BSP page.
    now It is not getting cleared at the time leaving the page and data stays in memory...
    Thanks
    K.

  • Not getting cleared with internal working of JSF

    Hi All,
    I have started with basics of JSF and created some simple apps using netBeans.
    However I am not getting cleared with the exact internal working of JSF i.e. how the things are implemented in JSF libraries: jsf-api and jsf-impl.
    Please advice or share some links on this.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    While creating JSP custom tags, we start from scratch by first creating tag handler class then .tld file for that and finally deploying both these files.
    I am looking for a similar approach for making our own JSF component.
    I don't want to put jsf-impl API into lib directory. Is it possible to make a simple component using jstl standard libraries ?
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Solved af:table is not refreshed with updated MBean data from list even

    Hi,
    I have a af:table which gets its data from a Managed Bean List type varaiable.
    My table hav one lov as a row item.
    When i change the lov in each row... a new row should get added to the table.
    So in the value change listener of the selectOneChoice i added one element to the list.
    Enabled PPR on table.
    But table is not getting refreshed until i click on some button or link.
    Thanks
    Murali
    Message was edited by:
    Murali Chepuri

    Solved after adding partialtarget in ValueChangeListener.
    Thanks
    Murali

  • Why did i not get siri with my update to 7.0?

    why did i not get siri with my update to 7.0?

    Thanks   I thought thats the way it was but had some coworkers with a 4 and they got it with the update?

  • My ipod says it is updated to most current 6.1.6, i use the rdio app and it worked but now with the update it needs 7.0 but i do not get option to update to this what do i do?

    my ipod says it is updated to most current 6.1.6, i use the rdio app and it worked but now with the update it needs 7.0 but i do not get option to update to this what do i do?

    See the chart below to determine whether you can upgrade your device and what you can upgrade to. If you do not have a Software Update option present on your iDevice, then you are trying to upgrade to iOS 5 or higher. You will have to connect your device to your computer and open iTunes in order to upgrade.
    IPhone, iPod Touch, and iPad iOS Compatibility Chart
         Device                                       iOS Verson
    iPhone 1                                      iOS 3.1.3
    iPhone 3G                                   iOS 4.2.1
    iPhone 3GS                                 iOS 6.1.x
    iPhone 4                                      iOS 7.1.x
    iPhone 4S                                    iOS 8.x.x
    iPhone 5                                      iOS 8.x.x
    iPhone 5c                                     iOS 8.x.x
    iPhone 5s                                     iOS 8.x.x
    iPod Touch 1                               iOS 3.1.3
    iPod Touch 2                               iOS 4.2.1
    iPod Touch 3                               iOS 5.1.1
    iPod Touch 4                               iOS 6.1.x
    iPod Touch 5                               iOS 8.x.x
    iPad 1                                          iOS 5.1.1
    iPad 2                                          iOS 8.x.x
    iPad 3                                          iOS 8.x.x
    iPad 4                                          iOS 8.x.x
    iPad Mini & Mini Retina                iOS 8.x.x
    iPad Air                                        iOS 8.x.x
    =====================================
    Select the method most appropriate for your situation.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • Data is not Getting refresh in Dashboard

    Hi I have implemented Xcelsius on the top of SAP BI System.
    I have the following architecture -
    SAP BI Cube --> BO XI 3.1 Universe Based on Cube --> QWaaS on the Universe --> Xcelsius Dashboard on the QWaas.
    When i created a dashboard and run it , it worked fine and showed me data , which is lying in Cube.
    But When the Data get updated in Cube and i again refresh the Dashboard , It still showing me the old data , the Data is not getting refresh in Dashboard .
    what could be the possible casue ?
    Is QWaas always fetch the dat at run time ?
    Thanks

    QaaWS web service call needs to be invoked to get the data updates from the datasource. Xcelsius provides several options to command how frequently web services connections are calle/refreshed ('refresh on load', 'refresh every X seconds' or trigger cells...).
    You should also keep in mind, that, since QaaWS hits datasource each time web service is called, this can bring some performance issues (web service calls WebI server to run corresponding query, which performs a refresh). In order to mitigate this, since XI 3.0, QaaWS features a cache mechanism, that is used to store data results from each query refresh (corresponding to a web service call), in order to serve it again with better efficiency, in case same request is performed during a specific time interval (which typically corresponds to dashboard interactions).
    Cache sessions are sorted according to the user names and prompt values used, cache is emptied after a defauilt duration without any interaction (request from the same session).
    Cache timeout duration is set for each QaaWS query, and can be tuned from QaaWS Designer when modifying/creating the query : go to Advanced... button on first step of query edition wizard, cache lifetime corresponds to timeout value (in seconds) displayed on Advanced parameter panel (default value being set to 60 seconds).
    Cache lifetime may also be an explanation why you do not see data refreshed (if you are with QaaWS XI 3.0 or later).
    Hope that helps,
    David.

  • Lov command link does not get refreshed

    We are using Jheadstart 11.1.1.4.26 with Jdeveloper 11.1.1.4 and we think we have found a bug.
    The scenario includes two items, an inputtext (FirstName) and an LovItem (ManagerId)
    The LovItem (ManagerId) is dependent on the inputtext (FirstName) with Clear/Refresh and has a Disabled Expession #{bindings.EmployeesFirstName.inputValue==null} so that when the Firstname is null the LovItem (ManagerId) is disabled.
    This seems to work fine except from the commandLink of the LovItem which does not get refreshed. This is probably because the Id of the commandLink is not included in the componentsToRefresh item inside the EmployeesFirstNameDependsOnItem.
    Of course we could create a custom vm for the default/misc/facesConfig/dependsOnItemBean.vm and pass the id of the commandlink but we are looking for a more generic way.
    <managed-bean id="__168">
    <managed-bean-name id="__169">EmployeesFirstNameDependsOnItem</managed-bean-name>
    <managed-bean-class id="__170">oracle.jheadstart.controller.jsf.bean.DependsOnItemBean</managed-bean-class>
    <managed-bean-scope id="__171">application</managed-bean-scope>
    <managed-property id="__172">
    <property-name id="__173">itemsToClear</property-name>
    <list-entries id="__174">
    <value id="__175">EmployeesManagerId</value>
    </list-entries>
    </managed-property>
    <managed-property id="__176">
    <property-name id="__177">componentsToRefresh</property-name>
    <list-entries id="__178">
    <value id="__179">EmployeesManagerId</value>
    </list-entries>
    </managed-property>
    </managed-bean>
    I sent a testcase to '[email protected]' last friday.
    Regards
    Vasileios

    Vasileios,
    Thank, I was able to reproduce this. We will fix it in the next release.
    Here is how you can fix it using custom templates:
    - add the following macro to your custom macros file:
    #macro (ITEM_LINK_PARTIAL_TRIGGERS)
    partialTriggers = "#foreach($item in $JHS.current.item.dependsOnItems) #if (($JHS.current.pageComponent.hasOverflowRight || $JHS.current.pageComponent.hasOverflowRightWithSplitter || $JHS.current.pageComponent.hasOverflowBelow || $JHS.current.pageComponent.hasOverflowBelowWithSplitter) && $JHS.current.item.displayInTableOverflow && !$item.displayInTableOverflow)${JHS.current.group.shortName}PC:${JHS.current.group.shortName}Tab:#end${item.id}#end" #end
    - in the custom formLovItem and tableLovItem templates, add this macro to the commandLink element:
    <af:commandLink immediate="true" partialSubmit="true" #ITEM_DISABLED_IN_FORM() #ITEM_UPDATEABLE_IN_FORM() id="#NEW_ID("cl")" #ITEM_LINK_PARTIAL_TRIGGERS()
    Steven Davelaar,
    JHeadstart team.

  • DDocType meta filed not getting refreshed

    Not sure what could be the cause for this. I added some values for dDocType meta data fleld. The values are not getting refreshed. I restarted the server removed browser cookies but still the doct types I see is old. I checked the database to see if the table is updated with values. The values in the table are correct. What could be the reason for dDocTypes not showing the latest entries?
    Regards,
    Pratap

    This sounds familiar, I think I solved it by just restarting the browser.
    Also check that you're not using pre-defined values for your rules.

Maybe you are looking for

  • How do I select multiple songs and uncheck them from compilations (itunes 10.5.2)

    So I found to my annoinance that itunes has recently moved much of my music to compilations that shouldn't be there. I tried searching online for how to turn compilations off or select multiple songs and uncheck them from compilations all at once and

  • Database mailbox grow quickly Exchange 2010 SP3

    Hello. Since we migrated from Exchange 2003 to 2010, the growth of our databse mailbox is excessive. We have a total mailbox size hovering around 75 GB and the size of the database is 120 Gb. Mailbox quotas are very limited and 90% of users move emai

  • C7 display: black .... not so black

    I've an issue with my C7-00 and don't know if it's a fault of my device or a by-design charateristic. I've problem with dark gray and even black: it's never really black, but  always a kind of dark maroon. I've tried to load and display on the phone

  • Mass 'check-out'

    We wish to check out entire folders and subdirectories of files. How is this done programmatically. (We prefer using PLSQL to alter the database tables, over JAVA, right now). Naturally, this implies that we want to check the files back in batch-wise

  • Ok thanks but it wont print text at edge of page

    Thanks the scaling was not checked good catch. But when I print to scale it won't print any text near my right border. I have changed paper size to allow it to have more room but it still prints at 36'' wide and cuts off text at right hand side of dr