Default item showed in a selectOneMenu

How can I set the default item showed in a selectOneMenu?
I need to show the second, or the third, and on so.
i tried some ways to set the default item showed in it,
for example, in the back BEAN
private UISelectOne idMaster;
private ArrayList listMaster;
        SelectItem s = (SelectItem)listMaster.get(2);
        idMaster.setValue(s);but it stiil showed the first item.
in the JSF
<h:selectOneMenu binding="#{myBB.idMaster}">
       <f:selectItems value="#{myBB.listMaster}"/>
</h:selectOneMenu>All items are rendered but no one is selected by default.

The selectOneMenu value expects the value itself, not the wrapped selectItem.

Similar Messages

  • How to set the default item showed in a h:selectonemenu

    I need to show the second, or the third, and on so.
    i tried some ways to set the default item showed in it, but failed.
    i had tried the attribute value, but it stiil showed the first item.
    Can u help me?
    in the JSP
    <h:selectOneMenu id = "companyName" rendered="true" binding="#{j03CMSyainAddBean.selectCompany}" style="width:150">
           <f:selectItems value="#{j03CMSyainAddBean.companyList2}"/>
    </h:selectOneMenu>in the back BEAN
    private UISelectOne selectCompany;
    private ArrayList companyList2;In the ArrayList companyList2, there are several selectItems.
    Thanks
    George

    Sanjeev K Sharma wrote:
    and without messing with /boot/grub/grub.cfg  ?
    I need this so that new kernels show up but do not change the default boot kernel
    Is there a way to do it by file name instead of position within the menuentry / submenu list?
    I found some ubuntu and fedora sugestions but all by position, none by name
    AND how to set the kdump kernel as the default?
    Arch is putting this kernel under a submenu - would this pose problems for setting it as the default?
    In /etc/default/grub you can use the name of your entry you wish to use as default
    GRUB_DEFAULT='Arch Linux, with Linux core repo kernel'
    You can tell grub to stop using submenus by doing:
    GRUB_DISABLE_SUBMENU=y
    Or you can just make a purely custom menuentry in /etc/grub.d/40_custom if you'd like:
    menuentry "Other Linux" {
    linux <KERNEL IMAGE HERE>
    initrd <INITRD IMAGE HERE>
    EDIT: /etc/grub/default -> /etc/default/grub
    Last edited by Slabity (2015-04-07 11:16:22)

  • Changing the default item in SPRO

    after navigating to the following path:
    SPRO>Financial accounting(NEW)>General Ledger Accounting(new)>Periodic processing>Document-->Define Financial Statement Versions.
    Now, right click "Define Financial Statement Versions" and select 'Display Technical Information'.
    Now, select 'Maint.Objects' tab and double click any one row in the 'Assigned Objects'.
    Here it will show the view details.
    Here in the 'Object Attributes' tab the Transport item should have 'Manual transport' as the default item instead of  'Automatic transport'.
    How can i change this default to 'Manual transport' ?

    Hi ,
    I doubt you can change the attributes .
    Rgds,
    Sandeep

  • Default items on the Inspectors Panel

    Aperture includes: Exposure, Levels, and White Balance as the default items that show up in the Adjustments section of the Inspectors Panel.
    I would like it if "Highlights and Shadows" was also in the Inspectors Panel when it launches ... it seems like there should be (and probably is) as setting somewhere when I can tell it what to display, I just have not found such a setting yet.
    Anyone have a clue where to find such a config setting?
    Thanks,

    No one else has found the setting just yet. About the closest is are shortcuts for brining up the other adjustments:
    Control-H - shadow/highlight
    Control -S - sharpen
    Control-M - monochrome mixer
    Control-N - noise reduction
    Ian

  • Problems with Sharepoint 2010 view if group by and collapsed is activated - all items show up within each group!

    Hi there,
    we have a Sharepoint 2010 Enterprise environment where we use some lists for new feature ideas.
    These lists should be grouped by a certain coloums. If we keep the default view with expanded groups, only the items which should be inside a certain group will be displayed (the count is for example 7 and inside the group there are only 7 items).
    As there are a lot of groups inside the list we would like to create a new standard view with all groups collapsed. But as soon as we change the view, all groups contain ALL items from the list (what makes it really strange is that the count is still 7 but
    a couple of hundred items are inside the group even the ones which should have been filtered by the "group by" settings.
    I enclosed two pictures where you can see the difference between "collapsed" and "expanded" view (Group by settings!)
    Is this a bug or is there something wrong with our views/installation?
    Thanks for any help (by the way: i just installed the CU from April 2012 which didn't make any difference!)
    Greetings
    Jens
    "Collapsed View":
    "Expanded View":

    Hi ,
    I  understand that when you create a new standard view with group by BDE ,and all items show up when collapse is activated .I cannot reproduce your issue .This is not a bug .You should try to edit the view in browser multiple times to have a test whether
    it is showing correctly now .If this view is still not working ,you can try the workaround below :
    Open the Site in SharePoint Designer .
    Open the list and create a new view .Make the view as the default view .
    Edit the view in Advanced Mode . Click in the xsltlistview web part and Click Sort&Group in the ribbon .
    You can add Group by here .After making all the changes ,save and preview the view in browser .
    Thanks
    Entan Ming
    TechNet Community Support

  • Possible to Have ToC Default to Show Only Top Level (collapse sublevels)?

    Howdy!
    I'll bet I'm not the only one wishing for this.  Let's say you're using Captivate 4's Table of Contents feature with a longish movie of Cp slides, which is chunked into bite-size sections content-wise.  In the ToC, though, you can't mimic that same organization scheme; at least, the learner would first need to collapse all the ToC folders you've created so they see only the top-level listing.
    This can be a critical issue:  keeping the at-first-glance list in the ToC brief enough to be inviting to learners, yet allowing learners to drive which details are currently visible.
    A movie's topical hierarchy could be along these lines, for example ...
    Section 1 - National Brands
    What are National Brands?
    Why Are They Important to Our Business?
    Working with Nat. Brands
    Practice Your Knowledge
    Section 2 - International Brands
    What are International Brands?
    Why Are They Important to Our Business?
    Working with Intl. Brands
    Practice Your Knowledge
    You'd like to organize the ToC to show only the section titles (1st level) and to suppress the 2nd-level detail (slide titles) until the learner chooses to expand the folder to see those details.
    I've tried things like grouping the slides into sections in the Storyboard view and organizing the slides into sections strictly within the ToC -- both to no avail.
    Has anyone solved for this need yet?
    I'm all ears, and you'd be doing learners of the world a huge favor.
    Thanks!

    Hi, Jim.
    Thanks for being 'on the case' and looking into this so quickly.  Your
    findings are encouraging, although my user base is generally working with
    IE 6 and FP8 or 9.
    Since the only thing I may influence is getting  IT to help push out FP10,
    I'm hoping it's more of a player- than a browser-version issue.
    I'll test things out by Monday and let you know the results.  Wish me luck!
    Dave
                                                                                    From:       Jim Leichliter <[email protected]>                                                                               
    To:         Dave Tressler <[email protected]>                                                                               
    Date:       03/26/2010 06:02 PM                                                                               
    Subject:    Possible to Have ToC Default to Show Only Top Level (collapse
                  sublevels)?                                                                                
    Dave,
    I just tested this on my local web server and it worked fine.  I created a
    blank project with 8 slides.  Created my TOC with grouping... 2 slides in
    each group.  I turned on self paced learning.  I tried with and without the
    widget and it picked up where I left off in either case.  See
    https://docs.google.com/leaf?id=0B86WuEq6SVwRNWIwMjhjODctMjE2Yy00MWE2LWI5YzEtMGQxYzNjOWQ0Z mI2&hl=en. 
    I published using FP10 and IE8 to view.  Notice any difference between
    your project and this one?
    Thanks,
    Jim Leichliter

  • Default Item category in PO

    I have made a new document type for Sub contracting incase of PO creation.
    How can I make the Item category L as a default value for that Documenet type, i.e As soon as I choose the document type as Sub- contracting in PO, the item category should have the value as L.

    Hi,
    First of all, there is not any such configuration setting in SAP which enables you to default automatically the item category ''L" when you select document type.  Of course, you can restrict only item category "L" via configuration of your related PO document type (via IMG ---> Material Management ---> Purchasing ---> Purchase Order ---> Define Document Type).  The only setting that you can be able to set a default item category "L" is throgh definition of special procurement key (via Transaction OMD9).  Yet, this setting is a plant-specific which I don't really know whether it can meet your business requirements.  Having said that you can still find some workaround solution which is completely subject to your purchase-to-order process.  To be more specific, you should look into if -
    1)   The material requirement is always coming from purchase requisition;
    2)   If this is the case, then how was your PR generated?  Manually? or via MRP run? or directly from work order? etc...
    Cheers,
    HT

  • ITunes on Win 7 x64 - App Store doesn't load and no purchased items showing - Unsolved

    Windows 7 Professional (LEGAL x64)  / iTunes x64
    Situation:
    App Store loads as a blank white page and there are no purchased items showing. The interesting thing is that App Store Essentials and Free iPad apps in the App Store dropdown do show up.
    Tried and failed..:
    I have tried the recommendations on various threads in this forum including but not limited to:
    Netsh winsock reset - command line and reboot  (works for some)
    Complete uninstall of itunes along with bonjour, quicktime and other components (works for some..although reading that this is temporary). This was recommendation from iTunes support and seems to be a complete and utter waste of time..
    Have tried changingsettings under Parental options. (no clue what this is suppose to do ..but it was suggested)
    Even tried upgrade to iTunes 10.5 beta 6
    Nothing has resolved the problem.
    May be related or unrelated..
    Now I have another system on my home network (Win 7 32bit) that just received a "bonjour service has stopped working" and seems to be suffering. Just rebooted after a required system restore.
    Apple needs to solve this problem and quickly. Curious if anyone else has any other suggestions.

    Tried this newly posted solution as well:
    Remove Apple Application Support v2.0.1.  Then go to: C:/ProgramData/Apple/Installer Cache/AppleAplicationSupport 1.5.2 and install the AppleAplicationSupport.msi
    This hosed my iTunes completely and resulted in the following error when starting:
    "The procedure entry point CFHTTPCookieCopyName could not be located in the dynamic link library CFNetwork.dll"....

  • Time Delay Express VI default to show as icon?

    I am really only intrested in the Time Delay "express vi"
    This is the only express vi I ever use and it drives me nuts everytime I drop it in and this HUGE box takes up space for nothing.
    I would really love to have just the one VI able to default to Show as icon.
    Attachments:
    Time.png ‏32 KB

    Part of me says that Express VIs should be as annoying as possible so they go away.  But, in the spirit of trying to be helpful I will offer one suggestion.  I have created a subVI which only contains the time delay Express VI.  You can add this to the Palette (ie. user.lib) and go to Tools->Advanced->Edit Palette Set find the SubVI, right-click and select Place VI contents.  Now when you choose this version it will drop in as an icon.
    Attachments:
    TimeDelay.vi ‏19 KB

  • How to Use Default Item Category in a Shared Instance

    Hi Gurus,
    Hope you all are doing well.
    We have very critical issue. Infact we are implementing Oracle 12.1.3 for a Customer who is using a shared instance with another country. Infact the other country has already set Default Item Category Set, Now we also want ours.
    How to Achieve the same, Please let me know.
    We are also defining PO Approval Group Item Category range wise but there our category is not reflecting.
    Please suggest me how to go about this.
    Regards,
    Aditya

    911765 wrote:
    Hi Mahendra,
    Shared instance means our customer has one single Business in Differennt Countries.
    So they have already implemented for Indonesia Business and they have their own Ledger, OU and Inv Orgs etc.
    Now we are implementing for India Business. So Default Category has been set by Indonesia team already.
    But according to standard functionality of Oracle Default Category Set only reflect everywhere.
    So the issue is we want to also use our category so that it will reflect while Creating POs, In Approval Group and in other place.
    How to achieve the same ?
    I hope this will give you the clarity.
    Regards,
    AdityaFor one functional area we can have only one default category set
    you need to define different categories in the flexfield value set...ex PO Item Category
    so after defining them..you should be able to see them in item categories in purchasing approval groups
    Also check if any values are been defaulted from the value set of the segment..
    Like say..if value set has been set to dependent..with some default value...in that case you need to attach differnet value set to it..with new values..
    HTH
    Mahendra

  • How to make new item show in ASCP Plan workbench.

    Item ATT.BVL3AHY is a new item without any demand. At item master, it is set as Planned so it is collected by ASCP. The item can be found in msc.msc_system_items with Plan_id -1. Plan id -1 corresponds to Collection. Planner needs to manuallty add planned order for this item at ASCP workbench of plan WIRELINE (PLAN_ID 3002) as attached but as the item cannot be found in WIRELINE plan, planner cannot add it. Please let me know how to make this item show in WIRELINE Plan workbench.

    Run this query:
    select mrp_planning_code from msc_system_items where item_name like '<Item_Name>' and organization_id = <Org id> and plan_id = -1
    If this returns 7 you dont need to run any collections.
    If this returns other than 7 then,
    create a simulation set under Item Attributes Mass Maintenance and then update the attribute MRP Planning method for this item to MRP/MPP Planning. Assign Simulation set to plan name and then rerun the plan. It should work.
    If you are still facing an issue, then raise an SR with Oracle.

  • Default item category for components in task list

    Hii all,
    I need one help. We need to maintain default item category for components in task list.
    Currently it comes as "L" and the field is non editable.
    Is there any way wherein i can edit the item category to "N" or any other. Also need to know why this category "L" appears?
    I can brint the default item category in the service order by the standard config.(PM/CS--> Maint & serv processing --> Main & Service orders --> General data --> define default values for component item categories)
    But i want it in the task list.
    Please help
    Regards,
    Vijay

    Hi Vijay,
    Just go to task list and then to component. go to item category field and press F1 (help)
    its mention
    Item Category (Bill of Material)
    Categorization of the items in a BOM according to set criteria, such as whether they refer to an object (for example, material master or document info record) or whether they are kept in stock.
    To my knowledge It wont be possilbe have item category N in task list by directly adding material.
    Hi Pete,
    Correct me if i am wrong that configuration setting for default material type and item category works for orders only.

  • I've lost the majority of the connections between my projects and items in the library (showing up as "missing files"). I've moved nothing. How can I reconnect? The items show up as missing in the library as well as in the "movie".

    I am using the version 10.0.9 which might have been an automatic upgrade from my original version.
    The majority of my connections between library items has been lost. The items show up as missing files both in the library and when I run my project. How can I re-estabish these connections?

    Did you try using the relink function?

  • PO line Cancelled but line Items Showing in Shipments

    I have cancelled this PO line Cancelled but line Items Showing in Shipments. Still this PO is open for this Line. How to fix this?

    Hi,
    Report RKANBU01 resets commitments on orders and ranges of orders.
    (please see the note 152571).
    Reports ZKAOIDE0 & ZKAOIDE1 removes commitments which refer to purchase orders and purchase requistions which do not exist.
    (See Notes 100409 & 152571).
    Report RKACOR04 corrects mistakes between total and line items in database tables.
    (See notes 21649 & 152571).
    regards
    Waman

  • Header mat. in line item showing in zero quantity confirmation...

    Header mat. in line item showing in zero quantity confirmation. How to rectified it??

    What is the transaction code and where the qty is ZERO
    Explain me in detail.
    Regards,
    Deepak GS

Maybe you are looking for

  • Content area documents - where stored

    I am trying to get information on sizing for my 9ias Release 2. We are looking at a separate content database, but portal (etc.) would still be installed on the infrastructure. My question is this - how are the documents added to portal stored? Can y

  • Forte 30N2 : Message duration SO restart after a crash issue

    In our application, the batch processes are based on a 'Controller-Processor' pattern. A controller starts many processor tasks as parallel processes. The problem is that our Controller process crashed. However, by that time, many processor processes

  • Routing and Remote Access VPN DHCP error

    I have a strange problem. I have a client that is using Server 2012 Standard. On this server they have Routing and Remote Access configured for VPN client access. Their users that are working outside the office connect to the VPN to access the intern

  • Visio Conversion Failed on open method

    Hi all, we have developped a C# remoting application (.NET 1.1) that use Acrobat Pro v7.0 on server side (Windows 2000 SP4) This server application have to convert Visio files to PDF files. For this we use Acrobat Interop SDK as follow : Acrobat.CAcr

  • HT1904 Ios5

    How do I get an update to ios5 for my iPad2. ?