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?

Similar Messages

  • Flex 4, is it possible to populate a tree component with sqlite table data?

    is it possible to populate a tree component with sqlite table data?
    If it is, how would I go about doing this?
    Thanks
    Kristin

    Hi Mustafa,
    it is true, the function can return component as type. This is more for the scenario, when you want to recognize some component based on some checks, eg.
    if(something)
    return CHECKBOX_1;
    else
    return CHECKBOX_2;
    so, the use case exists for sure. But of course the application itself is static.
    where do you see a scenario for dynamic creation of components?
    The only one component which can instantiate new components is the SplitCellContainer, and this is restricted to the drag&drop action from Fragment Bookmark Gallery. And this is again restricted to containers, as Fragment can hold containers as parent component. Of course the container content will be created/instantiated as well (I have coded example with ComponentManager in the Community SDK: Second Functional Application with SDK Components (Online Composition v.2) blog).
    As far I know there is no function in SplitCellContainer which would "simulate" the drop of a Fragment today (perhaps worth an Idea on this?). Having that - the scenario would be possible. Today, this can be made partly - but the user would need to drag&drop a prepared fragment with the component.
    Anyway, the problems will start after the creation - then it would be require to have also functions to re-position the new created component in some other container - this would be complex probably.
    Karol

  • Giving a component with incremental color range in CSS

    Is there a way to use the
    background-color : #E6E5E5 to #F0F0F0 ;
    which fills my component from #E6E5E5  then incrementing till #F0F0F0.
    i can achieve this using a similar type image as background,
    but i need to know is that possible in CSS.
    Pls help me out with related discussion or topics.

    Hi!
    If I want to do a selection through color range using selection with highlight tones for example i can't control the tolerance.
    I'm using the 14.0 x64 Photoshop CC version on a mac. Scripts are not the point really. See my screenshot (sorry its in french!) i can't control anything.

  • Issue with af:tree component

    Hi All,
    I am using JDev 11.1.1.6
    I am creating a tree component with collection model.I want to provide different action to each node,so I have defined an action attribute in the bean
    which I set in the constructor as shown below
    TestTree node1 = new TestTree("node1", "#{TreeBean.action1}");
    Is this the correct approach..This gives me "method not found " error when I click on the node.
    Below is the code for tree component :
    <af:tree value="#{TreeBean.model}" id="t1" var="node"
    styleClass="AFStretchWidth" inlineStyle="height:600.0px;">
    <f:facet name="nodeStamp">
    <af:commandLink text="#{node.label}" id="cl1" immediate="true"
    actionListener="#{node.action}"/>
    </f:facet>
    <f:facet name="pathStamp"/>
    </af:tree>

    Hi Vinay,
    UseCase :
    I want a tree showing navigation links . these navigation links will be used to open a new page in panelTabbed Layout.

  • Tree component menu

    Hi guyz,
    I’ve developed a menus using
    Tree Component with
    xml connector. can anybody help me to control its speed,
    like in my scenario;
    suppose, 3 nodes captioned (item 1 & item 2),
    - item 1 has 10 sub items and item 2 option has 5
    issue #1: there's no speed synchronization b/w both (item1
    & item2). item 1 has take more time to popup then item2 coz of
    xml data.
    issue #2: I want to increase the speed of popup or scrolling.
    Please help me that how can I optimize my menu and resolve
    these issues. Please tell me any book, development kit (software),
    extensions etc. for reference or help.
    Thanks
    mail me
    Raheel

    there is pool size error is coming.Why do people allude to an error without posting the actual error message?
    (in other words - please post the full error message/stack trace)

  • Auto refresh view from sqlPlus, how to?

    I'm using Oracle11gr2, and I have a view views for monitoring database, but I dislike an ide of constant refresh of views at my oracle client (toad or another one)..
    So, is there a way to show some view's in sql Plus all the time with some auto refresh?

    Doesn't seem like sqlplus is the right tool for the what you are trying to accomplish. Don't get me wrong, it's great for "viewing" view information, but outside of manually entering a "/" to refresh the data you should look into writing your own or installing some monitoring software.

  • Using the Tree component of ADF

    Hi!
    I am wondering if someone could show me a small example of a tree component with pre-defined columns.
    Thank you in advance for your assistance!

    Would you be able to provide an example or a couple of links to resources about how to do so?
    I've looked at http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_table.htm#CIADBJCJ, but it doesn't quite explain enough for me.
    The example of a treemodel provided there is:
    List<TreeNode> root = new ArrayList<TreeNode>();
    for(int i = 0; i < firstLevelSize; i++)
      List<TreeNode> level1 = new ArrayList<TreeNode>();
      for(int j = 0; j < i; j++)
        List<TreeNode> level2 = new ArrayList<TreeNode>();
        for(int k=0; k<j; k++)
          TreeNode z = new TreeNode(null, _nodeVal(i,j,k)); 
          level2.add(z);
        TreeNode c = new TreeNode(level2, _nodeVal(i,j));
        level1.add(c);
      TreeNode n = new TreeNode(level1, _nodeVal(i));
      root.add(n);
    ChildPropertyTreeModel model = new ChildPropertyTreeModel(root, "children");
    private String _nodeVal(Integer... args)
      StringBuilder s = new StringBuilder();
      for(Integer i : args)
        s.append(i);
      return s.toString();
    }Is a TreeNode a custom class that contains the fields for the tree?

  • Incremental Loading of a Tree Component

    I'm working on an explorer-type interface in Flex 2 for
    browsing a remote file repository. It's a standard split-pane
    affair with a directory tree on the left and a listing on the
    right.
    Because the entire directory tree can be rather large, I need
    to load it incrementally as the user expands nodes rather than all
    at once. I failed to find a relevant example so I wrote my own. It
    works, but I'm new to Flex and am not sure if there's an easier way
    or if there are any pitfalls to the way I did it.
    I posted my code here:
    http://xocoatl.blogspot.com/2007/01/incremental-loading-of-tree-in-flex-2.html
    Any comments here or on the blog are appreciated; I'm
    guessing that having a good example of the "right" way to do this
    will be useful to many others.
    Thanks.

    i am also using another workaround using CSS trick(inlineStyle). if #{node.children} is null, i am placing an empty 10x10 white png image file over expand icon on tree node.
    following code is nodeStamp of tree component.
    <f:facet name="nodeStamp">
      <af:group id="g1">
        <af:image source="/images/spacer.png" id="i1" inlineStyle="border: 2px solid white; position: absolute; margin-left:-14px;" rendered="#{node.children == null}"/>
        <af:commandLink text="#{node.name}" id="cl1" partialSubmit="true"/>
      </af:group>
    </f:facet>

  • Text-input component with auto-complete functionality for mobile

    Hey guys,
    I wonder if there is a text-input component with auto-complete functionality optimized for mobile development with AIR like the one that Android provides natively as you can see here http://developer.android.com/reference/android/widget/AutoCompleteTextView.html and here http://developer.android.com/resources/tutorials/views/hello-autocomplete.html.
    At least I didn't find it in the latest SDK and I think such a component is pretty standard nowadays. Or did I simply overlook it?
    Thank you guys for any advice.
    Regards,
    Thilo

    Hi relaxtraja,
    thanks for your reply!
    I knew that there are a lot of auto-complete scripts on the web. What I was hoping was, that Adobe provides an officially supported auto-complete component optimized for mobile as part of the SDK (like in the Android SDK as I pointed out), but that doesn't seem to be the case. It's sad, because it's an essential part of modern UIs in mobile applications.
    I've already created an auto-complete component by myself based on Spark components and I will end up using it. But I will have to optimize it for mobile applications beforehands. I just think something this essential should be provided by the SDK.
    However, thanks for posting!
    Regards,
    Thilo

  • Layout issue with af:tree component

    I am using af:tree component but I am finding layout issue with it. I have a requirement where in I need the tree to stretch to the available space but a horizontal and a vertical scrollbar comes up automatically. Is there a way to handle this issue?

    User, without your jdev version it's hard to help.
    Have you embedded the tree component in a stretch layout?
    Timo

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

  • How to build a form with a tree component

    Hi, i'd like to know if it's posssible to build a form with
    the Flash 8 Tree component.
    My menu looks like a tree but the childnodes of this tree are
    some form criteria that you can aditionate and post to a serveur.
    I try to use the accordeon menu, and it works but my menu
    must have dynamic heigth, and open all the boxes like the tree
    component...
    I'm in a hole... please healp me...
    Thinks

    Sans,
    I am no Apex expert, but with a situation as "complex" as yours, have you thought about creating a VIEW that joins these 7/8 tables, placing an INSTEAD OF trigger on that view to do all the business logic in the database, and base your application on the view?
    This is the "thick-database" approach that has been gaining momentum of late. The idea is to put your business logic in the database wherever possible, and let the application (Form, Apex, J2EE, whatever) concentrate on UI issues,

  • 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

  • Tree component in jsp files...

    We are customizing Bpel Human task jsp pages.
    Generally. We are using ADF tree ..
    But this pages are auto generated and based on jsp technology.
    So we need to use jsp components.
    is there any jsp tree component to use in jsp pages.
    Standart jdeveloper lib or external.
    Thansk...

    Hi Frank,
    I was dealing (and I'm still dealing with this) to make work a JSP tree component, reading this Oracle JDeveloper 10g (10.1.2) official documentation
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtTopicFile.developing_mvc_applications%7Cadf_pcustomizingtreecontrol%7Ehtml/vtTopicId./
    seems that is possible to make run the DCTree component for JSP, but it crashes too much. (Token Validation, refreshing, and a few bad code things that make me impossible to customize it for a workaround).
    Any idea?
    Thanks.
    Jaume

  • On click at tree component it has to call SWF using XML

    Hi,
    I have created a flash file with name xmltoflash_tree.
    Incules a Tree component named "tree01". On my first frame of
    actions i have included "#include "test.as"". This is about my
    flash file
    In my Test.as :
    import mx.controls.Tree;
    var xmlLoader:XML = new XML();
    xmlLoader.ignoreWhite = true;
    xmlLoader.load("list.xml");
    xmlLoader.onLoad = function(success:Boolean):Void {
    tree01.dataProvider = this;
    tree01.initBranches();
    tree01.vScrollPolicy = "auto";
    Tree.prototype.initBranches = function(node:XMLNode):Void {
    if (node == undefined) {
    for (var i = 0; i < this.dataProvider.childNodes.length;
    i++) {
    this.initBranches(this.dataProvider.childNodes
    } else {
    if ( (node.attributes.isBranch == "true") &&
    !(this.getIsBranch(node)) ) {
    this.setIsBranch(node, true);
    if ( (node.attributes.isOpen == "true") &&
    !(this.getIsOpen(node)) ) {
    this.setIsOpen(node, true);
    for (var i = 0; i < node.childNodes.length; i++) {
    this.initBranches(node.childNodes);
    I created an XML file named as "list.xml" :
    Script inside this xml is :
    <?xml version="1.0" encoding="iso-8859-1"?>
    <node label="Select Application" isOpen="true">
    <node label="Application1" isBranch="true">
    <node label="Introduction to Application1"
    isBranch="true" >
    <node label="Testing1" />
    <node label="Testing2" />
    <node label="Testing3" />
    </node>
    </node>
    <node label="Application2" isBranch="true">
    <node label="Introduction to Application2"
    isBranch="true" >
    <node label="Testing1" />
    <node label="Testing2" />
    <node label="Testing3" />
    </node>
    </node>
    I have folder with name Treehelp. All my files are in this
    folder.
    xmltoflash_tree.fla
    test.as
    list.xml
    linktesting.swf
    I have SWF in the same folder named "linktesting.swf".
    I need to call "linktesting.swf" or any other swf files
    included in the same folder. when i click on "Testing1/ or any
    othe".
    Have to write the script in XML to call the swf file. Help me
    in this.
    Regards
    Ranjith Kumar. Bandi

    Add oneMore attribute in the XML Nodes,
    When selecting a Node in a Tree component you will recieve
    all the data of that particular xml node. using that you can load
    the Files
    <node label="Testing1" filePath="MyFirstSWF.swf"/>

Maybe you are looking for

  • Duplicate Search Databases in SharePoint Foundation 2013 Farm

    I seem to have 2 seperate issues with Search within my SharePoint Foundation 2013 Farm. This is a new Farm, so I can remove the search service application and re-create if this is a way that can clear the 2 issues I am experiencing. Issue 1: For some

  • Alv drilldown-fields are hiding in secondary list-when layout option used

    hey guys, i displayed alv grid using fms. the basic list has default layout option. but when user gives a deault layout,and try to see secondary list,the fields appear as hidden. one has to unhide them manualy to see.

  • My computer no longer has Stereo Mix / Wave Out Mix.

    I bought an HP G60-443cl notebook computer about less than two years ago. It had Vista installed on it. I was able to record direct audio using Hypercam, FRAPS, Audacity, etc...... Then I reinstalled Vista and now the only sound I'm able to record is

  • LaserJet Pro CM1415fnw color MFP frequently calibrates

    HI, i've owned a laserjet pro CM1415 now for a few years and it frequently calibrates, often every few minutes. the only way it stops is when i turn the printer off. It is now making weird noises when it calibrates. How can i fix this issue? thankyou

  • WIP&Settlement Process order

    Hi, We calculate WIP weekly basis and WIP used to credited to a Balance sheet acct and DR to a P&L acct (which is generally NOT a Cost Element ) Here our Doubt, WIP was calculating irrespective of Settlement that is we used to see the Doucument (DR a