Can I hide tree disclose button basing on node.attr?

Hi OTN,
I have an af:treeTable with dynamic node levels. It is not determined how many levels there are, but basing on node attribute I can find out weather the node is a leaf.
So I would like to hide disclose triangle button for those nodes that have certain attribute values.
Is that possible?
Thanks.
JDeveloper 11.1.1.4

Hi,
Try with inlinestyle property,
by setting the style class based on the #{node.attr}
Like : inlineStyle="#{node.attr='test' ? test:test1}";
af|tree::selector-icon.test{
content:;
}

Similar Messages

  • How can you hide a Continue button until all clickboxes are clicked?

    I have seen similar questions to this one, but none seemed to be the exact situation as mine.
    What I have: Several images on a screen.  When a user clicks an image it is replaced with another image.  I am using clickboxes for this task.  I do not wish for them to toggle back and forth. Once they click the original image it should stay changed.
    What I am trying to do: Once a learner clicks all the images (in no particular order) a Continue button appears that allows them to go to the next screen.
    If anyone has some suggestions on this situation please let me know, thanks.

    I cannot log in on the forum for the moment, so will try by answering by
    mail. I was aware of that problem (have presented those solutions so
    often), thought that since you left all images visible once the click box
    was clicked it wouldn't be a problem.
    Two possible solutions:
       1. Easiest one: add a statement in the Always decision that will Hide
       the click box just clicked. It has no sense to click it another time. That
       will mean that you still can do it with a shared action but that shared
       action will have two parameters now, the second one being the click box
       that has to adapted on each application of the shared action.
       2. If you don't want to make the click box hidden (which means at the
       same time disabled), you'll need a user variable for each click box,
       starting with a default value of 0, and toggle it in the Decision 'Always'
       to 1. The second decision will then need a condition that checks the value
       of all the user variables (with AND) and shows the Next button only when
       all variables have the value of 1.
    Sorry, but have to mail, cannot offer a screenshot in that case.
    Lilybiri
    2014-03-13 5:31 GMT+01:00 Joseph_McDonald <[email protected]>:
        Re: How can you hide a Continue button until all clickboxes are
    clicked?  created by Joseph_McDonald<http://forums.adobe.com/people/Joseph_McDonald>in *Advanced
    Adobe Captivate Users* - View the full discussion<http://forums.adobe.com/message/6205043#6205043

  • How Can I hide search help button in alv ?

    Hi Sdn .
    I want to hide search help button in my alv ..
    My  gs_fcat-f4availabl  = 'X'. is not active ..  but  there is search help button  .
    How Can I hide button .
    Regards  .
    Serkann

    donnot pass any values in field catalog for reference field and reference table.
    or dont use any standard data element

  • How to hide and show button based on if row is selected in tabular form

    Hi,
    Im pretty new to apex. I am using version 4.1. I have a tabular form and what i want to do is only have the delete button show if i select a row from the [row selector] column. Can this be done using a dynamic action? I have tried it that way unsuccessfully. Please help or let me know if you need any more information.
    Thanks

    Do you mean if the check box is selected in the row?
    Assign a static ID to the delete button, e.g. MY_DEL_BTN. Look for "Static ID" under the Attributes section of the button.
    If so, make an advanced Dynamic Action based on Click and a jQuery selector. Usually, this element is name "f01" but, you need to make sure. Assuming it is "f01" then your jquery selector would be:
    input[name="f01"]set the event scope to live.
    Your dynamic action will fire JavaScript. (BE SURE TO UNSELECT FIRE ON PAGE LOAD). To make sure you have the right jQuery selector, at first just put a pop up message in the JavaScript.
    alert('You Clicked the Row Selector!');Run the page. Click the row selector. If you get the pop up you have specified the jQuery selector correctly. Yay!
    Then, assuming the above is correct. You can now determine if any have been selected.
    Now, set it back to SELECT TO FIRE ON PAGE LOAD (You want the delete to be hidden when you first open the page).
    Change your JavaScript to this:
    var checkedCnt = $("input:checked").length;
    if( checkedCnt > 0 )
       $('#MY_DEL_BTN').show();
    else
       $('#MY_DEL_BTN').hide();
    };-Joe

  • FF9 - can i hide window control buttons in titlebar (min, max, close) with userchrome.css?

    I use FF9. In userscript.css i hide titlebar and orange app button, but window control buttons still visible! I just can`t find working script.
    I dont need min-max-close button and wont to hide it without extension if possible.
    Here is screenshort:
    http://s018.radikal.ru/i522/1201/50/f6a6ea445507.jpg

    Try this code in userChrome.css below the default @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.
    *http://kb.mozillazine.org/Editing_configuration
    <pre><nowiki>*http://www.mozilla.org/en-US/firefox/channel/
    #titlebar-buttonbox { display:none!important; }
    </nowiki></pre>

  • How can I hide the marker button in an ALV GRID line?

    Hi all,
    I am switching an old program from ALV LIST to ALV GRID. In the old list, I put a checkbox on each line to abilify the user to mark some lines. However, there are some lines that I don't want the user to select. In the list, I set the field for the box name to "*" (asterisk) and in the list, the checkbox is not input enabled.
    Now in the grid, this does not function any more. all lines are markable. How can I deactivate the marker function for some lines?
    Greetings
    Jörg

    Hi,
         use the below snippet in your code
      DATA: ls_celltab TYPE lvc_s_styl.
      REFRESH pt_celltab.
      IF p_mode EQ text-103.
    *§2a.Use attribute CL_GUI_ALV_GRID=>MC_STYLE_ENABLED to set a cell
       to status "editable".
        ls_celltab-fieldname = c_character1.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_enabled.
        ls_celltab-style2 = cl_gui_alv_grid=>mc_style_f4.
        INSERT ls_celltab INTO TABLE pt_celltab.
        ls_celltab-fieldname = c_character2.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_enabled.
        ls_celltab-style2 = cl_gui_alv_grid=>mc_style_f4.
        INSERT ls_celltab INTO TABLE pt_celltab.
        ls_celltab-fieldname = c_character3.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_enabled.
        ls_celltab-style2 = cl_gui_alv_grid=>mc_style_f4.
        INSERT ls_celltab INTO TABLE pt_celltab.
        ls_celltab-fieldname = text-107.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_enabled.
        ls_celltab-style2 = cl_gui_alv_grid=>mc_style_f4.
        INSERT ls_celltab INTO TABLE pt_celltab.
        ls_celltab-fieldname = c_selectionid.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_disabled.
        INSERT ls_celltab INTO TABLE pt_celltab.
    Regards

  • How can I "hide" borders for buttons ?

    Hello!
    I have a toolbar with several buttons on it. If I run my application, these buttons appears initially with a border around.
    I made a custom button, class which implements MouseListener (extends JButton of course) and for each event like mousePressed(...), mouseEntered(...) I set a specific border for my button.
    If I move the mouse cursor over the button the border will not be visible because I use (setBorder(...) in my class) an EmptyBorder(...). I want to happen this when my application starts.
    With respect,
    Cristian

    I changed a little your code to figure what's wrong; here it is modified code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class Test extends JFrame {
         public Test () {
              getContentPane ().setLayout (new FlowLayout ());
              ImageIcon icon = new ImageIcon("images/"+"save.gif");
              Action actionNew = new AbstractAction("save", icon) {
                   public void actionPerformed(ActionEvent e) {
              JToolBar toolBar = new JToolBar();
              CustomButton save = new CustomButton(actionNew, "save");
              toolBar.add(save);
              getContentPane ().add (toolBar);
              setDefaultCloseOperation (EXIT_ON_CLOSE);
              setTitle ("Button without border");
              pack ();
              setLocationRelativeTo (null);
              show ();
         public class CustomButton extends JButton {
              private Border emptyBorder;
              private Border lineBorder;
              public CustomButton (Action act,String text) {
                   super((Icon)act.getValue(Action.SMALL_ICON));
                   //super (text);
                   setFocusPainted (false);
                   emptyBorder = BorderFactory.createEmptyBorder (1, 1, 1, 1);
                   lineBorder = BorderFactory.createLineBorder (Color.BLACK);
                   setBorder (emptyBorder);
                   setToolTipText(text);
                   addMouseListener (new MouseAdapter () {
                        public void mouseEntered (MouseEvent event) {
                             setBorder (lineBorder);
                        public void mouseExited (MouseEvent event) {
                             setBorder (emptyBorder);
              public static void main (String[] parameters) {
                   new Test ();
         }And I realized that if I put my buttons on a toolbar they will be bordered and I don't now if I need to customize the toollbar too in order not show borders arround.
    To run this code you should have an image called save.gif placed in images directory.
    Thanks Levi, I will search further !
    Kind regards,
    Cristian

  • Hide Quiz Continue button until all failed attempts

    Hello!
    I am using Captivate 8 and have a quiz that allows 3 failed attempts. It is set to jump to a slide if they pass and a different one if they fail. These work fine using the continue button.
    There is a retake and continue button.
    However, the continue button shows on the quiz results slide on the first and second failed attempt. If the user clicks this - the quiz is over - no more attemtps allowed (no playback bar if that would make a difference).
    The instructions say on teh failed attempts, "...if the retake button is showing, click it, otherwise, click continue."
    How can I hide the continue button on the first 2 failed attempts?
    I've been searching blogs and the answer may be out there - I'm just not piecing it together. I created an if/else statement to jump to the appropriate slide based on the quiz % scored, but it then bypasses the quiz results.
    I know there's a way!!
    Thank you for any advice!!
    Sherry

    Please don't apologize Lilybiri! Your input is ALWAYS appreciated
    Thank you for hte suggestion! In this instance, I want the continue button to show after no more retakes so layering it behind the Retake button worked well.
    The funny thing is by answering my own question I may have got my first 10 points!
    I learn so much from all of you experts - I am very grateful for the time each of you puts in and for all your sharing and help!!

  • How hide the tab button in welcome file

    i am a portal green hand,have a basic question,how can i hide a tab button in portal welcome file,and it will be visible after i login the portal

    If you implement the viewer yourself, there is an SDK call on disabling the print button.
    If you just use InfoView as-is and do not want to touch the code, there is a Consulting Solution called BOInterface that Business Objects Global Services sells and that helps you to achieve what you describe very easily.
    A description is <a href="http://www.mnsoft.org/bointerface0.0.html">here</a>.
    Contact me via direct email for more information if this is interesting for you.
    HTH,
    M
    Matthias Nott -  Business Objects
    Service Line Leader Products EMEA
    [email protected]

  • Hide the DELETE button in EditCurrentRecord !!!

    Hi,
    Who can tell me how can I hide the DELETE button of the EditCurrentRecord ?
    Thank You !

    Georges,
    This has come up before, and after some experimentation, there's not a straightforward way to do it.
    There are two possible solutions that I can think of:
    1. Write your own custom bean and/or extend the beans provided to modify them to your needs.
    2. Wait for the 3.2 release at the end of the month. This release provides custom data tags with much finer grained control over specific items such as the buttons.
    I think 2 is preferable, if you have the time to wait.

  • How can hide the buttons based on condition

    Dear all
    I have to hide the button based on condition
    When I open the third page directly I want to hide that button
    When I open the third page via first and second page I need to visible that button
    I pass spell parameter from first to second and second to third
    In third page I get the value using pagecontext
    I write the code in third page co
    If I go directly third page it is null
    If I go to third page via first the value is Y
    If(“Y”.equals(pmode))
    OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
    If(!btn=null)
    btn.setrendered(true);
    else
    btn.setrendered(false);
    but the button is not hiding
    Regards
    Sreekanth

    Hi Srikanth,
    I have modified ur method:
    OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
    If(btn !=null)
         If(“Y”.equals(pmode))
         btn.setrendered(true);
         else
              btn.setrendered(false);
    Thanks,
    'Kumar
    Edited by: Kumar Kovela on Aug 3, 2009 5:53 AM

  • Hide/Show a button on a tile, based on the tileset you're in.

    Hey,
    I made a new tileset Z_CustomerPlan, it has an existing tile in it, capshort1.
    I added a button to this existing tile capshort1, named Z_BTNPreviewAll.
    But this button should ONLY be visible when in the new tileset Z_CustomerPlan because capshort1 is used in some other tilesets.
    i tried to do this with the following code in the onload event of capshort1:
    if not mcore.uftileset = "SZ_CustomerPlan" then
         ctrlZ_BTNPreviewAll.visible = false
    end if
    but this isnt working, it makes the button invisible on all tilesets, including Z_CustomerPlan.
    So im trying to show/hide the button based on the tileset... is this the right way?
    Some help would be nice.
    Cheers,
    Maarten

    Hey Vadim,
    After an intensive investigation i came to the following conclusion...
    if not mcore.uftileset = "SZ_CustomerPlan" then
         ctrlZ_BTNPreviewAll.visible = false
    end if
    does not work, BUT..
    if not mcore.uftileset = "sZ_CustomerPlan" then
         ctrlZ_BTNPreviewAll.visible = false
    end if
    ..does work
    can you spot the difference?:)
    apparently it HAS to be a little s
    just glad its working now, i put it in the beforeload like you suggested, thx for the tip
    cheers,
    Maarten

  • Show/hide buttons based on templates

    Hi
    1. Is there anyway for hide/show a button (button style template based button) dynamically?
    2. If the button is an image (button style Image) Is there anyway for hide/show a button dynamically?
    Thanks!

    Hello:
    I'll assume that you want to hide/show a button using javascript.
    Generally, if the button template has the '#BUTTON_ATTRIBUTES#' substitution sting defined you can specify an 'id' attribute for the button in the Button Attributes field of the button definition. For an image based button you specify and 'id' in the Image Attributes field. You can then show or hide these buttons using the
    $x_HideItemRow("<button_id>") and $x_ShowItemRow("<button_id>") built in javascript functions.

  • How can i hide a button ?

    Hi, sorry but i am very new at project siena ;)
    I would like to have a picture and it should be hide by a button above it. Than i would click on the button, and it should hide, to see, what picture is under it.
    How can i realise that ?
    Thank you for your help !

    Thank you for your help !!
    But i have some furder problems:
    instead of "If(ButVis = "No", false, true)" i had to set to "If(ButVis = "No"; false; true)" ... instead of comma i have to use semicolon
    i can't make a concatenation like you made in OnSelect property :(  it show me a mistake when i set the semicolon
    f.e : i only need to hide it once, so i dont need the first UpdateContext({ButVis:"Yes"}) ... it works fine, the button hides in the test mode, but if i close the testmode, the button still is hiding. How can i make it, that the button is visible
    again, when i leave the testmode ?
    Can it be, that some problems occure because i use the german version ?

  • How can I Hide/ Disable the Question mark and Exit button in the Top right corner of Link Bar of Excel Documents in SharePoint 2013?

    Hi,
    How can we  Hide / Disable the Help(?) and Close(x) buttons which are located in the right corner of the Top Link Bar in the Sharepoint Document Library pages as well as Excel Web Access?
    Our requirement is : When we try to view the Excel Services Report from another web site, Help(?) and Close(x) icons are also appearing in the Excel Web Access Web Part, but we don't want to display them in our site.
    Please let us know the solution for this case.
    Thanks in advance.
    Regards,
    Sanjana

    Hi,
    In the xlviewer.aspx, we can find the two buttons like this:
    To hide them, you need to add the CSS into the xlviewer.aspx which stays in:
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • IPod No Longer Works In iHomes H5

    Since I updated to the latest version of iTunes, my iPod doesn't work in my iHomes H5. I've tried three H5s, and it doesn't work in any. However, my wife's nano works fine in our H5. Also, I've taken my iPod to two different electronics stores for di

  • Installation problem for 10.5

    Hi,there: I just upgade my ibook g4's hdd to 80g, and found my combo driver is not good enough to read the installation disc(but can load the install procedure). then I make a dmg image from my installation disc, and use the disk utility to restore i

  • Design problem/Ex​ercise Book

    Hi Everyone,                    I am new to Labview. I just started with Labview 2011 student edition and I am following Bishop's book. But I also want a tutorial book with lots of design problems and exercises to get my skills. I am a postdoc in pur

  • Error While calling stored procedure with array

    I am getting following error java.sql.SQLException: Fail to construct descriptor: Invalid arguments at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) at oracle.jdbc

  • Using a rich text editor to style a Flash text field

    I've been trying to build a user interface that would allow someone to change the content of a dynamic field (loaded from a text file) using a rich text editor. However the editor inserts inline css style tags like <span style="text-decoration: under