How can an ADF Tree be configured to work with varying levels of heirarchy?

We have a need for a Locations tree that represents the Locations heirarchy for any one of our clients. Depending on the client the number of levels in a location heirarchy could range from 1 to 9.
I have created 9 different tree bindings and I can change the tree binding in the jsp page - the example below is for a client with 4 location levels.
<af:tree value="#{bindings.ScdLocs4View1.treeModel}" var="node"
binding="#{backing_locations.tree2}" id="tree2">
For a client with 5 location levels, I'd like to programatically change the value to
#{bindings.ScdLocs5View1.treeModel.  How can I do this?
I was thinking I could use the setValue method on the tree control in my page's backing bean.  But I have been unable to get a reference to the tree binding.
I don't see an appropriate method for finding a Tree Binding.  There are methods for finding an Iterator Binding, an Executable Binding, or a Region Binding (whatever that is).  But how do I "find" a reference to a Tree Binding?
I have also given consideration to using a single Tree Binding with 9 levels (or rules in the Tree Binding Editor) and finding a way to  programatically "start" the rendering at a particular level (or rule) - in effect telling the ADF Tree control to ignore some number of rules and begin with the specified rule.  But I haven't been able to figure out how to do this either.
Help would be greatly appreciated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Bill,
A tree binding is a particular kind of control binding, so you can find it as a control binding and then cast it to the more specific interface to work with it.

Similar Messages

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • How can use my Wireless Location Appliance to work with RF ID's?

    How can use my Wireless Location Appliance to work with RF ID's for Asset Tagging.
    It seems Smartcard used for ID cards have a small RF ID, can I use this for Asset Tagging?
    Thanks in Advance

    There are two kinds of RFID tags: Active tags, which have a battery or other internal power source, and passive tags, which have no power source and work by reflecting the energy from an RFID scanner (basically). At the energy levels and distances used for WiFi location detection, passive tags will not return a detectable signal.
    Take a look at http://www.aeroscout.com/ for more info on WiFi RFID tagging.

  • How can iWeb hit counter be made to work with non-Apple server?

    How can IWeb hit counter be made to work with non-Apple server?

    This tutorial describes how to add an alternative counter to an iWeb page: iW05 - Adding a Graphical StatCounter as an HTML Snippet to an iWeb Page
    OT

  • How can I remove  pages 5.0 to work with Pages 09 again?

    How can I remove  pages 5.0 to work with Pages 09 again?

    Welcome to Apple Support Communities
    When you upgraded to Pages 5.0, the Mac App Store kept Pages '09 in case you want to use it again.
    To access to Pages '09, open a Finder window, choose Applications in the sidebar and open the old Pages version. To access to it quickly, you can drag the icon to the Dock.
    I do not recommend you to remove Pages 5.0 or the Mac App Store will be always asking you to upgrade Pages. Also, Apple will add more features to Pages 5.0 in the future. See > http://support.apple.com/kb/HT6049?viewlocale=en_US&locale=en_US

  • I have an older G5 tower Power PC and the OS 10.5.8, but the firefox and safari browers are no longer supporting this computer. How can I download an older version that works with this computer?

    I have an older G5 tower Power PC and the OS 10.5.8, but the firefox and safari browers are no longer supporting this computer. How can I download an older version that works with this computer?
    Or what is the newest OS system I can load onto this computer?
    I think it is from 2006

    Hello,
    10.5.8 is the highest OSX it can run.
    TenFourFox is the most up to date browser for our PPCs, they even have G4 & G5 optimized versions...
    http://www.floodgap.com/software/tenfourfox/
    I'd avoid vesrion 24 though, as it no longer supports plug-ins like Flash.
    SeaMonkey seems pretty fast also, with many options...
    http://www.seamonkey-project.org/
    http://www.seamonkey-project.org/releases/
    Might also look into iCab & OmniWeb versions.

  • How Can I choose Iphone 5s models that work with LTE in Brazil. The Iphone needs to Support Band 7. If I buy the wrong model can apple change it ?

    I am planning to buy an Iphone 5s in October, but I have to make sure that the model will work with the LTE services we have in Brazil. I know that Apple made 2 Models that support Band 7. See Below.
    Model A1457*: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); LTE (Bands 1, 2, 3, 5, 7, 8, 20)
    Model A1530*: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz); FDD-LTE (Bands 1, 2, 3, 5, 7, 8, 20); TD-LTE (Bands 38, 39, 40)
    How can I make sure I will buy the correct model through the internet ? Can Apple change the Iphone In case they send the model that does not support LTE services in Brazil ?
    Thanks,

    JP Ellery wrote:
    The models that will work with brazilian LTE networks are:
    A1507 and A1529 (iPhone 5c)
    A1457 and A1530 (iPhone 5s)
    JP
    Have you personally tried those models with Brazilian LTE networks? Do they work? If so, fine.  If not, then besides that, there is the problem of the warranty which is not international. The user will have to return the phone back to the country of purchase for both warranty and out of warranty service. So what might seem cheaper at first glance might not be in the end.
    Anyways, it your money and the OP's should he want to go ahead with your recommendation.

  • How can i get my iPhone 4 to work with my new macbook pro

    i just got a new macbook and i want to start using my iPhone 4 with iTunes but it won't allow me to move music to or from the iPhone how can i solve this? i really don't want to factory reset my phone and have to replace all music/apps.

    This: http://www.headlightsoft.com/expod/
    or this: http://www.macroplant.com/

  • How can I get my new camcorder to work with iMovie?

    Hey
    I just bought the new Panasonic SDR-SW20 and it doesn't work with a Mac.
    At least that is what I read at amazon.com.
    The file types it records in are .MOD files. Can these be converted?
    And if they can, how do I do that and what program do I need?
    Could someone maybe explain to me how I can get it to work with iMovie?
    Thanks.
    Bye Sandra

    Hi Sandy,
    Yes, you bought the wrong format of cam for working easily with iMovie HD6. Your cam records in MPEG2, which will need to be converted to DV for use in iMovie. You might want to read what the following page says about that cam's format.
    http://www.camcorderinfo.com/content/Panasonic-SDR-SW20-Camcorder-Review-35018/F ormat.htm
    It doesn't give a good review of the video quality and that will only get worse with the conversion necessary to work with it in HD6. If returning the cam for something more suitable is possible, unless you have bought this solely for its underwater capabilities, that might be your best bet. The best cam for use with iMovie HD versions is a miniDV cam using firewire, to capture to your Mac.
    If you want to persue the workarounds, you will need to get MPEGStreamclip (free-Google it) and the Apple QuickTime MPEG2 plug-in (cost $20.00), available at the Apple downloads site.
    Hope this helps you.
    Forest

  • Please Help, How can I get 24Frame .mov's to work with broadcast footage?

    Hello,
    I am desperate for some help. I have 24 Frame image sequences and 29.97 B-Roll footage that I need to work with. I am forced to work in the B-Roll frame rate because it is a mixture of scenes and all the interlace is different shot to shot.
    So my question is how can I take this 24 Frame CG and get it to 29.97? I can’t conform it in Cinema Tools because it speeds up the timing. I can’t add pull down in After Effects because it looks really bad. Is there any other way that I can add pull down to this footage and have it still look good?
    I am in desperate need for some help so even some conversation might get the ball rolling.
    Thanks in advance

    I'm really surprised that you say it is looking bad out of After Effects since that is a good way to add the pulldown. What is it that is looking bad? Is the comp set up correctly? Is the CG stuff a true 24? You might want to conform it to 23.98 in Cinema Tools, then try adding the pulldown in AE. I don't think it should matter except that you aren't truly pulling down to 30fps so you'll have to change the rate at some point.
    The only other way I know to add the pulldown, is to use FinalCut at a 23.98 sequence, play it out to tape to add the pulldown, then capture it back in.

  • How can I get my Firefox persona to work with the new version of Firefox?

    Everything was working fine, then my computer automatically updated Firefox and my persona background disappeared. It's listed as enabled on the add-ons backgrounds under add-ons manager. I have Foxkeh tail wag. I went and reinstalled it but it still doesn't come on. I went to the firefox personas page and tried to install a different persona. NONE of them work now. How can I get my persona background back?

    Fixed! Thank you!

  • How can we get the web cam to work with sykpe or any out going calls

    can get the web cam to work with skype

    Hey there,
    What model laptop is this? Are you using the built-in webcam or is this a external web cam? Also what operating system are you using?
    Thanks!
    Sean
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • [p7-1240] How can I tell which graphics cards will work with my motherboard?

    I recently went through the nightmare of trying to install a Gigabyte GTX 650 in my PC. After a few days of struggling and scouring the internet for answers, I discovered that it is incompatible with the BIOS on my motherboard, and HP does not offer BIOS updates. I returned the card and am now looking for a new one, but I am unsure of which cards will work now, since my computer met all of the system requirements for the graphics card, and It stil ldid not work. Since GPU manufacturers do not list BIOS specs under system requirements, how can I tell if a graphics card will work with my sytem?
    My computer is a p7-1240 with an upgraded 520W PSU and approximeately 11" of room to install the card.
    This question was solved.
    View Solution.

    Thexn, welcome to the forum.
    The problem is, many of the newer video cards require the computer to have a full UEFI BIOS.  HP began using one in mid-October, 2012.  Before this date the BIOS is Legacy.  This is why the video card didn't work with your computer.
    I don't know what you want to spend for a card, but MSI makes a GTX 750ti that has a hybrid VBIOS.  It has a switch to change to Legacy or UEFI.  There is a video link directly below the picture of a card.  Paul from Newegg gives a full description of the card.
    I like EVGA cards the best.  Their Tech Support has given me a lot of information about their cards.  However, you have to go back to a GT 640 card to find one of their cards that doesn't require the UEFI BIOS.  They do have some updates for their BIOS'es that solve the problem, but you have to call them for the exact cards.
    Please click the "Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • How can I get my Canon A620 to work with Windows 7

    Just signed up here, ot the brightest with tech stuff. I'm trying to get my Powershot A620 to work with Windows 7. I'm guessing there's drivers I need to down load ? Will they be on the Canon website or on this help site ? 
    I'll keep looking around. 
    Steve

    If you need photo software and don't have any you can download Canon software here.
    http://www.usa.canon.com/cusa/support/consumer/digital_cameras/powershot_a_series/powershot_a620#Dri...
    But if you already have software you use there is nothing special you need. Ether connect the camera using a USB cable or remove the SD card from the camera and use a card reader (either an external one or the computer may already have one built in.)
    If  you decide to connect the camera via USB you don't need a driver; its built into W7.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • How can I get i phone 4s to work with a tom tom car kit

    I upgraded to an i phone 4s from an I phone 3gs.  My tom tom app worked perfectly with the tom tom car kit on my old phone but now I have managed to get it to charge when plugged into the car kit but there is only poor gps reception showing, any Ideas on how to get my beloved sat nav back

    hi, I've got the same problem, cant get it to even charge so behind you on that. have looked on the tomtom site and see that they only stipulate that it will work with 3, 3s and 4 ..... miss out 4s! presumably there is an upgrade on the way!

Maybe you are looking for

  • Video Lagging/Choppy videos on Macbook Pro

    Hello, I am having a problem while watching videos online: video lagging/choppy videos. Sometimes the video is stuck in a certain frame although I still have the sound on the background; sometimes the video slows down completely (frame+sound). It sta

  • How to make & place marks above and below text

    I need to make dots and curves (this is for a type of music notation) and place them over and under letters and groups of letters. Any suggestions for the best method in InDesign CS5?

  • Security logic for JSP pages

    I am developing a product using JSP and servlet. I want to know if any algorithm is there to prevent software piracy

  • Poof and it's gone!

    I am a video manager for an international charity. What that really means is I have to fulfil all the production roles on a tight budget. About a year ago we purchased a Mac Pro from a well known UK Mac/video specialist to edit HDV footage in FCP. Th

  • Trouble downloading Premier Elements 13

    Just upgraded from Elements/Premier Elements 9 to 13. Premier Elements won't download (plus I have a very slow download speed in my area). Cookies enabled. Thoughts?