F:ajax auto refresh

Hello,
I am new to JSF and I am starting with JSF 2.0 + Facelets. I need to implement ajax auto refresh (I need some part of my page to refresh every 3 seconds), I guess using f:ajax. I don't know if it is possible and if I should use any approach different from straighforward and simple f:ajax tag.
Thanks for any help/directions,
Ignacio

Hi harry5,
According to your description, my understanding is that you want to switch the view of the custom list when one field is changed. Is it right?
I suggest you use InfoPath to achieve it. You can customize the custom list with InfoPath by clicking ‘Customize Form’, then create multiple views for the form based on your requirement. After that, click Data->Form Load, then click rules based on the
values of the status field to switch views.
More information, please refer to the last section of the article:
http://office.microsoft.com/en-001/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
I hope this helps.
Thanks,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support

Similar Messages

  • Tree Component with incremental auto-refresh?

    Is there a free (preferably) or commercial JSF tree component with a general AJAX-based incremental auto-refresh?
    Essentially when dealing with a tree of data which can lose or add nodes at any time, it would be nice to have an optional polling mechanism built into the tree that would check the server for tree insertion and removal events and handle any such events whenever they're found via incremental AJAX-based modifications to the tree -- not a full refresh. The same is true for tree node change events.
    To be clear this is not a substitute for handling client events -- the tree data is indicative of shared state and changes independently from user actions.

    I was following instructions from [http://niallcblogs.blogspot.nl/2009/06/auto-refreshing-adf-chart-objects-in.html]
    But I got it to work the way you say.
    But setting refresh="always" generates exceptions in even simple cases. Is it because I am using MySQL which does not have event notification support?

  • Auto refresh of data in Cube

    Hi,
    I created a cube and deployed with data, also viewed. I changed data in oracle table, from which the cube was prepared, but the change in the data did not appear in cube. Is there a property (auto refresh or auto update) associated with cube / App / database in EAS which can be turned on?
    Kindly advice.
    Thanks and regards,
    Veeranna Ronad.
    Edited by: Ronad on Feb 17, 2010 10:46 AM

    Can we connect to Oracle database using MaxL commands?^^^As Srinivas pointed out, you need to use the MaxL command "import" to load data into Essbase.
    See http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_imp_data.htm for more detail on how to do this. You'll see that it can load from SQL -- you will need to use a data load rule. See http://download.oracle.com/docs/cd/E12825_01/epm.111/eashelp/loading.htm and http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/ddlintro.htm for more information on data load rules.
    Importing a large table data on certain interval makes system and application very slow.^^^Do you have to reload all of the data? Can you just load the differences?
    How many records are you loading?
    Regards,
    Cameron Lackpour

  • Auto Refresh OBI Page for Current Day Only

    Hello Guru's
    I have a obiee page which needs to get refreshed every 30 seconds . I could able to do that using <META HTTP-EQUIV = "REFRESH" CONTENT = "30"> . But the triggy part is , auto refresh needs to be applied only for current day and not for any date range selected by user .
    Details :
    Prompts are defaulted to current date and time on the page, but user can also select date ranges as well . So the setting for auto refresh needs to apply only on current date (default prompt values) and not if the the user select data range .
    let me know if any of you guys have come across such .

    Check the below link and tweak it if needed.
    http://www.cool-bi.com/Customize/AutoRefresh.php
    Appreciate if you mark as correct :)
    Let me know for issues
    Edited by: Srini VEERAVALLI on Jan 4, 2013 10:46 AM

  • Broadcasting of workbooks, auto-refresh and other questions

    Hello Reporting gurus.
    Our users run BEX Analyser queries but this is evolving towards more automation and fancy things. A lot of threads exist on the subject but I have not been able to find clear answers. We are on BI 7.
    1) How do we use the broadcaster to refresh workbooks and output the results to a network share drive.
    2) Queries being part of the workbooks work with user input variables. Do I have to change all queries (or create new ones identical) with user exits variables to fill in the fields for auto-refreshing w(ith let say the current year and current fiscal period etc...) ?
    3) Is it possible to create a parameter input screen to pass on variables values to the broadcaster before the auto-refresh takes place so that I don't have to create user exit variables ?
    4) How can we view workbooks with the BEX WEB Analyser ? Or do we have to create an application with WAD ?
    Thanks

    Hi Yves,
    in Analyzer you have an menu entry publish with BI broadcaster, then a broadcaster will appear. there you can create a setting. inside that setting you can use a variant and with SPS 13 also variable sets. There you can define the users who should receive the updated workbook by mail. It is not possible to save to file system, but you can save in Portal.Web Analyzer is only to use with WAD and is not able to process Workbooks.
    best regards,
    kai

  • Using Excel 2007 to display and auto-refresh planning.

    Hi all,
    a customer wants to display a simple planning screen on a 24" monitor.
    We're using an old domain pc, with domain user (planning) logged on to display the planning file.
    We've configured the worksheet so that multiple users can edit it.
    I've also found the settings which auto-update the file. I was amazed that this is standard functionality.
    Although, it doesn't work as we expected. It goes well, but when too much users work in the file, some users still get the error message: 'can't open file because it's already in use'.
    This does NOT happen when the file is not constantly opened by the 'planning user'.
    So that's one issue, probably caused by the 'planning user', having the file opened 24/7.
    Another issue is that the file stops auto-refreshing after a while. I didn't find any pattern in that.
    So basically, what the customer needs is:
    Display Excel worksheet
    Auto-refresh
    I've found some nice articles about SharePoint and Excel services, but unfortunately they're running SharePoint 2010 Foundation, which does not include Excel services...
    Is there any other way or tool to achieve this, without using the Excel-built-in options?
    Or maybe there's a fix for that problem?
    Thanks in advance.

    Hi LunAds,
    I'm afraid you have just discovered how bad these features are implemented in Excel: they just don't work properly and I always advise against using them for any serious long-term solution.
    If you do not have Excel services, then editing the document on the server (which would prevent lots of problems) is out of the question indeed.
    Alternatives depend a lot on your needs.
    For example, you could use sharepoint lists that the users can edit and then import those lists into Excel for reporting purposes.
    But if this is relational data (parent-child tables, which is very often the case) then a database solution is probably the best route to take.
    Regards, Jan Karel Pieterse|Excel MVP|http://www.jkp-ads.com

  • Auto-refresh formatted search is not working properly...

    I have created a User Defined Field in Item Master named: FLD1 (Alphanumeric 30)
    Then I have created a User Defined Field in Marketing Documents Row: FLD1 (Alphanumeric 30)
    Now I want as follows u2013
    In Marketing Documents if I select any Item, the value saved in FLD1 in the Item Master will come automatically in the Field FLD1 of the Marketing Document.
    I did as follows u2013
    I have created a formatted search for the above marketing document (in Sales Quotation) for the field FLD1 as follows u2013
    Option: Search in Existing User-Defined Values according to Saved Query
    Query: GetItemFLD1 (SELECT $[OITM.U_FLD1] )
    Option: Auto Refresh  -
    When Exiting Altered Column
    Field: Item Description
    Option: Display Saved User-Defined Values
    But the above is not working automatically --- after saving the document if I click on the Formatted Search Marker then the value comes otherwise not.
    Can any one please explain the reason behind?
    for SAP B1 2007 B SP0 PL7
    Edited by: Narottam Das on May 5, 2009 1:53 PM

    Check this thread for explanation of Syntax of FMS:
    [Refer to Sales Order From Payment Means;
    Refer Suda Sampath  reply that explains clearly

  • OM: Disable auto refresh check box in Quick Sales Order Form

    hi,everyone
    In screen [Quick Sales Order Form],
    we want to let the auto refresh check box always be checked and can not be updated with Form personalize.
    I didn't find the item in this form,
    and i konw that there is a value which defined in the Profile : [OM: Quick Sales Order Form: Auto Refresh](ONT_QUICK_OE_AUTO_REFRESH).
    Can anyone give me some suggestions?
    thx for ur help.

    hi,Pradeep
    Thanks for your reply.
    Actualy,the profile "OM: Quick Sales Order Form: Auto Refresh" has been setted into 'Line' firstly as we want to auto-refresh order lines.
    So the 'auto refesh' checkbox is checked with default value in the screen,
    but the order line would not be auto-refreshed when user uncheck the checkbox manually.
    So we want to disable or invisible the 'auto refesh' item in the screen with form personalize,
    the problem is i can not find the item or the block in the form.
    Or is there any suggestions to archive this?
    Can you please help me?
    Thanks,
    Leno
    Edited by: Leno Sun on 2013/05/07 19:35

  • Formated Search: Auto refresh with two conditions.

    Hi,
    I've created a Formated Search in one of my column.
    I defined my formated search as :
    - Auto refresh "When Exiting Altered Column" Item No.
    - Display Saved Values.
    Now how can I make it Auto refresh with two conditions?
    - Auto refresh "When Exiting Altered Column" Item No.
    And
    - Auto refresh "When Field Changes" Customers/Vendor Code.
    - Display Saved Values.
    Is there any way to make it work?
    Thanks In Advance.
    Bruce.

    Hi Bruce,
    You could try this trick.
    You need to execute SELECT1 in Col1 when Item No. column is altered or the Customer code is changed.
    Then, in the Item No. column asign a new Formatted Search which selects the Item No. column value (Its value) when the Customer code is changed.
    And in the Col1 asign a formatted search that acts when the Item No. column is altered.
    I think this should do the trick.
    Let us know if works.
    Regards,
    Ibai Peñ

  • Outlook 2007 won't auto refresh the internet calendar

    HI, 
    I subscribed a web ical with the instruction (File > Account Settings and then the Internet Calendars
    Tab, then click New and enter the path)
    for outlook 2007:
    the new calendar could display all the events correctly after set up, but it won't update the new event anymore automatically. even I close and re-open the outlook, it still not update, the last update time is the time when set up this calendar. 
    for outlook 2010, i tested, it can auto update the internet calendar when open the outlook everytime.
    is this the problem with outlook 2007?
    (I don't want user to press F9 to refresh everytime) 
    and i also tried to add X-PUBLISHED-TT property in the iCal file and it seems not working also
    Please help ! Thanks !

     Hi
    zhenyun,
    Sorry for Late reply, if you are still facing same
    issue then you should go for some kind of auto refresh plug-in or Add-in. After a bit search on Google, I found some of them called
    “Zoho” and “Vtiger”.
    As I am not much sure about this Add-in, you have to read about
    its functionally first by visiting given link.
    http://www.zoho.com/crm/help/outlook/using-plug-in-for-microsoft-outlook.html
    https://wiki.vtiger.com/vtiger6/index.php/Outlook_Plugin
    Hope, this link and Plug-in will give you some relax.
    Thanks
    Clark kent

  • How to make use of Listener to auto refresh  items in SelectOneMenu

    Hi,
    I have a transaction jsp page that make use of the SelectOneMenu of which the Selectitems for example consists of all the item_code are added to the dropdownitems through the sessionBean1 ArrayList.
    The problem started when new item_code are being added to the SQL tables using other JSP that allow user to input new item code.
    JSF transaction page using SelectOneMenu could not effectively updated the options to include and reflect the new item subsequently added simply because the page has been rendered to the user .
    I believe using some sort of listener , whenever any action or event took place , JSP that are having the particular UI components being rendered could be auto refresh at the client side of JSP html page.
    Could anyone provide some hints?
    Thank

    Hi,
    Thank for the suggestion,
    In fact I am looking for two possiblity on how to overcome this sort of issues,
    Firstly , if the JSF page has not been rendered , you could always make use of the sessionbean1 to do the job , for example if you add a new item to the selectOneMenu dropitems, you could make use of this method to update the list of items in the dropitems , though it would always be the last items on the sorted list .
    Secondly , using some sort of autorefresh to push to the client to inform the user that new item have been added , advise them to manual refresh the page.
    I am in fact using the first method to add new item to the dropdownmenu for those JSP that involve page forwarding and redirect such as shopping basket / cart beans .
    My concern is when displaying the list of real-time shopping items available to the user , method 1 would not work at all , simply because JSF page was already rendered to the user browser, only beaming alerting message seems to be able to overcome such shortcoming when scenario demand realtime.
    Thank

  • UDF at header level will not auto refresh before & after adding the invoice.

    Hi All,
    I have a FMS query in the UDF at AR Invoice header level. I have set the FMS query to auto refresh when tax rate field changes but the UDF doesn't auto refresh when there is a tax code in the document.
    I will need to add the invoice first then open the added invoice and press shift+F2 to get the calculated amount in the UDF to update the invoice.
    How to get the UDF to auto refresh whenever the tax code has changed? Or after the invoice has added?
    The FMS query:
    SELECT sum(T0.[TotalSumSy]) FROM INV1 T0 inner join OINV t1 on t1.docentry = t0.docentry WHERE T0.VatGroup in ('SR','DS','AJS') and t1.docentry = $[OINV.docentry]
    Thanks & BR,
    Leng

    Hi,
    I solved the problem following the steps in SAP note 633285 - Printing the total Vat amounts in each Vat group, https://websmp130.sap-ag.de/sap/support/notes/0000633285
    In order to print  in the  order  the Vat amount  in each vat group Please perform  the followed stages:
    Go to Tools (in the SBO tool bar ) and chose Manage User Field
    In Marketing Documents (Rows) add new fields according to the Num of the vat groups that you are using in Orders (e.g. A1, A2 ,A4) The type : Units and Totals  - the Structure: sum in the order each column will represent the vat amounts in the line but only for certain  Vat Group
    in order that each column will display the vat amount in the line only if it belong to certain Vat group we attach a query to each column: (e.g. we have 3 columns : A1, A2, A4) .the queries are;
    SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A1' FOR BROWSE  SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A2' FOR BROWSE SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A4' FOR BROWSE Now each column will display the vat amount only if it in the relevant vat group
    in the order document printing template you need to add those Vat column in our example we add 3  data fields : the file: Order - Rows , the Field: A1/A2/A4 - you can hide (un visible ) this columns as needed
    in the Repetitive Area Footer add a calculation field for each vat groupthe Type: Column Total , the Column: Order; A1/A2/A4 in each calculate field you will get the sum amount of the vat in the relevant Vat group. (in  addition you can add text fields with a relevant description for the calculation fields)
    Thanks & BR,
    Leng

  • In BSP-HTMLB what is the code for auto refresh.?

    Hi friends,
    In BSP-HTMLB what is the code for auto refresh.?
    Means i gave the input every 2 minutes once my output should get refresh.
    So what is the code in bsp-htmpb?
    Moosa

    Hi Moosa,
    Many threads on this topic...
    [Auto Refresh - I|Auto refresh]
    [Auto Refresh - II|Auto-Refresh for BSP page]
    [Auto Refresh - III|Page refresh.....]
    Search the forum for more information.
    Regards,
    Anubhav

  • Auto refresh flash chart not working (APEX 3.1)

    Hi All
    I followed the instructions on how to update auto refresh flash charts on the following page:
    http://www.inside-oracle-apex.com/2007/04/auto-refresh-flash-charts-in-apex-30.html
    Is there anything else that needs to be done? I dont get a 'last refreshed' date, nor does the chart refresh itself.

    user447071,
    I would check:
    1) Can you access the flash files directly? Look at the page's HTML to find reference to an SWF file, then try to access that from the URL.
    2) Is the XML coming back properly? Run the page in debug mode, then click the "Show XML" link after the Flash chart.
    - Marco

  • Auto refresh in BPM Composer

    Hi Experts,
    I am using Weblogic 10.3.5 and configured managed server for BPM 11.1.1.5.
    The Business Process Composer’s project page is getting auto refresh at every 30 seconds. Kindly give the solution for resolve this issue.
    Thanks in advanced
    Regards,
    Bala.

    Rakesh, is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

Maybe you are looking for