How to auto refresh a tree region

Is possible to automaticaly refresh a tree region?

Anyone can help me with this?
Edited by: macwadu on 4/Ago/2011 3:10

Similar Messages

  • How to auto refresh planning application -- using ABAP Class?

    Hi
    I have written few planning functions and attached them in one single planning sequence. One of the planning function in this sequence is de-activate data slice checkmark in planning modeler. If I execute this planning function indiviually then it works great however when I use this function in sequence then second function in row doesnot identify changes made by first function(data slice inactivate) and thus throws errors.
    At the same time, if I refresh my planning session and re-execute the planning sequence then it does works as REFRESH activates the changes done by first function (de-activate data slice).
    I am wondering if there is any ABAP class that can trigger this auto refresh in background else some other method to do this auto refresh ?
    Please let me know if you have any thoughts on this one.
    Thanks and happy holidays
    Al
    Edited by: Al Gon on Dec 21, 2007 3:56 AM

    Hi Al,
    The planning fn to deactivate was ineffective in a sequence was because the sequence which executes the functions does it on the data in the buffer and not actually on saved data, while your deactivation would work on the data after its saved.
    You could perhaps run that function separately from the others in the sequence and save the data first and then perform your "deactivation" function.
    Merry Christmas
    Aby

  • How to Auto Hide the Tree control

    Hi,
         Iam struck with the new requirment in my project. I need to make the tree autohide when it looses focus.
    I have some items in my tree on selecting the item, i should show the content of that page.
    I guess i need to write some logic in Mouse Events...OnMouseOver event.
    still i didnt have any clue to do this.
    can any one help me with it...
    Thanks.
    Venugopal.V

    Look in the CSS.  Try using this line:     display:none;     on the div or class when visited.
    Like this:
    #YourDivName:visited,  .YourDivName:visited    {
         display:none;
    Now, the item needs to be in a div tag or a class tag in order for this to work and it needs to be a link but I have hidden tons of HTML using this code trick.  I believe the off focus command also exists but you will need to research.
    Good Luck,
    Brett

  • Problem of refreshing a tree in web dynpro java

    hi all,
    I'm facing a problem for refreshing a tree in web dynpro java for SAP HR.
    I created a viewset with 2 cells( 1 view for each).
    In the 1st view I created a droplistbyindex to select the unit ID and in the 2nd view ( defaut=false)  I called a method to populate my tree according to my selection in the 1st view ( method called in wdInit).
    When I make the first selection everything is ok.
    But when I select another unit ID, the tree is not changed and I know the context is well changed according to my selection.
    So I think the method is executed only the first the view is called.
    In this case, how can I refresh my tree on real-time?
    Thanks for your help
    Yimin

    May be u can write the code wdDoModify instead.
    -Ashutosh

  • Dynamically refresh a Tree

    Hi Everybody,
    I need to get Tree nodes refreshed based on some criteria.
    The criteria will be based on a combobox or PopupMenuButton change
    event. To achieve the same, I am using a Tree control, which is
    being populated by an XMLListCollection. The XMLListcollection has
    a filterFunction that filters the tree nodes that will be
    displayed. The criteria for the filterFunction depends on a
    ComboBox selection.
    The filterFunction for the XMLListCollection is called during
    the Combo change event but the tree data is not refreshed and
    doesnot display the desired filtered result.
    I have tried doing this for a arraycollection with a datagrid
    and it works fine but doesnot work for a tree. How can we refresh
    the tree data. Below are the code snippet used to perform the Tree
    filter which is not working and not throwing any error as well.
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical" creationComplete="SetFilter();"
    creationPolicy="all" >
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import flash.events.Event;
    private function SetFilter():void{
    xlc.filterFunction = treeFilter;
    private function treeFilter(item:Object):Boolean{
    var blResult:Boolean = false;
    var csProject:String = [email protected]();
    // mx.controls.Alert.show(csProject + " .. " +
    cmbTree.selectedLabel.toString());
    if(csProject.indexOf(cmbTree.selectedLabel.toString()) !=
    -1){
    blResult = true;
    return blResult;
    ]]>
    </mx:Script>
    <mx:XML id="xmldata" source="data/treedata.xml"/>
    <mx:XMLListCollection id="xlc"
    source="{xmldata.node}" filterFunction="treeFilter"/>
    <mx:Tree id="trTest" dataProvider="{xlc}"
    labelField="@label" showRoot="false">
    </mx:Tree>
    <mx:ComboBox id="cmbTree" change="xlc.refresh()">
    <mx:ArrayCollection>
    <mx:Object label="By Licensee, Project" data="By
    Licensee, Project"/>
    <mx:Object label="By Licensee, Project, File Type"
    data="By Licensee, Project, File Type"/>
    <mx:Object label="By Licensee, Date" data="By Licensee,
    Date"/>
    <mx:Object label="By Licensee, Date, Project" data="By
    Licensee, Date, Project"/>
    </mx:ArrayCollection>
    </mx:ComboBox>
    </mx:Application>
    treedata.xml file has the following data that is displayed as
    tree nodes.
    <root>
    <node label="By Licensee, Project">
    <node label="Abc">
    <node label="Mugs"/>
    <node label="Test" />
    </node>
    </node>
    <node label="By Licensee, Project, File Type">
    <node label="Abc123">
    <node label="Mugs1"/>
    <node label="Test1" />
    </node>
    </node>
    <node label="By Licensee, Date">
    <node label="Abc456">
    <node label="Mugs2"/>
    <node label="Test2" />
    </node>
    </node>
    <node label="By Licensee, Date, Project">
    <node label="Abc567">
    <node label="Mugs3"/>
    <node label="Test3" />
    </node>
    </node>
    </root>
    Please advise and suggest on where I am going wrong or if
    there is any other better way to perform the desired result.
    Thanks.
    Regards,
    Paromita

    You can not filter but can you refresh the tree control? Or
    do you have to build a new dataprovider every time ... What if you
    want to add an item to a node such as:
    tree.dataDescriptor.addChildAt(tree.selectedItem,
    {label:"topper", children:[{label:"one"}, {label:"two"}]}, 0);
    once you add the item you have to expand the node that you
    added it to ... how do you get the tree to refresh ... i have tried
    tree.validateDisplayList();
    tree.validateNow();
    treeDp.refresh();
    and my dataprovider is an ArrayCollection

  • How to add vertical scrollbar to a tree region

    Hi,
    I have a page containing two regions. The first is a tree region displayed on the left hand side of the page. The second is form region displayed to the right of the tree, showing details relating to the selected node from the tree.
    How can I add a vertical scrollbar to the tree, so that I can I browse all nodes in the tree without affecting the position of the form? Currently, if my tree extends beyond the height of the page I have to use the page vertical scrollbar to view the bottom of the tree. This obviously means that the form is no longer in view.
    Thanks
    Andrew.

    Hi Andrew,
    You can't add a scrollbar directly to the region's contents, but you can wrap the contents within a DIV tag.
    In the Region Header add in:
    &lt;DIV style="height:500px; overflow:auto"&gt;
    In the Region Footer add in:
    &lt;/DIV&gt;
    Obviously, change the height value to suit your needs.
    Regards
    Andy

  • 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

  • FireFox won't auto-refresh specific site, other browsers do. How can I get FF to auto-refresh?

    I have a Help Desk application (everything HelpDesk) with a web interface. I keep my queue screen open so I can see new tickets come in and check status of existing tickets. FireFox does not auto-refresh this queue page so that new items or status changes show up. The page must be manually re-loaded in FireFox. However, other browsers (Chrome, IE, Safari) auto-refresh the queue page just fine. How can I get FireFox to auto-refresh this page?

    See:
    *Firefox/Tools > Options > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    The setting in "Tools > Options > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.
    See also:
    *https://support.mozilla.com/kb/Options+window+-+Advanced+panel#General_tab
    *http://kb.mozillazine.org/accessibility.blockautorefresh
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • 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?

  • How do i auto refresh pages please

    please how do i get the pages to auto refresh ?

    Try with Firefox Addons
    *https://addons.mozilla.org/en-US/firefox/search/?q=auto+reload

  • How can I stop auto refreshing a new web page in XP immediately after its opened?

    In XP, once I access a new web page Firefox auto refreshes that page once the page is ~80-90% opened - how can i stop this refresh?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • How to make SSRS 2008 charts auto refresh with IE9

    I have some charts on an SSRS report.  The report is set to auto refresh every 5 seconds.  The charts refresh fine, displaying any data updates in the database --- as long as I use IE8 or Chrome (Chrome only displays the top 3 inches of
    the report, though, so I can't use it).  However, the charts refuse to auto refresh with IE9.  Windows 7 doesn't have IE8.  I cannot find a solution.  How can I get IE9 to refresh the charts?  (Plain data will refresh, but charts will
    not.)

    Hi TLWKY,
    From your description, you set the report to refresh automatically and view it through Internet Explorer 9, however, the charts data of the report don't refresh properly although the plain text data of report refresh without problems.
    The issue may be caused by a javascript error with resizing image in IE9. At this time, I suggest that you redesign the structure of your report by placing the charts in rectangles. If the charts are placed in tablix, please insert rectangles into the tablix
    first.
    As a workround, you can also downgrade IE9 to IE8. To do this, we can uninstall the installed update "Windows Internet Explorer 9" from contorl panel and Windows 7 will revert to IE8 automatically after rebooting. For more information, please see:
    Downgrade IE9 to IE8 windows 7
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Mike Yin
    TechNet Community Support

  • How can I make firefox highlight new unread items on Drudge when the page auto-refreshes

    So I read Drudge Report and checkit a few times a day. It would be nice to have the unread news items highlighted. The new items that appear after the page auto refreshes. It just occurred to me whilst writing this that I would have to open every link on the page to make the task of highlighting new content easier. I don't know but if there's a way to have the new unread items highlighted it would save time scanning the whole page for new stuff.
    Thanks,
    Mark

    Have you tried to subscribe to the page?
    '''https://support.mozilla.org/en-US/kb/how-subscribe-news-feeds-and-blogs?esab=a&s=subscribe&r=0&as=s'''

  • How to fix a website that auto refreshes to not open up in a new tab.

    I use a scheduling website for work that auto refreshes. Sometimes when the page auto refreshes it opens up the current page I am on in a new tab instead of just refreshing in that tab like it usually does.
    I have reset safari multiple times and it doesn't help. Any idea what I need to do?

    Type '''about:config''' in Address bar and search '''browser.newtab.url''' change the value to "about:newtab"
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!
    When you enter a search term in the Firefox location bar and press Enter, Firefox will per default do a "I'm feeling lucky" Google search and redirect you to the first result that matches your search term. This behaviour can be changed by a number of add-ons. If you'd like to restore the previous default behaviour, please follow these steps:
    #Enter about:config in the Firefox location bar and press Enter.
    #You should see a warning that making changes to the Firefox configuration can be potentially harmful to Firefox's integrity. Click the ''I'll be careful, I promise'' button to continue.
    #In the Search box at the top, enter ''keyword'' as the search term. You should see a few remaining items, one of these is ''keyword.URL''. It should be bold.
    #Right-click on the keyword.URL setting and select ''Reset'' from the dropdown menu.
    Now you're done. Please report back if this fixes your problem. Thanks in advance!
    You can find more information about the Location bar search feature in the [[Location bar search]] article.

  • How do I auto refresh my gmail inbox?

    Auto refresh stopped working and I have to manually refresh to receive new emails.

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Click the menu button [[Image:New Fx Menu]], choose History, and then "Clear Recent History...".
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the "Clear Now" button.
    Further information can be found in the [[Delete browsing, search and download history on Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

Maybe you are looking for

  • 10g FORMS Run in 6i

    Can we Run FORMS which is compilied in 10g and it Run Forms Run time in Oracle 6.0i ???

  • PJC CURSORPOS NOT WORKING CORRECTLY

    Hello I require cursor positioning control within a block item offered by the Forms Demo Cursorpos PJC. After a similar problem successfully resolved in a previous release Forms 9i, I followed the same steps for Forms10g. Using my local OC4J environm

  • New external hard drive recommendations !!!!!

    Got a problem with a Lacie d2 hard drive. Don't think I want to go that direction again. Do you guys have any recommendations? Thanks

  • Printout of WDA Application

    Dear All i have developed a custom  WDA Application which consist of one iView. I need to take the printout of that iView.  I am not able to get the print option for that iView. Pleas help me ,  how can i get the print out of that iView Note: Taking

  • What is the java equivalent to #define

    Hi, What would this declaration be in java: #define     STRAIGHT_FLUSH     1 Many thanks, Ron