Pop up window - Issue warning on possible duplicate

Hi,
Could somebody please help me with the following? I do not have any experience with Javascript, but think this is a fairly easy issue.
We have an HR database, and I would like a user to get a pop-up window if there is already an employee in the system with the same last_name and first_name as the one they are trying to create. I would like the user to still have the possibility of creating this new employee (it is possible for 2 employees to have the same name), but be issued a warning in case he/she is creating a duplicate entry.
I don't think I can do this with item or page level validations, either, since I simply want a 'warning'?
Many thanks in advance for your help.
Michelle

We have an HR database, and I would like a user to
get a pop-up window if there is already an employee
in the system with the same last_name and first_name
as the one they are trying to create.Just a popup message? How about a warning on the page?
I would like
the user to still have the possibility of creating
this new employee (it is possible for 2 employees
to have the same name), but be issued a warning in
case he/she is creating a duplicate entry.
I don't think I can do this with item or page level
validations, either, since I simply want a
'warning'?You're right, you can't do it with item or page validations - since that would mean you actually have to try submitting the entire update to the database.
However, you could do this with AJAX. Basically, have some event (leaving a field maybe) trigger a javascript the calls a process that goes back to the server to see if the names are duplicated and if they are just do a small HTML update to the page with the warning.
Carl Backstrom is the Oracle javascript guru and he has some AJAX examples on this page: http://htmldb.oracle.com/pls/otn/f?p=11933:5
Earl

Similar Messages

  • Adobe Flash Player Pop up window issue!

    Please Help!!! Ive had to uninstall & install this program several times due to an annoying pop up window from Internet Exployer Security saying "A website wants to open web content using this program on your computer." Each time I click on allow it continues to pop up several more times then goes away, but then continues to appear again, and again. Please help me to resolve this issue. Thank you.

    Thanks Mike M....again. I will try anything at this point. These constant pop-ups are frustrating. I may have to breakdown & have my laptop looked at by a professional to see if they can recommend other options & possibly upgrading.

  • RESTART COMPUTER POP-UP WINDOW ISSUE

    Please help me help me why I keep getting the same restart computer pop-up window lately with no error message at all even though the software update is completely up-to-date.

    Can you describe this "pop-up window" in more detail? Is it the +kernel panic+ message that takes over the screen, has multiple languages, and does not let you do anything else? Or is a a regular dialog widow that you can move around, with normal buttons, that still allows control of the Mac? If the latter, what does the window say, exactly?

  • Pop up window issue

    Hi All,
    My requirement is on a view I have a submit button on clicking of which I require a pop up window to open which I need to input certain details.  In the pop up I have 2 buttons ie cancel and done.  On clickng cancel I require to come back to the view I was prior to the pop up but on clicking done I need to move to a new view.  Now my problem is that when i click done it goes to new view but the view comes in same place as pop up ie the old view is displayed in the back and new view is comming in the same place as pop up and same size whereas I need it to be only showing full 100% on screen.
    Thanks,
    Regards,
    Preet

    Hi
    Popup must have one parent view which initiate it , since you are initiating it from popup itself so it become the hierarchy of parents and and its popup.
    Better to proceed in this way : open a pop up -- perform your task -- once you done with your job and click DONE, close the pop up and at that action where you write logic for closing it fire a plug which lead to new view.
    Best Regards
    Satish Kumar

  • Issue warning message when duplicate material are enter on a purchase order

    Hi All,
    Is there any possibility  to give a message in   me21n if we enter a material which in already maintained as one line item  to create PO. To issue messages in sales order there is an exit. I tried with the badi ME_PROCESS_PO_CUST. I was struck here. Please suggest me good idea how to do this.Thanks to all.
    In Sales order i resolved in this way.
    LOOP AT xvbap
       WHERE matnr EQ vbap-matnr
             AND posnr NE vbap-posnr
             AND kwmeng NE 0.
       MESSAGE  'Material is already on the order' type 'I'.
    ENDLOOP.
    ENDFORM.
    Regars,
    Madhu.

    closed.

  • Pop Up Window Issues

    First let me begin by thanking you for reading this. Any help
    would be appreciated.
    I am linking a Dreamweaver asp file to a button in a Flash 8.
    I have used the following actionscript to open the asp file in a
    new window:
    on (release) {
    getURL("
    http://hoobiedoo.com/DirectorySearch/directory.asp",
    _blank);
    When the button is clicked it is giving me the html of the
    asp file and not the design of the file. I know I am missing
    something, can someone please help me fix this? Thanks for your
    input.

    Hello Cireworx,
    > First let me begin by thanking you for reading this. Any
    help would
    > be appreciated.
    >
    > I am linking a Dreamweaver asp file to a button in a
    Flash 8. I have
    > used the following actionscript to open the asp file in
    a new window:
    >
    > on (release) {
    > getURL("
    http://hoobiedoo.com/DirectorySearch/directory.asp",
    > _blank);
    > }
    >
    > When the button is clicked it is giving me the html of
    the asp file
    > and not the design of the file. I know I am missing
    something, can
    > someone please help me fix this? Thanks for your input.
    >
    You guessed it right. You are definitely missing ASP running
    on that server
    of yours...

  • (Legitimate) Pop up Windows every time Firefox starts

    So, lately each time I fire up Firefox, the new browsing session recovers pop up windows from previous sessions (from the last time or even some from like, three days ago) I have long closed down. My start up option has always been "Show my windows and tabs from last time" which used to do exactly that: recover tabs I had opened or start with a new blank tab in case I had none opened. Now though, each time I open FIrefox I am getting various windows from previous session(s).
    The catch here is that this doesn't APPEAR to be a malware issue since I am not getting weird ad/dodgy windows but "legitimate" pop ups I remember I have personally triggered i.e a picture or frame from a trusted site which opened into a new window or a help section from amazon.com etc.
    This is a first and as you can imagine it has become really annoying. I am using Firefox 25.0.1.
    Any ideas? Thanks!

    Thanks for your replies philipp and james
    Yeah, it seems it's a case of firefox not shutting down properly since the problem appeared ever since I've begun closing down firefox by ending the process (mind you, with a cmd shortcut icon even) in an attempt to efficiently escape from the never-ending flash player script hangs/crashes (disabling hardware acceleration or reinstalling flash player doesn't help).
    Deleting all the sessionstore ... files solved the pop up windows issue.

  • Build lightbox using a pop up window

    a client has asked that his gallery items be presented in a pop up when clicked and that the user be able to scroll through the rest of the gallery in this pop up window.
    is this even possible?

    You can try using composition , like tootltip and then insert slideshow in container so that users can view the slideshow in a pop up window.
    Thanks,
    Sanjit

  • Issue with addPartialTarget method (Pop-up window)

    Hi, I am facing an issue with addPartialTarget method (pop-up window case). Please refer the thread Re: popup dialog problem
    If we are using addPartialTarget method, should the managed bean be in session scope? I've set it is in request scope. It works fine with 1 user. But if we test with more than 1 user using HP mercury load runner, it is failing and giving the following exception related to partial target. What should be the solution for this issue? This is very urgent. Even after setting the managed bean in session scope, I am getting the same error as shown below:
    java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.ArrayList.get(Unknown Source)
    at oracle.adfinternal.view.faces.renderkit.core.ppr.PPRResponseWriter._popPartialTarget(PPRResponseWriter.java:223)
    at oracle.adfinternal.view.faces.renderkit.core.ppr.PPRResponseWriter.endElement(PPRResponseWriter.java:138)
    at oracle.adfinternal.view.faces.ui.ElementRenderer.postrender(ElementRenderer.java:81)
    at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.postrender(XhtmlLafRenderer.java:225)
    at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:83)
    at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
    at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
    at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
    at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:90)
    at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.render(UINodeRenderer.java:36)
    at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
    at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
    at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
    at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
    at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
    at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
    at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
    at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:102)
    at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
    at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:281)
    at oracle.adfinternal.view.faces.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:60)
    at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
    at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
    at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
    at app.App__cusadd_jspx._jspService(_App__cusadd_jspx.java:3274)
    at com.orionserverhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    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.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
    at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.webcache.adf.filter.PageCachingFilter.doFilter(PageCachingFilter.java:274)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.3.0) .util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Unknown Source)

    duplicate
    Frank

  • Issue error message in a pop-up window

    Hii experts,
    How do I issue a message in a pop-up window in a normal report programming? For eg if i click on particular box in SAP graphic, a message window should come up with some information about that box.
    Thanx in advance

    Hi ,
    First track the event let say at line selection(in case of reports)
      then use 
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
          EXPORTING
            endpos_col         = 80
            endpos_row         = 25
            startpos_col       = 1
            startpos_row       = 1
            titletext          = text-300
      IMPORTING
        CHOISE             =
          TABLES
            valuetab           = l_return
         EXCEPTIONS
           break_off          = 1
           OTHERS             = 2
    Append the errors in l_return.
    l_return is of type below:
    DATA: l_return LIKE bapireturn OCCURS 0 WITH HEADER LINE.
    Thanks & Regards
    Ruchi Tiwari

  • Just recently I am getting the following error message when trying to access web sites. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" then I have to click ok. It is an issue with some plug-in?

    Just recently I am getting the following error message when trying to access web sites. I am using Firefox browser version 10.0.2. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" as the web site page is being displayed in browser winder. Then I have to click ok. It doesn't matter what web link/site I go to it happens. It is an issue with some plug-in?

    I have advised McAfee's product team of the problem and this thread, and they're looking into it now.

  • POP Up Window Possible?

    Hi Experts ,
    I am working on requirement of poping up a window by scripting ,when ever the Project owner forgets to add a particular collaborator when the project is created. I had implemented the same with throwing a exception , but client has come with requirement of doing same in pop up window like a alert window for html pages.
    So I was trying if at al I can create .. for eg. Like the window u get when u create a project from quick create button. I have gone thru the RG but I dint find any methods for the same.
    Is it possible?.. Any other pointers to achieve the same/similar kind to pop up window ?.
    Help is appreciated!
    Regards,
    Uday.

    Hi Uday,
    Pop-ups are not possible to suit your requirement.
    Please refer Rob's reply in [this|Re: Can we create a POP-UP message by using Script Defination.] thread.
    Thanks
    Devesh

  • Handling Warning pop up windows in BDC call transaction method

    Hi All,
    Iam using a BDC to automate the Costing Process i.e. Transaction CK40N using call transaction method. In a particular Screen after i perform the execute action, a warning pop up window appears. Only if I click on OK, the execution continues or else it will not proceed. How to handle this situation in case a warning pop up window appears based on the input which is given? In other words a Dynamic warning message. Thanks in advance....
    Regards,
    Nirmal

    Hello,
    U can either use NO_DIALOG or SUPPRESS DIALOG to avaid this,.
    Regards,
    Vasanth

  • Warn message / pop-up window keeps randomly flashing up under os x

    hi,
    a grey message box with an error sign keeps flashing randomly since weeks on my screen.
    unfortunately it is to fast to be able to read anything. anyone an idea what the issue could be? or
    macbook pro
    os x 10.7.3 lion
    2gh intel core i7
    8 gb ram
    logic studio 9
    many thanks

    I've just been to the Apple store. But without seeing or locating the error message also the guy there couldn't help me. But he recommended to keep 'Console', which you find under your Utilities, open. And to try to narrow the time window down in the moment the pop-up window occurs.
    As soon as I came home the window actually appeard immediately after I logged into OS X.
    So I went into the Console and took screen shots of everything that happend within the 2 minutes when I switched the machine on and opened Console.
    Indeed, Console is displaying some error message of drivers which are unavailbe of an old audio interface.
    But I don't think that's the issue. I think it might be related to sound audio stuff like plug-ins.
    But I guess I will know more when I take that data / screenshot to apple next time.
    Hope that helps!

  • After upgrading to 3.6.12 my browser is not opening pop-up windows and while closing the browser giving a message that some tabs are open and shall the same be closed? I have not encountered this problem with eralier version. Is there any known issues?

    Some of my web pages open a new pop-up window for entering credentilas and display sensitive information. After upgrading t0 3.6.12 i found that firefos is not opening pop-up windows (earlier version allowed). When I close the browser, it gives a quit message saying there are unclosed tabs and windows of firefox. shall they be saved for next time start.
    Also observed that the memory usage (from Task manager)is very high compared to earlier ones and the process is not closed even if I close the browser.

    3.6.13 is also behaving similarly.

Maybe you are looking for

  • Second logical standby

    Hello, i've this architecture: 1 production database, 1 physical standby, and 2 logical standby. One of the logical standby must now be rebuild, and my question is: i have already play the DBMS_LOGSTDBY.BUILD procedure for the old logical standby tha

  • Listeners are going down frequently..

    Hi, I have two node cluster databases.in that cluster 5 databases are running. We have configuared 2 listeners for each database and registered in OCR.But frequently some listeners are going down or UNKNOWN state from first node only. everything is r

  • Pages print in draft mode. first line normal and then the rest faint, how dop I restore this please

    Pages printing in draft mode. First line normal and the rest is faint. Please, how do I reset this. Thanks Bruce

  • Reinstalled OS X slow boot'n up

    I recently (saw the light) and bought a MacBook Pro, within the first two weeks my OS corrupted (OS 10.4.6). I did a erase and reinstall of the OS and now it seems to load slower. I was wondering is this to be expected or is their a program to "compr

  • Mac OS X Lion update don't recognize my serial number.

    Hi I'm from brazil and bought my macbook in the period that gives me the right to get the OS X Lion for free, but when I give the serial number i received a message saying that the number is invalid. I get the number in the "about this mac" so, is th