Auto-Submit On Change in DropDown List not working properly!

Hi all,
I�ve got a problem with a drop down list an a table with some rows on my page. The property "Auto-Submit on Change" is set for the drop down because the valueChange-method has to do some work when the user selects another value from the drop down.
The problem is that after selecting another item from the drop down, the table fields don�t keep their values, which I had entered before I selected another item in the drop down. But: When I select an item again, suddenly exactly these values are set.
Here my code:
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{Page1.page1}" id="page1">
<ui:html binding="#{Page1.html1}" id="html1">
<ui:head binding="#{Page1.head1}" id="head1">
<ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
</ui:head>
<ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{Page1.form1}" id="form1">
<ui:table binding="#{Page1.table1}" id="table1" style="height: 488px; left: 24px; top: 120px; position: absolute; width: 1376px"
title="Table" width="1376">
<ui:tableRowGroup binding="#{Page1.tableRowGroup1}" id="tableRowGroup1" rows="10" sourceData="#{SessionBean1.columnProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{Page1.tableColumn1}" headerText="field1" id="tableColumn1" sort="field1">
<ui:textField binding="#{Page1.textField1}" id="textField1" text="#{currentRow.value['field1']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{Page1.tableColumn2}" headerText="field2" id="tableColumn2" sort="field2">
<ui:textField binding="#{Page1.textField2}" id="textField2" text="#{currentRow.value['field2']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{Page1.tableColumn3}" headerText="field3" id="tableColumn3" sort="field3">
<ui:textField binding="#{Page1.textField3}" id="textField3" text="#{currentRow.value['field3']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{Page1.tableColumn4}" headerText="field4" id="tableColumn4" sort="field4">
<ui:textField binding="#{Page1.textField4}" id="textField4" text="#{currentRow.value['field4']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{Page1.tableColumn5}" headerText="field5" id="tableColumn5" sort="field5">
<ui:textField binding="#{Page1.textField5}" id="textField5" text="#{currentRow.value['field5']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{Page1.tableColumn6}" headerText="field6" id="tableColumn6" sort="field6">
<ui:textField binding="#{Page1.textField6}" id="textField6" text="#{currentRow.value['field6']}"/>
</ui:tableColumn>
</ui:tableRowGroup>
</ui:table>
<ui:dropDown binding="#{Page1.dropDown1}" id="dropDown1" items="#{Page1.dropDown1DefaultOptions.options}"
onChange="common_timeoutSubmitForm(this.form, 'dropDown1');"
style="position: absolute; left: 48px; top: 24px; width: 240px; height: 24px" valueChangeListener="#{Page1.dropDown1_processValueChange}"/>
</ui:form>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>
and the code of the valueChange-Method:
public void dropDown1_processValueChange(ValueChangeEvent event) {
getSessionBean1().getColumnProvider().commitChanges();
List positions = getSessionBean1().getColumnProvider().getColumnList();
Is there some explanation for this behavior or it�s really a bug in the way how the drop down is submitting the form? I would understand it when commitChanges is not working here because of auto submit on change (==immediate?). but once it works und once it doesn�t work!

Hi There,
Not sure what you mean. Have you tried Netbeans 6 yet. Do you see same behaviour in it as well?
This might be of help to you
http://www.netbeans.org/kb/55/dropdowncomp.html
Thanks
K

Similar Messages

  • Auto-Brightness on iPad mini Retina is not working properly.

    Hello! Noticed that the Auto-Brightness on iPad mini Retina is not working properly.
    It works correctly only when such a dark place, then unlock the iPad brightness will be at a minimum. Likewise, if unlock iPad in a room with light, the brightness will adjust to the surrounding space.
    If I turn light into a dark room, the brightness slider does not move, and stands on the site. Checked on the iPhone 5S, there problems are not present. Auto Brightness is working correctly.
    P.S. Sorry for my bad english!

    Godly19 wrote:
    iPad audio output does not work, except for on Siri. The mute button is not on, and the volume buttons have no effect/ don't work (unless Siri is open). I have reset the iPad, tried iOS7 and iOS8 resets, which didn't help.
    iOS 8 isn't even out yet. If you are running iOS 8, I assume you are a developer and if you are, you are in the wrong forum to try to get help. If you are not a developer and you're running iOS 8, maybe that's why you are having problems on the iPad.
    The audio output mostly works when headphones are out in, but has a tendency to cut out from time to time. Without headphones, Audio might start working again briefly from time to time, but most the time it doesn't.  Any ideas on what is wrong with it and how to fix it?
    The type that I made bold doesn't make sense. Is this a typo and you mean that " headphones are not in"?
    I did take it to an Apple Store, but the inncorrectly insisted that my speaker was bust and it would cost £250 to replace the whole iPad!
    And you know they are incorrect because you get sound here and there from time to time? That fact doesn't prove that something isn't working correctly inside. You could very well have a bad connection inside the device causing this, but somehow you seem to know that's not the case.

  • Contact List not working properly

    Today, my iPad 2 contact list stopped working properly. It opens but does not remain open. It stays open for one or two seconds and then closes. No opportunity to add/delete contacts. Anyone seen this before? I've never had a problem. Any hints or tips are appreciated. Thanks.

    You did restore your iPad from that backup that was taken just prior to upgrading to iOS 5, right?
    All apps and settings are included inthe backup.

  • Combobox or Dropdown list not working in AIR 2.7 for Mobile Applications

    Hey,
    I want to use combobox or a dropdown list in my app for Mobile.It is coming properly on the screen.but when I try to select the thing from the list it doesnt gets clicked and the new value is not getting displayed on the dropdown.
    Previously I was using older version of AIR.but now am using AIR 2.7.
    So is AIR 2.7 creating a problem???
    Thanks in advance.
    Ronak Shah

    ComboBox and DropDownList don't work on mobile devices.  It has to do with the differences between touch interfaces and mouse interfaces.  You'd have to extend / modify the components a bit and I would recommend creating custom skins optimized for mobile devices.
    Or you can just use the ones I already optimized:  https://www.flextras.com/index.cfm?event=ProductHome&productID=21

  • Binding gateway service with List not working properly with expand

    Hi all,
    We have an orderlist with details, we use the splitapp for it, it's working nicely with a gatewayservice. We have now added with expand 2 orderpartners. I see the 2 partners, only is it completly the same data. I checked the oData structure and I see indeed that the 2 partners are the same. This is weird, because when I execute the service, via my browser, I see 2 different partners.
    If I execute the service directly via the read function, I see in the oData that I also have 2 different partners. So my conclusion is that the direct read of the service is working and executing the service via the sap.m.List is not working with the expand.
    Now my question is, does somebody know what's going wrong here, or is it a bug in the sap.m.List? Below you find code snippets how I call the service.
    This call is working:
    oModel.read("/OrderListSet", null, ["$orderby=BegTstmp asc&$filter=Userid eq 'user' and DateFrom eq datetime'2014-04-20T00:00:00' and DateTo eq datetime'2014-04-27T00:00:00'&$expand=OrderPartners"], null, function(oData, oResponse){  
      }, null );
    The binding via the sap.m.list is:
    var oList = new sap.m.List("orderList", {
      mode: "{device>/listMode}",
                items: {
            path: "/OrderListSet",
               parameters: {expand: "OrderPartners"},
            template : new sap.m.StandardListItem({
            title: {
                   parts: [
                           {path: "BegTstmp", type: new sap.ui.model.type.DateTime({pattern: "H:mm"})},
                           {path: "DataCol2"}
                   formatter : function(strDate, strDescription) { return strDate + " - " + strDescription; }
            description: {
            parts: [
                          "DataCol3",
                          "DataCol4",
                          "DataCol5",
                          "DataCol6"
            type: sap.m.ListType.Navigation,
            icon: "{icon}",
            customData: [
            new sap.ui.core.CustomData({
            key: "orderId",
            value: "{Orderid}"
            new sap.ui.core.CustomData({
            key: "type",
            value: "{Type}"
            // Sort the list on date and group the list on day
                   sorter: new sap.ui.model.Sorter("BegTstmp", false, oGrouper),
                   // Filter the list, this directly refrenced to the gatewayservice
            filters: [
                     util.Filter.getUserId(),
                     util.Filter.getCurrentWeekFromFilter(),
                     util.Filter.getCurrentWeekToFilter(),

    Fine. If you're trying to bind any attributes of OrderPartners, bind it as OrderPartners/attribute-name. Say if "BegTstmp" an attribute of OrderPartners bind it as OrderPartners/BegTstmp.
    Regards
    Sakthivel

  • PSE 8: "Auto-analysis" and change of tag icon not working

    Hi, in the organizer of PSE8/Win i have two problems:
    I select some thumbnails and use "auto analyze" (for quality level etc.). Then i get a status bar "auto analyzing starts" - and it never gets beyond that stage. I have to click "cancel" to get out. That's also true with one single image selected.
    The icons for tags like "Mary" automatically get a small picture. It is possible to change this tag picture after right-clicking. But then, the button "Edit symbol" is greyed out.
    The menu for sorting by date in ascending/descending order doesn't change anything (i always see oldest pictures first).
    There's lot of available hard disk in Elements' drive, but only 800 MB on the C: drive. I changed NONE of Elements preferences.  When i change preference to "auto analyze on organizer's start-up", it still doesn't work. In the task manager, i do NOT see a task like "PhotoshopElementsAutoAnalyzer.exe" or so. I believe i saw this task in a slightly earlier version where everything worked fine. The problem exists with old catalogs as well as with newly created catalogs. Re-starts and re-booting didn't help either. I have perfectly normal camera JPEGS - and the face recognition works fine. It seems that the sub-application "PhotoshopElementsAutoAnalyzer.exe (?)" misses - could you advise me which file to look for?
    Btw, i have Win XP SP2 with 4 GB memory on a non-English system with appropriate non-English PSE8 retail version. Premiere Elements 8 is installed too.
    I would like to try "auto analyzing" and i would like to change tag icon pictures. Of course i could re-install, but that's just so tedious and i don't know if it helps. Would you have any other ideas? Thanks a lot!

    Barbara, John,
    thanks again for your considerations! After some more testing and input from the PrE 8 forum, i can say the following:
    - Ascending/descending order: Now i know: If you have only pictures of one single day, there is no change in thumbnail order when you switch from "ascending" to "descending" and back. Of course pics from morning and evening should change position, but they don't. BUT: If you add one pic from another day, switching from "ascending" to "descending" suddenly fully works - including pics taken on one same day changing position. (To test Organizer, auto analysis and face recognition under fast clear conditions, i had originally only 20 pics in the catalog, all from one family day trip. And there, i couldn't change the order.)
    - I checked "auto analyze" again. Now i can say: When i start "auto analyze" manually, i see "ElementsAutoAnalyzer.exe" for half a second in the task manager. Then it disappears, and on the Organizer screens, the status bar keeps claiming "Starting analysis" until i click "Cancel". I ONLY tried it on regular JPEGs so far. There is no way to get a "smart tag". If i try a second time, no more "ElementsAutoAnalyzer.exe" appears in the task manager. I also switched users on my PC to a user which has no utilities whatsoever running, less than 10 processes in the task manager, turned off anti-virus - still the same problem with "auto analyze".
    - The face recognition tags btw are not written into the image file as IPTC, that has to be done with the "File" menu command. Also if i drag "smart tags" like "low quality" manually over a thumbnail, they get assigned only via catalog, not written as IPTC straight into the image file.
    I don't think it's worth wasting more of one's time before there is a bugfix delivered that expressively acknowledges the issues mentioned. I am not a computer geek, just like to play with pictures and videos; i thought Elements was made for people like that.
    Thanks again for your input!

  • java.io.File instance .list() not working properly

    i want to get the file, folders in any directory, so i used the File.list() method.
    but it is working in a peculiar manner. first see my simplified code, where the problem i am having::
    public class FileChildTest {
         public static void main(String[] args) {
              try{
                   String[] s=new java.io.File(args[0]).list();
                   for (int i = 0; i<s.length; i++){
                        System.out.println (s);
              catch(java.lang.Exception ex){
    now, say i saved it in c:\MyJava directory. now when i run it with cmd line argument c: in stead of listing the file/folders in c: drive it lists the file/folders of c:\MyJava directory. in any other case its working fine.
    now if i save the file in d:\MyJava\src. again it gives same problem when CLA is d: , but working fine for any other arg.
    now xplain me why is this happening. do i have any fault or what?
    and whats the solution.
    can ne1 pls.

    to b more scecific, in the 2nd case it lists the files/folders of d:\MyJava\src folder.

  • My APPLE ID is NOT working properly. I am frustrated beyond belief I have tried time and time again to change my apple ID and it keeps reverting back to my original ID!! I even set up a new email to try to submit a new id and it still does not work

    My APPLE ID is NOT working properly. I am frustrated beyond belief I have tried time and time again to change my apple ID and it keeps reverting back to my original ID!! I even set up a new email to try to submit a new id and it still does not work

    To change your Apple ID, follow these steps:
    Go to My Apple ID (appleid.apple.com), click "Manage your Apple ID", and sign in.
    If you have two-step verification turned on, you'll be asked to send a verification code to the trusted device associated with your Apple ID. If you are unable to receive messages at your trusted device, follow the guidelines for what to do if you can't sign in with two-step verification.
    In the "Apple ID and Primary Email Address section," click Edit.
    Enter the email address you want to use, then  click Save Changes. Apple will send a verification email to that  address.
    Open the  email  from Apple, then click Verify Now in the email.
    When the My Apple ID page opens, sign in with your renamed Apple ID.
    If you have two-step verification turned on, you'll be asked to send a verification code to the trusted device associated with your Apple ID.
    After you see a message indicating that verification is complete, remember to update all of the stores and services that you use with your  Apple ID.

  • My newly changed apple password is not working on my MacBook to help me change my password to log on?

    I just need help changing my password on my MacBook to log in. But my log in password and newly changed apple password are not working. Can I reset it or change the password another way or get a list of past password to try if those might be what the Mac thinks is my password still?

    You can reset it.
    For Snow Leopard and previous.
    http://support.apple.com/kb/ht1274
    For Lion and later.
    https://discussions.apple.com/docs/DOC-4101

  • [svn:fx-trunk] 5445: Fix for - @ copy tag for two methods with different arg lists not working.

    Revision: 5445
    Author: [email protected]
    Date: 2009-03-19 17:47:57 -0700 (Thu, 19 Mar 2009)
    Log Message:
    Fix for - @copy tag for two methods with different arg lists not working.
    Some changes for refactoring.
    QE Notes: None.
    Doc Notes: None.
    Bugs: SDK-19975
    tests: checkintests, asdoc
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19975
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    Revision: 5445
    Author: [email protected]
    Date: 2009-03-19 17:47:57 -0700 (Thu, 19 Mar 2009)
    Log Message:
    Fix for - @copy tag for two methods with different arg lists not working.
    Some changes for refactoring.
    QE Notes: None.
    Doc Notes: None.
    Bugs: SDK-19975
    tests: checkintests, asdoc
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19975
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

  • FireFox auto updated to 6.0 this weekend and has not worked properly since. I have uninstalled and reinstalled. Made sure all windows componets were up to date and still no joy. Any idea? Windows 7, 64 bit, normal configfuration. It is extreamly slow.

    FireFox auto updated to 6.0 this weekend and has not worked properly since. I have uninstalled and reinstalled. Made sure all windows componets were up to date and still no joy. Any idea? Windows 7, 64 bit, normal configfuration. It is extreamly slow and never finishes loading ANY page.

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • Cascading Select Lists - Not Working for me

    I am trying to implement Denes Kubicek's Ajax Cascading Select List solution.
    http://apex.oracle.com/pls/otn/f?p=31517:119
    But it is not working for me.
    I'm a newbie to APEX and checked the forum for advice on cascading select lists. I saw the thread for
    "Cascading Select Lists - Not Working" posted by sue and the replies by Varad Acharya, but I'm still
    having issues of not seeing the alerts, not able to run the pl/sql process in SQL Workshop, and not
    getting the expected results.
    I have a list of countries (US - USA, CA - CANADA, etc.) and a list of states for each country. When a
    user selects a country I would like to show the list of states within that country.
    This is what I've done so far:
    Defined an application process:
    Process Point: On Demand: Run ... by a page process.
    Name: CASCADING_SELECT_LIST1
    Process Text:
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<select>');
    HTP.prn ('<option value="' || 99 || '">' || '- All States -'
    || '</option>'
    FOR c IN (SELECT state_code || ' - ' || state_desc d, state_code r
    FROM tbk_state
    WHERE country_code = :cascading_selectlist_item_1)
    LOOP
    HTP.prn ('<option value="' || c.r || '">' || c.d || '</option>');
    END LOOP;
    HTP.prn ('</select>');
    END;
    defined and application item:
    Name: CASCADING_SELECTLIST_ITEM_1
    Build Option: - No Build Option -
    Created a 'Form on a table with report' as follows:
    Page 5: Report on TBK_HARDWARE_LOCATION
    Page 6: Form on TBK_HARDWARE_LOCATION
    in HTML Header of the page attributes for 'Form on TBK_HARDWARE_LOCATION' I have:
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    //-->
    </script>
    <script>
    function get_select_list_xml1(pThis,pSelect){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    alert ('Dept no=' + pThis.value);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
    get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
    gReturn = get.get('XML');
    // gReturn = get.get();
    alert('Enames=' + gReturn);
    if(gReturn && l_Select){
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for(var i=0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue)
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>
    On Page 6: 'Form on TBK_HARDWARE_LOCATION' I have the following items (plus some others):
    Name: P6_COUNTRY_CODE
    Display as: Select List
    HTML Form Element Attributes: onchange="get_select_list_xml1(this,'P6_STATE_CODE');"
    Source Used: Only when current value in session state is null
    Source Type: Database Column
    maintain session state: Per session
    Source value or expression: COUNTRY_CODE
    Named LOV: LIST OF COUNTRIES
    Name: P6_STATE_CODE
    Display as: Select List
    Source Used: Only when current value in session state is null
    Source Type: Database Column
    maintain session state: Per session
    Source value or expression: STATE_CODE
    Named LOV: - Select named LOV -
    List of Values definition:
         select state_code || ' - ' || state_desc d, state_code r
         from tbk_state
         where country_code = :P6_COUNTRY_CODE
         order by 1
    LIST OF COUNTRIES is defined as:
    select country_code || ' - ' || country_desc d, country_code r
    from tbk_country
    order by 1
    Now to the problem:
    I run page 5 (the report) to see the list of locations and then I try to edit a record (page 6). When I
    try to select a different country I get the following error (on IE):
    "Problems with this web page might prevent it from being displayed properly or functioning properly.
    In the future, you can display this message by double-clicking the warning icon displayed in the status
    bar.
    Line: 17
    Char: 5
    Error: Object expected
    Code: 0
    URL: http//cmrac4.cm.timeinc.com:7777/pls/htmldb/f?
    p=114:6:1413254636072443110::::P6_HARDWARE_LOCATION_ID:2
    I don't see any of the alert messages.
    I also tried to run the application process code in the SQL - Command Processor (I replaced
    :cascading_selectlist_item_1 with 'CA' or 'US') and got the following:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
    button, or try again later.
    Only one top level element is allowed in an XML document. Error processing resource
    'http://cmrac4.cm.timeinc.com:7777/pls/...
    <select><option value="99">- All States -</option><option value="X1">X1 - X1</option><optio...
    Can someone help me please?

    Varad,
    First, thank you for taking the time to try to help me with this problem.
    When I view the page's source code (here are the first few lines):
    <html lang="en-us">
    <head>
    <script src="/i/javascript/core.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/i/css/core.css" type="text/css" />
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='Would you like to perform this delete action?';
    //-->
    </script>
    <script>
    function get_select_list_xml1(pThis,pSelect){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    //alert ('Dept no=' + pThis.value);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
    get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
    gReturn = get.get('XML');
    // gReturn = get.get();
    //alert('Enames=' + gReturn);
    if(gReturn && l_Select){
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for(var i=0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue);
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>
    It looks like line 17 is:
    var l_Select = html_GetElement(pSelect);
    I'm still not sure why I'm getting this error and why it's not working?
    Thanks,
    Eti

  • Pick List Value Not Working Properly

    Hi Oracle Framework Gurus,
    I have a strange Issue in which one of my cusom page is working properly in Jdev and not working Properly when deployed in the apps instance.
    There are two custom pages with the same VO.
    What I do is have a picklist from one of the custom page and depending on the value of the picklist and I navigate to the other custom page.
    This is working properly in the JDev,But for some reasons it works properly in apps instance, when I try to run the first time(ie) when I run page A and pick 'X' from the picklist the Page 'B' is coming properly as per the controller code and when i pick 'Y' from the picklist in Page B, it is navigating to Page A as per the controller code.
    This works fine for the first time,But when i again select 'X' from the picklist the proper value from the Picklist is not getting selected and passed to the custom package and so I get wrong values in Page 'B'
    What could be the reason for it as it working fine in Jdev,I can navigate from Page A to Page B and Page B to Page A as many times possible.

    Hi Anand,
    Controller1 :
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    //int intPersonId = pageContext.getEmployeeId();
    int intPersonId; // = pageContext.getEmployeeId();
    String strPersonId = Integer.toString(277671);
    //String strPersonId = Integer.toString(intPersonId);
    java.util.Date sysdate = pageContext.getCurrentUserDate();
    String convSysDate = pageContext.getOANLSServices().dateToString(sysdate);
    // Date testdate = (Date)sysdate.dateValue();
    // get the Application Module
    OAApplicationModule oaAM = pageContext.getApplicationModule(webBean);
    Serializable parameters[] = { strPersonId,convSysDate };
    Serializable param[] = { strPersonId };
    System.out.println("The Sysdate PF "+convSysDate);
    //pass parameters to Application Module
    oaAM.invokeMethod("insertLovRow", param);
    if ((String)pageContext.getSessionValue("PFlag1") != null)
    String PFlag1 =(String)pageContext.getSessionValue("PFlag1");
    String SDate1 =(String)pageContext.getSessionValue("SDateSession1");
    Serializable param1[] = { SDate1 };
    oaAM.invokeMethod("insertLovRow", param);
    oaAM.invokeMethod("initEmpLovQuery1",param1);
    oaAM.invokeMethod("initEmpTransLovQuery1");
    OAMessageChoiceBean orgMesgChoiceBean = (OAMessageChoiceBean)webBean.findChildRecursive("Year");
    orgMesgChoiceBean.setPickListViewObjectDefinitionName("EmployeeTest.oracle.apps.per.server.EmpTransDateLov");
    orgMesgChoiceBean.setListValueAttribute("StartDate");
    orgMesgChoiceBean.setListDisplayAttribute("DateRange" );
    orgMesgChoiceBean.setPickListCacheEnabled(false);
    else
    oaAM.invokeMethod("insertRow", parameters);
    oaAM.invokeMethod("initQuery", param);
    oaAM.invokeMethod("execQuery");
    oaAM.invokeMethod("totexecQuery");
    OAMessageChoiceBean orgMesgChoiceBean = (OAMessageChoiceBean)webBean.findChildRecursive("Year");
    orgMesgChoiceBean.setPickListViewObjectDefinitionName("EmployeeTest.oracle.apps.per.server.EmployeeDateLovVO");
    orgMesgChoiceBean.setListValueAttribute("StartDate");
    orgMesgChoiceBean.setListDisplayAttribute("DateRange" );
    orgMesgChoiceBean.setPickListCacheEnabled(false);
    oaAM.invokeMethod("initEmpLovQuery");
    OAViewObject oaviewobject1 =(OAViewObject)oaAM.findViewObject("EmployeeUtilVO1");
    oaviewobject1.reset();
    if (oaviewobject1 != null)
    do
    if(!oaviewobject1.hasNext())
    break;
    oaviewobject1.next();
    OARow row = (OARow)oaviewobject1.getCurrentRow();
    String fullName = (String)row.getAttribute("EmpDep");
    System.out.println("The Name is "+fullName);
    } while(true);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    //int intPersonId = pageContext.getEmployeeId();
    //String strPersonId = Integer.toString(intPersonId);
    int intPersonId; // = pageContext.getEmployeeId();
    String strPersonId = Integer.toString(277671);
    OAApplicationModule oaAM = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("ViewDetails") != null)
    pageContext.putSessionValue("strPersonId", strPersonId);
    pageContext.setForwardURL("OA.jsp?page=/EmployeeTest/oracle/apps/per/webui/EmployeePanelIB",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // Show breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);
    System.out.println("strPersonId "+strPersonId);
    String strEvent= pageContext.getParameter(EVENT_PARAM) ;
    if ( strEvent.equals("update"))
    OAMessageChoiceBean DepStatus1 = (OAMessageChoiceBean) webBean.findIndexedChildRecursive("Year");
    String sDate = DepStatus1.getSelectionValue(pageContext);
    //String sDate = DepStatus1.getValue(pageContext).toString();
    //Serializable parameters[] = { strPersonId,sDate };
    Serializable parameters[] = { strPersonId,sDate };
    Serializable param[] = { strPersonId };
    System.out.println("The PersonId "+strPersonId);
    System.out.println("The Controller Date passed is IBUtil "+sDate);
    oaAM.invokeMethod("insertRow", parameters);
    oaAM.invokeMethod("initQuery", param);
    oaAM.invokeMethod("execQuery");
    String flag = "1";
    //pageContext.putSessionValue("strPersonId", strPersonId);
    pageContext.putSessionValue("PFlag", flag);
    pageContext.putSessionValue("SDateSession", sDate);
    pageContext.setForwardURL("OA.jsp?page=/EmployeeTest/oracle/apps/per/webui/EmpTestPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // Show breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);
    Controller 2:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    //int intPersonId = pageContext.getEmployeeId();
    int intPersonId; // = pageContext.getEmployeeId();
    String strPersonId = Integer.toString(277671);
    //String strPersonId = Integer.toString(intPersonId);
    java.util.Date sysdate = pageContext.getCurrentUserDate();
    String convSysDate = pageContext.getOANLSServices().dateToString(sysdate);
    // get the Application Module
    OAApplicationModule oaAM = pageContext.getApplicationModule(webBean);
    Serializable parameters[] = { strPersonId,convSysDate };
    Serializable param[] = { strPersonId };
    System.out.println("The Sysdate PF "+convSysDate);
    //pass parameters to Application Module
    oaAM.invokeMethod("insertLovRow", param);
    if ((String)pageContext.getSessionValue("PFlag") != null)
    String PFlag1 =(String)pageContext.getSessionValue("PFlag");
    String SDate1 =(String)pageContext.getSessionValue("SDateSession");
    Serializable param2[] = { strPersonId, SDate1 };
    Serializable param1[] = { SDate1 };
    oaAM.invokeMethod("insertLovRow", param);
    oaAM.invokeMethod("initEmpLovQuery1",param1);
    oaAM.invokeMethod("initEmpTransLovQuery1");
    OAMessageChoiceBean orgMesgChoiceBean = (OAMessageChoiceBean)webBean.findChildRecursive("Year");
    orgMesgChoiceBean.setPickListViewObjectDefinitionName("EmployeeTest.oracle.apps.per.server.EmpTransDateLov");
    orgMesgChoiceBean.setListValueAttribute("StartDate");
    orgMesgChoiceBean.setListDisplayAttribute("DateRange" );
    orgMesgChoiceBean.setPickListCacheEnabled(false);
    else
    oaAM.invokeMethod("insertRow", parameters);
    oaAM.invokeMethod("initQuery", param);
    oaAM.invokeMethod("execQuery");
    oaAM.invokeMethod("totexecQuery");
    OAMessageChoiceBean orgMesgChoiceBean = (OAMessageChoiceBean)webBean.findChildRecursive("Year");
    orgMesgChoiceBean.setPickListViewObjectDefinitionName("EmployeeTest.oracle.apps.per.server.EmployeeDateLovVO");
    orgMesgChoiceBean.setListValueAttribute("StartDate");
    orgMesgChoiceBean.setListDisplayAttribute("DateRange" );
    orgMesgChoiceBean.setPickListCacheEnabled(false);
    oaAM.invokeMethod("initEmpLovQuery");
    OAViewObject oaviewobject1 =(OAViewObject)oaAM.findViewObject("EmployeeUtilVO1");
    oaviewobject1.reset();
    if (oaviewobject1 != null)
    do
    if(!oaviewobject1.hasNext())
    break;
    oaviewobject1.next();
    OARow row = (OARow)oaviewobject1.getCurrentRow();
    String fullName = (String)row.getAttribute("EmpDep");
    System.out.println("The Name is "+fullName);
    } while(true);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule oaAM = pageContext.getApplicationModule(webBean);
    //int intPersonId = pageContext.getEmployeeId();
    //String strPersonId = Integer.toString(intPersonId);
    int intPersonId; // = pageContext.getEmployeeId();
    String strPersonId = Integer.toString(277671);
    if (pageContext.getParameter("ViewDetails") != null)
    pageContext.setForwardURL("OA.jsp?page=/EmployeeTest/oracle/apps/per/webui/EmpPanelPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // Show breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);
    pageContext.putSessionValue("strPersonId", strPersonId);
    String strEvent= pageContext.getParameter(EVENT_PARAM) ;
    if ( strEvent.equals("update"))
    OAMessageChoiceBean DepStatus1 = (OAMessageChoiceBean) webBean.findIndexedChildRecursive("Year");
    String sDate = DepStatus1.getSelectionValue(pageContext);
    //String sDate = DepStatus1.getValue(pageContext).toString();
    Serializable parameters[] = { strPersonId,sDate };
    Serializable param[] = { strPersonId };
    System.out.println("The Controller Date passed is CBUtil "+sDate);
    System.out.println("The PersonId "+strPersonId);
    oaAM.invokeMethod("insertRow", parameters);
    oaAM.invokeMethod("initQuery", param);
    oaAM.invokeMethod("execQuery");
    String flag = "2";
    //pageContext.putSessionValue("strPersonId", strPersonId);
    pageContext.putSessionValue("PFlag1", flag);
    pageContext.putSessionValue("SDateSession1", sDate);
    pageContext.setForwardURL("OA.jsp?page=/EmployeeTest/oracle/apps/per/webui/EmpIBUtilPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // Show breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);
    Hi Above two are the controller codes forget the rest of the codes,Concentrate on the PFR code, Just want to know what I am doing is correct or not.
    First time when I select the Picklist value,the value gets passed as a parameter to the custom package and the page gets displayed properly and vice versa,But I am not able to do the same cycle again for some reasons.
    Please get back to me ASAP.
    Regards,
    Magesh.M.K.
    Edited by: user1393742 on Oct 19, 2010 11:58 PM

  • Illustrator tools dropdown is not working after the recent software update

    My Illustrator tools dropdown is not working after the recent software update. Any help would much appreciate.

    Same problem here.  I have a Mac with a recent Yosemite update.

  • My iphone battery is not working properly as compare to earlier after IOS 7 Update. should i change my battery and if yes then how much it costs in india?

    My iphone battery is not working properly as compare to earlier after IOS 7 update.
    Should i change my battery if yes then how much it will cost in india??

    Turning off things in settings, restoring as new phone, etc. everything I've seen on forums and CNet etc sites

Maybe you are looking for

  • Osx10.9 & final cut pro 7 & motion 4 question

    Mac now for the new version of osx10.9, like final cut pro 7 and motion 4 reactions are not os10.8.7 so smooth, motion 4 in os10.8.7 archiving project now osx10.9 Versions an open crashes   Would like to ask these questions can improve the look ~ Tha

  • Parallax and Polarization

    Thanks to Terri and Grant I have been following The Radiant Vista's wonderful Daily Critiques. The one for January 29 at http://www.radiantvista.com/dailyCritique/index.php speaks about parallax and polarization in this straight-on photo of a flat-fr

  • Enh. COPA0003 don't work when clicking button "profit. segment " of FB70

    Hi all, I would like to use the Enhancement COPA0003 to populate some characteristics in screen "Assignment to a profitability segment" of transaction FB70. I have activated this Enhancement, and i have put a break point in the function EXIT_SAPLKEAK

  • Can SQL developer  connect to Oracle 8i?

    Hi, guys: Is there any way that we can connect oracle 8i with SQl developer? We are rewriting a system with APEX 4.1 and PL/SQL on Oracle 11g R2. However, the legacy system was written in Oracle portal on Oracle 8i platform. We cannot connect SQL dev

  • Compression rate advice

    I need to export a compressed file from FCP, that runs at just over 1hr, to iDVD via iMOVIE. (I haven't got my head around DVD Studio Pro yet!) What is the advised compression rate for this transfer? I usually use DVD PAL but it's too big and require