Color of text in af:tree with the definitions of two nodes

Hi all

I use JDev 11.1.1.5.0

I have an af:tree component that got two definitions of nodes (two different iterators). I want to display the data in other colors with other icons etc. According to the definition of node.
  <tree IterBinding="OrganizacjeGlowneIterator" id="OrganizacjeGlowne">
      <nodeDefinition DefName="proby.model.views.ElorganizacjeView"
                      Name="OrganizacjeGlowne0"
                      TargetIterator="${bindings.OrganizacjeEditIterator}">
        <AttrNames>
          <Item Value="Kod"/>
          <Item Value="Nazwa"/>
          <Item Value="Typorganizacji"/>
        </AttrNames>
        <Accessors>
          <Item Value="ElorganizacjeView"
                Label="strukturaOrganizacyjnaPageDef_OrganizacjeGlowne_proby.model.views.ElorganizacjeView_ElorganizacjeView"/>
          <Item Value="StanowiskaUsersView"
                Label="strukturaOrganizacyjnaPageDef_OrganizacjeGlowne_proby.model.views.ElorganizacjeView_StanowiskaUsersView"/>
        </Accessors>
      </nodeDefinition>
      <nodeDefinition DefName="proby.model.views.StanowiskaUsersView"
                      Name="OrganizacjeGlowne1"
                      TargetIterator="${bindings.StanowiskaUsersEditIterator}">
        <AttrNames>
          <Item Value="NazwaStanowiska"/>
          <Item Value="ImieUsera"/>
          <Item Value="NazwiskoUsera"/>
          <Item Value="EmailUsera"/>
        </AttrNames>
        <Accessors>
          <Item Value="StanowiskaUsersView_2"/>
        </Accessors>
      </nodeDefinition>
    </tree> 
I wanted to use EL in the Style section in the properties of the af Component Inspector: tree, but I don't know how to get the node current definition name.
How to change color dynamically based on the current definition of node?

Any help will be appreciated.

Kind regards
Wojtek.

Hello

This EL

#{node.hierTypeBinding.structureDefName}

Returns the name of the name of the View node and package object

If you could do

#{node.hierTypeBinding.structureDefName == "proby.model.views.ElorganizacjeView"? Red: white}

for the nodes of color code

Frank

Tags: Java

Similar Questions

  • HP Deskjet 3325 color inkjet printer not to proceed with the installation of premium window 7

    Mr President.

    HP Deskjet 3325 color inkjet printer not to proceed with the installation of premium window 7 installed hp laptop hp pavilion dv4. Please send me the solution to my email address * address email is removed from the privacy *.
    With respect,
    Tonia CENIA

    http://h10025.www1.HP.com/ewfrf/WC/document?docname=c01796821&CC=UK&DLC=en&LC=en&os=4062&Product=82029&sw_lang=

  • How, in Illustrator CS5, select all objects with the three points (or nodes)?

    I'm fairly new to Illustrator, but it seems like it should be simple.  (It's trivial in CorelDraw X 4: after selecting an object with three knots, I go to Edition > search and replace > find objects > find objects that correspond to the currently selected object and navigate the menus left.)

    In Illustrator CS5, select options > identical do not seem to include the selection of all objects with the same number of nodes under the currently selected object.

    A double click on the magic wand tool also does not provide such an option.

    Thanks for any help.

    PS also useful would be knowing how to add other criteria to this search, for example, how to select all objects with three points * and * the current fill color.

    advictoriam,

    I'm afraid that you have better luck with the number of anchor Point.

  • How can we do a single element with the content of two clips

    How can we do a single element with the content of two clips

    You try to get a picture of image? In other words, that contained two visible clips at the same time? If you are, change the substantive item to you main plot and another tie on top using an edit connect to the battery. Select the top item. Activate the transform tool and resize and reposition the clamp if necessary.

    Russ

  • problem with the definition of a boolean as output parameter type

    Hi, I have a problem with the definition of type boolean as output parameter and it must return true if the query procedure retrieves one line else it shouuld return false

    Hi, I have a problem with the definition of type boolean as output parameter and it must return true if the query procedure retrieves one line else it shouuld return false

    And what are the issues? Its simple.

    SQL> create or replace procedure is_emp_exist
      2  (
      3     p_empno  in  emp.empno%type
      4   , p_result out boolean
      5  )
      6  as
      7     l_empno emp.empno%type;
      8  begin
      9     select empno into l_empno
     10       from emp
     11      where empno = p_empno;
     12
     13     p_result := true;
     14  exception
     15     when no_data_found then
     16        p_result := false;
     17  end;
     18  /
    
    Procedure created.
    
    SQL> declare
      2     l_result boolean;
      3  begin
      4     is_emp_exist (7788, l_result);
      5
      6     if l_result then
      7        dbms_output.put_line('Employee Exist');
      8     else
      9        dbms_output.put_line('Employee does not Exist');
     10     end if;
     11  end;
     12  /
    Employee Exist
    
    PL/SQL procedure successfully completed.
    
    SQL> declare
      2     l_result boolean;
      3  begin
      4     is_emp_exist (1000, l_result);
      5
      6     if l_result then
      7        dbms_output.put_line('Employee Exist');
      8     else
      9        dbms_output.put_line('Employee does not Exist');
     10     end if;
     11  end;
     12  /
    Employee does not Exist
    
    PL/SQL procedure successfully completed.
    
    SQL>
    
  • I need help with the control of two .swf in third.

    Hi, thanks for reading!

    I need help with the control of two .swf in third.

    I have a problem when I need to use a .swf in a digital signage solution, but were advised by the Legal Department, it cannot be changed in any way, I can not also have the source file blah blah blah. I pulled the .swfs on their site and I decompiled to see what I was up against.

    The main SWF that I need control is HCIC.swf and the problem is that it starts with a preloader, which, after the loading stops on a framework that requires user input to (button) on a play button, until the film will proceed and replay.

    What I've done so far is to create a SWF container, HCIC_container.swf, which will serve as a target for the HCIC.swf and I would like to send actionscript in the file, I am not allowed to edit.

    I managed to get done with help from someone on another forum. It is my hope that the following script just start HCIC.swf a framework after the preloader and button play and just play through.

    var container: MovieClip = createEmptyMovieClip ("container", getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener (this);
    mcLoader.loadClip ("MCIC.swf", container);

    function onLoadInit(mc:MovieClip) {}
    mc.gotoAndPlay (14);
    }

    But unfortunately it does not solve my problem. Because there is a media - controller.swf, which is charged by HCIC.swf who has orders, including the play button to start HCIC.swf.

    Here is a link to a .zip with all 3 files .swf file and all 3 .fla files.

    http://www.axiscc.com/temp/HCIC.zip

    What I have to do is to automatically start the HCIC.swf file, bypassing the pre-loader and play button without having to edit it or in the media - controller.swf in any case. Thus, all scripts must be done in HCIC_container.swf.

    I know it is confusing and it is difficult to explain, but if you look at the files it must make sense.

    ActionScripting is far from my point hard, so I'm definitely over my head here.

    Thanks for your help.

    Got my solution on another forum.

    http://www.ActionScript.org/forums/showthread.php3?t=146827

  • You need to replace troublesome tree with the color of the sky surrounding.

    Earlier in the year, I took the photograph of birds.

    Often a part of the bird will be cut in two by a branch that cannot be resolved.

    The thread title basically says it all.

    My goal is to wipe the excess tree twigs/branches and replace it with a more clear sky.

    How would this work with withdrawal in cash?

    Cannot understand it.

    Sort which would accomplish this quest is greatly appreciated.

    It will turn more attention to the bird and not on the parts of the tree around it.

    Thanks in advance.

    Nikon D90 Gent II wrote:

    Often a part of the bird will be cut in two by a branch that cannot be resolved.

    Many times, this can be corrected in Photoshop, but probably not with the tool clone in Lightroom.  Heavy cloning is a job for Photoshop or Elements.  You can make withdrawal of undetectable branch with the Content Aware brush in Photoshop/elements, sometimes doing a little cleaning with the tool clone of Photoshop/Elements.  I removed the necklace and the branches of bugs with very little work.

  • Glow internal change position of text effect when used with the State of the button.

    I've seen other old discussions on this topic.  I'm trying to use the inner glow on the mouse down state of a button.  When you apply the inner glow effect, the text is pushed down into the text box to the position that it is in normal state and the substitution of the.  How to do this?

    Attached images show the a screenshot of what the mouse to the low State looks like muse with the glow effect used inside.  The second screenshot shows the real effect with what is really happening by using the preview of Muse (the same thing happens in Safari and Firefox).  The metrics of positioning between normal / roll the mouse downwards and above are identical.

    Help, please.

    Inner Glow in Muse.png

    Inner Glow afterwards.png

    To work around this problem, the simplest method is to add a shine to other States, but use the background color for the glow. This creates the same offset as the rollover State but does not display differently.

  • Can I select and copy and paste text from a browser with the pencil of Apple?

    With the pencil of Apple on a new iPad Pro, I am not able to select, copy and paste text from a web page in Chrome or Safari. Y at - it a special order? A related question (not with a pencil): how to save files in PDF format.

    Well, it seems to be workin now. Never mind.

  • Toolbar is text double Screwy ++ more with the last update of el capitan

    Hello

    my browser (safari) opens and I can type a new address in there and get a Web site, but if I try to type a new Web page address in it either cannot me, because nothing happens or it will go screwy text double crushed on the other.

    Usually it only allows me to write a new address. I have to close the page and open a new one to get a card box that I can type for each page I want to see.

    Sometimes it will show quick link box but not stay open it just momentarily, that I really liked to use.

    This happened right after that I updated with the latest of El capitan and my apple support has expired.

    I went to apple because windows was such stroller * now I have with an Apple I paid a lot more for! If apple guard leaving software buggy I won't be a happy chappy. Here is a screenshot of the page I'm.

    Any help appreciated.

    Oh I watched my safari settings and I didn't know what I could see who had changed.

    Workaround for the safari address bar

    http://osxdaily.com/2016/01/05/fix-Safari-freezing-address-bar-use/

  • How to make text does not interfere with the rollover effects in the image below

    I have images that zoom slightly when the mouse passes over them, but I need a title text on them. When the mouse is over the text, it prevents the zoom effect doesn't happen. Is there anyway to make the "invisible" to the cursor text and does not interfere with the effects of overview below? I know that I can make the text in the images, but I don't want the text to expand it, just the image.Screen Shot 2016-09-29 at 8.59.42 PM.png

    You can use a button on the State.

  • Disable the text (accidentally) distortion Photoshop with the tool box move?

    When you want to move a text box, but accidentally it disproportionate scale:

    Screen Shot 2016-09-13 at 11.53.49 AM.png

    Disabling 'Show the tools of transformation' is impractical, because you need to transform the elements all the time and it's good to see what is selected... Could not find anything in the frame, nor on Google thank you!

    I never use "Show transform controls" with the move tool. CTRL/cmd-t is a simple shortcut for the transformation that usage see the transformation control is annoying.

  • Automatic scrolling of text possible in combination with the text form field

    Hello

    We would like to know if it is possible to align the text automatically with a form field that can contain different amounts of characters.

    For example:

    We have a form with a text field for currency at the end of a paragraph of text. The period to mark the end of the sentence should always be printed just behind the currency field. For now, the comma character has a fixed place, just outside the scope of the currency field. It doesn't look good when the currency field contains only 2 characters (due to the white space).

    Is there a solution to this problem?

    Thank you.

    It is only possible if the time text is also part of a text field, preferably the same one. You can use a format or script validation to automatically add this custom text to text from the user, assuming that it is a fixed value or you can know in advance. If it is a value entered by the user, then it becomes almost impossible to do it gently.

  • Error on creating a node in a tree with the Oracle ADF

    Hello

    I drew a tree with oracle ADf on schema oracle HR and are the layouts of the tree: region, country, location, Department and employee.

    I have a button to create nodes. in the beck of button, I have a class to handle the create action.

    When I want to create a node, the error below is to occur:


    Cannot create an object of type:java.math.BigDecimal from type:java.lang.String with value:BR
      at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:111)


    What is the error?

    This error means that you are trying to insert a string value into a bigdecimal object

    in order to check your code when you set values after create

    -Thank you

  • Find/replace, searching for specific text to replace it with the paragraph tag

    I tried to replace a string of text that I have at the beginning of a paragraph indicating a certain style of paragraph with this style of ID while eliminating the text string. For example, I put @IN1 at the beginning of a paragraph I want formatted with the paragraph of my ID IN1 style. However, when I have 'Search' @IN1 with no. find format and 'to' do not change (i.e. empty) with the paragraph style selected 1 selected under format change, it applies the paragraph style, but does not delete the text string @IN1. When you do a search/replace without the portion of paragraph desired syle, he removes the @IN1 correctly. It is a bug, or is there something I have to put in the change of area indicate no text? Thank you

    Using the GREP tab, find ^ (@IN1) (.) and replace with $2 and set the paragraph style in the change of format.

    The ^ beginning of paragraph says and the $2 is the second subexpression matching.

Maybe you are looking for

  • Problem with the Facebook Messenger notifications

    I have an iPhone with iOS 9.3.2 5. Recently, I noticed that when my phone is locked, Facebook messaging notifications are appearing for a few seconds and then disappeared very quickly. Everyone is also dealing with the same issue? Can someone help me

  • Satellite A60 - connected to the WIFI but can't get on the WEB

    Hello I have a really strange problem with my Satellite A60. I have a US robotics wireless router. I can connect with my laptop, in the sense where it says that it acquires an IP address and then he said: it is connected, but then it is not possible

  • Bluetooth failure caused by HP C8180 auditor

    I have a wireless HP C8180 printer, copier & scanner.  I don't set up on a new Microsoft Vista Dell laptop so that independent - a computer and a printer - NO network.  No other computers have access to this printer.  After the last update of HP secu

  • zbook14: ZBook14 hangs at startup

    Hi all We have about 20 or so zbook14s. About a third of them freeze when loading windows. He arrives just before the login screen is available. I applied recent firmware, windows updates and driver updates. The link below is a video that I took the

  • Please help KB 976370-Upgrade error code-80073701

    Please help KB 976370-Upgrade error code-80073701