Facing the problem ValueChangeListener of the Drop Down List

Hi,
I am using the JDeveloper 10.1.3.5.0 and the JHeadStart 10.1.3.3.88. In my requirement, I am having three View Objects(V1,V2,V3). I need to create a page based on one VO(V1) displayed as table. In the screen, there are 6 columns. Three of them(C1,C2,C3) are having the static values( coming from the VO(V1) from which it has been built), and the others are, one column(C4) is displayed as the drop down list(for some of the rows, drop down list values are coming from the VO(V2), and for the others drop down list values are coming from the other VO(V3). The other column(C5) is a input text field, that is enabled or disabled based on the selected values from the drop down list column(C4). The column(C6) is a check box. Now, coming to the actual requirement, the rows are related to the papers. For each paper, there are 5 methods of studies. One of the method of study is SelfLearning (5th method of study), for this the drop down values are coming from the VO(V3), and for the other methods of studies(1 to 4), the drop down values are coming from the VO(V2). Now, for a user, based on the number of papers, the number of rows are displayed.(1 paper- 5 rows, 2 papers-10 rows like wise).   Initially, drop down list is displaying the null values. When I change the value in the drop down list, I need the ValueChangeListener has to be called and it has to call the method in the bean. From the bean, the column(C5) has to be enabled or disabled. This is working fine for the inital 5 rows and 7,8,9,10 rows and 12,13,14,15 rows. But, the ValueChangeListener is not working for the rows 6 and 11. I used the debug concept,and I confirmed that the valueChangeListener is not getting called for the rows 6,11,16 rows.
C 1
C 2
C 3
C 4
C 5
C 6
P1
ABC
Study Method1
Drop Down list1
input text box
check box
P1
ABC
Study Method2
Drop Down list2
input text box
check box
P1
ABC
Study Method3
Drop Down list3
input text box
check box
P1
ABC
Study Method4
Drop Down list4
input text box
check box
P1
ABC
Study Method5
Drop Down list5
input text box
check box
P2
DEF
Study Method1
Drop Down list1
input text box
check box
P2
DEF
Study Method2
Drop Down list2
input text box
check box
P2
DEF
Study Method3
Drop Down list3
input text box
check box
P2
DEF
Study Method4
Drop Down list4
input text box
check box
P2
DEF
Study Method5
Drop Down list5
input text box
check box

The problem gets solved. Actually, the problem is at the VO Query. The small modification in the query at the attribute p_id( C1 ) has solved the issue.

Similar Messages

  • Populating the data from table onto drop-down list.

    Hi all
    The following code i have used in trigger 'when-new-form-instance'
    DECLARE
    group_id RecordGroup;
    list_id Item := Find_Item('Lines.classification');
    status NUMBER;
    rg_name varchar2(10) := 'rgroup';
    BEGIN
    clear_list(list_id);
    group_id := Find_Group(rg_name);
    IF NOT id_null(group_id) then
    Delete_Group(group_id);
    End if;
    group_id := Create_Group_From_Query(rg_name,
    'select meaning from lookup_values where lookup_type='TC_CLASSIFICATION' and lookup_code in('BUSINESS','PERSONAL')');
    status := Populate_Group(rg_name);
    Populate_List(list_id, group_id);
    END;
    i have created a Record_Group from Object navigator(name:'rg_name').
    and used it in the above code.
    after this i try to run the form, i am not able to see the value which i drop-down list
    can any one suggest me abt this, and any changes i need to do in the property pallet,...
    Thanks
    Raj

    u3 wrote:
    No, Populate_List requires that the record group is created at runtime.Actually you're wrong ;)
    POPULATE_LIST works with both, record groups created at runtime AND at design time.
    Try the below code on SCOTT schema with a list item and a button trigger:
    Record Group created at design time
    DECLARE
         RG_NAME VARCHAR2(10) := 'RGROUP';
         V_DUMMY NUMBER;
    BEGIN
         CLEAR_LIST('LIST_ITEM1');
         V_DUMMY := POPULATE_GROUP(RG_NAME);
         IF V_DUMMY = 0 THEN
              CLEAR_LIST('LIST_ITEM1');
              POPULATE_LIST('LIST_ITEM1', RG_NAME);
         END IF;     
    END;
    Record group Created at Runtime
    DECLARE
         GROUP_ID RECORDGROUP;
         RG_NAME VARCHAR2(10) := 'RGROUP';
         QUERY_TEXT VARCHAR2(1000) := 'SELECT ENAME, TO_CHAR(EMPNO) FROM EMP';
         V_DUMMY NUMBER;
    BEGIN
         CLEAR_LIST('LIST_ITEM1');
         GROUP_ID := FIND_GROUP(RG_NAME);
         IF NOT ID_NULL(GROUP_ID) THEN
              DELETE_GROUP(GROUP_ID);
         END IF;
         GROUP_ID := CREATE_GROUP_FROM_QUERY(RG_NAME, QUERY_TEXT);
         CLEAR_LIST('LIST_ITEM1');
         V_DUMMY := POPULATE_GROUP(RG_NAME);
         IF V_DUMMY = 0 THEN
              CLEAR_LIST('LIST_ITEM1');
              POPULATE_LIST('LIST_ITEM1', RG_NAME);
         END IF;     
    END;It does work with me both ways, I suggest you test it.
    Tony

  • What are the XFA properties for a drop-down list?

    I am having trouble distinguishing between the "Text" and "Value" for a drop down list.
    I have a data drop-down list that is being populated by a database at runtime. I am using the "addItem" event while looping though the recordset. The "addItem" event takes 2 parameters:
    param1: A valid string representing the value to display in the field.
    param2: (Optional) A valid string representing the new items bound value. If empty, the default value is an empty string.
    What is the corresponding XFA properties for param1 and param2?
    If I want to reference "param2" somewhere else in the form, is it dropDownList.rawValue? is it dropDownList.value?

    reviewed the sample.zip form and xml file. The XML format is different from my file. Your file has one field named "item" with 3 records. <br /><data> <br />- <field> <br />  <item>1</item> <br />  <item>2</item> <br />  <item>3</item> <br />  </field> <br />  </data> <br /><br />My XML file has multiple fields and records. I need to populate the dropdown list with 1 field from XML file/DataConnection and bind the remainder of the DataConnection fields to the form fields. How can I achieve above with the sample example? <br />This is a portion of my xml file. <br /><?xml version = '1.0'?> <br /><ROWSET> <br />   <ROW num="1"> <br />      <ORG_OPER_NAME> U. S. OIL AND GAS, INC.</ORG_OPER_NAME> <br />      <ORGANIZATION_ID>6285</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>01</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>P. O. BOX 9158</ADDRESS1> <br />      <CITY>HOUMA</CITY> <br />      <STATE>LA</STATE> <br />      <ZIP>703610000</ZIP> <br />      <CONTACT_NAME>ANTHONY P. AUTHEMENT</CONTACT_NAME> <br />      <PHONE_NUM>9858764651</PHONE_NUM> <br />   </ROW> <br />   <ROW num="2"> <br />      <ORG_OPER_NAME>103 TRUCK STOP, INC. </ORG_OPER_NAME> <br />      <ORGANIZATION_ID>101152</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>13</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>4007 WHITE'S FERRY RD. </ADDRESS1> <br />      <CITY>WEST MONROE</CITY> <br />      <STATE>LA</STATE> <br />      <ZIP>712910000</ZIP> <br />      <CONTACT_NAME>103 TRUCK STOP, INC. </CONTACT_NAME> <br />      <PHONE_NUM>3183966200</PHONE_NUM> <br />   </ROW> <br />   <ROW num="3"> <br />      <ORG_OPER_NAME>3 S COMPANY</ORG_OPER_NAME> <br />      <ORGANIZATION_ID>5699</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>01</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>RR #2, BOX 99</ADDRESS1> <br />      <CITY>EUREKA SPRINGS</CITY> <br />      <STATE>AR</STATE> <br />      <ZIP>726320000</ZIP> <br />      <CONTACT_NAME>NO CONTACT GIVEN</CONTACT_NAME> <br />   </ROW> <br />   <ROW num="4"> <br />      <ORG_OPER_NAME>3-T EXPLORATION, INC.</ORG_OPER_NAME> <br />      <ORGANIZATION_ID>6847</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>01</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>BANKONE TOWER</ADDRESS1> <br />      <CITY>WICHITA FALLS</CITY> <br />      <STATE>TX</STATE> <br />      <ZIP>763082825</ZIP> <br />      <CONTACT_NAME>NO CONTACT GIVEN</CONTACT_NAME> <br />   </ROW> <br />   <ROW num="5"> <br />      <ORG_OPER_NAME>3-T OIL CO. INC.</ORG_OPER_NAME> <br />      <ORGANIZATION_ID>6395</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>01</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>RT. 1, BOX 81</ADDRESS1> <br />      <CITY>WEIRGATE</CITY> <br />      <STATE>TX</STATE> <br />      <ZIP>759770000</ZIP> <br />      <CONTACT_NAME>NO CONTACT GIVEN</CONTACT_NAME> <br />   </ROW> <br /></ROWSET>

  • Can we display only the required dimensions under Dimensions Drop Down list

    Hi,
    I am using Hyperion Financial Data Quality Management, Fusion Edition 11.1.1.3.00, so far under Activities -> Maps option we used to display all the dimensions used in the application, but now as per the client's requirement we need to display only those dimensions which needs mapping under dimensions drop down list.
    Eg)
    Now in our Application our Dimension Drop Down list will look show these dimensions
    Account
    Entity
    Legal Entity
    Inter company
    Reverse 1
    Reverse 2
    Among these we are doing mapping only for Account, Entity dimensions so we need to hide rest of the dimensions from the Dimensions Drop Down list for which we are not using any mappings (Legal Entity, Inter company,Reverse 1,Reverse 2)
    Another thing is these dimensions should be hidden only from the drop down list and not from the Output file generated after the Export.
    Some suggestions regarding this issue will be greatly helpful.
    Thanks,
    Abdulla Javeed Hassan

    Hi
    If hiding the other dimensions is to prevent users from accessing and changing the mappings then you could do this by amending the object security so that only certain user roles can access the Activities > Maps option.
    This will only really work if you have limited users / central team that will control the maps but it is the most obvious way to stop users accessing the maps.
    Hope this helps
    Stuart

  • Can you run SQL in the portal and create a drop down list??

    Can anyone tell me if its possible to create a drop down list using sql in the portal?
    Can I create a drop down list of items via sql and then have those same values be used for a discoverer portlet? I am trying to replicate the same concept using parameter values and discoverer worksheets, but through sql. I dont want to have to cut and past lists on the parameter fields. I want to be able to run sql when I post a discoverer worksheet with a parameter and have the values from the sql pass into the worksheet.
    Is that possible???

    I created a lov but i cannot post it on my portlet. When i go to post a portlet, under the db_link, portlet reposistory it does not show.? Also, how do make the connection to the discoverer worsheets to this lov?
    thanks,

  • Beginner Problems - How to sum drop down lists in a table

    Hi,
    Please forgive my newness but I'm creating a table with 10+ rows and columns and need to sum the colums. The user is expected to select a number from a drop down list and I would like to sum those nbumbers up at the bottom of the column, seems simple enough...
    I have named each cell in the bindings tab but can't seem to find the right sum script. I just started using livecycle and have had a good experience up until now.
    I wish it was like excel where you just need to click or highlight the cells you want to sum and be done with it but I can't seem to find the easy button...
    Cant you just highlight a column, name it and then use that name in a sum script?
    Thanks so much for any help and I've looked around but can't get a grip on this one so I apologize if it's been asked before.
    Go easy on me.

    One last thing.
    I can manage this one on my own but it's taking so long to do it the way I'm going at it.
    Basically, I've overpopulated most of my drop down list items, some by over 100 and I'd like to restrict the results that can be chosen by the user.
    Right now, I'm deleting each value in the List Item field in the cell tab one by one but I have a lot more to go and this could take a few hours at this rate. Is there no way for me to just highlight a large chunk and remove it that way or do I have to go one by one clicking the delete button? I can't find any option to delete more than one at a time which seems odd.
    Sorry if I'm not clear enough.
    Thanks again either way.
    ~OK~
    I just ended up copying a new cell to each overpopulated cell and rename. Seems to have worked and definitely saved some time, kind of obvious I suppose... but would be nice to be able to delete more than one item at once in the list item field.

  • Flash freezes in Firefox when I scroll the mouse wheel over a drop down list or text field (possibly others as well).

    Whenever I scroll in a drop down menu in Flash in Firefox (for example, I move the mouse wheel just one detent), it just continues scrolling on its own all the way to the bottom of the list and freezes all interaction for about 10 seconds.  It's really bizarre.
    If I start click and dragging things, nothing happens, and then all of the sudden everything catches up and moves.  As an experienced programmer, I can say that it looks like some kind of queuing of keyboard/mouse events with delayed execution.   Has anyone else encountered this issue?
    I found something from 2008 that sounds similar, although I am not using the sIFR they mentioned: sIFR mouse wheel scrolling freeze in Firefox - Stack Overflow
    Seems to be a Firefox-specific issue, although it also seems to be something that has just recently started occurring since updating Firefox.
    UPDATE:  I was checking my Firefox version in Help > About Firefox, and it showed version 33, but also had a pending update so I restarted Firefox.  The problem was no longer occurring at that point.  When I checked the version again, it said 33.0.2, but it also said "applying update", with another pending restart. I restarted Firefox again.  It's now stable at version 33.1.  So perhaps it was a problem with that particular version, or even a temporary issue with that running browser instance.

    Hi James,
    Thank you for sharing your solution with us. It will help other users with a similar issue.
    Thanks,
    Preran

  • Using the same field on a form for multiple menu/drop down list

    I have a form that tracks people that attend orientations.  It is possible for an Attendee to attend the same orientation up to three times.
    In using the Update record wizard, I have two recordsets, rsAttendees and rsOrientation from two separate tables.
    I want to be able to use the rsOrientation to create a drop down list, but I want to use that same recordset field as the source for the dropdown 3 times on the same record.
    There are 3 fields on the Attendee form:
    Orientation1, Orientation2, and Orientation3.
    Using the wizard, I set each up as a Menu, then select the rsOrientation, Orientation.Date as the source for all 3. 
    The problem is that only the Orientation1 field is populated.  Orientation2 and Orientation3 dropdowns are blank.
    Name:________________________
    Orientation1: __________________<-----------Using Wizard, pull Menu list from Orientation.Date This one works fine
    Orientation2: __________________<-----------Using Wizard, pull Menu list from Orientation.Date This one is blank
    Orientation3: __________________<-----------Using Wizard, pull Menu list from Orientation.Date This one is blank
    Do I need to reset the rs somehow?

    >Do I need to reset the rs somehow?
    Very possible. You haven't mentioned what server model you are using.

  • How can I get a drop-down list selection also be selected in another field with the same list but a different name?

    I have a street address and a billing address. A question is posed with a checkbox — "Is the billing address the same as the street address?" If Yes is checked, the street address automatically fills the billing fields. If No is checked, the user must fill in new information. In both the street address and billing addres, the State field is a drop-down list. How can I get the drop-down list selection in the street address State also be selected in drop-down list for the billing address State?

    Has anyone done this?

  • Fill-In-The-Blank drop-down list in HTML5 output

    I'm working in Captivate 7 (WIN) and developing for both SWF and HTML5 output, viewing courses in IE9 for Windows and Safari on iPad.
    I have a quiz containing a fill-in-the-blank question, using a drop-down list to select the correct answer, however it does not display the drop-down button or function correctly in HTML5 output (see screenshot).
    The issue began after updating to Captivate 7 version 7.0.1.237. The drop-down list worked prior to the update I installed recently. I'm viewing the published course locally and in the LMS, and it does not work in either.
    I've not read in the help documents that drop-down list questions are an unsupported question type in HTML5, and so I'm wondering if this is a bug that needs to be reported. Has anyone encountered this issue?

    Do you need scoring? There is a Scrolling Text interaction (more control, you can empty the variable and it will be displayed empty) but it is a non-interactive one, no score possible except by adding other interactive objects.
    Custom Short Answer Question - Captivate blog

  • Open a new form based on the selection from the drop down list

    Good Morning Everyone,
    Can any one please advise how I can start to build the form that has a drop down list(DDL) to list other forms so the user can select one from the selection of that DDL to open a new form.
    e.g  A form in workspace ES3 with drop down list to list 3 forms: form1, form2, form3. When user select form1 from the DDL, then it will kick off the render servic to launch form1 in workspace ES3.
    Thanks in advance,
    HD

    Hi,
    I'm not surea about the data structure...Are there two ClassNodes, one for "VALVES" and one for "BOLTS"??
    and for scripting it is no good idea if the names of the attributes are value, don't know if this is your naming...
    but to access a node of the DATA view -->
    //var selection --> you have assigned "VALVES"
      var onodeCN =  xfa.resolveNodes("xfa.record.Classification.ClassNode[*].value");
    // get the node with the valves -->
                   for (var i = 0; i < onodeCN.length ; i++) {
                        if ( onodeCN.item(i).value == selection ) {
                                         //get the Leaves of Node VALVES
                                         var onodeVALS = xfa.resolveNodes("xfa.record.Classification.ClassNode[+i+].ClassLeaf[*].value");
                                         for (var j = 0; j < onodeVALS.length ; j++) {
                                           // insert values of Leave to 2nd drop down
                                XXX.addItem(onodeVALS.item(j).value, onodeVALS.item(j).value);
    ??works??
    norbert

  • How to show "ALL" Values by default in Page Drop-Down Lists in Pivot Tables

    Hi Everyone,
    Iam stuck with 1 problem please can any 1 help me if u know the solution.
    Here is my problem:
    How to show "ALL" Values by default in Page Drop-Down Lists in Oracle BI Pivot Tables?
    For example, if you place Region in the pages area, a Region drop-down list allows the user to select a particular region, and see the data for only that region, rather than seeing all the Regions,But by default its not showing "ALL" option in the drop down list ,rather than doing that its showing result for only 1 region by default.
    And an other problem with this pages area is, if we palce the multiple attributes in the Pages area in the pivot table, the (Fields)result is showing in vertically, the attributes 1 by 1(Every attribute in a new line) ,rather than showing like that, is there any way to show the results in horizantally?(We want to have it as a seperate drop drown list for every field horizantally not as a concatenated list).

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • Populateing a drop down list in a repeating sub form

    I have been using the scripts from the Purchase Order sample that work with the Country and States/Provinces drop down lists and have modified them to fit my needs. The scripts work great. However I have a drop down list that is in a repeating sub form and the only the drop down list in the first occurance of the sub form works. The others don't.
    I put this line of code in a field called drpOrderedByTeam.
    JobsScript.getJobsOther(xfa, xfa.resolveNode("form1.TimeSheetSF.DetailsSF[*].DetailsTable.DetailsRow.ItemNumber"));
    I thought I just needed to add an "[*]" to the name of the sub form and it would work with all occurances but it doesn't seem so and I'm not sure what else to do.

    Based on your explanations, I've attempted to re-create your form and I think I've got it working the way you'd like it to.
    There are some difficulties with using fields in table headers which are replicated on subsequent pages because while new instances of the header subform and the fields it contains are created, you don't have access to these instances using the header's Instance Manager (I think this is a bug but I'm not sure). This means that you can't iterate through the instances of the header in order to populate the task lists depending on the selection in the team list. One solution for this is to make all header fields Global (select each field and, in the Object palette's Binding tab, set the
    Default Binding property to
    Global). This means that all instances of these fields will share the same value. The effect is that when you change the value of a field on an instance of a header on any page, the change will be replicated on all instances on all pages. The catch, though, is when you use lists in the header. Making list fields global doesn't mean that their item lists are global -- which causes other headaches.
    In the end, because of the problems I've described, I had to resort to cheating a little but if you think about it, it's not really cheating. What the form does is whenever the team list value changes, it removes all instances of the DetailsSF rows. This has the effect of also removing all instances of the DetailTitlesSF headers accross the current page set (and removes all pages but the first one). Then 6 new instances of the DetailsSF row are generated and the DetailTitlesSF header is re-populated using the new selection in the team list. After that, if a new page gets generated because of the number of instances of the DetailsSF rows, the new instances of the task lists in the new instances of the DetailTitlesSF header will have the correct list of items based on the current value of the team list. In the end, even though I'm cheating by removing all instances of the DetailsSF row in order to reset the lists in the DetailTitlesSF header, it's not really cheating because if you change teams, then it should be assumed that all data entered doesn't apply anymore because the tasks change as well... Convinced?
    The best way to understand this is to check-out the sample form.
    Let me know if you have any questions.
    Stefan
    Adobe Systems

  • How to auto populate a field based on drop down list unless specific item is selected

    Hi all,
    Apologies if I have posted this in the wrong area but I am new to Adobe LiveCycle, JavaScript and these forums.
    I am trying to build an Acrobat form using LiveCycle but am having trouble with the drop down lists.
    Inititaly I simply wanted to populate fields in one table based on the selection of a corresponding drop down list in another table.
    I used the following code and it worked fine:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*].Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[*].Row4.Cell1");
    for (var i=0; i <= fFrom.length-1; i++) {
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
    The problem is that now I want the above code to work UNLESS one of the items in the dropdown list is specifically selected in which case I want the text box in the other table to display a message such as "Enter details in the field below".
    I have tried to create an If Else statement using the following code:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*].Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[*].Row4.Cell1"); 
    for (var i=0; i <= fFrom.length-1; i++) {
         if (fFrom.item(i).rawvalue = "Option 3"){
         fTo.item(i).rawValue = "Enter details in the field below";
         else {
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
    The code now populates the field with "Enter the details in the field below" no matter what item I select from the dropdown list.
    Your help is greatly appreciated.
    Cheers,
    ozzy_q

    Follow Up:
    Ok so ive changed things up a bit and have had some more success.
    I have used a Switch statement in my For loop to perform different actions based on the item selected.
    The code looks like this:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*] .Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[* ].Row4.Cell1");
    for (var i=0; i <= fFrom.length-1; i++) {
         switch (fFrom.item(i).rawValue)
         case "Option 3":
         fTo.item(i).rawValue = "Enter the details in the field below";
         break;
         default:
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
         break;
    This code solves my problem but has thrown up a new issue:
    When i select Option 1 or 2 from the dropdown list  the change in the text field is instantaneous, however if I select Option 3 it wont appear in the text field until I either select Option 3 a second time or select another item. Its as if the text field is a selction behind what I have enterd in the dropdown list.
    Any thoughts?

  • Dynamic table with dynamic drop-down list values

    Hi,
    I need to display a dynamic table with 2 columns on an interactive form.
    My Context is defined as below:
    Root
    StudentData     0..n
    StudentName
    StudentCourses     0..n
    Text
    Value
    The 1st column should display student name, 2nd column should display student courses. The courses will be different for each student. I populated the context properly. I checked it by printing them. My DDL is bound to "Student Courses".
    When there is one row -> The DDL is populated with the courses of student 1 (as there is only one).
    When there are more rows -> The DDLs for all the students are populated with all the courses of all the students.
    I want to see the data populated like:
    TEXTFIELD    DROP-DOWN LIST
    Student 1------Student1-Course1
    Student1-Course2
    Student1-Course3
    Student 2------Student2-Course1
    Student2-Course2
    Student2-Course3
    I tried to do this in plain web dynpro using SVS.. it is also working similarly.
    I have set the singleton property of nodes "StudentData" and "StudentCourses" to false.
    Could any one tell me where I am going wrong?
    Thanks
    Ram

    Ram,
    I'm not sure how much this will help, but I know I had the same problem as you when I tried to get a similar thing working, but I can't remember which of the many changes I made fixed the problem, so I'll just show you my code and perhaps you can see if anything is different than yours.
    Here's where I'm creating my dropdown - in my case EastNew_RegOut is the same as your StudentData, and RateTypeDropValues is the same as your StudentCourses (the comments in the code are not meant to sound bossy to you, this is actually an example piece of code that other developers in my company "steal", so I have to put very specific instructions in there!):
    int nodeSize = wdContext.nodeEastNew_RegOut().size();
    for (int i = 0; i < nodeSize; i++) {
         //create an element called "table", that's the element at i.  So, basically it's a row.  Maybe I should have
         //called it "row" instead of table.
         IPublicDeviceExchange.IEastNew_RegOutElement table = (IPublicDeviceExchange.IEastNew_RegOutElement)wdContext.nodeEastNew_RegOut().getElementAt(i);
         //this line of code just executes an rfc that finds out what rates need to be in the dropdown for this particular row
         executeRateTypeDropdown(rateCategory, table.getNum(), wdContext.currentEastNew_MeterOutElement().getReggrp());
         //clear out what's already in there before we re-populate it.
         table.nodeRateTypeDropValues().invalidate();
         //now, I'm looping through all the values in the *actual* rate type dropdown (the one that's an RFC, populated by the above "execute" method)
         for (int j = 0; j < wdContext.nodeEastRatetype_DropdownOut().size(); j++) {
              //for each element in the *actual* Rate type dropdown, I'm going to create an element in my node that I created
              //and set the values from the *actual* one as the values in my node.
                        IPublicDeviceExchange.IRateTypeDropValuesElement element = wdContext.createRateTypeDropValuesElement();
              IPublicDeviceExchange.IEastRatetype_DropdownOutElement rateTypeOut = (IPublicDeviceExchange.IEastRatetype_DropdownOutElement)wdContext.nodeEastRatetype_DropdownOut().getElementAt(j);
              element.setText(rateTypeOut.getText());
              element.setValue(rateTypeOut.getRatetype());
              //here's another key - notice how I don't say wdContext.nodeRateTypeDropValues() - it's the one that's
              //directly off that table I created earlier - the thing that's essentially a row in my newReg table.
              //So, what I'm doing here is adding that new element I created to the dropdown FOR THAT ROW!               
              //(btw, if you're trying to duplicate this, and this method does not exist for your "table" object, it's
              //probably because you didn't listen to me above and you didn't create your node with the singleton property
              //set to false.)
              table.nodeRateTypeDropValues().addElement(element);
    As for my layout... my table is bound to the EastNew_RegOut node, and the column with the dropdown is bound to RateTypeDropValues.Value  (that's probably obvious, but there you have it anyway)
    Finally, in my context, EastNew_RegOut is singleton = true (I was surprised about this, actually, I would have assumed it was false) with a selection of 0..1 and RateTypeDropValues has singleton set to false with a selection of 0..1
    I hope that helps to some degree!
    Jennifer

Maybe you are looking for

  • Problem with table in Adobe Form in Web Dynpro JAVA??

    Hello all, I have an issue with the table displaying all the node values in the Adove Form. Right now it displays only the first element of the Node even if there are multiple entries. Not sure what is going wrong here. How is the table created in a

  • Creation of Flex Components Listening to a Custom Flex Event

    Hi, I would like to create a component in Flex which will always listen to a Cutom Event. Say, I create an event named "MyEvent" in Flex. I associate this event toa custom component, say MyComponent (extends Button). When ever this even is triggered

  • How to call parent procedure in child type?

    i have two types,A and B. B inherits from A and overrides a procedure 'prints', then how call A's prints method in B? following is codes: create or replace type A as object ( rowsID integer; member procedure printRowsID create or replace type body A

  • Issue with script design

    HI expert can we design a box in sap-script where the vertical lines inside the box are not continious i.e discrete .

  • Avoid reduncy in PFCG.

    Hi All, I am working as Sap Security Consultant. Can any one please guide me how to reduce / avoid Redundency in PFCG, so that same roles are not assigned to the users. Best regards, Shashi.