Why document is "loading continuously"

Hello,
I want to show a popup right after visiting a page.
For this - I put clientlistener (type="load") onto a document; clientlistener is calling javascrpt showing popup - it is OK, popup is displayed. Then - by pressing some button on popup - I am doing some logic, and I want to hide the popup - it is hiding - AND SHOWING AGAIN due to again "fired" clientlistener on document's load..
<af:document id="d1">
<af:resource type="javascript">
onDcPageLoad = function () {
alert('onDcPageLoad called...');
var myPopup = AdfPage.PAGE.findComponent("popupId");
myPopup.show();
</af:resource>
<af:clientListener type="load" method="onDcPageLoad"/>
</af:document>
backing bean contains:
/*this is let's say popup's "OK" button listener*/
public void doSomethingAndClosePOpup(ActionEvent actionEvent) {
doingSomething();
RichPopup popupCancellationUpload =
(RichPopup)TableUtils.findComponentById("popupId", actionEvent.getComponent(), true);
popupCancellationUpload.hide();
Why it happens? How to fix it - ?
Thanks in advance.

@eboda_snaf – does this question aim at scripting?
If so, what scripting language do you use?
Now for your question:
every time you print or export to PDF some information of the printer preset or export preset is written to the inDesign file after the fact.
You could close the file without saving with the following JavaScript snippet:
app.activeDocument.close(SaveOptions.NO);
Uwe

Similar Messages

  • TS3991 why are 2 of my Numbers documents not loading from icloud They appear in faded grey and I can't open them ? How do I recover them ?

    why are 2 of my Numbers documents not loading from icloud They appear in faded grey and I can't open them ? How do I recover them ?

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • Why should we load header data first and then we load item level data?

    Hi BW guru`s,
    I have small confusion about the data loading.
    Why should we load header data first and then we load item level data?
    Is there any particular reason?
    Scenario: 1st I have uploaded 2LIS_11_VAHDR sales document header data from R/3 to BW by using LO-Cockpit extraction. Then I loaded 2LIS_11_VAITM.This is the norma procedure which we use to follow.
    I have a question. If I load 2LIS_11_VAITM data 1st from R/3 to BW and then I will load 2LIS_11_VAHDR by using LO-Cockpit extraction. what will happen?
    Regards,
    Venkat
    Edited by: VENKAT BOORUGADDA on Aug 12, 2008 11:51 AM

    There is no difference in doing it the other way.
    The load sequence will come into play only during activation where if you map the same fields from the two datasources, you might want to have the previous value overwritten by data from the next datasource.
    That is when you should care about loading one datasource before the other.
    To your question it is not arule that header data should come first.

  • I am trying to export a pdf to word but the document keeps "loading " for a long period of time and won't complete?

    I am trying to export a pdf to word but the document keeps "loading " for a long period of time and won't complete?

    Hi Jennee,
    You're using the Save As > Microsoft Word command in Acrobat (and what version are you using)? At what point does the status bar in the lower-right corner hang up (Pre-processing, Recontructing, and so on)? What type of content is there in the PDF, and how large is it? Are you having Acrobat run OCR on the file as it converts (you can check this by clicking Settings in the Save As dialog box)? Do you have trouble saving other PDF files as Word documents?
    A lot of questions, I know. But I need to know a bit more about the document to determine why it's hanging up on export.
    Thanks
    Sara

  • Sales Document Delta Load Error - Status procedure could not be set

    Hello,
    I am getting the following error message during the sales document delta loads. It errors out in SMQ2 with this message - "Error in Validation (Details: transaction SMW01)"
    In SMW01, I get this message:
    <b>The status procedure CRMORD_I could not be set from item category XXX</b>.
    Message no. CRM_ORDERADM_I503
    Diagnosis
    Possible causes are:
    1. The system administrator has not assigned the status profile CRMORD_I to the object type.
    2. Initial statuses that should be set in the status profile CRMORD_I cannot be set at present.
    3. The current user RFCUSER does not have the authorization to set application statuses.
    Detailed error messages can be found in the following error log for status management.
    System response
    The status profile is not set in the document.
    Procedure
    Set the status profile in Customizing so that these cases do not occur.
    This status profile has been assigned to the item category mentioned and the RFCUSER has full authorization (SAP_ALL)
    Do any of you know what else could be the problem here?
    Thanks,
    MAX

    Dear All,
    I met similar error before, it happens when you change the item category in ECC but there is a status profile assigned to the item
    category in CRM with an active status set.
    In CRM, when the item category is changed, the system can only change (or delete) the status profile if there is no user status set for this item. So for example, if there is already a status set for an item (Say, E0001 'Open' is active) in CRM, so a change of the user status profile is impossible. If you need to change the item type, then you have to make sure that there is no active user status in the item.
    Please see note [1113116] point 2. This is a restriction in CRM. If you try to make the same changes directly in CRM you will also get the same error.
    It is not allowed to change the item category if the document has been saved and the status profile of the new item category is different from the old one.
    That is the reason why the error occurs when the data reaches CRM frm ECC.
    In order to prevent that there are sysfails in the inbound queue you can implement note [1438966] - after this is implemented you will not have the queues failing but you will get the error message in the sales order in CRM.
    You should ensure that the configuration for alternative item categories is R/3 is the same as in CRM and in this case all the alternative item categories should have no status profile or all the same status profile configured.
    I hope this could be helpful.
    Best regards,
    Maggie

  • Why can't I continue my sections ?

    Hello,
    I have a school presentation to acheive, and i have been using Pages.
    After about 7 pages on my report, i realized that the software won't let me add more sections. The icon doesn't even seen to be "working" any longer. Why can't i continue my report with the preformated sections ?
    Can anyone help ?
    Thank you !

    Tried saving and restarting?
    What version of Pages?
    What version of OSX?
    What template?
    Tried starting a new document? What results?
    Peter

  • I get a please wait message, and the pdf document never loads?

    I get a Please Wait message, and the pdf document never loads. i have the latest version on my mac- no luck!

    windows xp version x1 the latest.  trying to open  in gmail.
    On Mon, Feb 17, 2014 at 1:23 PM, Claudio González

  • HT2204 why does my phone continue to tell me my id is disabled, even after I reset it

    why does my phone continue to tell me my id is disabled, even after I reset it

    Try This...
    Close All Open Apps...  Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • Why does my iPad continuously closes from where I'm working and takes me to home screen?

    Why does my iPad continuously close from where I'm working and takes me to home screen?

    It might be out of memory. Close all apps you're not using using the toolbar that comes up when you double click on the home button. Press and hold any icon and then tap on the red minus (-) symbol of the apps you're not using.

  • In addition to my home page, every time I start Firefox a tab opens with notifacation of an updated addon. Why does this tab continue to appear even though there is no updated version of the addon?

    In addition to my home page, every time I start Firefox a tab opens with notification of an updated addon. Why does this tab continue to appear even though there is no updated version of the addon?

    See these articles for some suggestions:
    *https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    *https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    *http://kb.mozillazine.org/Preferences_not_saved

  • HT1338 Why is safarai loading certain web pages so slowly?

    Why is safari loading certain web pages so slowly?

    Emptied the Safari cache lately?
    Press Command + Option + E then quit and relaunch Safari to test.
    If that doesn't help, try this DNS.
    Open System Preferences > Network > Advanced > DNS
    Click + and type:
    208.67.222.222
    Click + again and do the same.
    208.67.220.220
    Click OK.
    Quit and relaunch Safari to test.

  • Why I can't continue add photos into my iPod ???

    I don't know why I can't continue add photos into my iPod. For example, I already had some photos in my iPod and I can see the folder that contains all the photos in my iPod with a mark on it. But one think that I don't know is when I want to add more photos into my iPod, iTune will sync my iPod for a very long moment and there's no processing indication, it's like there was a message 'Syncing iPod' that show in the top of the iTune screen, but there was no 'processing bar' under it. I don't know why this happen. Do I have to erase all the photos that were currently in my iPod and the iPod Photo Cache located in My Photos to re-upload the new photos into my iPod? But in this situation, I couldn't leave the 'old photos'in my iPod. I just want to make a hudge photos library, COULD ANY GENIUS HELP ME ?

    i don't know if this will help but this is how i manage my photos:
    1. create a folder (mine is called 'ipod photos')
    2. put all the photos you want on your ipod in that folder
    3. open itunes, plug in your ipod.
    4. on the overview screen, click the photos tab
    5. check the, 'sync photos from' box.
    6. browse to the folder you want to sync with
    7. hit sync
    then when i want to add new photos, i just add them to that folder and hit sync again.

  • Why can't Adobe continue to support and create updates.....

    Why can't Adobe continue to support and create updates for MAC G5 OS X Tiger?
    I'm sure I'm not the ONLY owner and operator of this MAC machine. I'm finding it
    VERY frustrating how your comany, JAVA and Apple of just written this machine off.
    You know, MAYBE I'd be more understanding if this MAC product or ALL MAC
    products weren't so reliable. However, like many MAC users out there
    there's NOTHING wrong with my machine or my current programs OTHER than the
    simple fact I can no longer update Flash player or Java... all because
    my machine is no longer supported.
    WHY can't updates continue to be made? This way,ALL consumers are happy:
    those who feel it wasteful economically and ecologically to
    replace a computer with a NEW computer, and those who just like to have the latest
    and greatest tech toys.

    MD Optofonik wrote:
    Dear God in heaven, I can't even simply make a basic edit to correct a spelling mistake.
    You can - click on the "Actions" link at bottom left of the post.
    As to the rest - nobody seems to like this forum, and what you're saying has been said on numerous occasions already.
    It's Adobe's fault for "buying in" this forum (sorry - "Social Business"  ) service, but it's Jive's fault for producing such a crappy solution in the first place.

  • Why cant I load optus dongle software?, Why cant I load optus dongle software?

    Why cant i load Optus dongle software?

    Optus help says:
    "When you connect the modem to the computer it should auto load the Optus Wireless window with an Optus Wireless Broadband icon and a PDF User Manual. Double click the Optus Wireless Broadband ICON and follow through the steps as all of the required software is on the actual USB device.
    If you need a hand with this we're happy to help; send us your info viahttp://yesopt.us/ID and we'll be in touch"

  • [svn:bz-trunk] 13477: Bug: BLZ-455 - Document client-load-balancing property in the sample config

    Revision: 13477
    Revision: 13477
    Author:   [email protected]
    Date:     2010-01-13 05:17:10 -0800 (Wed, 13 Jan 2010)
    Log Message:
    Bug: BLZ-455 - Document client-load-balancing property in the sample config
    QA: No
    Doc: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-455
    Modified Paths:
        blazeds/trunk/resources/config/services-config.xml

Maybe you are looking for

  • Calling report from forms :- need to disable file menu in report previewer

    Hi all, I am using report 6i and forms 6i I am invoking report from forms if report_status='N' then I want to disable the file menu in report previewer Is it possible to disable and enable file menu in report previewer Please help Thanks :8}

  • How to put data in JTable from database

    hi everyone, i want to query the databse and put the result in the JTable and if possible i want to edit some information. For example: i have 5 records in the database query them and place them in JTable and each record has its own status. if i want

  • How to create the Transport of copies programatically

    Hello, I am using a BAPI - BAPI_CTREQUEST_CREATE to create a Transport Request, But it creates a Local Transport Request (without destination), While i want ot create a tranport of copies with destination, is there any way i can do that thr this bapi

  • WARNING SCAM Phone Calls purporting to be from BT ...

    At 08:55 today I received a phone call from 0800 169 1608. An Automated message was left purporting to be from BT and prompting me to press numbers on my keypad I.e. if I was the Account holder press 1 etc. As I was concerned it could be something im

  • G5 not seeing second hard drive

    I installed a 300Gb Western Digital hard drive in the second bay of my G5. Unfortunately my G5 doesn't appear to see it in any way shape or form. I tested the drive in an external caddy and it mounted just fine via Firewire. I've heard this has been