Adobe LiveCycle Designer error in WebDynpro

Gurus,
In the Adobe interactive form I am trying to add some elements from the library. As soon i drag and drop some element in the form I get message as below.
"Adobe LiveCycle Designer has encountered a problem and needs to close.  We are sorry for the inconvenience."
I am using SAP GUI 710.

Hi Anuradha,
Seems some issues with the installation of ALD, you can try reinstalling the same.
Regards,
Arafat

Similar Messages

  • Adobe LiveCycle Designer Error

    Hi forum
         When i try to open de layout of the Adobe LiveCycle Designer with the SFP transaction i get this Windows Error Message:
        Adove LiveCycle Designer: FORMDE~1.EXE Error de Aplicación
        La instrucción en "0x7830e113" hace referencia a la memoria en "0x0000048c". La memoria no se puede "read".
      This has been working fine... but 2 daysa go... im getting this message error and can´t load the LayOut View.
    I was trying in other machines. and this work.. fine..
    What can i do?
    Josué

    Hi Chintan
      This resolve my problem, i don´t know what´s happend with the Adobe LiveCycle Designer, i imagine that is not a stable version yet.
    Thnks again
    Josué Cruz

  • Adobe LiveCycle Designer ES Error while Connecting to MYSQL ODBC Driver

    Hi
    I'm getting an strange error message when i try to connect a LC PDF form to
    MYSQL DB using MySQL Connector /ODBC 3.51 Driver
    Here is the complete detail how i was trying to build a connection
    string :-
    I Opened a form in Adobe LiveCycle Designer ES2 Ver.9.0.0
    Clicked on Data View Pallete --> New Data Connection --> selected OLEDB Database radio button --> Build a Connection string (clicked on build button) --> selected MS OLE DB Provider for ODBC Drivers (the default selected option ) --> clicked on Next >> button --> Use connection string (radio button) --> Build connection string on clicking Build button --> Select Data Source windows opens --> Clicked on Machine Data Source tab --> created a new data source (with User Data Source) --> Selected the MySQL ODBC Driver (MySQL ODBC 3.51 Driver) --> Clicked on next button and then Finish
    A Connector/ ODBC 3.51.28 - Add Data Source Name window opens up which have the DSN connection details (DSN Name , Server , user , password , database).
    I put all the default details
    After this i got a error message saying that
    Adobe LiveCycle Designer ES has encountered a problem and needs to
    close. we are sorry for the inconvenience
    I tried this number of time and was getting this error message every
    time i try to put the DSN Detail and trying to connect to the DB. This
    was really irritating.
    Can somebody's what's the Issue . Is this a Resource Conflict or
    something else
    P.S :- I am using Adobe LiveCycle Designer ES2 Ver.9.0.0 with Windows XP and MySQL
    Connector /ODBC 3.51 and the DB Connection is working good for MS
    Access( though i don't need MySQL Connector fot this ).
    Any Help would be highly appreciated
    Thanks Alok

    Hi
    I'm getting an strange error message when i try to connect a LC PDF form to
    MYSQL DB using MySQL Connector /ODBC 3.51 Driver
    Here is the complete detail how i was trying to build a connection
    string :-
    I Opened a form in Adobe LiveCycle Designer ES2 Ver.9.0.0
    Clicked on Data View Pallete --> New Data Connection --> selected OLEDB Database radio button --> Build a Connection string (clicked on build button) --> selected MS OLE DB Provider for ODBC Drivers (the default selected option ) --> clicked on Next >> button --> Use connection string (radio button) --> Build connection string on clicking Build button --> Select Data Source windows opens --> Clicked on Machine Data Source tab --> created a new data source (with User Data Source) --> Selected the MySQL ODBC Driver (MySQL ODBC 3.51 Driver) --> Clicked on next button and then Finish
    A Connector/ ODBC 3.51.28 - Add Data Source Name window opens up which have the DSN connection details (DSN Name , Server , user , password , database).
    I put all the default details
    After this i got a error message saying that
    Adobe LiveCycle Designer ES has encountered a problem and needs to
    close. we are sorry for the inconvenience
    I tried this number of time and was getting this error message every
    time i try to put the DSN Detail and trying to connect to the DB. This
    was really irritating.
    Can somebody's what's the Issue . Is this a Resource Conflict or
    something else
    P.S :- I am using Adobe LiveCycle Designer ES2 Ver.9.0.0 with Windows XP and MySQL
    Connector /ODBC 3.51 and the DB Connection is working good for MS
    Access( though i don't need MySQL Connector fot this ).
    Any Help would be highly appreciated
    Thanks Alok

  • Error 1009, Adobe Livecycle Designer Guide (can't open Form Guide)

    Hi,
    I'm using Windows XP and Adobe Livecycle Designer version: 8.2.1.3144.471865
    I can't open the Form guide I've got an error '1009' (see the details on attached files).
    Do anyone know what it is + and how to fix it ?
    Thanks for your responses

    Hi Chintan
      This resolve my problem, i don´t know what´s happend with the Adobe LiveCycle Designer, i imagine that is not a stable version yet.
    Thnks again
    Josué Cruz

  • Out of memory errors shortly after saving Adobe LiveCycle Designer

    Stuck in a loop.  I am being forced to give up on a pdf that I put hours of work in.
    I can open the document and work in it for a while, but one large text box will instantly crash the program if I select it.
    The name of the text box is very long.  This was named as the file was converted automatically with the acrobat professional forms wizard.
    If I could delete the field i would but as soon as I select it I am hosed.
    The debugger opens asking me if I want to open visual studio.  
    I have no choice but to just give up on all the work on this document.
    I am using xp and no logs are written to the event view or in the
    any files with the word log in it in the adobe folder.
    I have adobe livecycle Designer ES 8.2.1.4029
    I have similiar crashes with the CS3 version on my other pc.  for instance I have
    I have had to uninstall visual studio even to get livecycle to run. Also neither version will convert a word document.
    So I print word as a pdf, the open it in acrobat pro and run the forms wizard,  then I can convert that to LiveCycle.
    it works.
    I have to get this project done,  so I will go back to word and either reduce the textbox size,  and thankfully I can copy the work I do have out of the corrupt pdf. 
    My question is,  is there a way I can somehow delete the evil text box that instantly crashes the program.
    Wow.

    Hi,
    Can you attach the file to the forum and I can see if I can delete the text box here?
    Niall

  • Adobe LiveCycle Designer "Open Cancelled" error

    Hi,
    When i use xfa.event.cancelAction = true; all dropdown fields and signature fields get locked and when i try to open a dropdown list a messege "Open Cancelled" appears and i cannot modify the value and when trying to sign the pdf a messege "sign canceled" appears.
    Only some of the client machines are having this problem.
    All machines are having Adobe Reader X and IE 8.
    I am using Adobe LiveCycle Designer 9.0 (SP2).
    Thanks in advance.

    Hello Chalukya,
      I'm facing the similar situation. Did you figure out the solution for this?
    Thanks in advance,
    kc

  • Starting Adobe LiveCycle Designer 8.2

    Hi All, I know this sounds like a silly question but after installing the Adobe LiveCycle Designer 8.2 on my pc i cant find any startup icon or any entry in programs. I can find the install folder C:\Program Files (x86)\Adobe\Designer 8.2 but in the root i find no .exe.
    Please can some tell me how to strat the Designer tool.
    Thanks in advance

    Hi all, has anyone used the latest ce7.2 with adobe life cycle designer 8.2 in NWDS??
    If yes please let me know if there are any special requirements to get it to work. After installing 8.2 and opening a WDP with a inteactive form UI element added i try and edit the adobe form i get an error.
    Internal Error
       Plug-In Name: Web Dynpro Adobe Template Designer
       Internal Error  : com.sap.ide.webdynpro.adobetemplatedesigner
       Class      : com.sap.ide.webdynpro.adobetemplatedesigner.AdobeDesignerEditorPart
       Method     : createPartControl
       Message    : Class ID not found in registry
       Exception  : org.eclipse.swt.SWTException: Class ID not found in registry
    org.eclipse.swt.SWTException: Class ID not found in registry
         at org.eclipse.swt.ole.win32.OLE.error(OLE.java:317)
         at org.eclipse.swt.ole.win32.OLE.error(OLE.java:283)
         at org.eclipse.swt.ole.win32.OleControlSite.<init>(OleControlSite.java:98)
         at com.sap.ide.webdynpro.adobetemplatedesigner.AdobeDesignerEditorPart.createPartControl(AdobeDesignerEditorPart.java:91)
         at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
         at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
         at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
         at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
         at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
         at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635)
         at com.sap.ide.webdynpro.adobetemplatedesigner.listener.ViewDesignerActionListener.launchAdobeDesigner(ViewDesignerActionListener.java:73)
         at com.sap.ide.webdynpro.adobetemplatedesigner.contentprovider.LaunchDesignerAction.run(LaunchDesignerAction.java:53)
         at com.sap.ide.webdynpro.viewdesigner.service.ContextMenuService.executeAction(ContextMenuService.java:912)
         at com.sap.ide.webdynpro.viewdesigner.ViewDesignerPart$4.handleEvent(ViewDesignerPart.java:853)
         at org.eclipse.swt.ole.win32.OleEventTable.sendEvent(OleEventTable.java:55)
         at org.eclipse.swt.ole.win32.OleEventSink.notifyListener(OleEventSink.java:145)
         at org.eclipse.swt.ole.win32.OleEventSink.Invoke(OleEventSink.java:120)
         at org.eclipse.swt.ole.win32.OleEventSink.access$1(OleEventSink.java:97)
         at org.eclipse.swt.ole.win32.OleEventSink$1.method6(OleEventSink.java:71)
         at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
         at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
         at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
         at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    Thanks

  • Adobe LiveCycle Designer ES closes every time I open it :(

    Hello all, I want to thank you beforehand for the help regarding this matter. I use Windows Vista and my Adobe LiveCycle Designer was working before but for the last week and a half or so I have not been able to get it to work! I have done scandisk/defrag/and have multiple software to keep my computer clean so I have taken those precautions beforehand. To the problem...:
    My Adobe LiveCycle Designer opens up and it was working previously as mentioned, but when I try to open it by either opening or converting a form or creating a new form with a template, I am not able to as it gives me an error message and closes! It gives me an error message of "Adobe LiveCycle Designer ES has stopped working" and a screenshot of this is provided at the following link:
    http://www.mediafire.com/imgbnc.php/bc59d422150595157c212a5b181313244g.jpg
    I don't know what to do and wanted to see if I could solve this problem before I was forced to try to manually reinstall it so hopefully I don't have to go through that. I appreciate the help once again!

    I am dealing with the same problem. I called Adobe technical support and spent hours to fix the problem but none worked. I tried to explain them the error might be caused by the Activation process but they just made me uninstall and install application several times.
    When I start LiveCycle it gives the following error: adobe livecycle designer es has stopped working.
    I start debugger to see what's going on and get the following exception: Unhandled exception at 0x773db663 in FormDesigner.exe: 0xC015000F: The activation context being deactivated is not the most recently activated one.
    Does anyone know how to deactivate this product manually? Because deactivate menu is dimmed and I cannot deactivate product from the program. I believe if I can just remove activation info and activate it again this problem might disappear.
    Thanks

  • My Adobe LiveCycle Designer ES closes when I open it....:(

    Hello all, I want to thank you beforehand for the help regarding this matter. I use Windows Vista and my Adobe LiveCycle Designer was working before but for the last week and a half or so I have not been able to get it to work! I have done scandisk/defrag/and have multiple software to keep my computer clean so I have taken those precautions beforehand. To the problem...:
    My Adobe LiveCycle Designer opens up and it was working previously as mentioned, but when I try to open it by either opening or converting a form or creating a new form with a template, I am not able to as it gives me an error message and closes! It gives me an error message of "Adobe LiveCycle Designer ES has stopped working" and a screenshot of this is provided at the following link:
    http://www.mediafire.com/imgbnc.php/bc59d422150595157c212a5b181313244g.jpg
    I don't know what to do and wanted to see if I could solve this problem before I was forced to try to manually reinstall it so hopefully I don't have to go through that. I appreciate the help once again!

    Hi,
    I have a few screenshots here that show Windows XP and Vista: http://forums.adobe.com/message/2226510#2226510.
    C:\Users\Username\AppData\Roaming\Adobe\Designer\8.2\
    In addition it is the same location for Windows 7:
    Good luck,
    Niall

  • Adobe LiveCycle Designer ES closes when I open it...

    Hello all, I want to thank you beforehand for the help regarding this matter. I use Windows Vista and my Adobe LiveCycle Designer was working before but for the last week and a half or so I have not been able to get it to work! I have done scandisk/defrag/and have multiple software to keep my computer clean so I have taken those precautions beforehand. To the problem...:
    My Adobe LiveCycle Designer opens up and it was working previously as mentioned, but when I try to open it by either opening or converting a form or creating a new form with a template, I am not able to as it gives me an error message and closes! It gives me an error message of "Adobe LiveCycle Designer ES has stopped working" and a screenshot of this is provided at the following link:
    http://www.mediafire.com/imgbnc.php/bc59d422150595157c212a5b181313244g.jpg
    I don't know what to do and wanted to see if I could solve this problem before I was forced to try to manually reinstall it so hopefully I don't have to go through that. I appreciate the help once again!

    Shawn,
    This may be a couple of known things; one is related to your specific installation (may have become corrupted if you did an upgrade from a previous version, especially if you upgraded from Beta?) Or, it may be related to a known SQL Server compatibility bug for which a hotfix will shortly be posted. (Problem with some Microsoft DLLs that get updated if you install SQL server).
    If you have SQL Server installed, try looking on these forums for a patch that should be posted within the next 2 days. If not - please contact me directly, as I'd like to get someone on my development team to help look through your installation and see what the problem is, so we can fix this properly.
    Mike

  • Livecycle Designer Error- everytime I open FORMS-HELP!

    Can someone help me please?!
    I can't seem to find anyone that can.
    I have CS3 and everytime I open forms this happens. I have uninstalled and reinstalled it 4 different times-still continues...
    I get this ERROR:
    Adobe LiveCycle Designer has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error signature:
    AppName: formdesigner.exe AppVer: 8.0.2073.1 ModName: unknown
    ModVer: 0.0.0.0 Offset: 04d58113
    then I get a second one saying:
    Error signature:
    AppName: formdesigner.exe AppVer: 8.0.2073.1 ModName: ntdll.dll
    ModVer: 5.1.2600.2180 Offset: 000431a0
    thanks,
    cyndie

    Can anyone who is having these issues send the crash dump to [email protected] and I will forward them to R&D for investigation.
    Here are instructions on where and how to get the dump files.
    =================================================================
    Sometimes it is useful to capture an ad-hoc minidump file from FormDesigner when it crashes. Here are instructions for doing this on Vista, and XP.
    On Vista 32 bit, wait for the app to crash, and while the "your app has crashed" dialog is still visible, go to Task Manager process list, right click on FormDesigner .exe, and select "Create Dump File' from the context menu. After the dump file is written, its location will be shown in a second dialog box. The "designer crashed" dialog can then be dismissed.
    For Vista 64 bit, I think the dump files produced this way are probably not useful, because they will show stacks for the "64 bit side" of the 32 bit process, which is not what we want to look at. For Vista64, it is probably necessary to attach a real debugger to FormDesigner .exe and write a dump file.
    On XP, if the default drwtsn32 post-mortem debugger is installed, the dump of the last crash is available at "C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson\user.dmp". If the user has installed a different post-mortem debugger (e.g. visual studio) or disabled things somehow, then an ad-hoc dump can be made by waiting for the "designer crashed" dialog, and leaving that open. Then go to task manager's process list and note the process ID of FormDesigner .exe. Then bring up a command prompt and type:
    Drwtsn32 -p designer_PID
    where designer_PID is the process ID of FormDesigner .exe found in task manager. After that, the "designer crashed" dialog can be closed, and the dump will be found in "C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson\user.dmp".
    Along with the crash dump file, you should provide the exact build number of the FormDesigner executable you are running (e.g. 8.2 is not sufficient.) You can find the build number by right clicking on FormDesigner .exe and looking at the "Details" tab. It's the "Product Version" entry.

  • Adobe LiveCycle Designer ES has stopped workin

    After many projects with LiveCycle Designer, I get the following error message when trying to open any file that was created with the program: "Adobe LiveCycle Designer ES has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." Operating system: Windows 7. I removed and reinstalled CS4 Master adding back Acrobat 9. I also downloaded and installed 32-bit version of the executable file vcredist_x86.exe. Please help!

    That could be due to a number of reasons so it's hard to pinpoint what caused the issue.
    Found this thread online: http://forums.adobe.com/thread/572584
    Not sure if this helps.

  • Adobe LiveCycle Designer and Office 2010

    Hi guys,
    I'm using Adobe LiveCycle Designer (version 9 / ES2). I try to open a MS Word file, but I receive an error message.
    Word (version XP or higher) cannot be found on the machine.
    OS: Windows 7 Enterprise
    Office: 2010
    I read that the version 8.2 of LiveCycle Designer doesn't work with Office 2007 and higher. In this constellation the same error message appears. Is it the same problem on my side? How can I solve it?
    Many Thanks,
    untalentiert

    I'm running Win XP using Parallels 8... LiveCycle Designer is WIndows only and Acrobat XI will only import hyperlinks correctly from Windows versions of Office - which is why I use Office on both the Mac and Windows side, as well as Acrobat XI on both platforms. You can't use the Office plug-ins for Office using LibreOffice (or even Office 2011 for Mac) hence the need to open docs in Word on the Windows side instead of the Mac side.
    What I'm confused by is the pricing difference between the packages - I guessing that the $163 package is the 'full retail' and not an OEM or anything - but I don't know if an OEM would even work under a VM with Parallels...
    So I may end up with the full retail version, although I'd like to save the $70 difference if I can!
    Thanks,
    Clinton

  • Adobe LiveCycle Designer 9.0 ES keeps crashing at Startup

    Dear All,
    When I start to edit some PDF form in SFP transaciton I get crash all of SAP GUI programms on my PC. It all just has closed and that's all. No errors, no message.
    This is heppened whith installed:
    Adobe Life cycle Designer 7.0
    Adobe Life cycle Designer 7.1
    Adobe Life cycle Designer 8.0
    When I started edit PDF with this ver. Adobe Life cycle Designer 9.0, I get error "Can't create new document".
    I guess there is a problem in files C:Documents and Settings
    [username]Local SettingsApplication DataSAPSAP GUI*.tmp
    In opened one I have next error in file:
    a "begining" is correct, but a "end" hasn't correct end of xml structure.
    may be I wrong ....
    Does anybody know wath is the problem?
    Thank you.
    P.S.   a)  I checked out : [Most important Notes|The most important SAP Notes for SAP Interactive Forms].
             b) Information of my system.
    SAP PC VERSION INFORMATION: sapfront.dll
    MAIN MODULE INFORMATION:
    sapfront.dll
    SAP- SAP Front for Windows
    720 Final Release
    7200.3.7.3213
    1257409
    SYSTEM INFORMATION:
    Operating system: Microsoft Windows XP 5.1 (2600)
    Service Pack 3
    path............: C:Program FilesSAPFrontEndSAPgui;C:Program FilesCommon FilesSAP Shared;C:Program FilesSAPSAPsetupsetup;C:Ruby193 in;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesHPQIAM in;C:Program Filesfop-0.95;C:Program FilesQuickTimeQTSystem;C:WINDOWSMicrosoft.NETFrameworkv4.0.30319;C:Program FilesGammaTechTumarCSPlib;C:Program FilesIronRuby 1.1 in;C:Program FilesVimvim73;C:MinGWmsys1.0 in;C:MinGW in;C:Program FilesJavajre6 in;C:WINDOWSMicr
    Edited by: Sergei Rykov on Feb 3, 2012 12:44 PM

    http://scn.sap.com/community/support/blog/2013/04/02/adobe-livecycle-designer-common-crash-problem
    C:\Documents and Settings\your_user_name\Application Data\Adobe\Designer
    your_user_name = this is your username used by your windows.
    Solution:-
    Just rename your Designer
    to Designer_backup
    or
    you can choose to delete it.

  • Form design Adobe Livecycle Designer ES 8.1

    Hi,
    I have created a Form in Adobe Livecycle Designer ES 8.1.
    The form contains 6 pages.I want to display the particular page by clicking the button. I have designed those buttons in MasterPage like header.
    I am able to display the particular page. One condition i need to display 1 & 2 page at a time .I am not able display this scenario.
    Please help me.

    form1.#variables[0].controller - (JavaScript, client)
    var im;
    var pageName;
    var currentPageNum;
    var dataStore;
    var logLevel;
    var history;
    * ADOBE SYSTEMS INCORPORATED
    * Copyright 2005 Adobe Systems Incorporated
    * All Rights Reserved
    * NOTICE: Adobe permits you to use, modify, and distribute
    * this file in accordance with the terms of the Adobe license
    * agreement accompanying it. If you have received this file
    * from a source other than Adobe, then your use, modification,
    * or distribution of it requires the prior written permission
    * of Adobe.
    * MVC Model 2 XFA Sample Implementation
    * Created on Feb 22, 2005
    * Author Herve Dupriez
    * Email [email protected]
    * Version 1.0
    * Main Action Controller
    * For the simplicity of this controller, actions are coded within this main function.
    * For more complex frameworks, this function could simply act as a switch to other functions.
    function executeAction( action )
    debugLog("executeAction " + action );
    var pnum = getPageNum(action);
    debugLog("history size " + history.length );
    if ( action == "back" )
    if ( history.length > 1 )
    // Restore previous page
    debugLog("back to page " + history[history.length - 2] );
    im[currentPageNum].removeInstance(0);
    currentPageNum = history[history.length - 2];
    loadPage( currentPageNum );
    im[currentPageNum].addInstance();
    else
    forward(1);
    else if ( action == "first" )
    forward(1);
    else if ( action == "last" )
    forward(9);
    else if ( action == "previous" )
    var prev = currentPageNum-1;
    if ( prev > 0 && prev < pageName.length )
    forward(prev);
    else if ( action == "next" )
    var next = currentPageNum+1;
    if ( next > 0 && next < pageName.length -2 )
    forward(next);
    else if ( pnum == -1 )
    showErrorPage(404, "Page Not Found");
    else
    forward(pnum);
    * Initialization of the controller
    * For debugging purposes increase the logLevel variable below
    function init()
    console.println("init");
    // Init log level
    // 0: error
    // 1: warning
    // 2: info
    // 3: debug
    // 4: trace
    logLevel = 0;
    // Initialize instance managers and page names
    if ( im == null )
    scanPages();
    // Initialize "page number"
    if ( currentPageNum == null )
    currentPageNum = 0;
    var dataNodes = xfa.data.form1.nodes;
    debugLog( xfa.data.form1.saveXML() );
    if ( dataNodes != null )
    var intNumElements = dataNodes.length;
    for(var j=0; j < intNumElements; j++)
    var currentElement = dataNodes.item(j);
    debugLog("listNodes found " + currentElement.name );
    if ( currentElement.name.substr(0,5) == "page_" ) {
    var action = currentElement.name.substr(5) ;
    setCurrentPage( getPageNum( action ) );
    break;
    * Show last page viewed when document was saved
    * or the Welcome Page if document opened for the first time
    if ( currentPageNum == 0 )
    im[currentPageNum].addInstance();
    // Initialize a simple data store
    if ( dataStore == null )
    retrieveDataStore();
    // History
    if ( history == null )
    history = new Array();
    history[0] = currentPageNum;
    debugLog("history[0]= 0");
    executeAction("1");
    * Save page data to the in-memory data store
    function savePage( pageNum )
    debugLog("savePage " + pageNum);
    var pageObj = xfa.resolveNode(pageName[pageNum]);
    if (pageObj != null)
    var sXML = xfa.data.form1.saveXML();
    dataStore[pageNum] = sXML;
    * Load page data from the in-memory data store
    function loadPage( pageNum )
    debugLog("loadPage " + pageNum);
    if ( pageNum > 0 && pageNum < pageName.length )
    if ( dataStore[pageNum] != null && dataStore[pageNum] != "" )
    xfa.data.form1.loadXML( dataStore[pageNum], true, true );
    traceLog( xfa.data.saveXML() );
    debugLog("history[" + history.length + "]=" + pageNum);
    history[history.length] = pageNum;

Maybe you are looking for

  • How do you download Kindle book to iPhone 5s?

    I have many Kindle books I've purchased from Amazon; they are accessible to me on-line and I can download them at will to my Kindle.  But how can I download them to my Iphone 5s?

  • WEB AS connection failed

    Hi, i have logon method in User management as SAPLOGON (since we have same userids in Portal as well as in BW systems) and issued the necessary parameters for WEB AS connection as : WAS Description BW Development WAS Host Name IP address:8000 WAS Pat

  • Droid X2 2.3.4 OTA update does NOT install on my phone

    Hello, Today, when I checked for software updates in the settings page of my Motorola Droid X2, it said the 1.3.380.en.US is ready to be applied. I downloaded it and clicked on install once download finished. The phone reboots, shows the logo and the

  • Customizing the sample HTML pages delivered by SAP in Life and Work Events

    Hi All, I have released all the process of the LWE and assigned the default roles to the all processes. Now I am able to see all the SAP delivered screens perfectly. I wanted to change the all the default HTML and Java Web Dynpro iviews to suite the

  • Itunes = applescript = appleworks

    hello, I have written a script that backs up selected songs into an appleworks database. It backs up the name of the band, the song, the lyrics, etc. Here is where I am stuck (on two counts). 1. How do I back up the album artwork out of itunes, and i