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 .

Similar Messages

  • 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

  • I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?

    I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?  Any help will be appreciated.  Thank you.

    This should give you some good insight, I'd probably store them on an External HD on the old machine and then just drag and drop to the new machine.
    https://discussions.apple.com/docs/DOC-4141

  • ICal error "There was a problem receiving this event invitation"

    Whenever I try accepting an event invitation I get a dialog prompt that says
    *There was a problem receiving this event invitation*
    Someone invited you to an event using an email address that isnt on your "me" card in Address Book. Find your email address in the following list and add it to your card in Address Book
    Problem is I've done that, my vCard is up to date. It was working fine, I cant recieve any invites anymore, wether they come from OSX or Windows. Can anyone help?

    I ran into this same issue. To resolve this, go into the Address Book application. Select the vCard that is "your" card. Now in the menu bar, go to "Card". On the drop down menu, select "Make this my card". You should now be able to accept iCal invitations without any issues. When I upgraded to 10.5.1 the issue came back and this method seemed to resolve it.

  • CurrentUISkin  problem with LOVs

    Hello JheadStart Team
    I'm using user selected skin by using menuAdminService and setting adf-faces-config to
    <skin-family>#{jhsDynamicMenu.currentUISkin}</skin-family>
    but i have problem with LOV's:
    Error getting property 'currentUISkin' from bean of type oracle.jheadstart.controller.jsf.bean.DynamicMenuBean: java.lang.RuntimeException: Cannot find JhsModelService, Binding container UsersPageDef data control data provider is null
    Kind regrads

    I was able to reproduce the problem. We will provide a fix in the next patch release.
    For now, you can apply the fix yourself as follows:
    - create a subclass of oracle.jheadstart.controller.jsf.bean.DynamicMenuBean
    - Add member variable to this class:
    private String myCurrentUISkin;
    - Override method setCurrentUISkin as follows:
    public void setCurrentUISkin(String currentUISkin)
    this.myCurrentUISkin = currentUISkin;
    - Override method getCurrentUISkin() as follows:
    public String getCurrentUISkin()
    try
    if (JhsModelServiceProvider.getInstance().getJhsModelService() !=null)
    setCurrentUISkin((String) getCurrentModule().getAttribute(SKIN_ATTRIBUTE_NAME));
    catch (Exception e)
    // do nothing, return "previous" currentUISkin;
    return this.myCurrentUISkin;
    - Make a custom template for JhsCommonBeans.vm. In this template replace oracle.jheadstart.controller.jsf.bean.DynamicMenuBean with your own fully qualified class name
    - Set the JHS_COMMON_BEANS template key at service level to your custom template
    - Generate again.
    Steven Davelaar,
    JHeadstart Team.

  • How do I identify a problem in an event?

    Friends,
    I've updated to FCP X 10.1.  An event that I created after updating and for which I created a project suddenly displayed a yellow hazard symbol next to the name of the event.  This suggests that there is some sort of problem with the event or project.  How can I identify more specifically what the problem is?  Everything looks good when I look at the event and enclosed project.
    Thanks!
    Steve

    It means at least one peice of media is offline, and needs to be relinked.
    Select the Event, go to File > Relink Files, then swith from All to Missing Files.  You can then relink anything that is offline.

  • AM extension:Problem in Lov.

    Hi Experts,
    I did an extension for the Main AM of the page..After get extended except Lov's Everthing is working fine.
    Please let me know whats the problem for lov's after extend the AM.
    is there any solution to resolve this.
    Thanks
    Bharat Hegde

    Bharat,
    If you have done the .jpx import you have to remove the VO substitution
    Can be done in two ways,
    1) replace the VO path with your VO
    begin
    jdr_utils.listCustomizations('/oracle/apps/eam/requests/server/RequestResultsVO');
    end;
    begin
    jdr_utils.printDocument('the above qry output');
    end;
    Which will display your substitution VO details,this is to confirm
    begin
    jdr_utils.deleteDocument('<enter your VO with customization path, make sure you are not enteriing the standard VO>');
    end;
    do a commit;
    After you run the delete script , Run the above listcustomization script to confirm ur subs is deleted.
    2) And you can try via
    Functionalional Administrator(responsibility) -> Personalization->Import/Export -> Personalization Repository
    Query for the Document Path /oracle/apps/eam/requests/server/
    You should see ur custom ,delete from there.
    Thanks.
    With Regards,
    Kali.
    OSSi.

  • At event calendering site, getting message "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." Javascript is ENABLED on my computer.

    I'm trying to submit an event to the events calendar at http://calendar.jtnews.net/events/index.php?com=submit. After I enter the Authentication words and press Enter, I get the message, "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." According to my Firefox/Tools, etc., button, Javascript is enabled. I

    Hello mjswooosh,
    I'm very disheartened to hear that you've had ongoing problems when attempting to order from BestBuy.com. Our goal is ever to provide a fun and efficient shopping environment! Certainly creating aggravation serves neither you nor us and I apologize sincerely for this having been your experience.
    We recommend the troubleshooting steps you mentioned (i.e., clearing the browser cache, deleting temporary internet files and cookies) because this is the most common cause of this type of problem. I too have encountered this issue from time to time and these steps have almost always resolved the problem. I say almost always because there's one further step you can try: ensure that you have signed out of BestBuy.com, then perform the browser maintenance steps we've recommended. Afterward, before signing in to BestBuy.com, add your desired items to your cart and sign in as part of the checkout process. When the standard steps have not netted a resolution for me, this has solved the problem each time.
    I hope this helps. I'm very grateful that you took the time to write to us with your concerns and for sharing your very valuable feedback about your online experience.
    Sincerely,
    John|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Problems with close event scripts and closing Photoshop

    Hi!
    We are having problems with close event scripts ("Cls ") when closing/quitting Photoshop.
    The close event scripts are working without problem when closing an image. But when quitting Photoshop without having closed all images we are observing the following behaviour:
    with CS2 the close event scripts are not triggered at all
    with CS4  the close event scripts are triggered and executed correctly. But after that the Photshop process freezes. No visible GUI, you have to kill the process with the task manager.
    I can reproduce this behaviour even with a small script consisting of a single alert('hello') and even an empty script. Is this an known bug or am I doing something wrong?
    Thanks for your help!
      Eric

    Check your energy saver settings under system preferences. That is where you set sleep setting.

  • I have a virtual keyboard but it won't sync with my iPad or iphone4 is there a solution to this problem really love my iPad

    I have a virtual keyboard but it won't sync with my iPad or iphone4 is there a solution to this problem really love my iPad
    &amp; iPhone but I want to use my virtual keyboard :( help please ,,

    By virtual keyboard do you mean a Bluetooth keyboard?
    With the iPad, make sure Bluetooth is turned on, Settings > General > Bluetooth - ON
    Turn the keyboard on and see if the iPad recognizes it and pairs.

  • 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

  • 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

  • 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

  • Problems with LOV'S in Web

    Hi,
    I have a problem with LOV'S in Web. I've Forms Server in two servers. User's work with them.
    When I push the LOV'S keys, the session is killed.
    Please Help Me
    Thaks

    You need to break the problem down. Do you get the same problem with a one field Forms launching and LOV?
    1) What key did you use?
    2) What version of Forms
    3) What OS?
    4) Did you try on another OS?
    5) Does it work client server?
    1) I use Ctrl + L
    2) Forms Deleveloper 6i Release 2
    3) Windows 2000 server
    4) No
    5) Work OK
    Why the session is killed ????
    Thanks

  • SCOM-Difference between Problem Count and Event Count in Application Failure Analysis Report

    Dear All, 
    Could someone explain me clearly , the difference between  Problem Count and
    Event Count in Application Failure Analysis  Report. Please help me in understanding What is meant be problem and event in the report .
    Thanks in Advance.
    Regards,
    Rajesh Kumar C

    Hello Rajesh,
    The "problem" is the logically grouped set of the exception events which have the identical hash calculated over several fields as "Stack", "Source", "Failed Function" and so on... So, even if exceptions are different
    in the other properties but hash matches over the considered properties - then all those exceptions go into the same "problem group".
    So, event is an instance of the problem. One event contributes to one problem but one problem might have a huge event count if you have a repeating issue.
    The logic is similar for the performance analysis report, only fields that go into the "problem" hash are different. e.g. "Stack" is not used in hash for perf events...
    Dmitry Matveev

Maybe you are looking for

  • Importing via iMovie?

    I want to take parts from DVD's made by recording from television, edit them and write them to a new DVD. The DVD's I want to take parts from for editing in iDVD are in 'TS' format, i.e. opening the DVD in Finder shows one folder called 'VIDEO_TS' an

  • How to use the html:link with a arraylist

    Hi everyone: I want to display the data using struts html:link. I query the database and place all the data to javabean,later place all the javabean to ArrayList.In Action,I use the "request.setAttribute("lovetable",articlelist) to set request to jsp

  • Cache clear safari 6.0.2

    I used iWeb and YummyFTP to update webpages, and these new pages are displayed on iPad,etc. but the old pages persist on my Macbook Safari 6.0.2. I have attempted resetting Safari without effect. Baffled!! Any advice?

  • Problem accessing a purchased book after a phone replacement

    I had to get my phone replaced and now the iBooks reader won't let me read one of my books.  The book shows up in iTunes as having been purchased, so how do I access this book?

  • Problem with numeric columns when ADF table exported to Excel

    Hi, We have a ADF table on a page which can be exported to excel spreadsheet using the <Af:ExportCollectionActionListener>. The adf table is within panel collection. There are many numeric columns in this table and there is <af:convertnumber> used on