Af:tree hide child icon

We are using <af:tree/> component in our application and the tree is populated using a POJO Data Control.
If the tree contains a leaf node (no children) first time when it's displayed, theicon is displayed. After you click on it, it does disappear.
We don't want to show it from the beginning, is this possible? If it is, how can it be done?
Thank you,
Alex

I was thinking about a way to apply specific css classes for the each node and then using that class to override/remove the default icon. Something like this:
styleClass="#{node.childrenSize eq 0 ? 'ChildNode' : 'ParentNode'}" the problem is that i could only apply this classes to the <af:outputText /> and the icon is outside this component. Is there way to change the icon based on the css class?
Alex

Similar Messages

  • How do I delete movies from iTunes library? I have moved them to the iCloud and now only seem to have the option to hide the icon in iCloud.  I am sure I chose poorly at the 'keep file' window.  Please help. My Brain hurts- 18   movies need to go-.

    How do I delete movies from iTunes library? I have moved them to the iCloud and now only seem to have the option to hide the icon in iCloud.  I am sure I chose poorly at the 'keep file' window.  Please help. My Brain hurts… 18 plus movies need to go….  Thank you.

    Instead of removing the music from the cloud or the iTunes library why not shuffle your music using a Smart Playlist which excludes the holiday music, or tracks that are not checked. For example, use this very simple Smart Playlist:

  • How to hide attachment icon in pdf

    Hi Experts,
    I developed a Adobe interactive application , but at the  bottom  left of pdf form  ihave an attachment icon that attachment icon need to be hided,can any one tell me how to hide that  icon.
    Thanks
    Rahul.

    Hi Rahul,
    Please Check the following link
    In Adobe Forms, Is it Possible to remove File Attachment Link of Navigation
    Regards,
    Mathan

  • Unable to remove/hide help icon in Discussion Service OOTB

    Hi,
    Is there any way to remove/hide help icon from Discussion Service OOTB toolbar ?
    I am not able to find help icon tag in ListTopics.jsff and ListMessages.jsff fragment file.
    Regards,
    Fyaz

    Hi.
    I´m not sure but I think this Taskflow is a "black box" and is not possible customize it

  • How to hide "Help" icon in "Tech Support and Training" channel in CLM

    How to hide "Help" icon in "Tech Support and Training" channel in CLM.
    Is there a way to link the Help icon to custom training pdf's rather than standard training pdf "buyer_online_help"
    Regards,
    Gurmeet

    Hi Gurmeet
    In order to display custom training PDF, an alternative approach could be to make use of workbench channel "Links". You can store the custom PDF on intranet and display the link under links channel.
    Regards
    Mudit Saini

  • Regression with tree.iconFunction: default icons have disapperead

    I have a tree control, with icon function redifined.
    However, for some items, I would like to use default tree
    icons (folder, sheet,...)
    In Flex 1.5, if returned null from the iconFunction, the
    default icon was displayed.
    In Flex 2.0, this does not work anymore. The doc says that
    the icons are in Assets.swf, but how to reference and embed them in
    my application ?

    Here's a code snippet of one way to set Tree's icons:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="600" height="600">
    <mx:Script>
    <![CDATA[
    [Bindable]
    [Embed(source="smallU.jpg")]
    public var redU:Class;
    [Bindable]
    public var treeArray:Object =
    { label:"Containers", children:
    { label:"DividedBoxClasses", children:
    { label:"BoxDivider", data:"BoxDivider.as" }
    { label:"GridClasses", children:
    { label:"GridRow", data:"GridRow.as" },
    { label:"GridItem", data:"GridItem.as" }
    { label:"Printing", children:
    { label:"PrintJob", data:"PrintJob.as"},
    { label:"PrintJob1", data:"PrintJob1.as" },
    { label:"PrintDataGrid", data:"PrintDataGrid.as" }
    ]]>
    </mx:Script>
    <mx:Tree dataProvider="{treeArray}"
    disclosureClosedIcon="{redU}" />
    </mx:Application>
    There's a a style property mapping to each Tree icon (ex:
    folderOpenIcon, defaultLeafIcon).
    Hope that helps,
    Belinda

  • How do I temporarily hide the icons at the bottom of the screen?

    How do I temorarily hide all icons at bottom of screen?

    Open Dock preferences:
    Check the box near the bottom labeled, "Automatically hide and show Dock."

  • Hide settings icon for specific users

    Hi
    In share point 2013 we have settings icon at top right corner.
    Is there any way, I can hide this icon for specific users.
    Please help in this regard.
    Thanks,
    Anil

    Hi Kumar,
    Its possible.
    1.Open the .master page in some textpad/SP Designer.
    2.Look for below tag. This is the holder for SITE ACTIONS
    <SharePoint:SiteActions
    3.Look for the Menu item templates. These will clearly give you an idea on wht they will hold.
    <SharePoint:MenuItemTemplate
    4.There will be 2 attributes for each menu item called
    PermissionsString & PermissionMode.
    In the permission string give the required permission to the user to be shown or hide.
    http://sharepoint.stackexchange.com/questions/66628/edit-settings-gear-icon
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Show and hide Lov icons and Date Picker image on conditional?

    How to show and hide Lov icons and Date Picker image on conditional?

    Why do you just want to make the icons conditional? Shouldn't the field also be conditional?
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • I have added audio to my PDF. How do I hide the icon?

    I have added audio to my PDF. How do I hide the icon?

    Thanks
    I have just changed the size of it to very small instead so that it doesn't dominate so much and set it on auto play and am happy with that.
    Thanks again

  • Hide levels icon in lower right?

    Hello,
    Does anyone know how to hide the icon in the lower right corner of master images that appears to indicate that levels have been edited? I'm trying to retouch the image in that spot, but for the life of me I can't figure out how to make the icon disappear. Every time I move the retouch tool to that location, the icon remains and I cannot see what I'm working on. I've taken a screenshot that can be viewed here:
    http://www.freeimagehosting.net/uploads/583629f0cc.jpg
    Thanks.

    Go to Preferences, Metadata, and uncheck the box next to Viewer. That should turn off overlays so that you can edit the image without the badge in the way.

  • Hide Desktop Icons

    Hello all,
    I have seen various posts around the place about hiding your desktop icons by turning the desktop "off", but i would like to hide select icons of my choice.
    Mainly I would like to hide the hard drive icon, but i cant work it out? Does anyone have any ideas?
    Cheers,
    r00tb00t

    in addition to what francine said, i find it useful to turn off the selection for hard drives showing up as i have tons of partitions and drives, some of which are clones of other ones etc, but I then make an alias of the ones that i decide i DO want on the desktop.
    even better in leopard is that you can hide certain options that still leaves a newly inserted CD showing up on the desktop, without tons of other ipod's and disks showing up that you don't want. up until leopard i think the new CD remained hidden along with other removable drives and disks.

  • Hide disclose icon form ADF tree row depending on row data

    Hello,
    I've got an ADF tree based on recursive View Object. So basically we don't know how many tree levels are there, but depending on a row data we know that the row is a leaf and there will be no children rows.
    But the disclose icon is there event though we definitely know it is currently useless.
    So is there any way to hide the disclose icon from ADF tree(treetable) row depending on row data?
    Thanks.
    ADF 11R2

    Great, it works.
    The only thing is suggested style just makes the icon invisible, but it is still there and can be clicked.
    I applied .hideDiscloseIcon af|treeTable::collapsed-icon-style
    display: none;
    }and there is no disclose button at all.

  • Tomahawk how can i hide folders icons in t:tree?

    Hi,
    i use the tag t:tree in myfaces. I have added my own icons to the tree, but i don't know how can i hide old folders icons of tree. Can anybody help me?
    Thanks and Best Regards,
    Sergey

    Hello~
    I've got a bad hacking experience
    It's a serious criminal hacking.
    Console app on iMac had hacked  by some Security Agents in China.
    I need to lock 'db' folder including system key on Mac OS.
    Please kindly inform me the method how to lock 'db' folder with password.
    Such as this picture below :
    Have a nice day~

  • Can i have a check box in the hierarchical tree in the icons place, urgent!!! please

    Hi,
    I'am working on the Hierarchical Tree structure which should have three levels, I need to have a check box in the place of the icon & if i select a node that node & the child nodes should get selected.
    After this when i say move selected ( i'am trying to use picklist class also) the entire checked tree has to move to the display area to the right & should display as tree structure & after this if i save then the checked records which are moved to another text area should get saved!!
    How to achieve this? I have the tree structure ready but the check box part is the worrying factor! & then moving the checked records to the right using picklist class is the second problem & finally saving records to database.
    Any help in this regard will be deeply appreciated:)
    If check box is not possible then i will have to look at other methods, will the tree structure allow checkboxes????
    Thanks
    Mahesh

    No the tree will not allow checkboxes

Maybe you are looking for

  • How can I stop shared files in iBooks being highlighted by different family members?

    I Have family sharing set up which is great for sharing apps and music however I have a problem with iBooks. My wife and I both use ePub files which a re study material. The great thing about these is that we can highlight and add notes to files. THe

  • How to go back from 10.8.5 to 10.8.4 on new iMac

    I've just bought a new Apple Certified refurbished iMac and it has come with OS 10.8.5 pre-installed. However the software I use for work, Pro Tools is not yet compatible and it isn't functioning well at all. Avid, the makers of Pro Tools say that th

  • Tiger and Snow Leopard on an external hard drive?

    Hi, I have a mini mac running tiger and I need to update my itunes and ipod touch which i cant currently do in tiger. I dont want to upgrade my hard drive as most of my programs wont work with the update, eg. photoshop and dont want to buy a new phot

  • Synchronize with outlook

    After installing Ovi Suite, i have a question: Is there a possibility to sychronize with outlook on schedule? My users are connected most of the day, and it would be nice if the (outlook) calendar is updated several times per hour.

  • "Balance in Group currency USD is too large for automatic correction" error

    Hello Gurus, Please help me.. When we post document from FB01, we want to enter amount in group curreny different than what SAP calculates, But when we enter different amount(than what sap calculates ) we are getting "Balance in Group currency USD is