Transparency in Tree component and actions in its sheets

Hello people
I'm doing a kind of catalog, and I'm using a component "tree" for listing.
But here's the problem: I need to use the background I have in the scene, and the component has a white background I need to remove. The workaround I've found is to give 0 _alpha property to the instance of the tree I have in the scene, but it also hides its  icons, and I need those visible.
The other thing is that I need that when you run over a leaf, multimedia displays a small view of an image, and when you click-go to a specific frame where I have the large image with description.
If anyone knows how can help me I would be greatly appreciated.
I searched the online help that Adobe is now, and I found these properties of the tree but there is no way to work (at least I need):
themeColor
backgroundColor
backgroundDisabledColor
depthColors
borderStyle
color
disabledColor
embedFonts
Thanks in advance.
P.S: Sorry my bad english

Use xml. Resistance is futile.
Tracy

Similar Messages

  • Tree Component and as3

    Hello ..
    my problem is tree component and AS3 , before we hade such
    easy time with tree component in as2 but now i founded that we cant
    talk directly to tree component and we have to use API and XML ,
    well i never liked XML and before i worked with tree component
    directly and no problem but now , Flex force me to work with XML or
    API(well I don’t know what dose it mean ) and I was tiring to
    find any way to get directly to tree component in Flex2 and no
    result … so my question , do I have use XML ? Is there any
    another way to get to Tree Component ? I was looking in Flex help ,
    and I find the help content is really bad . pleas help , I get
    crazy about this problem …….
    BWY this form work terrible on my PC ….. anyone have
    same problem ?

    Use xml. Resistance is futile.
    Tracy

  • Tree component event action

    Hello
    There's a page which contains the following 3 components: Input textfield, Button, Tree
    I made the following settings of them:
    I set the "event action" at the tree node, and so did I at the button properties.
    When I click on the button, the action runs and set the value of the Input textfield:
    �this.i_textField1.setValue("something");� - the Input textfield display it as it should.
    When I click on the tree node and the event action runs (it can be tracked in debug mode) which runs �this.i_textField1.setValue('something');�, but the textfield doesn't display it.
    Any suggestions?
    Thanks

    The root problem is that the tree node component always behaves as though it had an immediate property set to "true". You'll get the same behavior from button or hyperlink or any other action component is you set immediate="true". The text field submitted values are not cleared, and so the text field redisplays them instead of the value that is set in code or obtained by evaluating the binding on the session bean.
    There is a work-around. There is a page bean method, erase(), which will clear all submitted values. Call this before you set the new values, e.g.:
        public String treeNode1_action() {
            this.erase();
         textField2.setValue("Tree Node");
            staticText2.setValue("Tree Node");
         getSessionBean1().setTemp("Tree Node");
            return null;
    [/code
    // Gregory                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Tree component and loading xml files into text field

    Hello and thank you for taking the time to read my issue....
    I am making a simple self help application.  I have a tree component that loads the different catagories and topics for my help app dynamically via an xml file...no issues there.
    I then want it so that when the user cliecks on the actual topic that the TextArea component will load the info from another xml file using the name of the topic as the name of the xml file to make it that much easier for anyone to maintain this program.
    So far the code i have is this.
    myTreeListener.change = function(eventObject)
        var theSelectedNode = eventObject.target.selectedNode;
        var theSelectedNodeLabel = theSelectedNode.attributes.label;
        topicTextArea.text +=
    I am a little fuzzy when it comes to loading the xml file in.  Should i be loading html instead of xml is my other question as well?
    Thanks in advance for your help
    FG

    Check out the Oracle XDB Developer's Guide, Chapter 3. There is an example of using BFileName function to load the xml files from a directory object created using create or replace directory. It works really well.
    Ben

  • Transient form component and action listener

    Hi,
    I am binding a transient component to my h:form and wonder why my action listener is not called when update the form. Could someone give me a hint if this is possible? Are transient forms ignoring action listeners? Can some one give my a short example?
    Maciek

    The actionlistener can do whatever you want. Not sure what you need exactly but it might be better idea to create some Action classes and use them on each button:
    http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html

  • Java implementatino for AND-OR trees. And also for its visualization?

    Hi,
    I need to have an implementation of an AND-OR tree, that is, a tree in which the children of a node can either be conjunctive or disjunctive (normally the parent is consider an AND-node or an OR-node). The reason is that I need to represent Prolog rules in a java structure (not simply as a string). Do you know of any public implementation of such a structure?
    In addition, do you know of any existing visualization package or implementation that represents such a structure?
    Thank you in advance.
    D.

    Contact the sales departments of the manufacturers (Giesecke&Devrient (G&D) and Oberthur, and maybe also NXP). They will refer you to the distributor/reseller for your area, through whom you can establish an NDA with the manufacturer and get access to the specification documents.
    Adriaan

  • Ext. data source and Tree component

    Im using tree component and XMLConnector here.
    as far as i can see results in my tree (when testing my
    movie) it ouputs data thats loaded fom ext. XML file.
    But the problem is that it publishes [type Function] in the
    tree.
    no actual xml nodes are visible, just bunch of [type
    Function]
    ive also searched for info / tutorial how to publish actual
    xml data in the tree component but without any luck.
    So what should i do and how ?

    Solved
    xml tags needed just a label with attributes

  • ADF Tree Component Iterating through all nodes upon ONE node click...

    Hi to all !. My name is Agustin and I live far away... In Cordoba Argentina to be specific !. My doubt would be the following one: I wanted the other day to build a af:tree component and put in the NodeStamp an commandLink with a setActionListener... So as to get the selected Node... In this case, I have category of books... Let say DataBase, Cloud Computing, Web Development and so on... But the misterious thing happens when I click on one node, and the action method in my backing bean is executed one time per each node the Tree has... I notices this coz I made a System.out.println()... My idea would be to detect the user click event so as to update a Table... My code is as follows !...
    <af:tree value="#{backManager.listaCategoria}" var="cat"
    binding="#{backManager.tree1}" id="tree1">
    <f:facet name="nodeStamp">
    <h:commandLink binding="#{backManager.outputText1}" action="#{backManager.outputText1_action}" >
    <af:setActionListener from="#{cat}" to="#{backManager.selectedItem}" />
    <h:outputText value="#{cat.label}"
    binding="#{backManager.outputText2}"
    id="outputText2"/>
    </h:commandLink>
    </f:facet>
    </af:tree>
    and my backing bean is:
    public String ejecutarSeleccion()
    Categoria cat = (Categoria) this.selectedItem.getValue();
    System.out.println("Nombre: " + cat.getNombre());
    return null;
    This method is the action attribute from the command link !.
    the selectedItem is an attribute of the type SelectItem !.
    Where I would be making the mistake ?... Or should I implement the thing in a different way ?... Thankx ! :D

    Hi,
    its strange when you say it executes the action per each node in the tree. One thing tough I would change is to go from h:commandLink to af:commandLink as it allows you to set partialSubmit=true in which case a click on the tree doesn't refresh the whole tree. I then would add an f:attribute tag to the command link
    <f:attribute name="cat" value="#{cat.id}"/>
    On the command link I had the actionListener property pointing to a managed bean with a method like
    public void onTreeNodeAction(ActioneEvent actionEvent){
    RichCommandLink link = (RichCommandLink ) actionEvent.getUIComponent();
    Object catId = link.getAttributes().get("cat");
    // ... cast the catalog id to its type and you are ready to go
    Another option would be to use the SelectListener of the tree and don't use a command link at all. You respond to tree node selection similar to here
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/83-bidi-synchronization-tree-form-401841.pdf
    Frank

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

  • Tree component index confusion

    Hello,
    I have a Tree component and need to access some nodes by its
    index. This is to make a "move up/down" control. My idea, after
    trying many, is to duplicate the selected (current) node up or
    down, then replace the content of the original with the previous
    node content.
    I wish not to use previousSibling or nextSibling since, as it
    seems, it doesn't recognizes either the origin and destination
    nodes are in the same hierarchical level.
    Working with some
    index function doesn't works as I would expect when in 2nd
    level nodes (that is, some child nodes of the first nodes) ; for
    example:
    -- node (index 1)
    -- node (index 2)
    -- child (index 3)
    -- child (index 4)
    -- node (index 5)
    if the selected node is the second child of the second node,
    index = 4, and then I substract this number to get the (supposedly)
    previous child,, that is, in index 3, then I get the node in index
    5.... my thought is that, when closed, the node in index 5 was
    actually index 3.
    Any clarification on how this could be happening is greatly
    appreciated. Thanks,
    Alvaro Medina

    I also need to get a exact position in the nodes for a
    selected item, such as in the following format
    getTreeNodeAt(0).getTreeNodeAt(5)
    in order to delete certain folders
    thisTree.getTreeNodeAt(0).getTreeNodeAt(5).removeTreeAt(2)
    How can I do this?? All i can get so far is node object by
    thisTree.selectedNode ...

  • MyFaces Tree Component Rendering

    Hi all,
    I am adding myfaces client tree Component to my panel.Its not rendering and its throwing exception.
    anyhelp would be appriciated
    Thanks
    Sudha

    Hi,
    I am trying to render myfaces client tree on faces portlet using RAD 6.0. As RAD does not support JSF 1.1, I have commented DOCTYPE from faces-config.xml in tomahawk.jar file.
    Root of the tree is getting displayed without "+" sign. And when I click on it,
    javascript error "Object Expected" occurs.
    I am not able to figure out the problem from last 2 days. So, Please help me out if you can.
    Thanks in anticipation.
    ~Madhura

  • Customizing the Tree Component inn ADF Faces..

    HI,
    I am using the ADF Faces Tree Component and was wondering wheteher we
    can use a specific theme instead of the default one..
    The scenario's i am looking at are
    1) Changing the Style of the Selected Node
    2) Programatically can i assign a different styling for a Specific
    Node (Previously Selected) in the Tree ??
    3) And any info reg Enabling the Drag and Drop functionality ?? As of
    now i don't think it is supported. Are there any plans of it being
    supported in the furture releases??
    Thanks
    Sateesh

    Hi,
    1) See tree skin selectors: http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/skin-selectors.html
    2) You can reference a managed bean for providing the inline style sheet on a component. This however only works when the tree is re-drawn and not dynamically
    3) Drag and drop doesn't work in 10.1.3.x. In 11 this may work - havent tested yet - using a client listener component
    Frank

  • JSF tree view GUI component and tree node actions

    Hi,
    I am new in using JSF and have a problem with my simple test application.
    The application contains a tree view control with one static tree node and a separate text area. Clicking on the tree node shall fill the text area with the string 'hello'. Seems to be very simple, but it doesn't work.
    What did I do?
    First of all I use the Sun Java Studio Creator 2.
    By double clicking on the tree node in the design window of the IDE a method called treeNode1_action() was created. I also added the String text to the session bean. treeNode1_Action() does not more than setting text='hello' ( getSessionBean().setText('hello'); ).
    The jsp file contains the line
    <ui:textArea binding="#{Page1.textArea}" id="textArea" style="height: 192px; left: 360px; top: 48px; position: absolute; width: 456px" text="#{SessionBean1.text}"/>, so the text of the text area is bound to the session property 'text'.
    Running the application and clicking on the tree node does nothing except reloading the page (no 'hello' inside the text area).
    Using the debugger showed me that the bean property text is set correctly to 'hello', also after reloading the page.
    What did I do wrong?
    What do I have to do to display 'hello' in the text area?
    I would be glad for some good advice to solve my problem and looking forward for an answer.
    Regards from germany
    Matthias

    want to remove the green patch from the jsf tree componentas u said ,, it is COMPONENET so this is a pre-made creator component that u cant chnage its attributes ,,
    instead u can extract Theam.jar file and change the icons ,, u i didnt do it before ,, but u may be find what u want there,
    hope this will help
    good luck
    Mohammed

  • Tree component transparent background

    Trying to make the tree component have transparent
    background.
    I have tried puting it in a movie clip and making that Alpa =
    0 but that makes the scroll bar and node icons disappear.
    Is there a actionscript genius out there that would be kind
    enough to help an aspiring flash junkie out?
    Thanks in advance.

    I just did the same myself and it became transparent....
    import mx.styles.CSSStyleDeclaration;
    if(_global.styles.Tree==undefined){
    _global.styles.Tree=new CSSStyleDeclaration();
    _global.styles.Tree.setStyle("backgroundColor","undefined");
    however - after i did this, i lost the possibility to click
    on the items in the tree - i could move with the up and down arrows
    but thatds not the point so can anyone help me out here
    please?

  • Issue with Drag&Drop between table and tree component

    I want to drag table rows and drop it on the tree node. I use following code to achieve this:
    <af:table value="#{bindings.pricingObjects.collectionModel}"
    var="row"
    rows="#{bindings.pricingObjects.rangeSize}"
    emptyText="#{bindings.pricingObjects.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.pricingObjects.rangeSize}"
    selectionListener="#{workspaceBean.onTableSelect}"
    rowBandingInterval="0" id="poTable"
    partialTriggers=":::csTree :::cbRefresh"
    columnStretching="column:c4"
    displayRow="selected"
    contentDelivery="immediate"
    clientComponent="true"
    binding="#{workspaceBean.table}"
    rowSelection="multiple">
    <af:dragSource actions="MOVE" defaultAction="MOVE" discriminant="rowmove"/>
    </af:table>
    <af:tree value="#{bindings.privateChangeSets.treeModel}"
    var="node" displayRow="selected"
    selectionListener="#{workspaceBean.onTreeSelect}"
    rowSelection="single" id="csTree"
    expandAllEnabled="false"
    binding="#{workspaceBean.tree}">
    <af:dropTarget dropListener="#{workspaceBean.dropListener}" actions="MOVE">
    <af:dataFlavor flavorClass="org.apache.myfaces.trinidad.model.RowKeySet"
    discriminant="rowmove"/>
    </af:dropTarget>
    </af:tree>
    With this code I am getting the data of dragged rows but I am not able to get the tree node where rows are dropped. Dropevent.getDropSite() always returns NULL.
    Strangely, I tried to use deprecated tags <af:collectionDragSource> and <af:collectionDropTarget> and everything works fine. Dropevent.getDropSite() returns me the correct rowkey of tree node.
    Any idea why am I not getting desired result with <af:dropTarget>?

    Hi,
    +" Please note that dropSite==null is a legal value for collection components. dropSite=null and DropOrientation==ON indicates that the drop has happened outside the data portion of the collection component and should be treated as a drop on the entire component Also note that dropSite==null and DropOrientation==AFTER indicates that the drop has happened on an empty collection component and the user intends to append the data."+
    http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e10684/oracle/adf/view/rich/event/DropEvent.html#getDropSite__
    List dropRowKey = (List) dropEvent.getDropSite();
            //if no dropsite then drop area was not a data area
            if(dropRowKey == null){
                return DnDAction.NONE;
            }Frank
    Edited by: Frank Nimphius on Feb 18, 2011 11:18 PM

Maybe you are looking for

  • OBIEE 11g + OBIEE 11g Samples (rel.825)

    Hi all. I'm quite new in OBIEE 11g. I used to have some experiences with version 10g but 11g seems to be more advanced. Generally I've installed DB11g then OBIEE 11g and started configuring samples according to documentation regarding release 825. Ev

  • How do I create a time delay so the signal from my throttle is not too fast for an ESC?

    I am using Labview to control a ROV using a Playstation 3 controller.  When I throttle too quickly the ESC cuts off and resets.  I talked to the manufacturer of the ESC and they said the probable cause was the signal was changing to fast for the ESC

  • Manual Correction in PCA

    Hi All, I am correcting some wrong postings in PCA for 2007 using 1KEL. After the corrections when I run KE5T, the difference becomes zero which is correct. However, these postings also appear in the KE5T for 2008. 2KES to carry forward balance to 20

  • Selecting files as attachment

    Selecting files as attachment by clicking attachment icon and subsequently folder, subfolder and file worked fine till today. All of sudden mail stops at first level of folders with effect that mail attaches all pictures - yes this took some while -

  • CS3 color profile location

    I'm presently using Photoshop for Windows in CS3 extended.  I have attempted to clean up and organize my color profiles.  I do this in Windows/system32/spool/drivers/color but when opening Photoshop and selecting profile for either printing or profin