ADF BC LOV: creating a new LOV entry in-the-fly

Hi all
I have LOV enabled ViewObject attribute, which is actually a foreign key to the another, master table, as usual.
Now, user searches LOV values, and decides that he need a new entry in the master table, which should to be assigned to the LOV enabled attribute.
So, as part of creating current (detail) record (in the same transaction), I need to provide ability to create a new master record (in the af:popup for example), whose primary key after that automatically becomes value of LOV enabled attribute (and appears in the LOV, after clicking oh the search icon)
Both detail ViewObject and master ViewObject are part of the same Application module
How to do that ? Any example ?

Thanks for the reply. I am running jDeveloper 11g Version 2.
I tried the Bind Variable approach as well. I would love to use the code mentioned above, but where would I put it? Where can you put code that gets called before the page is generated?
I tried using the task flow to set the Bind variable between the createInsert and the page view. The method to set the bind variable was never called. I generated the necessary java code for the setter on the view object (and client interface) and placed a debug break point in the setter method just to make sure.

Similar Messages

  • Creating a new Lov in std oracle screen - iproc

    Hi,
    I want to create a new LOV in std oracle screen.
    I will create the item using personalize option.
    I will create the LOV Region with scope as public and VO etc in jdeveloper and deploy in instance
    Now will this region be available in personalize screen to link with the new messagelov input?
    Thanks,
    Gowtam.

    I could understand that you are creating a Lov using Personalization. Also if you click on the Personalize page link, you can see the newly created Lov. Do let me know if I missed your question.

  • AM creation while creating a new LOV

    Hi,
    I have to create a new LOV. For this I have to create an AM,VO and LOV region. Now my question is regarding AM.
    1. Can we create a new AM or,
    2. Do I extend the already existing LOV AM.
    I created a new AM but after personalizing the page get an error "Can't find the application module...."
    I had also attached the new AM to the new LOV region created.
    So is it necessary that the existing LOV AM be extended or can we create a new AM?
    Please guide
    Thanks

    1. I have bounced server after files were transferred.
    2. The AMs are tn correct place on server
    3. The AM is attached to the LOV region and is not attached to the table
    The error stack is as follows:
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition sspn.oracle.apps.okc.lov.server.SSPN_RepSiteLOVAM of type ApplicationModule not found
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1270)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1458)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2673)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1919)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:554)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:662)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition sspn.oracle.apps.okc.lov.server.SSPN_RepSiteLOVAM of type ApplicationModule not found
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1192)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1458)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2673)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1919)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:554)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:662)
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition sspn.oracle.apps.okc.lov.server.SSPN_RepSiteLOVAM of type ApplicationModule not found
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1192)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1458)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2673)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1919)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:554)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:662)

  • Detailed Steps to create a new LOV in AK Regions

    Hi,
    Can any one give the information on how to create a new LOV using AK Developer responsibility?
    Thanks

    Hi,
    Can any one give the information on how to create a new LOV using AK Developer responsibility?
    Thanks

  • How do I create a new event entry for a specific calendar?

    In my iMac Calendar app, I have created a few calendars for different functions.    But every time I try to create a new event entry for a specific calendar, the app seems to prefer a different calendar instead by default.   I cannot enter events in other calendars.   Is there a way to do this?   In previous versions, I would highlight the particular calendar I wanted to work with and the entry would go into that calendar.   Thanks!

    You don't.  Moments in Photos are the new Events, i.e. groupings of photos sorted by date taken.
    When the iPhoto Library was first migrated to Photos there was a folder created in the sidebar titled iPhoto Events and all migrated iPhoto Events (which are now Moments) are represented by an album in that folder. To open the sidebar if it's not already open use the Option+Command+S key combination.
    There's a way to simulate events in Photos.
    When new photos are imported into the Photos library go to the Last Import smart album, select all the photos and use the File ➙ New Album menu option or use the key combination Command+N.  Name it as desired.  It will appear just above the iPhoto Events folder where you can drag it into the iPhoto Events folder
    When you click on the iPhoto Events folder you'll get a simulated iPhoto Events window.
    The downside to the simulation is that the Albums/Events can only be sorted automatically by Title. But they can also be sorted manually, either in the sidebar or in the folder's window at the right.
    Ask Apple for more sorting options in Photos via https://www.apple.com/feedback/photos.html.

  • HT204053 When I try to login to my apple ID on my iphone 4 to use facetime, it will not work and tells me to check my connection?  I have even tried creating a new apple ID but the same message appears

    When I try to log onto my Apple ID to use facetime, it will not work and tells me to check my connection.  I have even tried creating a new apple ID but the same message appears.  I do not understand why this is happening, could anyone help me resolve this issue it is very frusterating that I can not enable facetime or imessage.

    I could do that, however when I select the icloud button (or whatever the heck it is) I am asked to enter the apple id and password. So if you are suppose to create another one for icloud you'd think it would give you the option at this point which would be logical.

  • HT5858 I can't update apps on my iphone 5. theirs an old apple ID. That I don't have the pass word. I've created a new apple ID. but the old one keeps popping up. I have it on the Itunes on the phone but the old one keeps comming up and asking for a pass

    I can't update apps on my iphone 5. theirs an old apple ID. That I don't have the pass word. I've created a new apple ID. but the old one keeps popping up. I have it on the Itunes on the phone but the old one keeps comming up and asking for a pass word. 

    Apps are permanently tied to the Apple ID used to purchase them. You will have to delete the apps from the phone and re-purchase them using your Apple ID.

  • I had a working Apple ID, yesterday I set my old iphone 4 for my mother, because I have a new one, from yesterday my Apple ID password stopped working, and to write here I had to create a new one. What the **** happened (this is another id)

    Hi,
    I'm writting from a new Apple ID.
    Yesterday i set my old iphone 4 for my mother. I own an iphone 5s.
    I wanted to update my apps on my iphone and it doesn't want to recognise my password. I'm sure of the password, because I've been using it for ages, and also every few days I use it to update the apps. I tried to reset it, but it doesn't send me the email for resetting.
    I created a new apple id with the same email, so I really don't know what to do anymore. I have applications that I payed for so I don't want them to be lost because of it.
    And my 5s and ipad are registred to the old apple ID.
    I am not able to call the support because I'm from Slovenia and it costs me to much to call.
    Sincerely
    Ana

    http://www.apple.com/support/appleid/contact/

  • How do you create a new apple id on the iphone

    how do you create a new apple id on the iphone 4?

    Why do you want to do that?

  • I created my Apple ID in Ireland, but would now like to switch to a German Apple ID, keeping the same email address. How do I delete my old Irish Apple ID, so I can create a new German one with the same email?

    I created my Apple ID in Ireland, but would now like to switch to a German Apple ID, keeping the same email address. How do I delete my old Irish Apple ID, so I can create a new German one with the same email?

    Welcome to the Apple Community.
    Click on your account name in the top right corner of the iTunes store in the iTunes application on your computer, enter your password and click the "view account" button. Navigate to the Apple ID summary where you have the option to "change country or region".
    In order to change your location, you will need a credit card registered to an address in the location you are trying to change to.
    You cannot change your location if you have credit on your account, if you are unable to spend your credit and leave a balance of zero, contact Apple, which you can do through iTunes Store Support.

  • HT204053 I created a new apple id because the previous one no longer exists as email (domain had to be cancelled). I keep seeing the old one pop up in my iPhone for which I don't remember the password. How can I get rid of it???

    I created a new apple id because the previous one no longer exists as an email (domain had to be cancelled). I keep seeing the old one pop up in my iPhone for which I don't remember the password. How can I get rid of it??? Or how can I reset the password if the email doesn't exist??? I also tried answering a question (my date of birth) but it says it's wrong.
    I'm really frustrated with the apple id!!!
    Frustrated!!!

    In one of the help pages for managing your Apple ID (http://support.apple.com/kb/HE40), it shows two separate sections, one for Apple ID and one for Primary Email address. When I go to manage my Apple ID, I see only a single section for both. Can the two be 'separated', especially when you face the situation of having to discontinue your email address for some reason?
    I also noticed that when navigating to Apple ID Support Communities, it shows my nickname 'dishdy'. How and when did I insert this? In the current sequence for creating an Apple ID I don't see this. In my current profile I don't see this.
    In any case, I have freed myself from my previous Apple ID (@artemis.it) on my iPhone.
    Thanks for your help.

  • It wants to verify my account and won't take the password, how can I create a new one or verify the existing one?

    I cloud wants to verify my account and won't take the password, how can I create a new one or verify the one it won't take?

    If you can't remember the password, reset it at...
    iForgot.com

  • How can I edit my website from another computer? and how can I create a new website next to the one, I have already? Can anyone help, please?

    How can I edit my website from another computer? and how can I create a new website next to the one, I already have? Can anyone help, please?

    Move the domain.sites file from one computer to the other.
    The file is located under User/Library/Application Support/iWeb/domain.sites.  Move this file to the same location on the other computer and double click and iWeb will open it.  Remember, it is your User Library that you want and not your System Library, as you will not find iWeb there.
    Just create a new site on the same domain file and it will appear below the other site.  If you want them side by side then duplicate your domain file and have one site per a domain file and they can then be side by side.

  • How can I create accurate decimal dimensions when creating a new document or using the art board in Illustrator CS6? When I type in a number with a decimal, it automatically rounds the number up.

    How can I create accurate decimal dimensions when creating a new document or using the art board in Illustrator CS6? When I type in a number with a decimal, it automatically rounds the number up.

    For my part you are welcome, sdowers.
    Unfortunately, the uncertainty arising from the rounding has been up several times here in this forum.
    I just came to remember a warning that needs to be given:
    The rounding of the representation of a numerical value may be harmless in itself, but if you use it for any operation that changes the value, such as multiplication or whatever, things will go wrong because the operation will be made on the basis of the rounded value instead of the true value. So, as in your first case in post #2, 39.625 rounded to 39.63 will become 79.26 instead of 79.25.

  • Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?

    Message title says it: Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?
    I can't find anything in the Knowledge Base that says these two options no longer work or still do.
    I do not have a system capable of running Lion, but I need to know the answer nonetheless.

    Gee, I don't know: "paste attachments mail Lion"? ;-)
    One further question, if I may: in Panther (which is where I've aggregated nearly 7 years of mail), if you copy more than one file in the Finder, switch to Mail, and paste the files into a new message, only the file names paste in. If you copy one file and paste it into a Mail message, you get the file, not just the name. Is that still true, or has that (IMHO) bug been fixed since 10.3.9?

Maybe you are looking for