Tree Help

Hi,
I'm wondering if anyone can help me. I'm looking to use a tree for the following structure (keys put in to show how the tables work):
We have three main tables:
* users (pk:user_id)
* roles (pk:role_id)
* groups (pk:group_id)
A user can have many roles, a role can have many groups, so there are two joining tables:
* users_roles (pk:ur_id,fk:user_id,fk:role_id)
* group_roles(pk:gr_id,fk:group_id,gk:role_id)
I want to have a tree which has a list of users which I can then expand to show me a list of roles that user has. Then, I can expand the role and see the groups assigned to that role. Is this at all possible?
I have the SQL which does the table joins etc (so I can see what roles a user is in, groups in those roles) however I am unable to map this into the tree component.
Any help is very much appreciated.
Thanks,

EXCELLENT! :) Thank-you very much.
I had to make a few modifications and put the whole thing in a view, but got it working in the end! Here is my code in case anyone is interested:
CREATE OR REPLACE VIEW xxtest AS
SELECT
  1 id,
  NULL pid,
  'Users' title,
  NULL link
FROM
  dual
UNION ALL
SELECT
  user_id + 1000000 id,
  1 pid,
  user_name title,
  NULL
FROM
  xxapx_fnd_user xfu
WHERE
  TRUNC(sysdate) BETWEEN xfu.effective_start_date AND xfu.effective_end_date AND
  NVL(xfu.account_locked,'N')='N'
UNION ALL
SELECT
  xfur.role_id+2000000 id,
  xfur.user_id+1000000 pid,
  xfr.name title,
  NULL
FROM
  xxapx_fnd_user_roles xfur,
  xxapx_fnd_roles xfr
WHERE
  xfr.role_id=xfur.role_id AND
  TRUNC(sysdate) BETWEEN xfur.effective_start_date AND xfur.effective_end_date
UNION ALL
SELECT
  xfgr.group_id+3000000 id,
  xfgr.role_id+2000000 pid,
  xfg.group_name title,
  NULL
FROM
  xxapx_fnd_group_roles xfgr,
  xxapx_fnd_groups xfg
WHERE
  xfg.group_id=xfgr.group_id AND
  NVL(xfgr.enabled,'N')='Y'
)My only issue now is that the tree defaults to be expanded. I want it to default to being collapsed and then expand each node individually as clicked. I'm sure it's a small setting somewhere but I can't find it at the moment! :( (late in the day!)

Similar Messages

  • Binary search tree help...

    Ok, maybe someone can help me with this one. Here's the code that I'm having trouble with:
      public Object findValue(Comparable aKey)
        Node result = (Node) findByKey(aKey);
        if(result != null && result.getNodeKey() == aKey)
          return result.getNodeData();
        else
          return null;
      }The problem is in the condition for the if statement, particularly, "result.getNodeKey() == aKey". I've checked both values for result.getNodeKey() and aKey, and they are both the same, but the program gives ma a false result, which sends it straight to the "return null;" statement. Any thoughts as to why it might do this?

    I just found another trouble spot. Here's the code this time:
      public boolean delete(Comparable aKey)
        Node result = (Node) findByKey(aKey);
        if(result != null && result.getNodeKey().equals(aKey))
          Node currentNode = rootNode;
          Node parentNode = null;
          boolean found = false;
          while(!found && currentNode != null)
            if(aKey.compareTo(currentNode.getNodeKey()) < 0)
              parentNode = currentNode;
              currentNode = (Node)currentNode.getLeftChild();
            else
              if(aKey.compareTo(currentNode.getNodeKey()) > 0)
                parentNode = currentNode;
                currentNode = (Node) currentNode.getRightChild();
              else
                found = true;
          if (parentNode == null)
            //here's where I need assistance
            return true;
          else
            parentNode.setLeftChild((Node) currentNode.getLeftChild());
            Node holderNode = (Node) currentNode.getLeftChild();
            holderNode.setRightChild((Node) currentNode.getRightChild());
            return true;
        else
          return false;
      }I'm trying to delete from the binary search tree, and I'm not sure how to adjust for deleting the top of the tree (rootNode, in this case) before the rest of the tree is gone. Any ideas?

  • Binary Tree Help

    I have a project where I need to build a binary tree with random floats and count the comparisons made. The problem I'm having is I'm not sure where to place the comaprison count in my code. Here's where I have it:
    public void insert(float idata)
              Node newNode = new Node();
              newNode.data = idata;
              if(root==null)
                   root = newNode;
              else
                   Node current = root;
                   Node parent;
                   while(true)
                        parent = current;
                        if(idata < current.data)
                             comp++;
                             current = current.leftc;
                             if(current == null)
                                  parent.leftc = newNode;
                                  return;
                        else
                             current = current.rightc;
                             if(current == null)
                                  parent.rightc = newNode;
                                  return;
         }//end insertDo I have it in the right place? Also, if I'm building the tree for 10,000 numbers would I get a new count for each level or would I get one count for comparisons?? I'd appreciate anyone's help on this.

    You never reset the comp variable, so each timeyou
    insert into the tree, it adds the number ofinserts
    to the previous value.Yes, or something like that. I'm not sure what theOP
    really means.Yeah, it's hard to be sure without seeing the rest of
    the code.Sorry, I thought I had already posted my code for you to look at.
    Here's a copy of it:
    class Node
         public float data;
         public Node leftc;
         public Node rightc;
    public class Btree
         private Node root;
         private int comp;
         public Btree(int value)
              root = null;
         public void insert(float idata)
              Node newNode = new Node();
              newNode.data = idata;
              if(root==null)
                   root = newNode;
              else
                   Node current = root;
                   Node parent;
                   while(true)
                        parent = current;
                        comp++;
                        if(idata < current.data)
                             current = current.leftc;
                             if(current == null)
                                  parent.leftc = newNode;
                                  return;
                        else
                             current = current.rightc;
                             if(current == null)
                                  parent.rightc = newNode;
                                  return;
         }//end insert
        public void display()
             //System.out.print();
             System.out.println("");     
             System.out.println(comp);
    } //end Btree
    class BtreeApp
         public static void main(String[] args)
              int value = 10000;
              Btree theTree = new Btree(value);
              for(int j=0; j<value; j++)
                   float n = (int) (java.lang.Math.random() *99);
                   theTree.insert(n);
                   theTree.display();
    }

  • ALV tree help required

    Hello All,
    I need a help on ALV tree
    My requirement is! i need to edit some fields in ALV tree.
    In order to do this. I have written the below code
              gs_layout_node-fieldname = 'ZMENGE1'.
              gs_layout_node-editable = 'X'.
              APPEND gs_layout_node TO gt_layout_node.
        CALL METHOD lcl_gui_alv_tree2->add_node
          EXPORTING
            i_relat_node_key = p_node_key
            i_relationship   = cl_gui_column_tree=>relat_last_child
            i_node_text      = node_text
            is_outtab_line   = gs_merkpl
            it_item_layout   = gt_layout_node
          IMPORTING
            e_new_node_key   = s_node_key.
    The program dumps when i expand nodes and it gives the following error. The fields are not in editable mode.
    Exception condition "CNTL_ERROR" raised.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "RAISE_EXCEPTION" C
    "CL_GUI_CFW====================CP" or "CL_GUI_CFW====================CM00P"
    "UPDATE_VIEW"
    or
    "CL_GUI_CFW====================CP" "CNTL_ERROR"
    or
    "ZV_HF_TREE " "CNTL_ERROR"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    000040     CALL FUNCTION 'AC_SYSTEM_FLUSH'
    000050          exporting CALLED_BY_SYSTEM = called_by_system
    000060          EXCEPTIONS
    000070               CNTL_SYSTEM_ERROR = 1
    000080               CNTL_ERROR        = 2
    000090               OTHERS            = 3.
    000100
    000110     CASE SY-SUBRC.
    000120       WHEN 0.
    000130       WHEN 1.                            "// system_error
    000140         RAISE CNTL_SYSTEM_ERROR.
    000150       WHEN 2.                            "// method_call_error
         >         RAISE CNTL_ERROR.
    000170       WHEN 3.                            "// property_set_error
    000180         RAISE CNTL_ERROR.
    000190       WHEN 4.                            "// property_get_error
    000200         RAISE CNTL_ERROR.
    000210       WHEN OTHERS.
    000220         RAISE CNTL_ERROR.
    000230     ENDCASE.
    000240
    000250   ENDMETHOD.
    Can any tell me what is the mistake i am doing.
    Regards,
    Lisa
    Edited by: Lisa Roy on Apr 16, 2008 11:16 AM

    Requirement changed

  • I've lost my iphone 4 but it did not have a SIM at the time that i lost it. i desperately need the photos on the phone as they are very precious. when i go onto find my phone on my laptop, it says my phone is in my neighbours tree. help!

    how can i find out the whereabouts of my phone, as it has no internet connection. please help! i need it desperately! if the location of the phone cannot be found, the photos are what i really need. they have a deep sentimental value to me and my family and it would be a tragedy to lose them all as the event where the photos were taken will never reoccur. please please please help me. i need to find my phone.

    An iOS device cannot be tracked without an internet connection.  All you can do is physically look for it.  Your camera roll photos are included in your iCloud backup.  Should you be unable to find the phone, restoring the backup to another iPhone (or iPod touch) should recover them.  Bear in mind that Apple will delete iCloud backups after 180 days of inactivity so be sure to access the backup before then.
    You can also access photo stream photos from the last 30 days by setting up iCloud on your computer and enabling my photo stream (see https://www.apple.com/icloud/setup/).

  • Tree Component ... getting crazy !

    So tree component is terrible , every thing is gone , trying
    all day to get directly to tree component and no result ,and there
    is no basic explanation and no examples , i tried to search in Flex
    Help Content , but I get more Cold Fusion tree help than Flex tree
    .. spend 800 dollar for flex and get CFHelp , I don’t think
    is good idea , so pleas help me , how can i add simple tree node
    with out XML , I hate XML , and i know some how we can work with
    Tree component directly though ITreeDataDescriptor , but how ..?
    In As2 it was simple and easy, now how to do this I
    don’t know and I am not only one!
    I am not a specialist in Action Script but in AS2 I never had
    a problem, and if I did, we have a lot of documentation about AS2
    and examples, but Flex trying to sell a product that not supports
    any examples and documentation... Write in search content
    ‘tree’ and you get cf tree examples and structures, but
    I don’t need cftree information, I need flex tree exemplas,
    but there is few... Working with flex all week I get more tired and
    depressed.. Any thing I trying to do is going wrong, AS2 is not
    there any more and I understand that I have to learn AS3 from
    beginning to understand it... I hate it!!!!!!
    Flex - Rich Application for users and Rich work for
    Developers!

    Eddy, chill out man.
    How can you say, "I hate XML," and really even try to learn
    Flex? Flex is based on XML, MXML is XML, any services you call
    (HTTP or WEB) are XML. I think it's time for change and time you
    picked up XML. It's actually very, very simple.
    You don't have to learn AS3 from the ground up. There are a
    lot of similarities between AS2 and AS3.
    You just need to write a simple function which goes through
    the array and converts it to xml. While I could program that for
    you, I think you could probably figure it out yourself.
    But why even bother? Using an XMLList is just as easy.
    Behold:
    <mx:XMLList id="treeData">
    <node label="Mail Box">
    <node label="Inbox">
    <node label="Marketing"/>
    <node label="Product Management"/>
    <node label="Personal"/>
    </node>
    <node label="Outbox">
    <node label="Professional"/>
    <node label="Personal"/>
    </node>
    <node label="Spam"/>
    <node label="Sent"/>
    </node>
    </mx:XMLList>
    XML is composed of parents and children. You can do much more
    with XML than you can with plain old arrays, plus, when's the last
    time you saw a 10-tiered multi-dimensional array? It's not possible
    to do something like that without XML.
    Over and out - Taka.

  • Formatting tree UI element in web dynpro

    Hi,
    I am new to web dynpro java.
    I want to format tree in web dynpro java.I mean i want to add spaces between the nodes of a tree or can i get something like hgutter functionality between the nodes.
    Regards,
    ujjwal kumar

    Hi
    No
    Only thing u can do is set Is Design to Emphasized (Bold) and add any images into Node and item both.
    depends on image size u will get some space between text of tree.
    (Applicable with CE 7.1 onwards not in 7.0)
    Tree  [help|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/de59f7c2-0401-0010-f08d-8659cef543ce]
    Best Regards
    Satish Kumar
    Edited by: satish jhariya on Mar 18, 2009 4:49 PM

  • Grouping tree nodes

    Hi,
    Here is a tricky one that I have got. Not sure if I am being over creative here or asking too much from apex!!
    Let say I have a contracts table which stores parent child relationship between various contracts. the structure is
    contract_id, contract_number, contract_type,parent_id
    I can create a simple tree which displays as below.
    Parent1
    child1
    child2
    child3
    Now how can i display a tree which groups all the child contracts by their type and adds an extra type node between parent and child. something like this.
    Parent1
    Type1
    child1
    child2
    Type2
    Child3
    Any help is highly appreciated.
    Many Thanks,
    Bhavesh

    Hi Bhavesh,
    Have a look at: Re: Tree Help
    Basically, you need to create some sql that will provide you with id and parent_id values only for each record. In your case, this would mean that you would have to use the UNION ALL functionality to scan your table twice. The first time to get the child/parent data (child/type in your example) and the second time to get the parent/grandparent data (type/parent in your example).
    The issue would be ensuring that you can maintain a relationship throughout the structure. In the above example, IDs are all numbers and some have been "bumped up" by adding a large number to the actual value - this needs to be done wherever that ID is needed on both run throughs and to ensure that an ID in the output is unique.
    Andy

  • Tree SQL

    A tree has a main query of the form
    select id, parent_id, link, a1 a2
    My query is quite complex - so apart from using a view, does anyone know if it possible to produce this from a stored procedure or function?
    Thanks
    Phil

    I fixed it thanks to Scott's post on Re: Tree help - Multi-user concerns - almost there!
    1) Create a View based on collection_name = 'YOUR_COLLECTION'
    2) Create a Tree in your application based on the above view
    3) Create an HTML DB Process to create and populate your collection ONE TIME
    4) Run your application
    Note that I had to recreate the tree using the wizard to make it work, creating the view based on apex_collections and modifying the Select statement of the existing & non-working tree to make use of the view led to the same error. I'd really like to understand why btw.
    Eric.

  • Dynamically Loading xml in tree  control

    Hi I am new to flex i need to load the following xml into tree
    <?xml  version="1.0" encoding="utf-8" ?>
    - <catalog>
    - <product>
    <name>laptop3</name>
    <price>"1256"</price>
    <qty>"45"</qty>
    </product>
    - <product>
    <name>"CAR"</name>
    <price>"45000"</price>
    <qty>"7"</qty>
    </product>
    - <product>
    <name>"Laptop2"</name>
    <price>"450011"</price>
    <qty>"7022888"</qty>
    </product>
    - <product>
    <name>"Laptop"</name>
    <price>"45000"</price>
    <qty>"70"</qty>
    </product>
    - <product>
    <name>"Laptop2"</name>
    <price>"45000"</price>
    <qty>"7022"</qty>
    </product>
    - <product>
    <name>"Laptop2"</name>
    <price>"45000"</price>
    <qty>"7022888"</qty>
    </product>
    </catalog>
    I am unable to load the exact xml structure ...
    Please help me
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HTTPService id="srv" url="http://localhost:8080/SampleWebApp/test.jsp"/>
        <mx:DataGrid dataProvider="{srv.lastResult.catalog.product}" width="100%" height="100%"/>
        <mx:Tree labelField="@val" width="201" height="100%" showRoot="true"
        showInAutomationHierarchy="true" id="machineTree" dataProvider="{srv.lastResult.catalog.product}"></mx:Tree> 
        <mx:Button label="Get Data" click="srv.send()"/>
    </mx:Application>
    I am able to load into data grid , but not in tree help me

    The same as you have but with embeded XML.
    <mx:XML id="tstData">
    <catalog>
    <product>
    <name>laptop3</name>
    <price>"1256"</price>
    <qty>"45"</qty>
    </product>
    <product>
    <name>"CAR"</name>
    <price>"45000"</price>
    <qty>"7"</qty>
    </product>
    <product>
    <name>"Laptop2"</name>
    <price>"450011"</price>
    <qty>"7022888"</qty>
    </product>
    <product>
    <name>"Laptop"</name>
    <price>"45000"</price>
    <qty>"70"</qty>
    </product>
    <product>
    <name>"Laptop2"</name>
    <price>"45000"</price>
    <qty>"7022"</qty>
    </product>
    <product>
    <name>"Laptop2"</name>
    <price>"45000"</price>
    <qty>"7022888"</qty>
    </product>
    </catalog>
    </mx:XML>
    <mx:Tree labelFunction="treeLabel" width="201" height="100%" showRoot="true"
        showInAutomationHierarchy="true" id="machineTree" dataProvider="{tstData.product}">
    But it doesn't matter.
    try to debug. Add this
                   [Bindable]
                private var treeData:XMLListCollection;
                public function onResult(event:ResultEvent):void
                treeData = new XMLListCollection(XML(event.result).product); // debug here to see what you get and what is a type for this data
              <mx:HTTPService id="srv"  url="http://localhost:8080/SampleWebApp/test.jsp" result="onResult(event)"/>
    And treeData as a dataSource for Tree.

  • All flash components work when published except one....

    I have a website built in Dreamweaver CS4 that uses a flash header, photo gallery and video. Everything works great except for the video on the home page. From what I can tell it works fine in Firefex but not IE8 or IE8 in compatability mode. IE keeps saying I need a newer version of Flash (which of course is not true).
    This is the page I am having problems with www.thefestivaloftrees.com/home.html the video is at the bottom of the page. I'm still a newbie at designing websites so my problem solving skills are limited. Any help you can give would be greatly appreciated! Thank you!
    Here is my Dreamweaver source code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- InstanceBegin template="/Templates/Festival-2009.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Festival of Trees</title>
    <!-- InstanceEndEditable -->
    <link href="twoColLiqLtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
    .twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <style type="text/css">
    <!--
    body,td,th {
    color: #00325b;
    font-family: Arial, Helvetica, sans-serif;
    body {
    background-color: #b3cdd9;
    a:link {
    color: #00325b;
    a:visited {
    color: #00325b;
    a:hover {
    color: #B71234;
    a:active {
    color: #B71234;
    h1 {
    font-size: 14px;
    color: #B71234;
    h2 {
    font-size: 16px;
    color: #B71234;
    h3 {
    font-size: 18px;
    color: #B71234;
    h4 {
    font-size: 14px;
    color: #00325b;
    h5 {
    font-size: 16px;
    color: #00325b;
    h6 {
    font-size: 100%;
    color: #00325b;
    -->
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body class="twoColLiqLtHdr">
    <div id="container">
      <div id="header">
        <h1>
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="663" height="117" align="absmiddle" id="Festival of Trees" title="Festival of Trees A Cool Yule">
            <param name="movie" value="Graphics/FOT logo banner2.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <param name="SCALE" value="exactfit" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object data="Graphics/FOT logo banner2.swf" type="application/x-shockwave-flash" width="663" height="117" align="absmiddle">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="6.0.65.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <param name="SCALE" value="exactfit" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
        </h1>
      <!-- end #header --></div>
      <div id="sidebar1">
        <h3><a href="Home.html">Home</a></h3>
        <p><a href="Events and Tickets.html">Events & Tickets</a></p>
        <p><a href="Sponsorship.html">Become a Sponsor</a></p>
        <p><a href="http://www.kootenaihealth.org/index.asp?w=pages&r=1&pid=21" target="_blank">Kootenai Health Foundation</a></p>
        <p><a href="Executive Committee.html">Executive Committee</a></p>
        <p><a href="Tree Photos.html">Tree Photo Gallery</a><a href="2008 photo Gallery/2008TreePhotos version 1234/01.html" target="_blank"></a><a href="2008 photo Gallery/2008TreePhotos version 1234/01.html" title="2008 Photo Gallery" target="_blank"></a><a href="Tree Photos.html"></a></p>
        <p><a href="http://www.kootenaihealth.org/index.asp?w=pages&r=273&pid=340" target="_blank">2009 Sponsors</a></p>
      <!-- end #sidebar1 --></div>
      <!-- InstanceBeginEditable name="EditRegion1" -->
      <div id="mainContent">
        <h3>About the Festival of Trees</h3>
        <p>For 20  years the Kootenai Health Foundation has been hosting the Festival of Trees.  Always held the weekend following Thanksgiving, Festival of Trees has become an  annual holiday tradition for the community. </p>
        <p>Businesses and individuals come together to  decorate and donate some 40 lavish Christmas trees and displays which are  enjoyed by attendees and ultimately sold at auction. Each year proceeds  raised at the Festival of Trees help fund needed services at Kootenai Health.</p>
        <p>
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="500" height="500">
      <param name="movie" value="MainScroll.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="9.0.45.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="MainScroll.swf" width="500" height="500">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="9.0.45.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
        </p>
        <hr />
        <h3>Changing Lives</h3>
    <p>In 2009, donations made during the Festival of Trees benefited cancer  services at Kootenai Health. Hundreds of people in northern Idaho are in need of the  kinds of services Kootenai Health can provide. Thank you for supporting the Festival of Trees!</p>
    <p>If you would like to learn more about donating to the Kootenai Health Foundation, call (208) 666-2345.</p>
    <p><strong>See what patients are saying about Kootenai Cancer Center.</strong></p>
    <p>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="350" height="291" id="FLVPlayer">
        <param name="movie" value="FLVPlayer_Progressive.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="scale" value="noscale" />
        <param name="salign" value="lt" />
        <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Halo_Skin_2&amp;streamName=KMC_Jim_XWeb_No Music_SMALL&amp;autoPlay=false&amp;autoRewind=false" />
        <param name="swfversion" value="8,0,0,0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="350" height="291">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="scale" value="noscale" />
          <param name="salign" value="lt" />
          <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Halo_Skin_2&amp;streamName=KMC_Jim_XWeb_No Music_SMALL&amp;autoPlay=false&amp;autoRewind=false" />
          <param name="swfversion" value="8,0,0,0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </p>
    <p> </p>
      </div>
      <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FLVPlayer");
    //-->
      </script>
      <!-- InstanceEndEditable -->
      <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
    <br class="clearfloat" />
      <div id="footer">
        <p><img src="Graphics/Kootenai_HF_1CLR_WH_V.gif" width="233" height="47" alt="KH Foundation" /></p>
      <!-- end #footer --></div>
      <!-- end #container -->
    </div>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("Festival of Trees");
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>

    Don't have an answer to your question but the link you provided in broken because file names are case sensitive on your server.
    I suspect that you've typed the URL in to your post rather than paste it from the browser.
    Should be http://www.thefestivaloftrees.com/Home.html with a capital "H".

  • [WP8.1][Xaml]Update ListView items when other items are selected

    hi,
    i am developing an app for windows phone and using listview to list items. i am using custom template for the listview item. this custom template contains labels, image and button.
    i trying to update the other listview items while one item is selected or multiple item selected. to change listview item i am iterating over the listview and try to get custom template using visual tree helper class. using helper class i am able to retrieve
    control from custom template. once i changing the image in listview if i scroll the listview vertically image changed to its default state.
    is it possible to change the custom template values using visual tree helper class or do i need to do some other changes in my code.
    please suggest.
    <ListView x:Name="lst" Grid.Row="2" SelectionMode="Single" SelectedItem="{Binding ListBoxSelectedItem}"
    ItemsSource="{Binding TssVariableInfo}" Padding="0" Margin="0"
    HorizontalAlignment="Stretch" Grid.Column="0" Grid.ColumnSpan="2" ReorderMode="Disabled" AllowDrop="False"
    VerticalAlignment="Stretch" Holding="lst_Holding" >
    <ListView.ItemTemplate>
    <DataTemplate>
    <local:VariableTemplateSelectorClass Content="{Binding}" FontFamily="Segoe UI" >
    <local:VariableTemplateSelectorClass.IsLiteAndNonDuplicate >
    <DataTemplate>
    <Border BorderThickness="0,1,0,1" BorderBrush="DarkGray" x:Name="bordername">
    <Grid Margin="0,0,0,0" Tapped="Grid_Tap" x:Name="GridVarDetail" Background="#E8E8E8" Holding="Grid_Hold" HorizontalAlignment="Stretch" Width="{Binding ElementName=lst, Path=ActualWidth}">
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="16"/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="6*" />
    <ColumnDefinition Width="4*" />
    </Grid.ColumnDefinitions>
    <Image x:Name="imgLegend" Source="/Assets/Images/Legends/00-Blank.png" Width="13" Height="13" Grid.Row="0" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center"></Image>
    <TextBlock Foreground="Green" Margin="14,0,0,0" Grid.Row="0" FlowDirection="LeftToRight" x:Name="lblCustomerGivenName" Grid.Column="0" TextWrapping="NoWrap" TextTrimming="WordEllipsis"
    Text="{Binding VariableCustomerGivenName }" FontWeight="Normal" HorizontalAlignment="Left" FontFamily="Calibri" VerticalAlignment="Bottom" FontSize="16" />
    <TextBlock Foreground="Green" Margin="14,0,0,0" Grid.Row="1" VerticalAlignment="Top" Width="Auto" x:Name="lblStandardName" Grid.Column="0" TextWrapping="NoWrap" TextTrimming="WordEllipsis"
    Text="{Binding VariableStandarName}" FontWeight="Normal" HorizontalAlignment="Left" FontFamily="Calibri" FontSize="16" />
    <TextBlock Foreground="Gray" Margin="14,0,0,0" Grid.Row="2" VerticalAlignment="Top" Width="Auto" x:Name="lblSection" Grid.Column="0" TextWrapping="NoWrap" TextTrimming="WordEllipsis"
    Text="{Binding SectionName }" FontWeight="Normal" HorizontalAlignment="Left" FontFamily="Calibri" FontSize="16" />
    <TextBlock Margin="321,0,40,0" Foreground="Red" Grid.Row="0" VerticalAlignment="Bottom" Width="Auto" x:Name="lblValue" Grid.Column="1" TextWrapping="NoWrap"
    Text="{Binding Value}" FontWeight="Normal" HorizontalAlignment="Right" FlowDirection="RightToLeft" FontFamily="Calibri" FontSize="16" />
    <TextBlock Foreground="Gray" Margin="321,0,40,0" Grid.Row="1" VerticalAlignment="Top" Width="Auto" x:Name="lblLastDate" Grid.Column="1" TextWrapping="NoWrap"
    Text="{Binding LastDate}" FontWeight="Normal" HorizontalAlignment="Right" FlowDirection="RightToLeft" FontFamily="Calibri" FontSize="16" />
    <Image Source="/Assets/Images/LeftArrow.png" Height="50" Width="40" Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" HorizontalAlignment="Right" Visibility="Collapsed" x:Name="imgLeftArrow" Tapped="btnMore_Tap" />
    <Image Source="/Assets/Images/2Y-OFF.png" Height="50" Width="40" Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" HorizontalAlignment="Right" Visibility="Collapsed" x:Name="btn2Y" Tapped="btn2Y_Tap"/>
    <Image Source="/Assets/Images/CP-Off.png" Height="50" Width="40" Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" HorizontalAlignment="Right" Visibility="Collapsed" x:Name="btnTL" Tapped="btnTL_Tap" />
    </Grid>
    </Border>
    </DataTemplate>
    </local:VariableTemplateSelectorClass.IsLiteAndNonDuplicate>
    </local:VariableTemplateSelectorClass>
    </DataTemplate>
    </ListView.ItemTemplate>
    </ListView>
    private void Grid_Hold(object sender, HoldingRoutedEventArgs e)
    if (e.HoldingState != Windows.UI.Input.HoldingState.Started)
    return;
    Image imgPlotImage;
    Grid GridVar = (Grid)sender;
    imgPlotImage = (Image)GridVar.FindName("imgLegend");
    General.VariableArrayYAxis.Add(dataObject.VariableID);
    General.DictSelectedVariableType.Add(dataObject.VariableID.ToString(), dataObject.IsTSSLite.ToString());
    GridVar.Background = new SolidColorBrush(Color.FromArgb(100, 255, 255, 255));
    Image imgLeftArrow = (Image)GridVar.FindName("imgLeftArrow");
    imgLeftArrow.Visibility = Windows.UI.Xaml.Visibility.Visible;

    That link is my signature not that i have provided it for reference. 
    You already have implemented binding in your code, just like you have bindings for TextBlock's 'Text' property, likewise you can defined a property for the 'Visibility' of image in the code behind
    e.g.
    private Visibility imgvisible
    public Visibility_ImgVisibility
    get { return imgvisible; }
    set
    if (imgvisible!= value)
    NotifyPropertyChanging("_ImgVisibility");
    imgvisible= value;
    NotifyPropertyChanged("_ImgVisibility");
    Then in xaml file, bind this property with the Visibility property of Image and access it as per your requirement (e.g. on tap of an item)
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • New 10g Client Malfunction

    So I get this new client thinking it is going to cure all of my Oracle ills. I get it, install it, configure it, and low and behold all I get is this in my asp.net application "Unable to load DLL (OraOps10.dll)". So I do a search on this and find someone else having the same problem. They stated to grant permissions to the home directory. So I give the home directory bloated security permissions that would let dirt execute the application. Still getting the same error. This was not in the documentation I seen. Any insight?

    Rebooting / refreshing security policy objects (logging off / on) after security changes are definitely good plans.
    Ensuring that the folder security propagates to the objects in the tree helps too.
    Administrator diagnostics....
    Is the OraOps10.dll available to be resolved via the PATH?
    (Usually the SYSTEM variable %PATH%)
    (I have multiple homes due to a local HTMLDB installation, it took me a while to find Oracle Installer's "Environment" tab and confirm that the SYSTEM %PATH% had the right order for the directory that I had changed permissions).
    Manually you can check this via System Properties (Windows Key + Pause/Break) | Tab: Advanced | Button : Environment Variables | Frame : System variables.
    Note: Distinct from earlier versions, REMOVE the SYSTEM %ORACLE_HOME% environment variable.
    You might need to restart some applications (eg. IIS) to re-initialize them with the changed environment variable values.
    Developer diagnostics :
    i) use Microsoft depends.exe ("Dependency Walker") to see if any explicitly referenced components of the DLL itself are missing. (Depends.exe is available from Visual Studio and some other places on the web).
    Quick and Dirty : If you run depends.exe it automatically registers itself as a the default shell verb on DLLs. You should be able to check whether the path is correct by simply typing "OraOps10.dll" into a new command shell or the run command (Windows key + R). If the %PATH% etc is correctly configured and realized into the current environment, depends.exe should be loaded with the appropriate module.
    ii) use the NT Filesystem Monitor and or Process Explorer from sysinternals / wininternals to determine what process / owner is attempting to load the DLL and what failure is occurring in that attempt.
    Hope this helps,
    Lachlan Pitts

  • A tree-view in HTML page with nodes generated with java script in run time is not visible in the UI Automation Tree. Need Help

    I have a HTML page with an IFrame. Inside the Iframe there is a table with a tree view
    <iframe>
    <table>
    <tr>
    <td>
    <treeview id="tv1"></treeview>
    </td>
    </tr>
    </table>
    </iframe>
    In UIA, i am able to traverse till the tree view but not able to see it.
    I have used the TreeWalker.RawViewWalker Field to traverse the node from the desktop Automation.RootElement. 
    I tried to use AutomationElement.FromPoint method to check whether i am able to get that element. Fortunately i was able to get the automation element. 
    i tried to get the path to root element from the node element using the TreeWalker.RawViewWalker. I was able to get the parent path to the root element.
    But trying the reverse way like navigating from root element to tree node, was not getting the element for me. 
    Please help me with suggestions or inputs to resolve this issue. 

    Thanks Bernard,
    It works fine with JInitiator but not working with
    the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
    i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
    Thx and Regards
    dkklau

  • Help Needed in tree Creation

    Hi Friends,
    I need to create a Tree with functionality of creating the Nodes dynamically.In the window we need to have 2 buttons Add Node and Remove Node.Can we achieve this requirement.
    Please provide me your valuable inputs.
    Reagrds,
    ravikanth

    Hi Ravi,
    For this, you can go thru the following components
    DEMODYNAMIC AND WDR_TEST_UI_ELEMENTS in your system.
    Hopes this will helps you.
    Regard
    Manoj Kumar
    Edited by: Manoj Kumar on Mar 2, 2009 4:51 PM

Maybe you are looking for

  • MSDN Internet Server error: Sorry, we were unable to service your request. Please try again later.

    I have been experiencing a high rate (maybe 1 in 5 page renders) errors from the MSDN servers in the last 4-6 weeks. It reports in the breadcrumb "Internal Server error" And then writes below: Sorry, we were unable to service your request. Please try

  • Click on a link button by the SDK

    Is this possible to CLICK on a LINK BUTTON so it automaticly open the form For instence, I would like to click on the link button of an Opportunity to open the Business Parner Form Can it be made from the SDK ? From what I saw, there's no Click or Ex

  • Why only one public class in one file

    why does java allows only one public class in one file? Why can not we have two or more public classes in file? Thank u.

  • How to understand "CSV network"

    my understanding is like: suppose you have a 2 node Hyper-v cluster. Normally, the active node in the cluster should have Direct I/O to the VHD file stored in the CSV on a SAN. However, SAN connection may be lost on this node which could prevent the

  • Formatting output of SQLPlus

    I have... Name Town strull VK pemo KL I want Name strull Town VK Name pemo Town KL Is it possible to get this output, i.e. with a simple customizing setting in login.sql or something else? Thanks in advance... Paul