LOV event issue

Hi,
We have a OAF page which has 2 LOVs. These LOVs are dependent i.e. 2nd LOV gets populated based on the value selected in the first LOV. We are seeing the below issue when we click on the 1st LOV
- In some instances (development, test), mouse pointer becomes hour-glass (busy) which is very useful to the end user. This is kind of a information message to the user that processing is not yet complete. He will wait till it becomes normal pointer before clicking on 2nd LOV. But in some of the instances (Production), mouse hour-glass is not visible so user is not aware that the 2nd LOV is not yet populated and he ends of selecting wrong value (because 2nd LOV has different value initially).
Is it way of showing mouse hour-glass when a event is being fired in OAF? Can this be controlled through OAF or is it system dependent? if it is system dependent, how can change this feature?
Any help on this would be of great help.
Thanks,
Shree

use bodyBean.setBlockOnEverySubmit() in PR
This will block the user input by showing a busy icon on every submit action..
Use javascript to show a busy icon.
Amar.

Similar Messages

  • Lov Event Issue..Urgent!!!

    Hi to all,
    I create a lov dynamically
    In processreq.
    OAMessageLovInputBean billtoaddbean[] = new OAMessageLovInputBean[100];
    billtoaddbean[t] =(OAMessageLovInputBean)createWebBean(pageContext, LOV_TEXT, null, AssoCmpnyCustBillToAdd);
    billtoaddbean[t].setAttributeValue(REGION_CODE,"webui/TrailCompanyPG");
    billtoaddbean[t].setLovRegion("/lov/webui/TrialBillToLovRN",0);
    billtoaddbean[t].setUnvalidated(false);
    and set the id like billtoaddbean[t].setID("AssoCmpnyCustBillToAddId"+t);
    billtoaddbean[t].addLovRelations(pageContext, AssoCmpnyCustBillToAdd,"Address",LOV_CRITERIA ,LOV_REQUIRED_NO);
    billtoaddbean[t].addLovRelations(pageContext,AssoCmpnyCustBillToAdd, "Address",LOV_RESULT,LOV_REQUIRED_NO);
    and in prcessformreq, I did the code below (Just check the event)
    if(pageContext.isLovEvent())
    value.append("In Lov Event --");
    System.out.println("IN LOV EVENT");
    if(lovInputSourceId.equals("AssoCmpnyCustBillToAddId"+i))
    System.out.println("In Asso Bill To Add Lov");
    after this when i clicked the this lov means.. the search and select window will not appear.
    Anything wrong way i did?
    How to check the lov event.
    Thanks in Advance
    Regards
    Senthur

    Hi
    pls modify your code according to following code to create the LOV ,
    OAMessageLovInputBean lovInput =(OAMessageLovInputBean)createWebBean(pageContext, LOV_TEXT, null,
    "inputTest");
    webBean.addIndexedChild(lovInput);
    // Specify the path to the base page.
    lovInput.setAttributeValue(REGION_CODE, "/my/oracle/apps/ak/employee/webui/TestEmpSearchPG");
    //lovInput.setAttributeValue(REGION_CODE, "/oracle/apps/dem/webui/Basic");
    // Specify the application id of the base page.
    lovInput.setAttributeValue(REGION_APPLICATION_ID, new Integer(20001));
    // Specify the LOV region definition.
    lovInput.setLovRegion("/my/oracle/apps/ak/lov/webui/EmployeesLovRN", 0);
    lovInput.setUnvalidated(false);
    lovInput.setPrompt("Manager ID");
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_RESULT, // direction
    LOV_REQUIRED_NO);
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "EmpNum", // lov item
    LOV_CRITERIA, // direction
    LOV_REQUIRED_NO);
    please let me know if any issue there
    thanx
    Pratap

  • Reg : Cross browser issue while handling LOV event on KeyFlexFeild

    Hi OA Gurus,
    We are encountering issues on R12.0.6, JDev 120Rup6.
    We have the following test case and code changes.
    Requirement:
    We have OA page where we have one KeyFlexFeild item and a normal LOV. Page items are part of one AM and LOV is in another AM.
    The requirement was to make LOV dependent on keyFlexfeild. Test case is mentioned as per following flow.
    1.     User changes cost center segment of Accounting Flex(Key flex) using Cost center LOV.
    2.     Another LOV in the same page should be dependent on new value of cost center as modified in step 1.
    Solution Implemented:
    Describing in the 3 steps
    1) Here the KeyFlexFeild is expense account. Whenever User changes any segment, we handle
    ‘lovValidate’ and ‘lovUpdate’ events on KeyFlexFeild in processFormRequest of controller.
    2) Retrieve the value of cost center segment using getSegmentsQualifiedBy(), Update corresponding VO attribute of the LOV query parameter.
    3) Forward the request to current page so that LOV will have modified value with updated query.
    4) Forwarding to current page is must because LOV is built with another AM and will loaded only when page is built.
    Issue:
    This works fine on internet explorer. When trying to run the same in Mozilla we have following issue
    1) User modifies one of the segments of expense account and make a tab – out
    2) Now the page refresh happens
    3) Now in the same page no other LOV or no other button works. He can’t click on any button for submit or cancel.
    LOVs will not open even after clicking on it.
    Code changes:
    //Step1 – Handle LOV events
    String source = pageContext.getParameter(SOURCE_PARAM);
    String eventType = pageContext.getParameter(EVENT_PARAM);
    if(source !=null && eventType != null) {
    if(source.startsWith("Acct") && eventType.equals("lovUpdate") || eventType.equals("lovValidate") ) {
    KeyFlexfield flex = (KeyFlexfield)lkff.getAttributeValue(OAWebBeanConstants.FLEXFIELD_REFERENCE);
    // Step -2 Updating the corresponding VO attribute for LOV to get the modified the value
    Segment[ ] segmentL = flex.getSegmentsQualifiedBy(FA_COST_CTR");
    CostCenterValue = segmentL[0].getValue().getValue();
    if(CostCenterValue != null ){
    sampleViewObject.getCurrentRow().setAttribute("ToCostCenter",CostCenterValue);
    OAFormValueBean formValueBean = (OAFormValueBean)webBean.findIndexedChildRecursive("ToCostCenter");
    if(formValueBean != null)
    formValueBean.setValue(pageContext, CostCenterValue);
    OAMessageLovInputBean formValueBean1 = (OAMessageLovInputBean)webBean.findIndexedChildRecursive("ReceivingApprover");
    if(formValueBean1 != null)
    formValueBean1.setValue(pageContext, null);
    else
    sampleViewObject.getCurrentRow().setAttribute("ToCostCenter",null);
    //Step 3 – Forward the request Current Page again
    pageContext.setForwardURLToCurrentPage(null, true, ADD_BREAD_CRUMB_YES, (byte)0);
    We have following questions.
    a)     Solution implemented by us is correct ? or we have to implement it in another way ?
    b)     Is OA version mentioned above supported on Mozilla browser version 3.x ? This issue is not occurring on Mozilla 1.x while running from JDev.
    Please let us know if any additional details required.
    Thanks for help in advance.
    Edited by: user774130 on Dec 15, 2009 2:27 AM

    Hi,
    It seems that you have not noticed that this forum is not for posting product-related questions/problems....
    So , this might be the correct forum....
    Java Server Pages (JSP)
    Sim

  • LOV Event Capturing

    Hi OAF Gurus,
    We have requirement to capture LOV events progammatically but on the way I am facing one issue while capturing LOV event.
    Actually lovValidate event works as per its functionality and it gets captured when user enter value into th efield and tabs out but lovPrepare event doesn't get captured when I clicked on a torch icon and same is what happening with lovUpdate means both these events doent gets captured.
    I have tried in many ways,also by setting Disable Validation Property:true and Use for Validation property:yes but stuck with same issue as before.
    Could you please help me on this issue..Its on priority,..
    Any pointers would be of great help.
    Thanks in Advance.

    Hi,
    lovPrepare fires only when you click on the torch button. It is responsible for passing row level variable to LOV popup page.
    Whereas when you (quick) select any value, lovValidate gets fired which is responsible for populating the variables from LOV page back to main page.
    When you type a valid value in the field, we dont need to send data from main page to LOV page so there is no need to fire lovPrepare. At the same time, since its a valid value, we need to get other columns values and populate them in other formValues/fields in the row. Hence lovValidate even is a must.
    What exactly is your requirement?
    May be u can try having a look into Controller file linked to LOV Page (if it is present)
    Thanks,
    Hrishikesh

  • Dependant LOV Execution issue

    Hi All,
    I have the following scenario
    Field 1 (Criteria Item for LOV)
    Field 2 (LOV Item it's self setup as criteria and return item)
    Field 3 (Return Item for LOV)
    Field 1 has to be populated. With the dependant criteria input from field 1 I want the query to execute automatically regardless of if data was entered to field 2 (effectively a blind query as regards field 2 i.e. as if I was entering % in field 2)
    The dev guide states that if no criteria is entered in the base lov field then no query is executed, this is not sufficient for my requirements. I need to default a wildcard into the field 2 value and make this transparent to the user.
    I have considered perhaps capturing the LOV event in the controller (Same place as I check that Field 1 is populated) and some how interact with the LOV and set its search criteria for field 1 to % if it is null, from the dev guide my first thought would be to capture the passivation items and do it their.
    Is this the right approach or is their an easier way?
    Thanks
    Keith

    Ok, no replies so I have been looking into this some more (not suprising given its a bank hol!)
    I have solved the programatic query problem, their is an error in the dev guide in that the example does not indicate that you need to set the where clause your self. I now do this in the controller, code below:
    In process request method of my LOV controller class
    //Get criteria Items for LOV
    Dictionary passiveCriteriaItems = pageContext.getLovCriteriaItems();
    String supporterNumber = (String)passiveCriteriaItems.get("PartyNumber");
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("QEPOrderListVO1");
    if (supporterNumber==null || "".equals(supporterNumber.trim()))
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,"0");
    throw new OAException("XX","XX_QEP_SUPPORT_BEFORE_ORDER");
    else
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,supporterNumber);
    This will ensure that the user cannot use the LOV unless they complete field1 and it will supply a user friendly error message rather than the default OAF error if you specify required as yes in the LOV mapping.
    Even though I have got hold of the VO instance that feed the LOV it is still not possible to force execution i.e. to ensure it displays all the values regardless of if partial/full values are entered in field2. Even if I do execute it the LOV still comes up with no search conducted and I have to put a wild card and click go before I can see the values.
    This is an annoying feature and a surprising one, I have done searches in the forum on this and it always seems to end the same "Cant be done". Any ideas would be appreciated.
    Keith

  • Problem in LOV event

    we are doing some customization to perform validations on LOV event.
    First we are calling the SuperForm request , then we are checking for the LOV event and calling one package for the validations.
    In first instance it works fine like: we opn the LOV and then select any value, it works fineas expected.
    The problem comes : when we are tring to again open the LOV by clicking on the LOV icon , the LOV region window is not opening.
    It is taking the previous value and calling the package again.
    Please suggest any solution for the same.

    I am performing the validation for 2 LOV`s Supplier and SupplierSite.
    SupplierSite LOV is dependent on supplier.
    //Call processFormRequest method of base class
    super.processFormRequest(pageContext, webBean);
    //declaring the lov object
    String strLovItemName1 = pageContext.getLovInputSourceId();
    //check for LOV click event
    if (strLovItemName1 != null && !strLovItemName1.equals("")) {
    //checking the Supplier Site LOV for any event
    if (strLovItemName1.equals("Supplier")) {
    //call the base class
    super.processFormRequest(pageContext, webBean);
    System.out.println("Supplier lov clicked ");
    // check if supplier id and org id is not null
    if (strSuppId != null && !("").equals(strSuppId) &&
    intOrgId != null && !intOrgId.equals("")) {
    //supplier site id is not null then convert it into integer
    ///****callin the package*****//////
    // call for the supplier site iD LOV
    else if (strLovItemName1.equals("SupplierSite")) {
    if (strSuppSiteId != null && !("").equals(strSuppSiteId) &&
    suppWebBean != null && !("").equals(suppWebBean) &&
    intOrgId != null && !intOrgId.equals("")) {
    /////**** calling the package***/////
    Please guide me .

  • Capture LOV Event on next page

    Hi all,
    I am doing few updates to the data base based on the value selected in the LOV. The updates should happen on click of save. I am not able to identify the LOV event after click on save as this redirects to new page. before the event of save i am able to use opagecontext.isLOVEvent method. If I am not able to identify, the updates will happen everytime.
    Please help.
    Thanks

    Hi,
    Please refer following thread.
    Addvanced Table
    About Your Code:
    *if (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM))){..*
    *if (pageContext.isLovEvent()) {...*
    At a time you can have Add row event or lov event so above condition you are trying to work with will never execute!! so check for separate if else blocks.
    Hope it helps.
    Regards,
    Swati

  • Standard Business Event issue in SOA.

    Hi,
    I created a subscription in SOA for the standard business event (*oracle.apps.jtf.cac.task.updateTask*) using Oracle Apps Adapter. When the event is fired in the Oracle EBusiness Suite, I am expecting SOA to capture the payload and create an instance. The instances are not created.
    This is the workaround I did to check if the events are firing or not.
    1. Whenever a standard business event is fired, we can see a record in WF_DEFERRED queue. In this case too, I am able to see the record.
    2. From WF_DEFERRED, the data should flow into WF_BPEL_Q. I am unable to see a record in this table in my case.
    Which mean the events are firing but SOA is unable to capture the events. I tried to raise a JAVA event in the Oracle EBusiness Suite's workflow manager and SOA was able to capture the payload and an instance was created in weblogic EM. But when I update the task in the Oracle EBS, SOA is not able to capture the payload.
    Any inputs to fix this issue is greatly appreciated. Please help.
    Thanks,
    Venkat Sai.

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Oracle Discussion Forums » SOA & Process Management » SOA Suite which you can get more quick response
    Regard
    Helios

  • IPhone calendar event issue- not synching across iCloud

    Events created on my iPhone will not sync across iCloud to display on my Calendar App on my iPad or on my laptop.
    iPhone 5 iOS 8.1.3 - this started yesterday with no changes having been made to any of my iCloud settings.  On my laptop I get a new icon displays in my doc - see attached image, but when I click on it it just goes away and the new event is not synched.  If I don't click on this icon, it eventually disappears and the event is also not added to my calendar.
    I Can create events on my iPad and laptop and have them show on my phone.  I can create Notes on my iPhone and they sync across devices. 
    I have tried changed the iPhone calendarsync settings from 'Events 1 Month Back' to 'All Events' and vice versa.  On the iPhone I have turned Off synching of calendars, waited and re-enabled synching.  I have cycled power to my iPhone.

    Thanks Sterling - I've read through both those articles and performed all the troubleshooting steps in the iCloud: Troubleshooting iCloud Calendar - Apple Support article.  I have verified bluetooth is on, I'm on the same wireless network, same iCloud account signed into on all devices, etc.
    Still new events entered on my iPhone do not get added to my laptop or iPad calendar.  The handoff icon shows in my doc, but it does not put the new event onto the calendar.
    Through some more testing, I have also found the same issue with reminders; if I create one on my iPhone it will not be displayed on my laptop or iPad.
    Again I have no problems creating these on my laptop or iPad and having them show on All my devices, including my iPhone.  And another family member can create them on their iPhone 6, iOS 8.1.3 and they come across to all my devices; laptop, iPad and my iPhone5.
    Please advise what else I can do, as not being able to create events or reminders on my iPhone and have them sync across devices is a problem.

  • How do i solve this event issue ?

    You can’t change events in the "Contacts' birthdays and events" calendar.
    Only the calendar administrator and any delegates with permission can make changes to read-only calendars. To make changes to the calendar, contact the calendar administrator.
    I am the Administrator of this laptop . However i think most of the birthday events was create when i sync with Facebook. So anyone who faced the same issue before?

    Hi,
    In the Onlead selection of table make it visible and invisble of your buttons as per your selection.
    The table have single selection and multi seletion options are availble when you defing the table you can find this options in the properties of the table.
    In onlead selection your button to be mapped with attribute WDVisble.
    And based on your selection you can visible and invisible.
    wdContext.currentContextElement.set<attribute>(WDVisble.Visble);
    and
    wdContext.currentContextElement.set<attribute>(WDVisble.NONE);
    This might helps you.
    Do you need more post your issues.
    Thanks,
    Lohi

  • [JS CS4/CS5] ScriptUI Click Event Issue in JSXBIN

    Still working on a huge ScriptUI project, I discovered a weird issue which appears to *only* affect 'binary compiled' scripts (JSXBIN export), not the original script!
    When you repeatedly use addEventListener() with the same event type, you theorically have the possibility to attach several handlers to the same component and event, which can be really useful in a complex framework:
    // Declare a 'click' manager on myWidget (at this point of the code)
    myWidget.addEventListener('click', eventHandler1);
    // Add another 'click' manager (for the same widget)
    myWidget.addEventListener('click', eventHandler2);
    When you do this, both eventHandler1 and eventHandler2 are registered, and when the user clicks on myWidget, each handler is called back.
    The following script shows that this perfectly works in ID CS4 and CS5:
    // Create a dialog UI
    var     u,
         w = new Window('dialog'),
         p = w.add('panel'),
         g = p.add('group'),
         e1 = p.add('statictext'),
         e2 = p.add('statictext');
    // Set some widget properties
    e1.characters = e2.characters = 30;
    g.minimumSize = [50,50];
    var gx = g.graphics;
    gx.backgroundColor = gx.newBrush(gx.BrushType.SOLID_COLOR, [.3, .6, .9, 1]);
    // g->click Listener #1
    g.addEventListener('click', function(ev)
         e1.text = 'click handler 1';
    // g->click Listener #2
    g.addEventListener('click', function(ev)
         e2.text = 'click handler 2';
    w.show();
    The result is that when you click on the group box, e1.text AND e2.text are updated.
    But now, if I export the above code as a JSXBIN from the ESTK, the 2nd event handler sounds to be ignored! When I test the 'compiled' script and click on the group box, only e1.text is updated. (Tested in ID CS4 and CS5, Win32.)
    By studying the JSXBIN code as precisely as possible, I didn't find anything wrong in the encryption. Each addEventListener() statement is properly encoded, with its own function handler, nothing is ignored. Hence I don't believe that the JSXBIN code is defective by itself, so I suppose that the ExtendScript/ScriptUI engine behaves differently when interpreting a JSXBIN... Does anyone have an explanation?
    @+
    Marc

    John Hawkinson wrote:
    Not an explanation, but of course we know that in JSXBIN you can't use the .toSource() method on functions.
    So the implication here is that perhaps the .toSource() is somehow implicated in event handlers and there's some kind of static workaround for it?
    Perhaps you can get around this by eval() or doScript()-ing strings?
    Thanks a lot, John, I'm convinced you're on the good track. Dirk Becker suggested me that this is an "engine scope" issue and Martinho da Gloria emailed me another solution —which also works— and joins Dirk's assumption.
    Following is the result of the various tests I did from your various suggestions:
    // #1 - THE INITIAL PROBLEM// =====================================
    // EVALUATED BINARY CODE
    var handler1 = function(ev)
         ev.target.parent.children[1].text = 'handler 1';
    var handler2 = function(ev)
         ev.target.parent.children[2].text = 'handler 2';
    var     u,
         w = new Window('dialog'),
         p = w.add('panel'),
         g = p.add('group'),
         e1 = p.add('statictext'),
         e2 = p.add('statictext');
    e1.characters = e2.characters = 30;
    g.minimumSize = [50,50];
    var gx = g.graphics;
    gx.backgroundColor = gx.newBrush(gx.BrushType.SOLID_COLOR, [.3, .6, .9, 1]);
    g.addEventListener('click', handler1);
    g.addEventListener('click', handler2);
    w.show();
    eval("@JSXBIN@[email protected]@MyBbyBn0AKJAnASzIjIjBjOjEjMjFjShRByBNyBnA . . . . .");
    // RESULT
    // handler 1 only, that's the issue!
    Now to John's approach:
    // #2 - JOHN'S TRICK
    // =====================================
    var handler1 = function(ev)
         ev.target.parent.children[1].text = 'handler 1';
    var handler2 = function(ev)
         ev.target.parent.children[2].text = 'handler 2';
    // EVALUATED BINARY CODE
    var     u,
         w = new Window('dialog'),
         p = w.add('panel'),
         g = p.add('group'),
         e1 = p.add('statictext'),
         e2 = p.add('statictext');
    e1.characters = e2.characters = 30;
    g.minimumSize = [50,50];
    var gx = g.graphics;
    gx.backgroundColor = gx.newBrush(gx.BrushType.SOLID_COLOR, [.3, .6, .9, 1]);
    g.addEventListener('click', handler1);
    g.addEventListener('click', handler2);
    w.show();
    eval("@JSXBIN@[email protected]@MyBbyBn0AIbCn0AFJDnA . . . . .");
    // RESULT
    // handler1 + handler2 OK!
    This test shows that if handler1 and handler2's bodies are removed from the binary, the script works. Note that the handlers are declared vars that refer to (anonymous) function expressions. (BTW, no need to use a non-main #targetengine.) This is not a definitive workaround, of course, because I also want to hide handlers code...
    Meanwhile, Martinho suggested me an interesting approach in using 'regular' function declarations:
    // #3 - MARTINHO'S TRICK
    // =====================================
    // EVALUATED BINARY CODE
    function handler1(ev)
         ev.target.parent.children[1].text = 'handler 1';
    function handler2(ev)
         ev.target.parent.children[2].text = 'handler 2';
    var     u,
         w = new Window('dialog'),
         p = w.add('panel'),
         g = p.add('group'),
         e1 = p.add('statictext'),
         e2 = p.add('statictext');
    e1.characters = e2.characters = 30;
    g.minimumSize = [50,50];
    var gx = g.graphics;
    gx.backgroundColor = gx.newBrush(gx.BrushType.SOLID_COLOR, [.3, .6, .9, 1]);
    g.addEventListener('click', handler1);
    g.addEventListener('click', handler2);
    w.show();
    eval("@JSXBIN@[email protected]@MyBbyBnACMAbyBn0ABJCnA . . . . .");
    // RESULT
    // handler1 + handler2 OK!
    In the above test the entire code is binary-encoded, and the script works. What's the difference? It relies on function declarations rather than function expressions. As we know, function declarations and function expressions are not treated the same way by the interpreter. I suppose that function declarations are stored at a very persistent level... But I don't really understand what happens under the hood.
    (Note that I also tried to use function expressions in global variables, but this gave the original result...)
    Thanks to John, Dirk, and Martinho for the tracks you've cleared. As my library components cannot use neither the global scope nor direct function declarations my problem is not solved, but you have revealed the root of my troubles.
    @+
    Marc

  • ICal + Exchange 2007 - recurring events issues

    Hi all
    Not sure if this has been brought up before, couldn't find anything on the boards.
    Anyway, our client has 20 macbook pros all running OS 10.6.2. They also have an Exchange 2007 server (previously they had a 2003 exchange server and were using entourage).
    The problem they appear to be having is when creating a recurring event they invite selected users but the invites either don't get through or upon accepting the invite it doesn't show up in the other user's calendar. I've heard there are some issues with iCal and recurring events - is this true or does anyone know a way to fix this?
    Thanks in advance.

    https://developer.apple.com/bugreporter/
    You can also try http://www.apple.com/feedback/macosx.html but I don't think that's as useful.

  • JUComboBox LOV Binding Issue

    Hi,
    I am getting a problem in JUComboBoxLovBinding.
    Problem Description --
    I have created a JComboBox with used LovBinding (using two view objects -- resortVO and testVO ). The _resortVO is the LOV VO instance.
    There is one button which rollbacks the transaction and create a new row for the non-lov view object instance.
    I followed the following steps -->
    1. Run the application
    2. Press the Button.
    3. Select an item (say 'ResortA') from the combo box
    This sets the ResortId for the _testVO's current row.
    4. Again press the Button
    5. Then select the same item again i.e. ResortA.
    This does not set the ResortId for teh _testVO's current row.
    Question -- Why the ResortId is not get selected in Step 5?
    The sample code is here --
    package testapp;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.Rectangle;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.util.Hashtable;
    import javax.swing.DefaultListCellRenderer;
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import javax.swing.JPanel;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.AttributeDef;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.uicli.binding.JUApplication;
    import oracle.jbo.uicli.jui.JUComboBoxBinding;
    import oracle.jbo.uicli.jui.JUPanelBinding;
    public class TestJUComboLovBinding extends JFrame
        private BorderLayout _mainLayout = new BorderLayout();
        private JPanel _panelCenter = new JPanel();
        private JUPanelBinding _panelBinding;
        /**  ADD CUSTOM MEMBER VARIABLES HERE  **/
        private JComboBox _resortComboBox = new JComboBox();
        private ViewObject _resortVO,_testVO;
        private JButton _createButton = new JButton("Create");
        private int count = 0;
        /** CUSTOM MEMBER VARIABLES ENDS HERE  **/
        public TestJUComboLovBinding()
            try
                jbInit();
            } catch (Exception e)
                e.printStackTrace();
        private void jbInit() throws Exception
            this.setSize(350, 210);
            this.setBounds( new Rectangle(100, 80, 400, 250));
            this.setTitle( "Frame Title" );
            ApplicationModule appModule =
                Configuration.createRootApplicationModule(
                "testapp.TestAppModuleImpl", "TestAppModuleLocal");
            JUApplication app = new JUApplication(appModule);
            _panelBinding = new JUPanelBinding(app.getName(), null);
            _panelBinding.setApplication(app);
            _panelCenter.setLayout(_mainLayout);
            customJbInit();
            this.getContentPane().add("Center",_panelCenter);
            _panelBinding.executeIfNeeded();
        private void customJbInit()
            _resortVO = _panelBinding.getApplicationModule().findViewObject("VResort");
            _testVO = _panelBinding.getApplicationModule().findViewObject("VTest");
            AttributeDef[] attrDefs = _resortVO.getAttributeDefs();
            String[] allAttrNames = new String[attrDefs.length];
            for (int i = 0; i < attrDefs.length; i++)
                allAttrNames[i] = attrDefs.getName();
    _resortComboBox.setModel(
    JUComboBoxBinding.createLovBinding
    _panelBinding,
    _resortComboBox,
    _testVO.getName(),
    null,
    testVO.getName().replace('.','') + "IterBinding",
    new String[] {"ResortId"},
    _resortVO.getName(),
    new String[] {"ResortId"},
    allAttrNames,
    null,
    null
    _resortComboBox.addActionListener(
    new ActionListener() {
    public void actionPerformed(ActionEvent e ){
    if(_testVO != null && _testVO.getCurrentRow() != null)
    System.out.println("Resort ID -- > " + count++ + ":" + _testVO.getCurrentRow().getAttribute("ResortId"));
    _createButton.addActionListener(
    new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    _panelBinding.getApplicationModule().getTransaction().rollback();
    _testVO.executeQuery();
    Row row = _testVO.createRow();
    _testVO.insertRow(row);
    panelCenter.add(resortComboBox,BorderLayout.NORTH);
    panelCenter.add(createButton,BorderLayout.SOUTH);
    public static void main(String[] args)
    TestJUComboLovBinding frame = new TestJUComboLovBinding();
    frame.addWindowListener(
    new WindowAdapter()
    public void windowClosing(WindowEvent evnt)
    System.exit(0);
    frame.setSize(new Dimension(400, 280));
    frame.pack();
    frame.setVisible(true);
    Thanks.

    Okay. So it's not the rollback.
    Reading your posting one more time, I see that in point 5 you write:
    "Then select the same item again".
    The problem does not occur when a different item is selected? If that's the case, then it's probably some kind of optimization in the binding that only sets the value when it actually changes.
    You could try to do something like that:
            _createButton.addActionListener(
                new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        _panelBinding.getApplicationModule().getTransaction().rollback();
                        _testVO.executeQuery();
                        Row row = _testVO.createRow();
                        _testVO.insertRow(row);
                       // New line to insert:
                        _resortVO.reset();
            );This should ensure that a navigation happens.
    You can get the binding from the JUPanelBinding if your main application has access to that. See the getControlBinding() and findControlBinding() methods in JUFormBinding (a super class of JUPanelBinding).
    Sascha

  • Lov Mapping Issue

    Hi,
    I have an lov where i search an employee using employee number. With the help of these lov i bring inormation related to this employee say
    info1, info2, info3, info 4 and info5
    All these fields are mapped to message styled text on parent page.
    Now my issues is, when i click on the lov torch icon so as to search a new employee, it opens up the lov pop up window and clears all the fields related to my mapping for info1, info2, info3 except keeping info4 and info5. Ideally when i click on lov again, it should clear of all the fields which were avl on the page because of my previous search. I am not sure what causes this problem. Can anyone help me out.

    <lovMappings>
    <lovMap id="lovMap3" lovItem="EmployeeNumber" criteriaFrom="EmpNumber" resultTo="EmpNumber"/>
    <lovMap id="lovMap4" lovItem="EmployeeName" resultTo="EmpName" criteriaFrom="EmpName"/>
    <lovMap id="lovMap5" lovItem="HrmName" resultTo="CurrHRM"/>
    <lovMap id="lovMap6" lovItem="MgrName" resultTo="CurrMGR"/>
    <lovMap id="lovMap7" lovItem="OrganizationName" resultTo="CurrOrg"/>
    <lovMap id="lovMap8" lovItem="PuName" resultTo="CurrPU"/>
    <lovMap id="lovMap9" lovItem="BusinessGroupName" resultTo="CurrBG"/>
    <lovMap id="lovMap10" lovItem="EmpUserPersonType" resultTo="PersonType"/>
    <lovMap id="lovMap11" resultTo="EmpPersonId" lovItem="EmployeePersonId"/>
    <lovMap id="lovMap12" resultTo="EmpNum" lovItem="EmployeeNumber"/>
    <lovMap id="lovMap13" resultTo="CurrBGId" lovItem="BusinessGroupId"/>
    <lovMap id="lovMap14" resultTo="CurrOrgId" lovItem="OrganizationId"/>
    <lovMap id="lovMap15" resultTo="CurrMGREmpNum" lovItem="MgrEmployeeNumber"/>
    <lovMap id="lovMap16" resultTo="CurrMGRPersonId" lovItem="MgrPersonId"/>
    <lovMap id="lovMap17" resultTo="CurrHRMEmpNum" lovItem="HrmEmployeeNumber"/>
    <lovMap id="lovMap18" resultTo="CurrHRMPersonId" lovItem="HrmPersonId"/>
    <lovMap id="lovMap19" resultTo="CurrPUEmpNum" lovItem="PuEmployeeNumber"/>
    <lovMap id="lovMap20" resultTo="CurrPUPersonId" lovItem="PuPersonId"/>
    <lovMap id="lovMap34" resultTo="frmEmpName" lovItem="EmployeeName"/>
    <lovMap id="lovMap35" resultTo="frmCurrBG" lovItem="BusinessGroupName"/>
    <lovMap id="lovMap36" resultTo="frmCurrOrg" lovItem="OrganizationName"/>
    <lovMap id="lovMap37" resultTo="frmCurrMGR" lovItem="MgrName"/>
    <lovMap id="lovMap38" resultTo="frmCurrHRM" lovItem="HrmName"/>
    <lovMap id="lovMap39" resultTo="frmCurrPU" lovItem="PuName"/>
    <lovMap id="lovMap44" lovItem="EmpUserPersonType" resultTo="frmPersonType"/>
    <lovMap id="lovMap58" lovItem="IFG" resultTo="CurrIFG"/>
    <lovMap id="lovMap59" lovItem="BS" resultTo="CurrBusSegment"/>
    <lovMap id="lovMap60" lovItem="SB" resultTo="CurrSubBusiness"/>
    </lovMappings>
    When i clear off the LOV item by putting new employee number and click the torch icon, it clears of all the fields on parent page except IFG, BS, SB.

  • Calendar events issue Outlook for Mac: Failure to update or send notification for meetigns

    We are seeing an issues with Outlook for Mac 2011 and calendar events. These events are in the past and Outlook will randomly post errors about the event stating that it has failed to make changes, please contact the original creator.
    Additionally, some users are reporting that Outlook will not successfully send meeting cancellation notices to Windows users. All of the server and directory settings are setup correctly. Is there an issue with Outlook for Mac successfully sending
    back to the Exchange server here? We're running Exchange server 2007 SP1 and in the midst of upgrading to 2013. Hopefully this and a host of other issues are resolved with 2013. 
    Thanks.

    Hi,
    This forum focuses on questions and feedback for Windows-based Microsoft Office client. Since your query is directly related to Office for mac, I would suggest you to post in the forum of
    Office for Mac, where you can get more experienced responses:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011?tab=Threads
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for