Button to launch another application

what is js for launching another applicatoin?

I found this:
To add  script to open a user-specified PDF file
Add the following script to the Open  button:
app.openDoc(FilePath.rawValue);
In the help section under "Opening an application from a form". This
wouldn't seem to fit what you want for 2 reasons.
1. The example requires the user to input the path of the file into
a text field
2. It doesn't work. I get a js error saying that security settings
prevent access to that method
If you can get around the security settings and the path to the
application is a known quantity for your prospective users, I would
think you could hard code in the path on the click event. The problem
is getting around the security settings.
addendum:
I'm able to get another Adobe pdf to open with this script but so far
nothing else.

Similar Messages

  • I got a new computer and all applications were transferred to the new one. When I launch Acrobat 8 Professional, I get a warning that Acrobat cannot be launched now and that I need to launch another application e.g. Photoshop which is already launched. An

    I got a new computer and all applications were transferred from the old one. However, when I tried launching Acrobat 8 Professional, I get a message that says: "Adobe Acrobat 8 Professional cannot be opened at this time and I need to launch another application in the suite e.g.Photoshop" which is already launched. Is there some help around this?

    It appears that you have the CS. What new OS do you have. If it is Win 8.1, you may have to purchase a new version of Acrobat for that system. Folks have succeeded with AA 8.1 on Win 7, but I have not heard of any successful installs on Win 8.1. As for the issue you have with the new OS, you do have to follow the CS install process that is different than the stand-alone Acrobat (there are some posts that discuss the process if you search).

  • Button to launch another java file????

    Hi there,
    Was wondering if someone could help with the following:
    I have a button, which once clicked opens another java file, and am aving some difficulty in doing this.
    The file which has the button is:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    import java.util.*;
    class JFrameHolidayPlannerGUI extends JFrame
         //declare the variable using in here
         private JButton exit;
         private JButton clear;
         private JTextField t;
         private JLabel employeeId;
         private JTextField t2;
         private JLabel days;
         private JButton find;
         private JMenuItem close;
         private JMenu file;
         private JMenuBar menubar;
         private JButton add;
         private JPanel panel1;
              public JFrameHolidayPlannerGUI()
              //Set the title of the frame
              super("Company Holiday Tracking System");
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Container contentPane = this.getContentPane();
              //Created a pane with four panels and null columns
              contentPane.setLayout(new GridLayout(4,0));
              JMenuBar menubar = new JMenuBar();
              setJMenuBar(menubar);
              JMenu file = new JMenu("file");
              JMenuItem open = new JMenuItem ("Open...");
              JMenuItem save = new JMenuItem("Save");
              JMenuItem close = new JMenuItem ("Close");
              JMenuItem print = new JMenuItem ("Print...");
              menubar.add(file);
              file.add(open);
              file.add(print);
              file.add(close);
              file.add(save);
              close.addActionListener(
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)// Define the action to take after user enters the name
                             //if (e.getSource() == exit)
                             System.exit(0);
              JPanel panel = new JPanel();
              panel.setLayout(new FlowLayout(FlowLayout.LEFT));
              contentPane.add(panel);
              JLabel employeeId = new JLabel("Please Enter the employeeId", JLabel.CENTER);
              final JTextField t = new JTextField(15);
              t.setToolTipText("Please Enter the employeeId");
              t.setEditable(true);
              t.setText("Enter employeeId in here");
              JButton find = new JButton("Search for a Record");
              find.setToolTipText("Click to search for an employee record");
              find.addActionListener(
                   new ActionListener()
                        public void actionPerformed (ActionEvent e)
                             System.out.println("time");
              panel.add(employeeId);
              panel.add(t);
              panel.add(find);
              contentPane.add(panel);
              JPanel p2 = new JPanel();
              p2.setLayout(new FlowLayout(FlowLayout.LEFT));
              contentPane.add(p2);
              days = new JLabel("How many days would you like?", JLabel.LEFT);
              final JTextField t2 = new JTextField(15);
              t2.setToolTipText("How manys days would you like?");
              t2.setEditable(true);
              t2.setText("Enter the numbers of days in here");
              JButton submit = new JButton ("SUBMIT");
              find.setToolTipText("Press enter to submit holiday request");
              submit.addActionListener(
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             JFrame = new JFrame();
                             frame.addWindowListener(new WindowAdapter() {
                                       public void windowClosing(WindowEvent e) {
                                            System.open();
              p2.add(days);
              p2.add(t2);
              p2.add(submit);
              contentPane.add(p2);
              JPanel panel1 = new JPanel();
              panel1.setLayout(new FlowLayout(FlowLayout.LEFT));
              contentPane.add(panel1);
              JButton save1 = new JButton("Save");
              save1.setToolTipText("Click to save");
              panel1.add(save1);
              exit = new JButton("Exit");
              exit.setToolTipText("Click to exit");
              panel1.add(exit);
              exit.addActionListener(
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)// Define the action to take after user enters the name
                             //if (e.getSource() == exit)
                             System.exit(0);
              JButton clear = new JButton("Clear");
              clear.setToolTipText("Click to clear the information");
              panel1.add(clear);
              clear.addActionListener(
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)// Define the action to take after user enters the name
                             t2.setText(" ");
                             t.setText(" ");
              add = new JButton("Add");
              add.setToolTipText("Click to add an employee");
              panel1.add(add);
              this.pack();
              this.setVisible(true);
         public static void main(String[] arg)
              JFrameHolidayPlannerGUI jf = new JFrameHolidayPlannerGUI();
    and the file that needs to be opened is:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    import java.util.*;
    class JFrameSubmitValidate extends JFrame
         private static String label = "Are you sure you want to Submit?";
              public JFrameSubmitValidate()
                   //Set the title of the frame
                   super("Vaidator");
                   this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   Container contentPane = this.getContentPane();
                   //Created a pane with four panels and null columns
                   contentPane.setLayout(new GridLayout(2,0));
                   JLabel validate = new JLabel(label);
                   JButton OK = new JButton("OK");
                   JPanel panel = new JPanel();
                   contentPane.add(validate);
                   contentPane.add(OK);
                   this.pack();
                   this.setVisible(true);
              public static void main(String[] arg)
                   JFrameSubmitValidate sv = new JFrameSubmitValidate();
    thanx for your time.
    kev.

    Similarly to this above discussion, I would like to know how to launch another java file by clicking a button "submit". Can you guys guide me based on the code i have shown below..?
    import java.awt.*;
    import java.awt.event.*;
    class MenuFrame extends Frame implements ActionListener
    Label login=new Label("Login ID :",Label.CENTER);
    TextField lname=new TextField(12);
    Label pass=new Label("Password :",Label.CENTER);
    TextField lpass=new TextField(10);
    Button submit=new Button("Submit");
    public MenuFrame(String title)
    super(title);
    setLayout(new FlowLayout());
    add(login);
    add(lname);
    add(pass);
    add(lpass);
    add(submit);
    submit.addActionListener(this);
    addWindowListener(new CloseWindow());
    public void actionPerformed(ActionEvent e)
    Object source=e.getSource();
    if(source == submit)
    lname.setText("w");
    lpass.setText("w");
    repaint();
    public static void main(String args[])
    MenuFrame m=new MenuFrame("Java Chat Application");
    m.setSize(200,200);
    m.show();
    class CloseWindow extends WindowAdapter{
    public void windowClosing(WindowEvent event){
    System.exit(0);

  • Cannot launch another application in Mac OS X 10.8 using NSWorkspace launchApplicationAtURL:options:configuration:error

    I am launching another app using NSWorkspace launchApplicationAtURL:options:configuration:error.
    The app is owned by root, has permission: rwx r-x r-x, and owned by root:wheel.
    The app is also located in /Applications folder (e.g. /Application/MyApp.app).
    According to the following link under the "Launching Helpers with Launch Services" section:http://developer.apple.com/library/mac/#documentation/Security/Conceptual/AppSan dboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html
    I should be able to launch my app because the following condition is met:
    The app is installed in /Applications and the app bundle and all contents are owned by root.
    When launching the app, I get the following error:
    "The application “MyApp” could not be launched because it is corrupt."
    "The operation couldn’t be completed. (OSStatus error -10827.)"
    Which is, according to the same link, the error when none of the conditions have been met.
    Note that I am using Mac OS X 10.8. In Mac OS X 10.7.5, I don't encounter the same issue.
    Note also that I am trying to run the app "MyApp" inside a sandboxed application.
    I tried using 2 builds of "MyApp", but in both builds, the issue can be replicated:
    Code-signed (using a self-signed certificate)
    Not code-signed
    What seems to be the problem? Am I missing something?

    Yes, but it also says in the apple documentation that:
    A sandboxed app is allowed to launch a helper using Launch Services if at least one of these conditions has been met
    Even if I did not pass the condition:
    Both the app and helper pass the Gatekeeper assessment. By default that means both are signed by the Mac App Store or with a Developer ID.
    I am pretty sure that the following condition has been met:
    The app is installed in /Applications and the app bundle and all contents are owned by root.

  • Unable to open forms when Launching another application on same browser.

    Hi,
    I have a server with configuration Oracle EBS 12.1.1 on RHEL 5.5, Database 11.1.0.7. On client machine we use Internet explorer, Firefox and Chrome to access the EBS and forms.
    We are able to open the forms from all browsers, but problem arise when we access another application on same browser, resulting in not opening of oracle forms.
    This is a java application using the same database on the server. This application works fine but Our Oracle Forms has to face the problems.
    When we try to launch the forms, it results in FRM-92101 error. I read the MOS documents for
    R12: "FRM-92101:There was a failure in the Forms Server during startup" Error When Attempting to Launch Forms [ID 454427.1]
    Then I checked the application log file, it says that:
    13/08/12 18:47:41.891 formsweb: Forms session <207> failed during startup: no response from runtime process
    13/08/12 18:50:43.704 formsweb: Forms session <209> aborted: runtime process failed during startup with errors
    Unable to switch to Working Directory: /oracle/TEST/apps/tech_st/10.1.3/forms
    When I further investigate I found there is no such "forms" directory under "/oracle/TEST/apps/tech_st/10.1.3".
    Then I read Oracle Notes:
    FRM-92101 : Unable To Switch To Working Directory. (Doc ID 1434888.1)
    FRM-92101 Error in Application.log: Unable to Switch to Working Directory (Doc ID 432708.1)
    But no luck with all these. Please suggest something. Can't open both application simultaneously on same browser.
    Regards,
    Prashant Namdeo

    Hi,
    Please state whether the application was working fine before.
    Please provide log file  of:
    --$LOG_HOMEora/10.1.3/j2ee/forms/forms_default_group_1/application.log
    --DB alert logfile --check whether you can find any valuable information.
    Please have a look at the following MOS notes:
    FRM-92050 java.lang.UnsatisfiedLinkError: no frmjsl in java.library.path [ID 438522.1]
    Troubleshooting FRM-92XXX Errors in Oracle Applications [ID 365529.1]
    And have a look at:
    http://oracleared.blogspot.com/2012/11/frm-92191-there-was-failure-in-form.html
    Best Regards,

  • Launching another application from Palm KVM

    Hi, is there anyway where I can pass a string variable to another application on the palm using the KVM?

    [axlrose82],
    Do you mean mulitple MIDlets app running on the Palm? Currently J2ME does not support multiple MIDlets running on a kVM i.e. only one MIDlet per kVM.
    If you are looking at passing the string variable information for later use by another MIDlet, one solution that we can suggest is for you to store the string variable object on to the persistent storage mechanism of CLDC/MIDP i.e. the RMS persistent store.
    Is this what you are asking?
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • One button to launch another

    i have several buttons on one stage that are supposed to do
    the same thing. they're all very code intensive so i'd just like to
    code one and have the rest simply act as though selecting them
    selects the button with all the script. I'd think this would be
    simple but I haven't tracked down the solution yet. thoughts
    anyone??
    thanks

    show the code for two of your buttons.

  • Handling push messages without launching the Application

    Hi
    I have done couple of Applications using Push messages but still I am searching for a solution. Consider I have pressed the Exit button without launching the application when a push messages hits my application, So when I launch my application manually the next time, how to get the previously exited push message. Sorry If my question doesnt make any sense. I appreciate all the replies...
    Pravin

    Hi
    I have done couple of Applications using Push messages but still I am searching for a solution. Consider I have pressed the Exit button without launching the application when a push messages hits my application, So when I launch my application manually the next time, how to get the previously exited push message. Sorry If my question doesnt make any sense. I appreciate all the replies...
    Pravin

  • TS1393 I cannot eject my iPod using either itunes or the eject button on bottom tool bar beacuse it says something is in use by another application or "The device 'generic volume' cannot be stopped because  a program is still accessing it" Synced new iPad

    How can I eject my ipod when neither itunes not the "safe to eject" button will allow it.  Itunes says "...cannot be ejected because it contains files that are in use by another application."  The safe to eject button says "The device 'generic volume' cannot be stopped because a program is still accessing it."  The has never happened before.  The only thing new is that I added an iPad yesterday.  Thanks. 

    Go to your computer's System Tray and try ejecting.  If you can't eject, there is an application that is trying to access your iPod.
    Go to http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx and download ProcessExplorer.
    Go to http://support.microsoft.com/kb/555665 and follow the instructions under Resolution.
    Note that this is a good, general process any time you can't access any file.
    In my case an update to RealPlayer installed a program called RecordingManager that was accessing my iPod.

  • When I am on a phone call and I double click the button to go to my home screen, then open another application (usually my calendar program, Calengoo), my screen goes blank and I am not able to return to either the app, the phone, or the home screen.

    When I am on a phone call and I double click the button to go to my home screen, then open another application (usually my calendar program, Calengoo), my screen goes blank and I am not able to return to either the app, the phone, or the home screen. If I am speaking to a person, if they hang up then I am back to the phone application. If I'm leaving a message, I am unable to return to the phone screen to end the call, and have to wait until the other phone hangs up. I'm also unable to switch back and forth to look at my calendar if I'm calling someone about scheduling. This has only started happening since the most recent iOs update. I run into situations similar to this about once per day during the work week, as I use my phone is this manner quite often. While not life altering it is quite frustrating. Can anyone here help me figure out a way to avoid this? If it helps, I have noticed a general downgrade in overall performance starting two system updates ago (apps opening more slowly, closing unexpectedly more often, etc.). I have an iPhone 3GS with the latest OS update.
    Thank you for any help or suggestions,
    Chris

    I could be corrupted backup.
    You can check the notification settings for message.
    Settings>Notification Center>Messages>Alert Style
    It should be on Banners or Alerts.
    Settings>Messages> Turn on Imessage and send as SMS and below that "Blocked" to check if you have any numbers block might be blocking the message.
    You can also do a hard reset by holding power and home till it restarts and release after seeing the apple logo.
    Still doesn't work? Settings>General>Reset>Reset all settings

  • Adobe Air Application, launch Another Uninstall.exe on Uninstall of Air App

    Hello,
    how can i launch anothe uninstall.exe when my air application is about to be uninstalled?
    this is needed because the air package does not include the data that is needed by the application
    the application will be delivered on cd rom ... we have an uninstaller ready, but if the user chooses
    to deinstall the application through software->deinstall the data remains on the harddisk, which is not
    nice, and could be solved by simply run the provided uninstall.exe created during installaiton process
    any help is very appreciated!
    thx
    ck

    After futher investigation, I have isolated the line that causes the crash
    in the NetConnectionChannel constructor
    public function NetConnectionChannel(id:String = null, uri:String = null)
    super(id, uri);
    _nc = new NetConnection(); //ADL Crashes/Hangs on this line
    _nc.objectEncoding = ObjectEncoding.AMF3;
    _nc.client = this;
    Oddly, this only happens in the second adapter module instance that is created.
    And as stated above, this error is not thrown in the release AIR runtime.
    I'll update this thread if I discover any more details.

  • Exception while clicking button on UWL that launches WebDynpro Application

    Hi All,
    I am getting a portal runtime error while clicking on Button thatu2019s there in UWL. When user clicks on this button a webdynpro abap application should get launched. However we are getting exception. Button is added via UWL configuration file. Everything is working fine in Development system however this issue is there in QA system only.
    Here is the piece of code written in UWL configuration file.
    <ItemType name="uwl.task.webflow.TS00008267.MK1_500" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="MK1_500" externalType="TS00008267" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="ZTE_EXP_DETAILS"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="WI_ID=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="WebDynproNamespace" value="SAP"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    Below are the details of portal exception.
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template '&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-ep-iviewhandle=007&lt;ESID[HASH]&gt;&amp;sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;'; the problem occured at position 310. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;client&amp;#39;.
         at java.lang.Throwable.<init>(Throwable.java:194)
         at java.lang.Exception.<init>(Exception.java:41)
         at java.lang.RuntimeException.<init>(RuntimeException.java:43)
         at com.sapportals.portal.prt.runtime.PortalRuntimeException.<init>(PortalRuntimeException.java:57)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:166)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:111)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:200)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:177)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:200)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:177)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:963)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:249)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:0)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:92)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:30)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:35)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:101)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Please guide how to resolve same.
    Regards,
    Madhvika
    Edited by: Madhvika Joshi on Apr 8, 2011 2:52 AM
    Edited by: Madhvika Joshi on Apr 8, 2011 2:52 AM
    Edited by: Madhvika Joshi on Apr 8, 2011 2:57 AM

    Here is the code for Config file
      <ItemType name="uwl.task.webflow.TS00008267.QT1_500" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="QT1_500" externalType="TS00008267" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="ZTE_EXP_DETAILS"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="WI_ID=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="WebDynproNamespace" value="SAP"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>

  • How to Start/Launch another WD application using a link.

    Hi, I've been trying to see if there's an official way that I can launch another WD application using a link from within an application where the applications are not in the same deployable object.
    P.S.  I've seen the other thread of how to do it when the applications are within the same deployable object.
    Thanks in advance as always,

    Hi Michael,
    of course it does, so the question should be:
    "Hey, how do it get the application URL of a WD application without hardcoding the server name, port or whatever?"
    This is simple:
       * Return is the application URL for the specified <code>deployableObjectPart</code> with appended 
       * URL parameters given by <code>urlParameters</code>. All key/value pairs in the map must
       * be of type java.lang.String.
       * @param deployableObjectPart a deployable object part representing a Web Dynpro application
       * @param urlParameters key/value pairs added as URL parameters; they must be of type String
       * @return the application URL for the specified <code>deployableObjectPart</code> with appended 
       * URL parameters given by <code>urlParameters</code>
       * @throws WDURLException if the URL couldn't be generated
       * @see com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator#getApplicationURL(WDDeployableObjectPart)
      public static String getApplicationURL(WDDeployableObjectPart deployableObjectPart, Map urlParameters) throws WDURLException {
        return AbstractManager
          .getServerPlatformImplementation()
          .getURLGeneratorFactory()
          .getURLGenerator()
          .getApplicationURL(deployableObjectPart, urlParameters);      
    or if you would like to get it load balanced:
       * Return is the workload balanced application URL for the specified <code>deployableObjectPart</code> with appended 
       * URL parameters given by <code>urlParameters</code>. All key/value pairs in the map must
       * be of type java.lang.String.
       * @param deployableObjectPart a deployable object part representing a Web Dynpro application
       * @param urlParameters key/value pairs added as URL parameters; they must be of type String
       * @return the workload balanced application URL for the specified
       * <code>deployableObjectPart</code> with appended URL parameters given by <code>urlParameters</code>
       * @throws WDURLException if the URL couldn't be generated
       * @see com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator#getWorkloadBalancedApplicationURL(WDDeployableObjectPart)
      public static String getWorkloadBalancedApplicationURL(WDDeployableObjectPart deployableObjectPart, Map urlParameters) throws WDURLException {
        return AbstractManager
          .getServerPlatformImplementation()
          .getURLGeneratorFactory()
          .getURLGenerator()
          .getWorkloadBalancedApplicationURL(deployableObjectPart, urlParameters);     
    Before i forget it to mention, these are two methods of the WDURLGenerator API. There are others where you don't have to specify the deployableObjectPart, you can use DPO name and name of application as parameters instead.
    Hope that helps.
    Best regards
    Stefan
    PS: This was my 2nd attempt, i hope i got you right now...

  • Launching another Swing application from existing one using Runtime.exec()

    Hi,
    I have two separate Swing applications, say A and B. I need to launch B from A using Runtime.exec() - essentially I am launching another VM instance from one VM. I am encountering strange problems - B's main window comes up, but GUI doesn't update; sometimes B comes up and GUI updates, but huge memory leaks happen. All the problems with B go away once A is shut down. It almost looks like both the instances of VM are sharing (or competing for) the event thread. Any comments will be of great help. Thanks.
    note: There is no problem launching B if A is a console java application (i.e. no Swing GUI).

    Do you have to have the second application running in a seperate VM (process)? If not completely neccesary, then you can just invoke the static main() of the second class. If the type of the second class isn't known untill run-time, you can use Reflection to invoke the method.
    Miguel

  • Click a button in an applet application to call up or open another window.

    Please, kindly show me how to call up or open an applet window(written in a seperate file) by clicking a button in an applet application.
    Thanks
    Alam Winner Ikenna
    import java.awt.*;  
    import javax.swing.*;  
    /*<HTML> 
      <Applet code = "Qualification.class" Height = "400" width = "400"></Applet> 
      </HTML>*/ 
    public class Qualification extends JApplet  
        JPanel p, p1, p2, p3, p4, p5, p6, p7;  
        JLabel heading, grad, grd, sh, uni, grs, tda, sco, toe, detrd;  
        JButton b;  
        JTextField tgrad, tgrd, tsh, tuni, tgrs, ttda, tsco, ttoe, tdetrd;  
        GridBagLayout gbl;  
        GridBagConstraints gbc;  
        public void init()  
            p = new JPanel();  
            p1 = new JPanel();  
            p2 = new JPanel();  
            p3 = new JPanel();  
            p4 = new JPanel();    
            p5 = new JPanel();  
            p6 = new JPanel();  
            p7 = new JPanel();  
            gbl=new GridBagLayout();  
            gbc=new GridBagConstraints();  
            p =(JPanel)getContentPane();  
            p.setLayout(gbl);  
            heading = new JLabel("QUALIFICATION DETAILS:");  
            grad = new JLabel("Graduation Degree Program:");  
            grd = new JLabel("Grade");  
            sh = new JLabel("School");  
            uni = new JLabel("University");  
            grs = new JLabel("Graduate Record Examination (GRE) Scores");  
            tda = new JLabel("Test Date:");  
            sco = new JLabel("Score(%)");  
            toe = new JLabel("TOEFL Score (If required):");  
            detrd = new JLabel("Details of Recent Hounors and Awards:");  
            tgrad = new JTextField(20);  
            tgrd = new JTextField(20);  
            tsh = new JTextField(20);  
            tuni = new JTextField(20);  
            tgrs = new JTextField(20);  
            ttda = new JTextField(20);  
            tsco = new JTextField(20);  
            ttoe = new JTextField(20);  
            tdetrd= new JTextField(20);  
            b = new JButton("SUMBIT");  
            gbc.gridwidth=GridBagConstraints.REMAINDER;  
            gbl.setConstraints(heading, gbc);  
            p.add(heading);  
            gbc.anchor = GridBagConstraints.CENTER;  
            gbc.gridwidth = 1;  
            gbc.weightx = 0;  
            gbl.setConstraints(grad, gbc);  
            p.add(grad);  
            gbc.gridx = 2;  
            gbc.gridy = 1;  
            gbl.setConstraints(tgrad, gbc);  
            p.add(tgrad);  
            gbc.gridx = 4;  
            gbc.gridy = 1;  
            gbl.setConstraints(grd, gbc);  
            p.add(grd);  
            gbc.gridx = 6;  
            gbc.gridy = 1;  
            gbl.setConstraints(tgrd, gbc);  
            p.add(tgrd);  
            gbc.anchor = GridBagConstraints.NORTHWEST;  
            gbc.gridx = 0;  
            gbc.gridy = 2;  
            gbl.setConstraints(sh, gbc);  
            p.add(sh);  
            gbc.gridx = 2;  
            gbc.gridy = 2;  
            gbl.setConstraints(tsh, gbc);  
            p.add(tsh);  
            gbc.gridx = 4;  
            gbc.gridy = 2;  
            gbl.setConstraints(uni, gbc);  
            p.add(uni);   
            gbc.gridx = 6;  
            gbc.gridy = 2;  
            gbl.setConstraints(tuni, gbc);  
            p.add(tuni);  
            gbc.anchor = GridBagConstraints.NORTHWEST;  
            gbc.gridx = 0;  
            gbc.gridy = 4;  
            gbl.setConstraints(grs, gbc);  
            p.add(grs);  
            gbc.gridx = 2;  
            gbc.gridy = 4;  
            gbl.setConstraints(tgrs, gbc);  
            p.add(tgrs);  
            gbc.anchor = GridBagConstraints.NORTHWEST;  
            gbc.gridx = 0;  
            gbc.gridy = 5;  
            gbl.setConstraints(tda, gbc);  
            p.add(tda);  
            gbc.gridx = 2;  
            gbc.gridy = 5;  
            gbl.setConstraints(ttda, gbc);  
            p.add(ttda);  
            gbc.gridx = 4;  
            gbc.gridy = 5;  
            gbl.setConstraints(sco, gbc);  
            p.add(sco);   
            gbc.gridx = 6;  
            gbc.gridy = 5;  
            gbl.setConstraints(tsco, gbc);  
            p.add(tsco);  
            gbc.anchor = GridBagConstraints.NORTHWEST;  
            gbc.gridx = 0;  
            gbc.gridy = 6;  
            gbl.setConstraints(toe, gbc);  
            p.add(toe);  
            gbc.gridx = 2;  
            gbc.gridy = 6;  
            gbl.setConstraints(ttoe, gbc);  
            p.add(ttoe);  
            gbc.anchor = GridBagConstraints.NORTHWEST;  
            gbc.gridx = 0;  
            gbc.gridy = 7;  
            gbl.setConstraints(detrd, gbc);  
            p.add(detrd );   
            gbc.gridx = 2;  
            gbc.gridy = 7;  
            gbl.setConstraints(tdetrd, gbc);  
            p.add(tdetrd);  
            gbc.anchor = GridBagConstraints.NORTHWEST;  
            gbc.gridx = 6;  
            gbc.gridy = 8;  
            gbl.setConstraints(b, gbc);  
            p.add(b);   
    }Edited by: [email protected] on Apr 8, 2009 1:16 PM

    [email protected] wrote:
    Can an applet have an actionPerformed method in it and if it does, do I need to write the code in an actionPerformed method ?Sure it can. Yes if you implement from the ActionListener interface, you must override the actionPerformed method.
    Secondly, The (new URL("otherApplet.html"), "_NEWWIN"); What does this stand for? It means open the html file "otherApplet.html" in a new window named NEWWIN. NEWWIN can be replaced by any name you want.
    Because, the compiler complained about URL, saying that, is not a class.You need to import the URL class from java.net package.

Maybe you are looking for

  • Help with F-48 Vendor Down payment for Italy please

    Hello, I have a problem with the F-48 Vendor down payment process.  I'm working with an Italian company, and they state that with a Pro-forma invoice, they post the down payment.  The Vendor has Withholding tax, and when I use a Vendor that is setup

  • Mail crashes with reference to syncservices

    I have had recurring problems with Mail crashing. I've scoured the boards and found nothing that's helped me resolve it (trashing plist, building new accounts, removing to-dos from iCal....). I'm just shy of an archive-and-install...sigh. The problem

  • Stored procedure Issue  in VC - Urgent

    Hi all, I am trying to insert a new record in a SQL Server database, using a stored procedure. I am inserting this new record from a popup iview, in which the data service is configured. But when I try to insert a new record, I am getting an error "N

  • Time Machine - Last Backup 4/5/2010

    Hi, TM has been working flawlessly, but just noticed recently that the icon for TM in the menu bar is spinning constantly, and the last backup was over two months ago. I back up to an external Maxtor 1TB drive, and there is about 500mb of free space

  • 10g AS on AIX 5L

    Does anyone know when 10g AS will be available on AIX 5L? Oracle have said to me that it would be released on the 19th March, which is now 11 days ago and still no download! Come on Oracle, you have been promising this download for months (if not yea