Can you populate an ADF Tree using Just In Time ?

The application that I am currently working on requires a navigator.
This navigator will be a tree structure.
I have developed a prototype using standard Java Swing components - a JTree. The JTree is populated JIT (Just in Time), i.e. when a user clicks to expand a node the relevant database package is called to populate that branch of the tree. This process continues until the JTree has been expanded so that all of it's leaf nodes are displayed.
This works perfectly well in Swing, is it possible to acheive the same functionality using;
a) ADF Swing
b) ADF JSF
If so, and anyone has acheived this, I would appreciate any help/pointers/tutorials that you may have come across.
Thanks in advance for your help
David

Hi,
I think you can, but not using the default ADF tree bindings. You would have to create a custom tree model and then programmtically populate the model with data you access through ADF.
However, I understand your requirement is lazy loading of the child nodes. I will check with development if this feature is planned and if not file an enhancement request for the tree binding.
Frank

Similar Messages

  • How can you add a where clause using "OR" with applied ViewCriteria?

    [JDeveloper 10.1.3 SU4]
    [JHeadstart 10.1.3 build 78]
    I am using JHeadstart, but have a question probably more in the ADF area. On the JHeadstart forum I asked:
    "I am overriding JhsApplicationModule's advancedSearch in order to be able to search in childtables. I created transient attributes, display those in advanced search and in the overridden method I check if any of these are filled by the user and create a where clause like 'EXISTS (SELECT 1 FROM <childtable> WHERE <column in childtable> = <column in EO's table> AND <another column in childtable> LIKE '<value supplied by user>)'. I add this whereclause using ViewObject.setWhereClause.
    So far so good and it works. However, if the user selects 'Result matches any criteria', combining setWhereClause and the normal advancedSearch QueryByExample implementation using ViewCriteriaRow do not provide the desired result, since the ViewCriteria and the setWhereClause are AND-ed together, which is fine if the user selects the (default) "Results match all criteria" (everything is AND-ed) but not the "Result matches any criteria", since then every criterium is OR-ed together, except for the setwhereclause criteria and the set of ViewCriteriaRows, they are AND-ed.
    I looked if I could specify that a WhereClause will be OR-ed to existing applied ViewCriteria, but no luck. Do I have to rewrite also advancedSearch's ViewCriteria implementation and write an entire setWhereClause implementation to be able to "OR" every criterium? Or any other suggestions? Can I look at the entire Where clause and rewrite it (after applyCriteria and setWhereClause are called on the VO)?
    Toine"
    Sandra Muller (JHeadstart Team) told me today: "This sounds like a JDeveloper/ADF issue that is not related to JHeadstart. The question is: how can you add a where clause using "OR" if there are already one or more ViewCriteria applied?
    To simplify the test case, you could create a simple ADF BC test client class in a test Model project without JHeadstart (in the test class, use bc4jclient + Ctrl-Enter), in which you first apply a few ViewCriteriaRows to a View Object and also add a where clause.
    Can you please log a TAR at MetaLink ( http://metalink.oracle.com/ ), or ask this question at the JDeveloper forum at http://otn.oracle.com/discussionforums/jdev.html ? (This what I am doing now ;-))
    Thanks,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting"
    Anyone knowing the answer or am I asking for an enhancement?
    Toine

    Hi,
    Can you SET your whereclause as follows ?
    ('Y' = <isAnd>
    and EXISTS (SELECT 1 FROM <childtable> WHERE <column in childtable> = <column in EO's table> AND <another column in childtable> LIKE '<value supplied by user>))
    OR ('N' = <isAnd>
    AND EXISTS (SELECT 1 FROM <childtable> WHERE <column in childtable> = <column in EO's table> OR <another column in childtable> LIKE '<value supplied by user>))
    )

  • Can you boot a Mac Pro using a USB Pen Drive?

    Hello.
    Can you boot a Mac Pro using a USB Pen Drive? OS=Windows or Linux or BSD or MacOS... I know it is bios specific on a PC if the option is available. If this is possible, does anyone have a link to instructions?
    Thanks,
    Scott

    Not to get in to an argument over semantics here, but by saying "Windows should boot if you have installed the requisite Boot Camp drivers," you are implying "that the Boot Camp drivers [are] needed for Windows to boot." I was just clarifying your post so people didn't get confused.
    As for booting a Mac Pro off a USB flash drive, if you have been successful in doing so, can you share with me your method? I've tried booting of an OCZ Rally2 4GB flash drive and it's never worked on my Mac Pro. It doesn't show up when I hold option down and if I try to boot through rEFIt, I get an error about my Mac's firmware not supporting USB booting (I have the latest firmware installed, too). I've tried GPT and MBR partitions, both to no avail. Booting off USB hard disk drives is no problem though. And I can boot off this flash drive on a Core Duo iMac.
    Any ideas?

  • Can you help me understand the use of the word POSITION in TR and CFM?

    Hi,
    I am trying to have a view of typical BI reports in TR and TM/CFM so through my research I came to the following link:.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/62/08193c38f98e1ce10000000a11405a/frameset.htm
    My problem on this link and other postings on this site seem to be the same. Can you help me understand the use of the word POSITIONS in these context:
    1. Our client has asked for financial transaction reports in BW, such as position of Borrowings, Investments and Hedge Operations (TM data).
    2. I have a requirement on, some reports related to Money Market (Fixed Term Deposits, Deposits at Notice) something on FSCM-Treasury and Risk Manager. These reports will be similar to that of Loans, i.e. Position statement, flow statement, etc.
    3. The set of position values for a single position or a limited amount of positions can be reported by transactions TPM12 and TPM13 in R3.
    4. 0CFM_C10 (Financial Positions Cube)
    Do you have some simple report outputs to help clarify how the word POSITION is used in such environments?
    Thanks
    Edited by: AmandaBaah on Feb 15, 2010 4:39 PM

    If I future buy 10 shares in company at £1 per share - at the end of the day my potential value is £10
    The next day the shares drop tp £0.9 per share - I have a negative position - my shares are only worth £9
    I haven;t bought them yet - but I have a negative position - ie if things stayed as they are - I am going to realise (ie end up with)  a loss
    Now you can use this for loans and foreign exchange banks as well...

  • Can you set up apple tv using 2 different itunes accounts from 2 different macs in same household?

    can you set up apple tv using 2 different itunes accounts from 2 different macs in same household?

    No, you can only connect to one Home Sharing account at a time. If you want to see the content of the other Mac's library you will have to turn off Home Sharing on the Apple TV and log back in with the other iTunes account.

  • Can you creat an Apple ID using the iTunes gift cards?

    Can you creat an Apple ID using the iTunes gift cards?

    Jack, are you trying to make a new account on a computer or and iOS device, you need to click the links and follow the instruction to make the account without a credit card.  After you make your account then redeem your iTunes card. http://support.apple.com/kb/ht2534

  • How can you keep your iPhone 4 (using it as my car's iPod) staying on the Audible app?  When I leave the car and return to continue hearing a book, it has switched to iTunes.

    How can you keep your iPhone 4 (using it as my car's iPod) staying on the Audible app?  When I leave the car and return to continue hearing a book, it has switched to iTunes.

    The first time an iPhone is connected to iTunes that is used to sync with another iPhone or iOS device, you are prompted to transfer the backup for the other iPhone or iOS device or to set up the iPhone as a new iPhone.
    The former does as provided - it transfers the backup for the other iPhone or iOS device to the iPhone replacing all data on the iPhone that is included with the backup being transferred. The latter does nothing allowing you to make your various selections for the iPhone sync preferences with iTunes.
    This is designed to be done right away with a new iPhone.
    If you don't have a backup for the iPhone with iTunes on your computer and don't have an iCloud backup that hasn't been updated since choosing to transfer the backup for your iPod Touch to the iPhone, the data that was on the iPhone is gone.

  • Can you setup your iphone 5s using a SIM card that doesn't yet have an active number?

    Can you setup an iPhone 5s using a SIM card that doesn't yet have an active number due to awaiting the PAC code to work?

    The carrier who locked the iPhone are the only source of an unlock
    Your Carrier in your home country ??

  • I am running Firefox 3.6.24 on a Power Mac G5 Quad, OS 10.4.11. I have to run Classic. Can you recommend a browser to use since you won't be updating 3.6 anymore?

    I am running Firefox 3.6.24 on a Power Mac G5 Quad, OS 10.4.11. I have to run Classic. Can you recommend a browser to use since you won't be updating 3.6 anymore?

    Beginning with Firefox 4, Macs must have an Intel x86 processor (which you do NOT have; yours is a PPC Mac) '''''<u>and</u>''''' OSX 10.5 or higher.
    *System Requirements: [https://www.mozilla.org/en-US/firefox/4.0/system-requirements/index.html Firefox 4] [https://www.mozilla.org/en-US/firefox/5.0/system-requirements/index.html Firefox 5] [https://www.mozilla.org/en-US/firefox/6.0/system-requirements/index.html Firefox 6] [https://www.mozilla.org/en-US/firefox/7.0/system-requirements/index.html Firefox 7] [https://www.mozilla.org/en-US/firefox/8.0/system-requirements/index.html Firefox 8]
    '''''The good news''''' is that Firefox 3.6.24 still supports OSX 10.4 and Macs with the PPC Mac architecture. '''''The bad news''''' is that support for the Firefox 3.6.x series is likely to end in the first quarter of 2012.
    *System requirements: [https://www.mozilla.org/en-US/firefox/3.6/system-requirements/index.html Firefox 3.6.x]
    *Download Firefox 3.6.24: https://www.mozilla.org/en-US/firefox/all-older.html
    *Also see --> http://support.mozilla.com/en-US/kb/Installing+Firefox+on+Mac
    You can try the third-party product '''''TenFourFox''''' that supports PPC Macs. Firefox 8 version of '''''TenFourFox''''' is available. The product is based on Firefox released versions. All support is provided by the developer, not by this site:
    *Home page: http://www.floodgap.com/software/tenfourfox/
    *Developer's blog: http://tenfourfox.blogspot.com/
    *'''''VERY IMPORTANT'''''; '''read this carefully''': https://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Can you publish to a DVD using iMovie for Mac?

    Can you publish to a DVD using iMovie for Mac?  Or can you only share via Facebook etc...?

    For creating standard-conform disks, you'd need a designated DVD-authoring app.
    Options listed in this User Tipp:
    How to create a video-DVD? (Macs without iDVD)

  • Can you turn off apple tv and just watch your regular tv?

    Can you turn off apple tv and just watch your regular tv?

    I have an LG TV - I am still trying to work thru all this but on mine, I select TV on the TV remote and it takes me back to cable. Then when I want to return to Apple TV, I select INPUT on the remote and then HDMI. Took me right back to Apple TV.
    (But I had already configured the TV for an external HDMI device during set up.)

  • I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    Remember security on a TC is an illusion.
    Simply press the reset button for 1-2 sec.. you must not do too long .. it will then hard reset.. but soft reset will revert all passwords to default for 5min. ie TC password is now public.
    Remember this the next time because anybody at all can change your passwords.
    Once into the TC you can then open the view passwords if you wanted any weaker security. Click and open the TC.. and click on edit.. then go to the top menu..
    Voila .. all your passwords in plain sight to any Tom Dick and Fred.

  • How can you delete all the e mail at one time instead of one at a time?

    How can you delete all the e mail at one time instead of one at a time?

    you'd have to do it from the computer,

  • Can you share photos between computers on a local time machine network.  I have iMac with lots of pictures I would like to view on my MacBook Air.  Does anyone know how to do this?

    Can you share photos between computers on a local time machine network?  I have iMac with lots of pictures I would like to view on my MacBook Air.  Does anyone know how to do this?

    Can you share photos between computers on a local time machine network?  I have iMac with lots of pictures I would like to view on my MacBook Air.  Does anyone know how to do this?

  • Can you connect a mobile broadband device to a time capsule?

    Can you connect a mobile broadband device to a time capsule?

    Only if it has ethernet.. and offers the ip direct to the device ie you need a 3G router not a USB stick..

Maybe you are looking for

  • Standard report in SAP to see the Purchase Order and corresponding PR

    Dear All. Is there any Standard Report in SAP , which can provide details of the Purchase Order and the corresponding Purchase Requsition. Regards Shyam.

  • Design Dilemma - create sophisticated page

    Hi, Sometimes the solution for a specific problem just eludes you, so in this circumstance I'm falling at the feet of the group to beg for inspiration please. The application I'm tinkering with is for our local junior Ice Hockey club. I have a databa

  • Posting subsequent debits/credits for ERS items

    All, In an effort to stop manual invoices from being created for ERS items, I've tested the OMRM configuration of message M8 225. In my testing if this message is set to an ERROR - subsequent debits/credits cannot be posted against the line item.   I

  • Address book malfunctioning

    I am having several problems with my address book, I hope that someone can help me! 1. My address book is not alphabetizing some of my contacts. If I go to edit a contact it gets bumped to the top of the list and it won't realphabetize it. 2. If I se

  • How R12 seeded (standard) business areas are created in fresh EUL

    Hi, As per Note ID 1074326.1 under section "6.8. Import Discoverer Content for E-Business Suite Release 12 using adupdeul.sh mode=complete" all the existing business areas are also included while import. Kindly let me know how R12 seeded (standard) b