Submit the form with the answer in the new browser window

Is it possible to set up a "submit" button so that it displays the answer in a separate browser window?  With an HTML form, I can do this using the target = "_blank", but not aware of such an option on a LiveCycle send button.

If you can't do it, maybe there is another way to do what I need.  Users fill in the PDF data entry form and send the data to a servlet that returns an another (different) PDF.  My user can analyze this PDF file, you see a problem and to return to the data entry form to change what it is entered before the regeneration of the output.  However, at this time there my PDF of original data entry has disappeared.  I'm not using LiveCycle on the server.  Any ideas?

Thanks a lot for your help on this Paul.  I decided to go with the approach of hostContainer despite my reservations.  Here is a simplified version of my servlet.  This version of simply parrots back the XML in a window separate.  I hope this helps someone.

package ca.jlangdon.sampleservlets;

import java. IO;
to import javax.servlet.ServletException;
Import javax.servlet.http.HttpServlet;
to import javax.servlet.http.HttpServletRequest;
to import javax.servlet.http.HttpServletResponse;

SerializableAttribute public class AnnuityFF extends HttpServlet {}

static final long serialVersionUID = 1 L;

' public void doGet (HttpServletRequest request, HttpServletResponse response) survey ServletException, java.io.IOException {}
response.setContentType("text/html");
java.io.PrintWriter out = response.getWriter ();
out.println(")");
out.println(")Generator of realization");
out.println(" ");
out.println(")");
out.println(")");
out.println(")

");
out.println(")
");
out.println(")
");
out.println ("");
out.println(")
");
}

' public void doPost (HttpServletRequest request, HttpServletResponse response) survey ServletException, java.io.IOException {}
try {}
String strExtract = request.getParameter ("myTextArea");
response.setContentType("text/xml");
PrintWriter out = response.getWriter ();
out.println (strExtract);
}
catch (Exception e) {}
}
}
}

My form is called FulfillmentGenerator, and it is stored at the root of the web application.  On this, there is a button with this javascript on the click event:

var oDoc = event.target;

var strData = xfa.datasets.data.resolveNode("AnnuityFulfillmentPackage").saveXML ("pretty");

var strings = [strData];

try {}

oDoc.hostContainer.postMessage (strings);

}

{} catch (ex)

xfa.host.messageBox ("error when sending messages to the container:" + ex);

}

Tags: Adobe LiveCycle

Similar Questions

  • Publish with F12 and open a new browser window

    In Flash CS6 I could publish with F12 and it would be directly open in a new browser window. Is there a way to open a new window of browser in Flash CC after the publication with F12?

    Hi Dist.,

    You can set shortcuts to test Flash - animation and in the browser from the Edit-> keyboard shortcuts dialog box. Check the preview below.

    Thank you and best regards,

    Roger Simon

  • When Firefox, click on the desktop icon to a new window, all existing windows update first with the new FF window on top; How to keep the other minimized windows?

    Older FF Windows are covered with newer FF with the new FF window on top.
    It wastes time & space monitor.
    It is likely that a simple adjustment somewhere...

    This has happened

    Each time Firefox opened

    Is with version 3.6.6.

    This can be caused by a problem with an extension (Tools > Modules > Extensions)

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).
    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

    If this does not work in safe mode and then disable all your extensions and then try to find out who is causing by allowing both the problem reappears.
    You can use "Disable all add-ons" window the startup of Firefox to solve the issues in Safe Mode to disable all extensions.
    You will need to close and restart Firefox after each change via "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')

  • Help with a link to a web page in the same browser window

    I've just updated my Flash MX to CS5.5 and am completely perplexed at what seems to be the most basic of functions.

    I have a small Flash animation that is embedded on a site. At the end of the film, there is a call to action to click on another page on this site. However, it seems that the only action in the Code Snippets Panel is for an action that opens a new browser window. I miss the Panel basic actions! Am I missing something here? How do I have to? I tried to change '_self' instead of '_blank' code but it does not work

    Here is the code:

    button_5.addEventListener (MouseEvent.Click, fl_ClickToGoToWebPage_9);

    function fl_ClickToGoToWebPage_9(event:MouseEvent):void

    {

    navigateToURL (new URLRequest ("purchase.html"), "_blank");

    }

    Change it to test on a server and _self.

  • my shortcut folders disappear and I can't disable the cleanup of unused shortcuts on the new computer windows 7

    my shortcut folders disappear and I can't disable the cleanup of unused shortcuts on the new computer windows 7

    I have a lot of shortcuts I need readily available and it is very annoying when they disappear without my wanting to do.  I spent hours looking for an answer and I can't change the setting on the maintenance of the system 'clean up unused and shortcuts files' - but some missing I have used very recently - in the last week - so no reason for them to be cleaned - I tink im going to send this back stupid computer and get an Apple!

    I never had this problem with windows XP - windows 7 is rubbish if I can't disable this fundamental thing.

    Hello

    Have you made changes before the start of this issue?

    Method 1: The desktop shortcuts disappear in Windows 7

    http://support.Microsoft.com/kb/978980

    Method 2:

    Step 1: You can check if the same problem occurs in safe mode with network.

    Please follow the link on how to start the computer in safe mode with network below.

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2: Clean boot

    How to set up Windows 7 to start in a "clean boot" State

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Let us know if that helps.

  • Is there a way to specify which fields are displayed in the "new contact" window in the address book, or at least highlight those that are important to me?

    It would be nice if I could put together the fields in the "new contact" window in the address book, or at least highlight those that I need with bold or a different color. Is there a way? Thank you.

    Thank you for your reply, I tried already with this addon. Unfortunately this would not help me.

  • The firefox browser window is not visible, only the toolbar. Have deleted and reloaded but no change

    When I open firefox, only the toolbar is visible. The main browser window is not available. I tried to open a new window in the menu bar, but no browser window appears.
    I deleted the program from my mac and reloaded a new version on the mozilla site, but still no navigation window.
    I'm not able to access the reset button, it takes a window is visible.

    I use a macbook pro with the latest osx responsible.

    You can try to do some maintenance.

    Repair disk permissions:

    Delete the plist of Firefox (org.mozilla.firefox.plist).

    Go to "~/Library/Preferences" and delete the plist for Firefox (org.mozilla.firefox.plist)

    You can check the problems caused by a corrupt localstore.rdf file.

    Create a new profile as a test to see if your profile is the source of the problems.

    See "create a profile":

    If the new profile works then you can transfer files from a profile in the new profile, but make sure not to copy corrupted files.

  • WRT54G v.5 will remain not connected to the new laptop / Windows 7 Premium

    WRT54G v.5 will remain not connected to the new laptop / Windows 7 Premium. It works continuously with a cycle detection, connection, loss of connection; detection, connection, loss of connection, etc... The router works through this cycle, basically acting as if I disconnected and then reconnected to the power to reset, it disrupts my Internet connection to my Wired iMac and wireless, another office to the floor. Paid for Linksys support today and through remote access, he put up a new network on my desktop (iMac). After finishing, the problem still exists. When I told him that the problem had not been corrected, he said just wait an hour or two and it should work itself. She, of course, did not himself. Any ideas out there?

    Nevermind - I seem to have solved the problem with a simple firmware. Funny how the Linksys technician support don't think to ask what version of the router I have or suggest that I should try to upgrade firmware first. However, he is quite good at trying to upsell me for a new router instead of trying to help me solve the problem I had. It makes me want to go buy Netgear next time, thanks a lot!

  • Open the PDF link in a new browser window?

    I have consulted newly created a PDF file in a browser.

    When you click an internal link, the linked PDF load in the same window

    I need to launch in a new browser window.

    I put the link to 'new window to launch' in Word, the origin of this file.

    I also opened and resaved it in Acrobat 10 with preference 'Open links in the same interdocument window"deselected.

    None of these settings have changes the behavior while all the documentation I've read seems to suggest that they should.

    What I'm missing here?

    -Blake

    That the parameter preference does not apply to web links and do not refer to a browser window, but an Acrobat window.

    There is a JavaScript method that might work. Try to set the link for the action to something like the following script:

    app.launchURL("http://www.example.com/", true);
    

    This was taken from the example here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.150.html

    The problem is that if a user has 10 drive and protected mode is enabled (as it is by default), it does not work and opens the link in the same browser window.

  • Cannot connect two work spaces in the same browser window

    Hello
    Happy holidays to all. I have problem to identify two workspaces (associated with two diagrams) in a browser with two tabs in the browser. The situation as the following:

    -Using Internet Explorer 7.0 or Firefox
    -Login in A work space, associated with the AA scheme. (connect successfully)
    -Then, click New tab in the same browser window, log in the workspace B, associated with the schema BB. (connect successfully)
    - The tab of connection of space one was closed (kicks) automatically.

    If I open two separate browsers, I can connect a work space in the window of a browser and connect another workspace in a separate window, not tab.

    Why? Is somewhere, I missed setting or configuration for APEX? All advice is greatly appreciated.

    Candice

    You're right, you can't do that.

    Try using Firefox chrome and one for the other.

    Tyler Muth
    http://tylermuth.WordPress.com
    [Oracle security application: development of secure database and Middleware environments | http://sn.im/aos.book]

  • Hyperlinks open in the same browser window

    Hey Gang!

    How do I create a hyperlink so that it opens in the same browser window and don't keep open a new window each time?

    See you soon!

    Gregory

    Hello

    It's kinda a 'hack', but you can use a Flash movie embedded to have more control over the process of any hyperlink. Basically, you simulate the hyperlink to a button in Flash, but instead of looking like a navigation button, you use the text of your hyperlink. This has the added benefit that you can make the text respond to mouse rollovers and clicks with a color change, something will links in PowerPoint.

    So, assuming you named the instance of your 'button' as myLink_btn, you add some actionscript to the main timeline:

    myLink_btn.onRelease = function () {}
    getURL (" http://my.url.com/index/index.htm","_self");
    }

    You compile your little Flash movie and just embed in your Powerpoint where you want. The student will never see the difference. We use this solution to provide the student a "Printable" presentation version - until we compile the PowerPoint with presenter, allows us to make a pdf Acrobat version and upload it to the Breeze server. On the first page of the presentation is a based on flash "link" to the pdf document, and the student assumes only Breeze is 'print' a copy of the presentation.

    More on getURL: you can have load a window named by replacing '_self' by the name of the window or a new window with "_blank". The getURL command also allows to send javascript commands in the browser that is running the Breeze presentation. If you need to use relative links (if you go to the construction of a stand-alone application on a CD, for example, and you want to link to the pdf documents in a subdirectory), this is the best way to do it, as the presenter did a bad job of conversion of links in PowerPoint. And, as I said, you can have the links "light up" when the mouse user above them, something that connects in PowerPoint will not be.

    But... to say that you have 30 pdf documents on your Breeze server, and you want to make a navigation to a simple page for them. If you are not concerned about LMS data capture, it's MUCH easier to simply create the interface all in a single Flash document and send the student to one - just put all the pdf documents in a folder on the server of the game is to "allow public consultation", and they don't don't even need to log the server to read. :) It is an excellent solution if your company is like mine, where some people have created their own little fiefdom controlling the real web server, and you use Breeze to accommodate all kinds of resources that would normally be available on your intranet. If you say that you want to host a resource on the 'web', you will need to go through them (and what a pleasure a process i.e. - they insist on building everything themselves to justify their budget)... but if its on 'training Breeze sever', they don't care.

    Laughing out loud.

    v/r,
    ~ Marc B

  • It's a way to change the new browser format to look like the older browser.

    I read somewhere that you can change the appearance of the new browser to resemble 3.6, but I do not remember how to do it. can someone refresh my memory. Thank you

    http://www.howtogeek.com/58035/how-to-make-Firefox-4-look-like-Firefox-3/

  • I can open a new browser window, but not a new tab, or by clicking on the sign more or select it from the menu. I have completely updated to firefox and also rebooted. What is going on?

    I can open a new browser window, but not a new tab, or by clicking on the sign more or select it from the menu. I have completely updated to firefox and also rebooted. What is going on?

    Try to disable or uninstall the extension "Ask Toolbar".

  • How to animate canvas Link to open in the same browser window?

    I have created a Web film animate CC and want to click on it to post a link to a URL.  However, I want the URL linked to open in the same browser window - not a new browser window.  I used the code snippet of the canvas in order to link the URL, but it seems to work for opening in a new browser window.  How can I change the code so that the link opens in the same browser window?

    Please notify.

    Thank you.

    _Self to use instead of _blank as target.

  • Does not update CS5 Production Premium, re-installed on the new PC (Windows 8.1). Cannot read Canon CR2 files.  I have re-installed.  What's wrong?

    Does not update CS5 Production Premium, re-installed on the new PC (Windows 8.1). Cannot read Canon CR2 files.  I have re-installed.  What's wrong?

    Jeff, thank you.  I couldn't update any program in CS5.  It turned out that I had to do a 'update manual".  Not sure why it was different, but it worked.

Maybe you are looking for