Set selected in netui:select tag

Hi, all
I wonder how to set the selected item after come back from server. I have
--- jsp
<netui:select dataSource="{actionForm.personStr}" optionsDataSource="{actionForm.personOptionsHashMap}" defaultValue="-- select one --">
--- server (.jpf)
form.setPersonStr(form.getPersonStr());
form.setPersonOptionsHashMap(hashMap);
So when screen come back, it has selected duplicated at bottom of the selection. Is there a way like normal html select behavior ?
Thanks inadvance for any inputs.

Murthy,
Unfortunately, though a very reasonable requirement, there is no option for
placing the default item.
- john
"Murthy" <[email protected]> wrote in message
news:[email protected]..
>
Hi,
I am using <netui:select dataSource="{actionForm.xyz}" defaultValue="Any"optionsDataSource="{actionForm.someMap}"
/>
Now I am getting the values from database to populate the dropdown usingthe optionsDataSource.
As I am using the defaultValue, it is being added to the end of thedropdown and
selected by default when I a mopening the page on browser.
In my dropdown, the values are as follows:
apple
orange
banana
Any
Now my requirement is, the defaultValue, Any, must be there at the top ofthe
list instead at the bottom of thge dropdown values. i.e., In the abovelist, "Any"
must be above apple option.
How can I achieve this using netui:select tag?
Thanks & Regards,
Murthy

Similar Messages

  • How to pre-select in netui:select

    I am new to workshop. I need to use netui:select for a list box with multiple selection. I want to pre-select the listbox with several entries. I am wondering how to do this?

    Cindy,
    You can set multiple default values on a select tag by binding the
    defaultValue attribute to a String[] or anything else (collection, etc)
    that can be turned into an Iterator.
    For example, here is how I modified Workshop's Sample Application
    (specifically the "select multiple" example)
    <netui:form action="submit">
    <netui:select multiple="true" dataSource="{actionForm.selections}"
    size="5" defaultValue="{pageInput.defaultValues}">
    <netui:selectOption value="red" />
    <netui:selectOption value="blue" />
    <netui:selectOption value="green" />
    <netui:selectOption value="yellow" />
    <netui:selectOption value="orange" />
    </netui:select>
    <netui:button type="submit" value="Submit"/>
    </netui:form>
    here is the code from the controller showing the page flow variable
    defaultValues being passed to the page as a page input in fhe Forward
    contstructor.
    private String[] defaultValues = {"green", "yellow"};
    * @jpf:action
    * @jpf:forward name="success" path="index.jsp"
    protected Forward begin()
    return new Forward("success", "defaultValues", defaultValues);
    - john
    "Cindy" <[email protected]> wrote in message
    news:407170f4$[email protected]..
    I am new to workshop. I need to use netui:select for a list box withmultiple selection. I want to pre-select the listbox with several entries.
    I am wondering how to do this?

  • Netui:select tag

    Hi,
    I have a netui:select tag. When the user selects an option, I want it to execute
    the form's action (instead of having users to click a submit button).
    How do you do this?
    Thanks
    Laxman

    Hi,
    I think you can add a submit() javascript to the onselect action of the
    select tag. When the user selects a value the form will be subitted that
    means the form's action will be executed.
    BR,
    don
    Vangarapu Laxman wrote:
    Hi,
    I have a netui:select tag. When the user selects an option, I want it to execute
    the form's action (instead of having users to click a submit button).
    How do you do this?
    Thanks
    Laxman

  • Form bean with int property and netui:select tag

    Hi,
    I've recently started using WebLogic 8.1 for a client project. There's
    been a bit of a learning curve, but I've been able to find most of my
    answers in the docs or on the dev2dev site. This one, though, I've been
    unable to manage.
    I have a database table, call it foo. In it I have columns for id
    (numeric) and name (string). I created a database control to read that
    data:
    select id, name
    from foo
    I then want to use this data to populate a select list in a form, which
    is going to be used to submit new records for another table. For the data:
    id     name
    1     Foo
    2     Bar
    3     Bletch
    I want to generate a select list (this is the output HTML, not the netui
    tags):
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    </select>
    My first question is what the best way to do this is. I was able to get
    this working by creating a database control, which returns an array of a
    custom Foo class. I then pass that array into a utility method which
    converts it into a Map, and pass that map to the netui:select tag in the
    optionDataSource attribute. This works, but it seems rather roundabout,
    so I'm wondering if there's a better way to do it, without needing the
    conversion utility method in the middle. I tried playing around with
    the control, I tried using different netui tags (I thought I could do it
    with a repeater and netui:selectOption tags, but that didn't work), and
    nothing else worked.
    The second problem arose when I was tying the result to a Form Bean. I
    created a bean with all the data that I was reading from the form, and
    at first, I just made everything in the form bean be a String. For this
    select, though, the values are ids, so I thought I'd just make them be
    ints in the form bean instead. However, when I did that, WL decided
    that it wanted to add in a default option with a value of 0:
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    <option value="0" selected>0</option>
    </select>
    I've tried to find a way to get rid of that 0, and I can't. Is there a
    way to prevent it from sticking in a default value like that? Or do I
    have to just leave it as a String in the form bean to get it to work the
    way I want?
    Thanks in advance for your help.
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

    wrt your 2nd problem, in the jpf, for the form bean, are you declaring your id
    like this:
    private int id;
    if so, try declaring it w/ a valid value, like:
    private int id = 1;
    -tanya
    Joe Robins <[email protected]> wrote:
    Hi,
    I've recently started using WebLogic 8.1 for a client project. There's
    been a bit of a learning curve, but I've been able to find most of my
    answers in the docs or on the dev2dev site. This one, though, I've been
    unable to manage.
    I have a database table, call it foo. In it I have columns for id
    (numeric) and name (string). I created a database control to read that
    data:
    select id, name
    from foo
    I then want to use this data to populate a select list in a form, which
    is going to be used to submit new records for another table. For the
    data:
    id     name
    1     Foo
    2     Bar
    3     Bletch
    I want to generate a select list (this is the output HTML, not the netui
    tags):
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    </select>
    My first question is what the best way to do this is. I was able to
    get
    this working by creating a database control, which returns an array of
    a
    custom Foo class. I then pass that array into a utility method which
    converts it into a Map, and pass that map to the netui:select tag in
    the
    optionDataSource attribute. This works, but it seems rather roundabout,
    so I'm wondering if there's a better way to do it, without needing the
    conversion utility method in the middle. I tried playing around with
    the control, I tried using different netui tags (I thought I could do
    it
    with a repeater and netui:selectOption tags, but that didn't work), and
    nothing else worked.
    The second problem arose when I was tying the result to a Form Bean.
    I
    created a bean with all the data that I was reading from the form, and
    at first, I just made everything in the form bean be a String. For this
    select, though, the values are ids, so I thought I'd just make them be
    ints in the form bean instead. However, when I did that, WL decided
    that it wanted to add in a default option with a value of 0:
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    <option value="0" selected>0</option>
    </select>
    I've tried to find a way to get rid of that 0, and I can't. Is there
    a
    way to prevent it from sticking in a default value like that? Or do
    I
    have to just leave it as a String in the form bean to get it to work
    the
    way I want?
    Thanks in advance for your help.
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

  • How to keep the defaultValue in the netui:select tag at the beginning of the dropdown values?

    Hi,
    I am using <netui:select dataSource="{actionForm.xyz}" defaultValue="Any" optionsDataSource="{actionForm.someMap}"
    />
    Now I am getting the values from database to populate the dropdown using the optionsDataSource.
    As I am using the defaultValue, it is being added to the end of the dropdown and
    selected by default when I a mopening the page on browser.
    In my dropdown, the values are as follows:
    apple
    orange
    banana
    Any
    Now my requirement is, the defaultValue, Any, must be there at the top of the
    list instead at the bottom of thge dropdown values. i.e., In the above list, "Any"
    must be above apple option.
    How can I achieve this using netui:select tag?
    Thanks & Regards,
    Murthy

    Murthy,
    Unfortunately, though a very reasonable requirement, there is no option for
    placing the default item.
    - john
    "Murthy" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi,
    I am using <netui:select dataSource="{actionForm.xyz}" defaultValue="Any"optionsDataSource="{actionForm.someMap}"
    />
    Now I am getting the values from database to populate the dropdown usingthe optionsDataSource.
    As I am using the defaultValue, it is being added to the end of thedropdown and
    selected by default when I a mopening the page on browser.
    In my dropdown, the values are as follows:
    apple
    orange
    banana
    Any
    Now my requirement is, the defaultValue, Any, must be there at the top ofthe
    list instead at the bottom of thge dropdown values. i.e., In the abovelist, "Any"
    must be above apple option.
    How can I achieve this using netui:select tag?
    Thanks & Regards,
    Murthy

  • Write to java object using netui:select tag

    Hello,
    I am iterating through a hashmap of java objects using a netui-data:repeater.
    <netui-data:repeater dataSource="{pageFlow.MyHashMap}">
    <netui-data:repeaterItem>
    <netui-data:repeater dataSource= "{container.item.HashMapOfEmbeddedObjects}">
    <netui-data:repeaterItem>
    <netui:select dataSource= "{container.item.type}" optionsDataSource= "{container.item.typeChoices}" /> </td>
    <netui:select dataSource= "{container.item.default}"
    optionsDataSource= "{container.item.defaultChoices}" /> </td>
    </netui-data:repeaterItem>
    </netui-data:repeater>
    </netui-data:repeaterItem>
    </netui-data:repeater>
    The java object has a field "HashMapOfEmbeddedObjects" that is itself a hashmap of java objects. I want to be able to make a selection and have it be written to the
    "type" and "default" fields of the embedded objects, but dataSource="{container.item.default}" does not save the value of the selection.
    Is there anyway to use the netui:select tag to write to the field on a java object? Any help is greatly appreciated.

    I have done it in the past. The java object need not be actionForm. The following write-up I found in edocs will help you achieve this.
    Page Flow-Scoped Form Beans
    Page Flow-scoped Form Bean instances have the same life-cycle as the Controller file instance. They are created and destroyed when the Controller file instance is created and destroyed. This makes Page Flow-scoped Form Beans useful for storing data that has been accumulated across many different JSP pages.
    To create a Page Flow-scoped Form Bean instance, construct a public member variable of the Form Bean in the Controller file.
    public class myController extends PageFlowController
    public MyFormBean pageFlowScopedBean = new MyFormBean();
    Once you have created a Page Flow-scoped instance of a Form Bean, you can pass the instance to action methods by using the @action form="form_bean" annotation.
    public class myController extends PageFlowController
    public MyFormBean pageFlowScopedBean = new MyFormBean();
    * @jpf:action form="pageFlowScopedBean"
    * @jpf:forward name="success" path="displayData.jsp"
    protected Forward submit( MyFormBean form )
    return new Forward( "success" );
    Each time the submit() method is invoked, it is passed the same instance of the Form Bean, namely, pageFlowScopedBean, the instance that was created when the Controller file instance was created.
    For more info go to http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conReqScopedVsPageScopedBean.html
    Good luck.
    --SJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Netui:select default value on top instead of bottom

    Is there anyway that I can change the netui:select tag to show the default value
    on the top of the list instead of the bottom?
    thanks
    kunal

    Kunal--
    If you are binding to a data set (a LinkedHashMap, for example), you can insert the default value
    into the data set in code in the JPF before binding to the select box, but it's not configurable
    when simply setting the defaultValue attribute.
    Apologies for the limitation.
    Eddie
    Kunal Mittal wrote:
    Is there anyway that I can change the netui:select tag to show the default value
    on the top of the list instead of the bottom?
    thanks
    kunal

  • Netui:select seems to be broken in Portal 9.2

    Hi
    I have problems with the tag and I slowly think it might be a bug in the tag. The optionsDataSource attribute seems not to work anymore. It only puts the actual text '{pageFlow._options}' in the dropdown box. I tried to use it with the pageFlow and actionForm option but with the same result. I hope there is something I do wrong ;) Any help is very much appreciated
    on JSP page
    <netui:select dataSource="{actionForm.selections}" optionsDataSource="{pageFlow._options}"
    in JPFController
    public String[] _options = {"red", "green", "blue", "orange", "pink", "aqua", "black", "brown", "tan"};
    with setters and getters
    in formbean
    public static class SubmitForm extends FormData
    private String[] selections;
    public void setSelections(String[] selections)
    this.selections = selections;
    public String[] getSelections()
    return this.selections;
    }

    That did the trick ;\
    optionsDataSource="${pageFlow.selectOptions}

  • Select into xmltype cuts tags

    Hello.
    My query:
    SELECT XMLELEMENT("Dataset", XMLATTRIBUTES('http://www.SDMX.org/resources/SDMXML/schemas/v1_0/generic' AS "xmlns:generic"),
    XMLAGG(XMLELEMENT("generic:Series",
    XMLELEMENT("generic:SeriesKey",
    XMLELEMENT("generic:Value", XMLATTRIBUTES(SPR_EMS1 as "concept", CODE_EMS1 as "value")),
    XMLELEMENT("generic:Value", XMLATTRIBUTES(SPR_EM2 as "concept", CODE_EMS2 as "value")),
    XMLELEMENT("generic:Value", XMLATTRIBUTES(SPR_EMIS3 as "concept", CODE_EMS3 as "value"))
    XMLELEMENT("generic:Attributes",
    XMLELEMENT("generic:Value", XMLATTRIBUTES(EDI AS "concept", EDI_NAME AS "value")),
    XMLELEMENT("generic:Value", XMLATTRIBUTES(NAME_PERIOD as "concept", TO_CHAR(MONTH_DATE, 'fmmonth') as "value"))
    XMLELEMENT("generic:Obs",
    XMLELEMENT("generic:Time", TO_CHAR(MONTH_DATE, 'YYYY')),
    XMLELEMENT("generic:ObsValue", XMLATTRIBUTES(NUM as "value"))
    INTO TAG
    FROM
    (SELECT MONTH_DATE, NAME_PERIOD, NUM, EDI, EDI_NAME, SPR_EMS1, CODE_EMS1, SPR_EMS2, CODE_EMS2, SPR_EMS3, CODE_EMS3
    FROM EMS_001
    WHERE (TO_CHAR(MONTH_DATE, 'YYYY') = OTCH_YEAR AND TO_CHAR(MONTH_DATE, 'MM') <= OTCH_MONTH) OR (TO_CHAR(MONTH_DATE, 'YYYY') = TO_CHAR(TO_NUMBER(OTCH_YEAR-1)))
    ORDER BY MONTH_DATE, SEQ_CODE1, SEQ_CODE2, SEQ_CODE3);
    It works good just for a certain number of returned rows. But when i select much more data from table this selection will be cut in any part of any tag.
    Am i right that XMLTYPE has max length? How can i increase it?
    Thank you.
    Edited by: Alexys on 17.04.2012 0:26

    when i select much more data from table this selection will be cut in any part of any tag.I also suspect it is a client issue:
    e.g. in sql*plus you would have to set an appropriate LONG value:
    SQL> set long 100
    SQL> select xmltype('<x>' || lpad('x', 200, 'x') || '</x>') xml from dual;
    XML
    <x>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    1 row selected.
    SQL> set long 250
    SQL> select xmltype('<x>' || lpad('x', 200, 'x') || '</x>') xml from dual;
    XML
    <x>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxx</x>
    1 row selected.
    SQL>

  • Load contents into one "netui:select" on click of another.

    Hi! I am a fresher to Weblogic Workshop and Portal. I want to know how to capture the onSelect or onChange event in a <netui:select> tag and call a pageflow action on the occurence of this event.

    I remember this keyboard menu. Didn't I give you the CSS for this?  I'm pretty sure I did.  Because I still have it in my notes.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>CSS Horizontal Menu</title>
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <style>
    /* BEGIN Horizontal Navbar */
    nav {
    margin: 0 auto;
    padding: 0;
    width: 900px;  /**adjust width as required**/
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    overflow: hidden; /**float containment**/
    border: 1px dotted red; /**for demo purposes, you may delete this border**/
    nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: auto;
    /**list styles**/
    nav li {
    display: block;
    float: left;
    width: auto;
    line-height: 1em;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 15px;
    text-shadow: 1px 1px 1px #000;
    /**link styles**/
    nav li a {
    display: block;
    padding: 0.5em;
    border: 2px outset #999;
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
    background: #CCC;
    /**mouseover styles**/
    nav li a:hover,
    nav li a:active,
    nav li a:focus {
    border: 2px inset;
    background: #00CCCC; }
    /* END Horizontal Navbar */
    </style>
    </head>
    <body>
    <nav>
    nav container
    <ul>
    <li><a href="#">Menu Item 1</a></li>
    <li><a href="#">Menu Item 2</a></li>
    <li><a href="#">Menu Item 3</a></li>
    <li><a href="#">Menu Item 4</a></li>
    </ul>
    <!--end nav--></nav>
    </body>
    </html>
    Nancy O.

  • How to set background color for selected days in DateChooser

    How to set background color for selected days. I created
    checkbox for each day [Son,Mon,Tue,Wed,Thu,Fri,Sat] and a
    DateChooser, I want to change the background color for the selected
    day when i click on a button after selecting the desired checkboxs
    [ monthly wise/yearly wise]
    Thanks in advance

    There is no button involved in the following code, but it may
    be of use to you:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()">
    <mx:Script>
    <![CDATA[
    private var origColor:uint;
    private function init():void {
    origColor = dc.getStyle("selectionColor");
    public function setBackGrdColors(newColor:uint):void {
    dc.setStyle("selectionColor", origColor);
    if(dc.selectedDate){
    var dayOfWeek:Number = dc.selectedDate.day;
    else{
    return;
    switch(dayOfWeek) {
    case 0:
    if(sun.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 1:
    if(mon.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 2:
    if(tue.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 3:
    if(wed.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 4:
    if(thu.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 5:
    if(fri.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    case 6:
    if(sat.selected)
    dc.setStyle("selectionColor", newColor);
    break;
    default:
    break;
    ]]>
    </mx:Script>
    <mx:VBox horizontalAlign="center" verticalGap="20">
    <mx:DateChooser id="dc" textAlign="left"
    change="setBackGrdColors(cellColor.selectedColor)"/>
    <mx:HBox width="100%" horizontalAlign="center">
    <mx:CheckBox id="sun" label="Sun"/>
    <mx:CheckBox id="mon" label="Mon"/>
    <mx:CheckBox id="tue" label="Tue"/>
    <mx:CheckBox id="wed" label="Wed"/>
    </mx:HBox>
    <mx:HBox width="100%" horizontalAlign="center">
    <mx:CheckBox id="thu" label="Thu"/>
    <mx:CheckBox id="fri" label="Fri"/>
    <mx:CheckBox id="sat" label="Sat"/>
    </mx:HBox>
    <mx:HBox width="300" horizontalAlign="center">
    <mx:Label text="Background Color" />
    <mx:ColorPicker id="cellColor"
    selectedColor="#FF00FF"/>
    </mx:HBox>
    </mx:VBox>
    </mx:Application>

  • I updated to ios7 and got the set up asst and selected restore from back up.... can't get itunes to do the restore as it wants me to turn off find my iphone, but I can't access anything on my iphone to turn off as I am in ios set up assistant

    I updated my iphone 4 to ios7.04 in itunes.  In itunes, it appears that all my data/apps/music/etc are on the phone  (but I cannot see anything on phone itself except setup screens).  I am getting the ios7 setup screen on my iphone.  I have selected my language, selected my wifi netowork, enabled location services, and chosen resore from itunes back up.  Next screen I get says to connec to itunes, which I did.  In itunes, I select restore from backup.  I then get a message that I need to disable "find my iphone " "Go to iCloud Settings on your iPhone and turn off Find My iPhone before restoring your iPhone."  I cannot go to any settings on my iphone as I cannot get past the connect to iturnes screen!  I have also tried  not enabling location services and that made no difference.  I cannot get to anyplace on my iphone except the ios setup first few screens.  I am going crazy, there must be some simple thing I have missed!  Any help appreciated!

    I found a way to get to my data.  So do not need remedy at this time. 
    fwiw, I changed my ios7.04 setup answer of restore from itunes to new iphone. Eventually that allowed me to set up icloud, then turn off find iphone, restore.  Very strange ios update. 

  • When I try to use the internal hard drive as a scratch disk I get this error "unable to set scratch disk- the selected directory is on write protect or non-writable media.  Any ideas on how to fix this.  It only happens in fcp.

    When I try to use the internal hard drive as a scratch disk I get this error "unable to set scratch disk- the selected directory is on write protect or non-writable media.  Any ideas on how to fix this.  It only happens in fcp.

    By internal, I assume you're referring to your systems (boot) drive. Is it, by chance, a partitioned dive?
    Also…although many people successfully use their systems drives as scratch disks, over time you'll have better results using a dedicated drive for your media.
    Good luck.
    Russ

  • How to find the selection character is xml tag or not?(CS2-js)

    I have a xml tagged indesign document, when i select a tag in paragraph i cant able to find it as xml tag, it only shows me the character contents as small box, is there any way to find the selected item is xml tag or not ?
    thanks
    subha

    I have a xml tagged indesign document, when i select a tag in paragraph i cant able to find it as xml tag, it only shows me the character contents as small box, is there any way to find the selected item is xml tag or not ?
    thanks
    subha

  • Setting screen attributes for select-option in subscreen

    Hello SDN Community,  I have researched this extensively in forums and found much helpful information in getting the select-option working in a subscreen.  Also found information that discussed using standard AT SELECTION-SCREEN statements to process the sub-screen with. 
    I encountered problems when that from the LOOP AT SCREEN within the AT SELECTION-SCREEN OUTPUT,  I set the INPUT/OUPUT attributes to zero, the field was still open for input when it displayed.  For when I do this on other fields of my screen, they are "greyed out".
    Has anyone any experience setting field attributes from within loop at screen for embedded select-option subscreen?  Would appreciate any insight you might have.
    Thank you,
    Dean Atteberry.
    P.S.- I put this thru the debugger and I can see the INPUT and OUTPUT attributes getting changed.  But when displays, it is like the change didn't happen.
    Full description of my processing below...
    I have a screen with four radio-buttons.  Under the first radio-button is my embedded subscreen with one SELECT-OPTION for AUFNR.  Under the other three radio-buttons are single fields declared regular way in main screen.
    In my PBO of main screen I have loop at screen that enables/disables INPUT and OUPTUT attributes based on which radio-button is selected.  This prevents confusion from user entering values in fields other than the one the radio-button is selected for.
    For my embedded select-option subscreen, I have an AT SELECTION-SCREEN OUTPUT statement in which I have a LOOP AT SCREEN.  Within that, based on radio-buttons, I either enable or disable the INPUT and OUTPUT attributes for the S_AUFNR-LOW and S_AUFNR-HIGH fields.
    Edited by: Dean Atteberry on Mar 25, 2009 4:39 PM

    >> I think that you are trying to change select options within main screen, whereby it should be
    >> changed in PBO of that subscreen. You said you do it in AT SELECTION-SCRREN OUTPUT which
    >>  will be only applicable for selection screen (I guess your main screen here). Do loop at screen in
    >>  PBO module of this subscreen not in PBO of the selection screen and see if that helps.
    Hi Marcin,  thank you for your reply.  My "main screen" is not my "selection screen".  Please allow me to further clarify...
    My "main screen" has four radio buttons with a subscreen area under the first one and single fields under the others.
    My "subscreen" is auto-generated by Selection-Screen and Select-Options statements which are in my TOP module.
    I call my auto-generated select-option subscreen in my PBO with...
         call subscreen sca_ordr including sy-repid scr_0121.
    and in my PAI with...
         call subscreen sca_ordr.
    In order to do LOOP AT SCREEN for my system-generated select-option subscreen, I use the AT SELECTION-SCREEN OUTPUT event in which to put my loop. 
    When I walk thru this in the debugger, I can see it setting INPUT/OUTPUT fields to zero, but when the screen displays, there are no changes to my subscreen....  Fields should be "greyed out" instead they are open for intput.
    Doing my best to accurately describe in as few words as possible.  Thank you for your ideas!
    Dean.

Maybe you are looking for

  • Display hole header line in PDF (Broadcaster)

    Hi friends, I have a little problem with finding the right optioin to display the whole headerline of an query after broadcasting a web template in PDF format (created with WAD). If I broadcast it with MHTML it is showing me the hole header lines, do

  • I want my iTunes 4.7.1 back!

    Downloaded iTunes 6 and I can no longer play CDs or import music from CDs. No problems with iTunes 4.7.1 Found iTunes 4.7.1on the Internet, downloaded and want to install. How do I 1) get rid of iTunes 6, and 2) install iTunes 4.7.1 without losing an

  • Which table contains total labor per cost center?

    hi.. from which table can i fetch cost center.. total hours per cost center? total labor per cost center? total overhead per cost center??

  • Illustrator program window self resizing

    Illustrator CS2 on a PC running XP Pro with a new wide screen format monitor from Dell seems to want to shrink every time I open a file. In other words, in the upper right corner there are three icons. One is a blank line. One is a Square. and one is

  • Can we run CK40N for the past month?

    Hi All, One of our users forgot to do the cost estimate for the month of May, that's why when he run CK40N (June 1), the prices went to future price, (i think because our MM is still May). I have some few questions and hoping for your positive feedba