How to hide a Item ?

How to hide a Item for exemple in a selectOneListBox ?
Thanks

I posted an example on my blog
http://groundside.com/blog/GrantRonald?title=making_a_field_disabled_depending_on_the&more=1&c=1&tb=1&pb=1
instead of the DISABLED property use RENDERED property
or
http://groundside.com/blog/GrantRonald?title=conditional_rendering_of_jsf_fields_depe&more=1&c=1&tb=1&pb=1
Hope that helps
Grant Ronald
Oracle Product Management

Similar Messages

  • APEX dynamic action - How to hide an item after the page loads

    Hello
    I have a form  with  item  Type,  lesson and page.   I want to create a  dynamic action like "on page load" if Type = x then don't show lesson and page items. .
    How do I say if Type=x then  don't show lesson and page. otherwise show them.
    Please note Dynamic action,  Event=Page load
    Thanks

    create dynamic action like
    Event:Change
    Selection Type:Item
    Item:Type
    Condition:Equal To
    value:X
    Select Action:Hide
    Select Items to hide
    also create opposite false action
    and click on page checkbox below action to yes
    Hope this may helps
    pars.

  • How to hide messagetextinput item on root node in HGRID

    Hi,
    I have added one messagetextinput item in HGRID.
    But it is showing 3 items(one for root node, 2 for the actual items) when there are 2 rows in master node.
    +Employee          |________|
    -101 |________|
    -102 |________|
    I want to hide the item at root node(i.e. for employee.)
    I am working on seeded page, not the custom page.
    Can someone help me..
    --Parag                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Add a switcher in Hgrid, Create 2 items in switcher. One is input type and other is styled text. Switch the values of switcher based on condition from VO.
    For detailed help, feel free to mail me at [email protected]
    OAHGridBean hGridBean =
    (OAHGridBean)webBean.findChildRecursive("QotLinesHGridRN");
    if (hGridBean != null) {
    OASwitcherBean switcherbean =
    (OASwitcherBean)createWebBean(pageContext, SWITCHER_BEAN, null,
    "DellPriceSwitcher");
    switcherbean.setLabel("Dell Auth. Unit Price");
    switcherbean.setViewAttributeName("Attribute20");
    switcherbean.setViewUsageName("QuoteLinesLevel70VO1Obj");
    hGridBean.addIndexedChild(9, switcherbean);
    //Add dell auth unit price text input item
    OAMessageTextInputBean inputbean =
    (OAMessageTextInputBean)createWebBean(pageContext,
    MESSAGE_TEXT_INPUT_BEAN,
    null,
    "DellAuthPriceinp");
    OAMessageStyledTextBean styledbean =
    (OAMessageStyledTextBean)createWebBean(pageContext,
    MESSAGE_STYLED_TEXT_BEAN,
    null,
    "DellAuthPricestyled");
    inputbean.setReadOnly(false);
    inputbean.setViewAttributeName("Attribute1");
    inputbean.setViewUsageName("QuoteLinesLevel70VO1Obj");
    styledbean.setViewAttributeName("Attribute1");
    styledbean.setViewUsageName("QuoteLinesLevel70VO1Obj");
    inputbean.setColumns(5);
    switcherbean.setNamedChild("DellAuthPriceinp", inputbean);
    switcherbean.setNamedChild("DellAuthPricestyled", styledbean);

  • How to hide certain items in a Combo Box

    I've two Combo Box(CB). First CB contain 4 items(drop-down menus) and the 2nd CB contain 12 items.
    I want that when I select one of the items from Combo Box1, then only 4 out of 12 items from Combo Box2 should be visible. So actually I want first combo Box to act as filter. Could this be done using the AS3 code.

    I don't think there is any way to hide items, but you can rewrite he items basd on the selectedIndex value of the cbHeight combobox.  In the code below, each element of the weightData array is an array of objects.
    import fl.data.DataProvider;
    var weightData:Array = new Array(); 
    weightData.push([{label: "100"},{label: "110"},{label: "120"},{label: "130"}]);
    weightData.push([{label: "200"},{label: "210"},{label: "220"},{label: "230"}]);
    weightData.push([{label: "300"},{label: "310"},{label: "320"},{label: "330"}]);
    function heightSelected(evt:Event):void
         var hSelected:int = evt.target.selectedIndex;
         var dp:DataProvider = new DataProvider(weightData[hSelected]);
          cbWeight.dataProvider = dp;

  • How to hide menu item(Download a Copy...etc) of online site in sharepoint app according to different condition

    My requirement is that need to build a  sharepoint app, the app need to deploy to office store, whether to display "Download a Copy" according to different login in user(sharepoint office365 user), 
    click the  documnet, navigate to the other website,  after get the document stream, i need to convert the stream to the other data format(pdf...etc),  maybe i need the third-party dll to achieve it, so i think of sharepoint provider-hosted
    way to handle the requirement.
    i don't know whether there are the other way , if my way is the best, how to achieve it ?
    Thanks

    Hi,
    According to your post, my understanding is that you want to hide "Download a Copy" according to the user permissions.
    We can achieve it using jQuery and SharePoint REST API. Use REST API to check user permissions, then hide "Download a Copy" like this:
    $("A[id$='Ribbon.Documents.Copies.Download-Large']").hide();
    http://www.lifeonplanetgroove.com/checking-user-permissions-from-the-sharepoint-2013-rest-api/
    For other questions, I would suggest you post it in a new thread, it would make others easier to focus on one question in one single thread and it will benefit other community members who stuck with the same question.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to hide downloaded items that appear as icons on desktop

    Every time I am opening a file or saving a file from the internet it goes to my computer screen and i don't no how to make it so it doesn't show up there as an icon. What do I do?

    Open your browser's preferences. The General section is usually where you will find an option to set the folder where downloaded files are saved. Designate some other location than your Desktop. Create a Downloads folder, for example, in your Home folder, then set the browser's preferences to save files to that folder.

  • Hide "View Item" ribbon element using jquery or css

    Hi,
    How to hide "View Item" ribbon element using jquery for a single custom list?
    In CEWP, i have tried this:
    .ViewProperties.Manage.ListItem#Ribbon {
    DISPLAY: none
    But this is not hiding the "View Item" option.
    How to achieve this?
    Thank you

    I have tried different CSS and Javascript tricks to hide this item but not successed,
    Now one another solution i found is to used the SPRibbon.TrimById method,
    So for that you need to create one webpart, and add following line of code to it , add this dll first Microsoft.Web.CommandUI.dll
    public void HideRibbonItem()
    SPRibbon ribbon = SPRibbon.GetCurrent(this.Page);
    if (ribbon != null)
    ribbon.TrimById("Ribbon.ListItem.Manage.ViewProperties");
    Now call this function to the page load event of webpart,
    Now add this webpart to that page instead of content editor webpart,
    so it will hide the View Item form the custom list ribbon
    Hiren Patel | Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • How to hide items on Windows 8 File Explorer Ribbon

    Scenario
    This article describes how to hide items on the file explorer ribbon in Windows 8 and Windows 8.1.
    Method
    We can implement it via customizing the permission of the related registry keys.
    Note: Before you make changes to a registry key or subkey, we recommend that you export, or make a backup copy, of the key or subkey.
    Before you make changes to a registry key or subkey, we recommend that you
    export, or make a backup copy, of the key or subkey.
    Step 1:
    Open
    Registry Editor and locate to following registry key under which you can find the corresponding keys of the items on the File Explorer Ribbon.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\
    In the following figure, it shows the Add a network location item on the file explorer ribbon, and the corresponding
    registry key in Registry Editor.
    Step 2:
    Take ownership of the registry key
    Note: You can take ownership
    of a registry key if you are logged on as an administrator or if you have been specifically assigned the permission to take ownership of the registry key by the current owner.
    Right-click on the registry key which you want to take ownership of,
    and then select
    Permissions... option.
    Click on
    Advanced button to grant special permissions in the key.
    At the top to the right of the current
    Owner, click on the Change link.
    Enter
    Administrator in the Enter the object name to select
    box, and then click on Check Names.
    Click on
    OK twice to apply.
    Step 3:
    Change the permission of the registry key.
    On
    Permissions for the key name display dialog, click
    Administrators in the Group or user names window, and then select the
    Allow check box for
    Full Control
    option.
    Click
    Users in the Group or user names window, and then select the
    Deny
    check box for
    Full Control
    option.
    Step 4:
    Click on
    Apply and OK to save the changes and the following figure shows the modified permissions and owner.
    Step 5:
    When you open File Explorer, the item you would like to hide disappears. For your information, the following is an example:
    Item: Add a network location
    Corresponding Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.AddNetworkLocation
    For advanced users
    You can also deploy script with Set-Acl which is a PowerShell command to take ownership and change permissions
    of the keys. For your information, please refer to the following articles to learn more about this command:
    Set-Aclhttp://technet.microsoft.com/en-us/library/hh849810.aspx
    SET-ACL on registry key
    http://blogs.technet.com/b/brad_rutkowski/archive/2008/09/29/set-acl-on-registry-key.aspx
    Apply to
    Windows 8
    Windows 8.1
    Welcome to your feedbacks.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    The reason they gave was it is possible for the file to stay open when done with the file. (not properly closing) As the driver would be accessing the file to retrieve the thumbnail.
    The thing is a driver is nothing more than a program it self. Therefore it is capable of opening and closing a file and placing the thumbnail into the database for that folder. It then would be capable to verify if the thumbnail exists in that database. Since the driver only has to run when explorer is open in that folder's view, it really is not running that often.
    The catch I can see it when both Illustrator and explorer are running at the same time. Which one should close the file? The solution would be a small app that verifies that both programs are running and has control of clean up when both have closed. The driver and Illustrator could also in theory check and see if the other is running, if it is do nothing if not then close the file.
    So it really boils down to having the driver and Illustrator talking to each other.

  • How to hide/disable menu items using Javascript in Acrobat 9 pro or later

    We just wanted to know on how to hide/disable menu items for e.g. 'Open' menu item under 'File' menu in Acrobat 9 or later on Mac using Javascript. It would be useful if you could provide if any other option is in place already.

    Not sure it will work, but you can try using the app.hideMenuItem() method. See reference here.

  • Web item "TABLE" -- How to hide rows of a particular column.

    HI,
       In the web item "table", is there anyway that i can hide the rows of a particular column(for example: material column) except the result rows.
    Here is the Query result:
    Customer
    Material
    KF1
    KF2
    KF3
    Result__________________________400_____700____300
    1001_________________Result_____150_____300____150
    _____________________10_________100_____200____100
    _____________________20_________50______100____50
    1002_________________Result_____250_____400____150
    _____________________10_________100_____200____100
    _____________________20_________150_____200____50
    After formatting the query result looks like:
    Customer
    Material
    KF1
    KF2
    KF3
    Result__________________________400_____700____300
    1001_________________Result_____150_____300____150
    1002_________________Result_____250_____400____150
    How can i hide the item rows except the "Result" rows of the material column?
    regards,
    ravi

    Dear Ravi,
    look in the BW WEB API Documentation on help.sap.com for more details (or just search in SDN for it).
    In General:
    - create class which inherit from CL_RSR_WWW_MODIFY_TABLE
    - redifine method CHARACTERISTIC_CELL
    - insert coding:
      if i_iobjnm eq '0MATERIAL' and i_IS_SUM is initial.
      free C_CELL_CONTENT.
      endif.
    - Insert the parameter MODIFY_CLASS with the name of your new class into your template
    result: you see the result of the column but not the single values.
    Hope this answer your question.
    Regards Marcus
    Message was edited by: Marcus Pospiech

  • How to hide ribbon from all item view for particular user group

    hi friends
    how to hide ribbon from all item view of particular list for specific user group.
    using OOB functionality or javascript. 

    Hello,
    Use this codeplex tool to hide ribbon to user group:
    http://spribbonvisibility.codeplex.com/
    If you don't want to use above tool then you have to add SPSecuritytrimming in "Rajiv Kumar" code for filtering based on user group permission.
    http://www.topsharepoint.com/hide-the-ribbon-from-anonymous-users
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • HT201272 help! how do i delete or hide duplicate items?   thanks brendagee

    help! how do i delete or hide duplicate items?   thanks brendagee

    Hi,
    is it what you are looking for,

  • How to hide the pricing conditions specified in pricing procedure of sd.

    dear friends,
    my situation is to hide the conditions specified in the pricing procedure. so that it is not viewed by the some users.can you please tell me how to hide the conditions. so some of the persons, who are having authorization to see the conditions , will be able to see the pricing conditions.
    can you please suggest me how to do this.
    regards,
    g.v.shivakkumar

    Authorisation  issues viz. Role Impementations
    Hide Condition Records Line Item & Header Wise from all the transactions QK / So /  P.I. / Enquiry / Invoice etc. for specific user grps. - in CRETATE / AMEND / DISPLAY / REPORTS all
    Only Display the fields
    regards,
    g.v.shivakkumar

  • How to hide Actions Column in Table

    Hi All,
    I have a simple requirement: I am showing a table (items)
    - the "Actions" column (Column with Buttons to Edit and Delete a particualr row) must not be show -> no changes to the table are allowed (I need to hide/ disable this column)
    How can I hide this column od the table?
    I have found out that the field is called thtmlb_oca and that htere is a getter method get-thtmlb_oca. However, the method does not contain coding and I do not know how to HIDE this field/ column...
    Please help me here..
    Thanks, Johannes

    Hi Johannes,
    To remove the column completely,
    you need to comment this line in the method GET_TABLE_LINE_SAMPLE of the Table View Context node class.
    TYPES: BEGIN OF line,
    *  thtmlb_oca  type  crm_thtmlb_one_click_action.
      INCLUDE TYPE xxxx.
      TYPES:  END OF line.
    Disabling can be controlled in the method GET_OCA_T_TABLE of the same class by putting code to delete the button.
    LOOP AT  rt_actions ASSIGNING <fs_actions>.
          <fs_actions>-active  = abap_false.
        ENDLOOP.
    Regards,
    Masood Imrani S.

  • How to hide column of DataGrid

    I am making a web part in which I am using System.Web.UI.WebControls.DataGrid control.
    It's AutoGenerateColumns property is set to TRUE.
    I am trying to hide a column at run time. I have written the following code on this controls ItemCreated event but it only works if I e.Item.Cells[0] and it doesn't work for any other value for e.g. e.Item.Cells[1] and e.Item.Cells[6].
    There are 9 columns in my DataGrid control.
    Code
    protected void grd1_ItemCreated(object sender, DataGridItemEventArgs e)
    { e.Item.Cells[0].Visible = false; //works fine
    e.Item.Cells[1].Visible = false; //gives error e.Item.Cells[2].Visible = false; //gives error
    Error
    Specified argument was out of the range of valid values.
    Parameter name: index
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    How to hide a particular column?

    Hi Frank,
    You can try something similar to the below in 'RowCreated' event Instead
    protected void gridView_RowCreated(object sender, GridViewRowEventArgs e)
    e.Row.Cells[1].visible =false;
    OR I would say hiding column is not something that is to be done at row level, so you can hide columns outside any of the grid view event after binding.
    e.g.
    gridview1.columns[1].visible=false;
    I am using DataGrid control in which there is no RowCreated event.
    I have tried second approach but it also doesn't work.

Maybe you are looking for