Problem with page submit and opening a popup.

Hello All,
Apex 3.1.2
I have a button that submits a page and opens a pop-up. I'm new to javascript so I'm really hacking my way through this, so syntax tips are very useful :)
I'm using the code below on the button, my popup opens but then my main page seems to refresh and immediately covers up the popup. How do I get the popup to stay in front of the main page? Is there a problem with my main page submit?
Here's my URL target for the button...
javascript:doSubmit('ADD_TO_GROUP');javascript:popUp2('f?p=&APP_ID.:2:&SESSION.::::P2_OPPORTUNITY_NUMBER: &P6_OPPORTUNITY_NUMBER.');
Thanks Much!
p.s. ADD_TO_GROUP is my button name, am I using that correctly in doSubmit? It seems like I can put anything there and I still get the same behavior.
Edited by: blue4speed on Mar 24, 2011 8:33 AM - added p.s.
Edited by: blue4speed on Mar 24, 2011 9:34 AM

ThomasL wrote:
p.s. ADD_TO_GROUP is my button name, am I using that correctly in doSubmit? It seems like I can put anything there and I still get the same behavior.
--> Are your on/after submit processes conditional?
For the javascript, you could also try to put the javascript code into an html region of your page, with condition set to a REQUEST value, or the value of an item that you set on submit.It looks like what's happening is the page is branching back to itself and that's why my the popup is pushed to the background. I created a conditon on the branch that said request != "ADD_TO_GROUP" (my button request). This kept the focus on my popup but gave me the error that the page had no branch!
How do I get my main page to submit and the popup to appear IN FRONT of the main page?
Thanks!
Edited by: blue4speed on Mar 24, 2011 10:16 AM

Similar Messages

  • Possible problems with Check out and Open Component and delayed publishing

    Hi,
    I've experienced some seemingly wrong behaviors of the checkout and open component and also with the delayed publishing feature, I've listed it down :
    1) The all important one:
    We know we've delayed publishing features for content, if we set the Release Date metadata at a future date, the content will not be released immediately, but do we have a delayed publishing features for a website page. Through manage website the user can add / delete a page(section), may do include or exclude from navigation etc.. but can they set a future date when a particular page can be included in or excluded from navigation? This should be a standard feature for a WCM solution and I hope there is some solution for sure.
    2) Can we set a datefield with a calendar feature as a page custom (section) property?
    3) Again the issue with checkout and open component, only the user with admin privilege seems to be able to change the content, normal contributors cannot, cause every time is tries to check in with the old author name, so the user has to have admin privilege to assign a different doc author's name. No trace also who is making the changes.
    4) Also facing a lot of problems while trying to implement when we use this checkout and open component. As we cannot check who is making the change there is to way to set us a step for self review, also user can only approve or reject but cannot edit the doc before passing it to the next step, if the step user is created using tokens then only checking out of the doc takes it pass the step user, but everything is working perfect with contributor data file. No problem whatsoever. Even if we use manual check out and then check in (i mean without using checkout and open component) this is working fine. But the main problem with non-technical users will be they would not like the content server portal at all and they would always prefer ms word over anything else. They would directly like to double-click on the website page, the word doc will pop up and they would make change and save.
    Issue 1 and 4 are killer issues for us, I need your help to find a solution. I have few more issues that i will post later.
    Regards,
    Nirmalya
    vijayr: Are u Vijay Ramanathan? Product Manager, Oracle UCM, u r my mentor sir.

    Hey Shotdawq,
    I was a bit low on bandwidth, so could not visit the forum any sooner.DIS is dynamic integration studio, it works on the webdav protocol.
    you will need to install DIS on the client machines. The POC that i did was integration of SiteStudio with CheckOutAndOpenInNative.
    I am also planning to referenc this functionality from WebSphere, what i have in my mind is to copy the java script from my sitestudio page and paste
    it in the JSP, and then using the CIS or RIDC will execute the serverices. At present i am stuck in some other work, If i get this thing working i will
    update you. In the meanwhile if you have some question for me, feel free to throw them.
    cheers,
    sapan

  • HTML to PDF conversion - problems with page-breaks and bookmarks

    Hello,
    My company is currently considering updating your software (from Acrobat 9 Pro to Acrobat XI Pro) and I’ve been assigned to research its features and make sure that it is a right fit for our goals. Basically we want to automate the whole process as much as possible and we want to create PDF directly from HTML. We’re providing a lot of content in HTML and we need a fast way to transfer it into PDF format. There are however some guidelines:
    We want page-breaks in is this kind of documents, and thus - your app needs to be able to interpret HTML and put them where we want to;
    We need to have bookmarks in there. Converter must be able to make them based on headlines from HTML source or afterwards, directly in PDF by using some auto-bookmarks feature;
    There has to be table of content generated, based on HTML Link Tags if possible. Here’s sample of TOC structure that we have currently:
    <A NAME="redirect">sample_text</A>
    <A HREF="#redirect">sample_text</A>
    Of course we can modify HTML in any way you want us to. The important thing for us is to make it work in PDF without the need to make a lot of manual changes after conversion.
    I’ve been messing with Acrobat 9 Pro and reading some documentation that you have provided and I’m convinced that point 3 is not a problem. I’m aware that Acrobat 9 Pro is not having any difficulties with links in document and they work fine in PDF format that has been created from HTML.
    Page-breaks on the other hand are bothering me. Your app is apparently ignoring every HTML code that the Internet is advising me to use to force page-break where I want. Honestly - I’ve tested like ten ways to make them and not even one was working. That’s why I’m asking for your help.
    Another problematic subject for me is the bookmarks creation. I know that they are not a problem if I’m doing DOC to PDF conversion. Then I’m able to decide what header should be used as a curtain level of bookmarks and everything is working great at the end. However - with direct HTML to PDF conversion - I really don’t know how to generate bookmarks that are based on the source of the input document. Is there any way to make fully working 2 level bookmark tree in this case? Here’s an example of the structure we want at the end:
    header1
    header2
    header2
    header1
    header1
    header2
    Could you please help me in finding the solutions? Just like I’ve mentioned - we can modify input HTML in any way, but in the end we would like to achieve our goals as quickly as possible.
    Please excuse my English.
    I am looking forward to your response,
    Lucas

    Frankly - we would like to avoid using Word. We are using it currently but there are long-term plans of improving whole conversion process, eliminate any mid-steps and automate as much as possible even though conversion is not going to be done unattended on a server. Thank you for your response, but I hope that maybe someone else would have any idea?

  • Does anyone have this problem with Pages? and how do i fix it?

    Hi
    Whenever i open a document that i've made in pages, i get a yellow box around the pages that i have made (say page 1 - 4) and it won't let me insert another page in between them. I then have to start a whole new document and copy past my information into the new document.
    Does anyone know how to get the yellow box to sit only around 1 page like its meant to?

    MLCIT wrote:
    Thanks i will definitely use Layout
    Good idea.
    This way you will be unable to build a TOC.
    You will be unable to export as ePub.
    If my memory is OK you will be unable to create bookmarks.
    Good luck.
    Yvan KOENIG (VALLAURIS, France) mardi 21 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • I have a problem with Safari: when it opens and I go on google, it opens a page that says: PLEASE UPDATE INTERNET EXPLORERE.   What should I do?

    I have a problem with Safari: when it opens and I go on google, it opens a page that says: please update internet explorer!
    What should I do?

    It's a scam. Have a look at this thread:
    https://discussions.apple.com/thread/6058094?tstart=0

  • Is there a problem with the itunes and quick time download pages or is it my internet.

    Is there a problem with the itunes and quicktime download pages or is it just my internet.

    Some more developments ... the issue appears to be browser-specific. I can't see the download controls at the moment in either IE 8 (I'll get your message) or Safari for Windows 5.0.5 (I'll just get the blank box). But I can see the download controls in Firefox 4 and Chrome (whatever version I have of that).
    So it might be worth installing Firefox and seeing if you can get the downloads via that:
    http://www.mozilla.com/en-US/firefox/new/

  • I'm having problems with 8.1 and Continuity / Handoff. It will work fine for web pages, etc. but in email when I try to do it between by iPhone 5s running 8.1 and my Macbook Pro running Yosemite I consistently get an error.

    I'm having problems with 8.1 and Continuity / Handoff. It will work fine for web pages, etc. but in email when I try to do it between by iPhone 5s running 8.1 and my Macbook Pro running Yosemite I consistently get an error. "Failed to Continue Activity" Cocoa Error 4609.  Handoff is working for phone calls and text messages. By email just crashes each time. It was also doing it under 8.0.2.  My iPhone and iPad handle this fine. It's only the MacBook to the iPhone that fails, and only on email.

    Handoff Continuity Troubleshooting

  • I had problem with my apps,they open for a while and closes with in seconds i cant acess them

    i had problem with my apps,they open for a while and closes with in seconds i cant acess them and i had this with all apss,expect apple apps

    Do you have a lot of apps? Did you use a lot of apps recently? If so, many of them may still be resident in memory even if you aren't currently using them. Double-tap the home key and you should see the app tray with a list of most recently used programs. Press and hold the icons in the tray and remove the ones you don't use often to remove them from memory. Powering off and then back on might also help.
    My wife's iPod does that sometimes, and it's usually because we run out of memory due to apps remaining in memory even when not used. The suggestion above is how we normally fix the problems.

  • Problem with page preview : transodification of  ':' and '/'

    Hello
    we got a problem with page and iview preview on production system (7.01).
    The preview fail with a simple message "Erreur d'exécution portail / Exception lors du traitement de la requête, envoyez l'ID de l'exception à votre administrateur du portail" ("Portal execution error / exception during request treatment, send exception Id to your portal administrator").
    The user possess full admin role, as weel as autorisations onto the page. He can use the page when it's in the menu, but visualizing the page via preview fail.
    after comparing the preview URL from production system against the preview URL from development, we spotted a difference :
    on the dev portal, the URL is
    http://portal:port/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fcom.company.directory.SpecificApp!2fcom.company.directory.LeaveRequest!2fcom.company.directory.Employee!2fcom.company.page.MyRequests?sap-config-mode=true
    on the production portal, the preview URL is
    https://portal/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!253aportal_content!252fcom.company.directory.SpecificApp$!252fcom.company.directory.LeaveRequest!252fcom.company.directory.Employee!252fcom.company.page.MyRequests?sap-config-mode=true
    As you can see, the ":" are transcoded into !3a on dev, and !253a on prod (and the "/" are respectively transcoded into !2f and !252f)
    the other difference is the use of an alias (http://portalprod/irj against http://portal:port/irj), and the use of a secured connexion (https).
    does someone know where this problem could come from ?
    regards,
    Guillaume

    Hi Guillaume,
    Could it be possible that there would be a SAP Web Dispatcher on the Production Portal and not on the dev portal.
    You should use a tool like HTTPWATCH to see if you get HTTP redirects.
    Regards,
    Olivier

  • I'm having constant problems with pages not working. I.E.: I cannot fill in writeable fields, click on buttons... or anything... nothing on the page works. And, this is not exclusive to a particular site. I can, however, work well in Explorer.

    For the last few weeks I have had constant problems with pages not working. I.E.: I cannot fill in writeable fields, click on buttons... or anything... nothing on the page works. And, this is not exclusive to a particular site. It does seem to be a browser issue, because I can work well in Explorer.

    Both the Yahoo! Toolbar extension and the Babylon extension have been reported to cause an issue like that. Disable or uninstall those add-ons.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Problem with the MenuBar and how can i delete a own component out of the storage

    Hello,
    I opened this thread in the category "Flex Builder 2", but
    under this category my questions fit better.
    I have a problem with the MenuBar and a question to delete a
    component out of storage.
    1. We have implemented the MenuBar, which was filled
    dynamically with XML data.
    Sporadically it will appear following fault, if we "mousover"
    the root layer.
    RangeError: Error #2006: Der angegebene Index liegt
    außerhalb des zulässigen Bereichs.
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.managers::SystemManager/
    http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
    at mx.managers::SystemManager/addChild()
    at mx.managers::PopUpManager$/addPopUp()
    at mx.controls::Menu/show()
    at mx.controls::MenuBar/::showMenu()
    at mx.controls::MenuBar/::mouseOverHandler()
    Here a abrid ged version of our XML to create the MenuBar:
    <Menuebar>
    <menu label="Artikel">
    <menu label="Artikel anlegen" data="new_article" />
    <menu label="Artikel bearbeiten" data="edit_article" />
    <menu label="Verpackung">
    <menu label="Verpackung anlegen" data="new_package" />
    <menu label="Verpackung bearbeiten" data="edit_package"
    />
    </menu>
    <menu label="Materialgruppe">
    <menu label="Materialgruppe anlegen"
    data="new_materialgroup" />
    <menu label="Materialgruppe bearbeiten"
    data="edit_materialgroup" />
    </menu>
    </menu>
    </Menuebar>
    It is a well-formed XML.
    2. Delete a component out of storage
    We have some own components (basically forms), which will be
    created and shown by an construct e.g.
    var myComponent : T_Component = new T_Component ;
    this.addChild(myComponent)
    Some of our forms will be created in an popup. On every call
    of the popup, we lost 5 mb or more, all childs on the windows will
    be removed by formname.removeAllChild();
    What cann we do, that the garbage collector will dispose this
    objects.
    Is there a way to show all objects with references (NOT
    NULL)?
    I have read in the Flex Help, that
    this.removeChild(myComponent) not delete the form and/or object out
    of the storage.
    Rather the object must be destroyed.
    It is sufficient to call delete(myComponent) about remove
    this object out of the storage as the case may be that the
    garbage-collector remove this object at any time?
    Or how can I destroy a component correctly. What happens with
    the widgets on this component e.g. input fields or datagrids?
    Are they also being deleted?
    Thanks for your help.
    Matze

    If you mena the "photo Library" then you cannot delete it.
    This is how iphone handles photos.  There are not two copies.  There a re simply two places from which to access the same photos.  ALL photos synced to iphone can be accessed via Photo Library.  Those same pics can be accessed via their individual folder.

  • Problems with captivate 8 and windows 8

    I´m using captivate 8 and windows 8, and I am having problems with the visualization and publication of my projects. For visualization, there is a message of an error with syntax of the files ou directory, and nothing happens. For publication, I can´t see the project published in the browser. It opens only a text file, with the codes. Is there anyone thar can help me with that?

    Acrobat 8 is not certified for Win7, particularly the x64 version. If you got the installation to go, the first step is to update AA8 to at least AA8.2. The x64 with XP required at least AA8.2 and I suspect that has not changed. I would suggest updating to the latest, either from the help menu (until no more updates are available) or by downloading the updates from the adobe.com>downloads page. For the latter, download ALL updates after your current version and install them in ORDER. They are not cummulative in most cases. You only need to reboot after the final update. The updates may get you going. If not, you may simply have to upgrade to AA9 or search for what others have been able to do in your situation.

  • I have a problem with Pages shutting down my documents.

      I have a problem with Pages shutting down my documents. I have several
    several documents on my homepage,but once I select one it shuts down and
    goes to the ipad homepage.Other documents open with no problem.
    Can someone tell me what's happening
    antdel

    Pages is crashing for some reason.
    You say that other documents open with no problems, do you mean other Pages documents or documents in another app?
    Try closing Pages completely in the recents tray and reboot your iPad. See if that helps. If it doesn't help, you may have to delete and reinstall Pages. If that doesn't work, you might have a corrupt document that you need to track down and delete.
    Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Problem with m3u files and Quicktime

    Hello:
    I have made one update with Quicktime software (version 7.6.9 1680.9). The problem is that Quicktime player reproduces mp3 files but when I try to play m3u files the sound is very bad. It sounds like gargling.
    For example: This files play ok:
    http://www.telefonica.net/web2/sevarra/Sarabande.mp3
    It plays ok when the previous link is introduced as URL address in Quicktime player, but the corresponding m3u files sounds like gargling
    http://www.telefonica.net/web2/sevarra/list0.m3u
    I think there a problem with m3u files and Quicktime.
    Tank you very much and best regards.

    I have discovered that when the URL is playing (with gargling sound) if I open the A/V controls in QT menus and I move the Jog Shuttle or the Speed level then the sound becomes good.
    Yes! Great catch, ttfrank. I can replicate that too.
    Interesting ... if (after getting the sound working properly again) you then pause play of the m3u, and start it again, you get the gargling/dalekish sound quality back again.
    Bug reporting ... there's a couple of ways you can go about doing this. You can use the QuickTime product feedback form:
    http://www.apple.com/feedback/quicktime.html
    ... but if you want to track progress on the bug, try instead registering as an Apple Developer (for free):
    http://developer.apple.com/programs/register/
    ... and then you'll be able to submit the bug via the Apple Bug Reporter:
    http://developer.apple.com/bugreporter/
    In the meantime, there's also a restricted forum available to level 4 and 5 members ("Notable New Technical Issues") where we can report this sort of thing. I'll try to get a post written up on the topic there later today.

  • Export problems with pages/ save as word document results in corrupted text

    This may be a new problem with Pages as I have not seen this happen with previous versions but, when I export a page made with a template, it ends up with merge problems - headers end up at the foot and invisible text regarding merge showing. When saved, a error box opens saying that merge fields are not save or similar, and I end up with a non friendly .doc file.

    morayshire wrote:
    This may be a new problem with Pages as I have not seen this happen with previous versions but, when I export a page made with a template, it ends up with merge problems - headers end up at the foot and invisible text regarding merge showing. When saved, a error box opens saying that merge fields are not save or similar, and I end up with a non friendly .doc file.
    Here are alert messages related to 'Word Exporter'
    /* Word Exporter */
    "Cells with unsupported number formatting were exported as text." = "Les cellules comportant un format numérique non pris en charge ont été exportées sous forme de texte.";
    /* Word Exporter */
    "Change tracking isn\\U2019t supported for cell image fills. Original cell image fills were removed." = "Le suivi des modifications n’est pas pris en charge dans les remplissages de cellule par image. Les remplissages de cellule par image d’origine ont été supprimés.";
    /* Word Exporter */
    "Change tracking isn\\U2019t supported for cell image fills. Tracked changes for cell image fills were accepted." = "Le suivi des modifications n’est pas pris en charge pour les remplissages de cellules par image. Les modifications effectuées pour ces remplissages ont été acceptées.";
    /* Word Exporter */
    "Change tracking on floating objects isn\\U2019t supported. Tracked changes were accepted." = "Le suivi des modifications sur les objets flottants n’est pas pris en charge. Les modifications ont été acceptées.";
    /* Word Exporter */
    "Comments on anything other than body text and inline objects aren\\U2019t supported and were removed." = "Les commentaires sur un autre élément que le corps de texte et les objets incorporés ne sont pas pris en charge et ont été supprimés.";
    /* Word Exporter */
    "Durations formatting isn\\U2019t supported and was exported as text." = "Le formatage des durées n’est pas pris en charge et a été exporté sous forme de texte.";
    /* Word Exporter */
    "Footer rows aren\\U2019t supported and were converted to regular rows." = "Les rangs de bas de tableau ne sont pas pris en charge et ont été convertis en rangs standard.";
    /* Word Exporter */
    "Formulas referencing cells with custom number formats aren\\U2019t supported and were replaced by the last calculated value." = "Les formules faisant référence à des cellules comportant des formats numériques personnalisés ne sont pas prises en charge et ont été remplacées par la dernière valeur calculée.";
    /* Word Exporter */
    "Formulas referencing durations aren\\U2019t supported and were replaced by the last calculated value." = "Les formules faisant référence à des durées ne sont pas prises en charge et ont été remplacées par la dernière valeur calculée.";
    /* Word Exporter */
    "Hidden footer content was removed." = "Le contenu du pied de page masqué a été supprimé.";
    /* Word Exporter */
    "Hidden header content was removed." = "Le contenu de l’en-tête masqué a été supprimé.";
    /* Word Exporter */
    "Hidden rows and columns were removed." = "Les colonnes ou rangs masqués ont été supprimés.";
    /* Word Exporter */
    "Japanese footnote or endnote numbering isn\\U2019t an exact match." = "La numérotation japonaise de note de bas de page ou de fin ne concorde pas exactement.";
    /* Word Exporter */
    "Links to external Pages documents aren\\U2019t supported and were removed." = "Les liens vers les documents Pages externes ne sont pas pris en charge et ont été supprimés.";
    _/* Word Exorter */_
    _"Merge fields were exported as regular text, not as merge fields." = "Les champs de fusion ont été exportés comme texte standard et non comme champs de fusion.";_
    /* Word Exporter */
    "One or more formulas aren\\U2019t supported in the chosen file format and were removed. The last calculated value was retained." = "Une ou plusieurs formules ne sont pas prises en charge dans le format de fichier sélectionné et ont été supprimées. La dernière valeur calculée a été retenue.";
    /* Word Exporter */
    "Some paragraph border rules couldn\\U2019t be exported." = "Certaines règles de bordures de paragraphe n’ont pas pu être exportées.";
    /* Word Exporter */
    "Table cell comments can\\U2019t be exported if there are any comments attached to the entire table. The table comments were exported, but cell comments were removed." = "Les commentaires de cellules de tableau ne peuvent pas être exportés si des commentaires sont associés au tableau entier. Les commentaires de tableaux ont été exportés mais ceux de cellules ont été supprimés.";
    /* Word Exporter */
    "Table cell fills other than solid colors aren\\U2019t supported and were removed." = "Les remplissages de cellules de tableau autres que par des couleurs unies ne sont pas pris en charge et ont été supprimés.";
    /* Word Exporter */
    "Table image fills aren\\U2019t supported and were removed." = "Les remplissages de tableau par image ne sont pas pris en charge et ont été supprimés.";
    /* Word Exporter */
    "Tables with more than 63 columns aren\\U2019t supported. Columns 64 and highger were removed." = "Les tableaux comportant plus de 63 colonnes ne sont pas pris en charge. Les colonnes 64 et au-delà ont été supprimées.";
    /* Word Exporter */
    "The page layout document was exported as a word processing document." = "Le document de mise en page a été exporté comme document de traitement de texte.";
    *_This gives us a simple way to convert a Page Layout document into a Word Processor one. Export it to Word, import the .doc file._*
    /* Word Exporter */
    "WECannotMapNumberFormat" = "Le format numérique non pris en charge a été remplacé par le format numérique par défaut (1, 2, 3…).";
    Yvan KOENIG (Vallauris, FRANCE vendredi 7 août 2009 21:18:06)

Maybe you are looking for

  • For existing data in BI, client need to take a call to park the same from s

    hi, friends, For existing data in BI, client need to take a call to park the same from safety point view by copying the existing ODS   is it possible?if it is possible give me details. thanks&regurds sivaji

  • ITunes Library and ID3 Tags cause confusion

    Okay, so this is what happens. I play a song that has Garage as the genre, but right after I double click on it, the genre changes to Other, and the track name shortens. Now, this doesn't happen with every file, but it happens with enough files to ge

  • Container Variables Not Filled

    Hi, I have configured Alert Category and Alert Rules to trigger exceptions at Mapping, Adapter and Proxy level.  All these alerts are getting triggered properly.  But the container variable, &SXMS_FROM_SERVICE& is not getting populated and displays t

  • Double click at a matrix cell

    hello:    i wanna load a new form from a selected cell in a matrix using the cell double click... but i know how to do it.

  • Name of my macbook

    My macbook is secondhand. So it has the name of a former user. The reseller told me that it is not possible to change the name of the computer (as shown in the Finder in the owners map). Is this really impossible?