Set a default value for a radio button populated with a List of value

Hi,
I am using jdeveloper 11.1.1.3.0. I need to set a default value for a radio button populated with a List of value(Yes/No). Here's the selectonechoice code.
<af:selectOneRadio value="#{bindings.Code.inputValue}"
label="#{bindings.Code.label}"
required="#{bindings.Code.hints.mandatory}"
shortDesc="#{bindings.Code.hints.tooltip}"
id="sor1" autoSubmit="true"
valuePassThru="true" layout="horizontal">
<f:selectItems value="#{bindings.Code.items}" id="si1"/>
</af:selectOneRadio>
I want to have the selectonechoice set to No by default. In the previous versions, I set the default value in the base attribute VO. But it is not working in the new version.
Thanks

Hi,
this should work in JDeveloper 11.1.1.3 the same as in 11.1.1.2. If it doesn't then it is better to file a bug than to work around it
Frank

Similar Messages

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • How to set a default value for particular field in SRM PO Portal

    Dear Gurus,
    Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
    My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
    I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
    Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
    Thanks in advance...
    Regards,
    Sathish

    Dear Laurent,
    Thanks for your response,
    But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
    My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
    Kinly guide me how to get the particular node of field in the Purchase order screen.
    Thanks you in advance,
    Sorry for the inconvenience if any
    Regards,
    sathish

  • How to set a default value for a drop down list box and then apply cascading based on the default value in Infopath 2010.

    Hello Everyone
    I have two drop downs. Both are coming from look up fields from two lists. i want to set a default value(first list item) for the first drop down list box and then apply cascading based on the default value for the next drop down list box. I found one article(http://www.bizsupportonline.net/infopath2010/display-first-item-drop-down-list-box-infopath-2010.htm)
    where in i can set a default value but i can't apply cascading based on that default value. Any suggestions would be highly appreciated.
    Thanks
    Ramanjulu Naidu N

    Hey Ramanjulu,
    Take a look at the below article which I believe will answer your question.
    http://basquang.wordpress.com/2010/03/29/cascading-drop-down-list-in-sharepoint-2010-using-infopath-2010/
    Daniel Christian (MCTS)

  • How to set a default value in a form, for a current record.

    Hello,
    I have created a form to store the details of an employee, details include employee id, name and lan id. I am wondering if it's possible to set the default value for an e-mail address. The e-mail address would be in the format '[email protected]'. So If I press 'create', I am directed to a form.
    In the forename field, if i type 'stewart'
    In the surname field, if I type 'Young'
    Then in the e-mail field, I should see '[email protected]'
    Furthermore, if I change 'stewart' to 'stuart', while still in the form, the e-mail address field is automatically updated to '[email protected]'
    Would anyone be able to help with this problem?

    Hi,
    to do this you need kind of interactivity in your form.
    You can achieve this either by:
    1) using JavaScript onchange-events on forename and surname items, or
    2) use the AJAX Computations option of ApexLib, see: http://www.oracle-and-apex.com/ajax-computations-rich-client-feeling/
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com

  • How to set a default value of " " for a VARCHAR2 in ER diagram?

    Hi,
    I am trying to set the default value of a VARCHAR2 attribute to " " (space) in an ER diagram. But it just thinks I don't want anything for the default value. If I specify CHR(32) will it work? or is there another way? Will I have to wait until I get into the server model to do this, if so how do I do it there?
    thx
    adam

    Are you sure you want the default to be a space, not a NULL? VARCHAR2 fields want to trim spaces from the right, which makes them NULL if they started as all spaces. You can force them to accept spaces, but it is an unnatural condition. Even the VARCHAR2 columns that I use as surrogates for booleans I set as 'Y' for true and 'N' for false, or 'T' for true and 'F' for false. Occasionally, it will be 'X' for selected and NULL for not selected, but the NULLs tend to cause trouble so I avoid them.
    Okay, let's assume that you have a good reason to default to a space. Use ' ', including the single quotes. When you transform to a Table Definition, change the Default Value Type for the column to a Database Function Call. You can't do that in the logical (Entity/Attribute) design, only in the physical (Table/Column). That will make sure that the Server generator will leave it the way you wrote it.

  • How to set the Default values for Info Objects in Data Selection of InfoPac

    Hi All,
    Flat file Extracion:
    How to set the Default values for Info Objects in Data Selection Tab  for Info Package
    ex: Fiscal Year Variant  Info Object having values 'K4' 'Y2' etc  in Flat file
    Initially  default value(not constant)  for this info Object value should be 'K4'  in Info Package
    If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
    Rgds,
    CV

    Hi,
    suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
    haritha

  • Can we set a default value for the container variable in BPM?

    Can we set a default value for the container variable.?
    Suppose if i have a loop step and i have given a container variable i=5 as end condition.What value will it take during its first execution?Can we set the value for container before a recieve step?

    Hi
    Define Container Variable of Type integer and Category Simple Type .Use Condtion in Loop.
    In Container Operation Step Assign value and Use Expression to
    Increase or Decrease Valus according to your operation.
    look Pattern 4 in this blog to understand Container Operation
    /people/sharathchandra.girmaji/blog/2008/09/11/bpm-with-patterns-explained-part-1

  • How to set the default values for print options

    Hi all,
    We can set the default value for print options, just like Logical destination、numbers of messages、print immediately and so on, so where we should to maintain these default?

    Hi Sandy,
    This can be done by an abaper by making changes in the driver program. The Driver program feeds all the data which u have mentioned for printing.
    if the driver program is standard. copy to an z type and make modification on printer settings on the driver program code.
    this will surely solve the issue.
    Regards
    Gunaseelan

  • Setting a default value for SQL based LOV

    Hi There,
    Is there a way to set the default value in an LOV. Like lets say the LOV gets distinct to_Char(date_field,'YYYY') from a table. I want that the highest year is the default value. Currently, since I have the null option also, when the page loads, the lov is always null. I need to change it manually.
    Thanks,
    Sun

    You can easily set the dynamic item defaults
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/bldapp_item.htm#HTMDB28287
    for example select the default type as PL/SQL Function Body and enter the following code
    declare
    v_return date;
    begin
    select max(date_field) into v_return from your_table;
    return to_Char(v_return,'YYYY');
    exception when others then
    return null;
    end;

  • Setting a default value for DropDownByIndex UI

    I have a drop down by index UI element which gets its values from a table.  i need to set the default value to 'Select a State' or something like that.  How do i do it? 
    Thanks,
    Lathika

    Hi Lathika,
    Please follow these links:
    To set default value as blank  in drop down by index
    and
    Re: Value of RFC in Dropdownbykey
    Also, try this solution:
    that means you have to set at design time,
    to set default drop down value you will have to set the value for particular attribute (which is linked to the dropdown element) in the context
    like
    wdContext.currentContext<nodeName>Element.set<FieldName>(<default value>)
    This generally done in Initialization method of the controller
    Thanks,
    Raj.
    Message was edited by: Raj

  • Setting up default value for POV in Financial Reporting Studio

    hello
    We need to Set up default value for POV in Financial Reporting Studio. For example, we need period to pick up Sep as default value when we run the report.
    Is there any way we could do this???
    Regards
    Neha

    Hi Neha,
    Yes, there is a way to setup of your grid POV. Take a look at this: http://download.oracle.com/docs/cd/E12825_01/epm.111/fr_user/127.html
    Cheers,
    Mehmet
    p.s. Please mark the answers helpful or correct, if they've helped you or answered your question. Thanks!

  • Cannot set the default value of an item in the detailed table

    Hi,
    I have Master-Detail group, both are Table formats.
    I need to set the default value of an item in the details row to the value of an item in the selected row in the Master table.
    I tried Default Display Value=#{row.MasterItem}, but it seems it is trying to access current details row instead of the Master.
    I tried #{bindings.MasterGroupColumnName.inputValue}, but it does not work.
    Any ideas
    Thanks in advance
    Mohamed

    I think I now what I'm doing differently, I had the "New Rows" JHS property of the detailed table group "empty" instead of the default "2" value.
    It seems that "Default Display Value" expression works only for the new records specified in the "New Rows" property. But when I try to "Add" new record using the "Add Row" button, the new record inserted does not have the default values generated, only has values populated for the items of the FK (in the view link) but not the ones set through the property.
    I guess in a nutshell, how I can get the details item to behave like the FK columns?
    Thanks much
    Mohamed

  • Setting a Default Value within a Tabular Form

    Hi All,
    Using Apex 2.2.1
    Hoping someone can assist. I have the following two scenarios where I would like to set a default value to a column within a tabular form.
    Scenario One:
    Prior to actually displaying the tabular form on the page, I have a region on this page where I ask the user to select a Application No. first (using a Select List with Submit). Once this item, say P50_APP is set to a value, the Tabular Form region is then presented to the user by where I then allow them to enter certain information required using the 'Add Row' button. One of the columns within this tabular form also represents the Application No.
    My questions are:
    a) I have made the Application No. within the tabular form as a LOV, so when the user hits the 'Add Row' button, how can I set the initial value to P50_APP value using the 'Default Type and Default' items within the column?
    b) Since I am trying to achieve a master-detail type scenario here, if (a) above is not possible, if I hide the Application No. column within the tabular form, how can I set it to P50_APP when the user presses either the 'Add Row' or 'Submit' buttons?
    Scenario Two:
    Is it possible to pass a value from a tabular form, i.e a column within this tabular form on one page, to another tabular form column on a another page (when the user presses the 'Add Row' button) within the same application?
    For example, on page 50 I have the column #APP_NUMBER# passed onto page 60 which is another tabular form that also holds the same column name #APP_NUMBER# , so when the user on page 60 hits the 'Add Row' button, I would like the App Number column default to the one just passed over from page 50.
    Is this possible?
    Apologies if I am asking the same things in both scenarios - just want to make sure I understand MRUs.
    Thanks.
    Tony.

    Hi Andy,
    Thanks for getting back to me but I think you are referencing these default values in the wrong section.
    What I am actually trying to set is the value of a column within a tabular form to P50_APP and it seems to me that the only available options for setting default values on a tabular form column are by using:
    Default Type: which can be one of:
    No Default
    Item (application or page item name) or
    PL/SQL Expression or Function
    and then actual source is set against:
    Default:
    Unsure as to how to actually set the value of P50_APP which is in session to the individual tabular column mentioned above.
    FYI, I have tried selecting for Default Type: Item (application or page item name) and then specifying for Default:&P50_APP. as well as Default Type:PL/SQL Expression or Function and specifying for Default: :P50_APP but to no avail.
    Tony.

  • How do I set ical default values in lion?

    I have just upgraded to Lion and so far, so good.  In the new iCal, how do I set the default values?  In the old version, when you clicked on the calendar, the default value was a 1 hour meeting around the current time of day.  The new version defaults to an all-day meeting.  I like the old way better, or best would be to have it as a preference. 
    Is there a way to set this that I'm not seeing?

    Mike,
    It sounds to me like you are using the "Month" view for that entry.
    Default event creation in Month view results in an all day event.
    Lion iCal Help (Add events to a calendar) says: "Add a new event in Month view by double-clicking within the day you want the event to appear. Enter a name and time duration for the event in the event’s title field, and then press Return."
    Try entering "Meeting at 9am"...that will create a one hour event named Meeting.

Maybe you are looking for