Call an action From Other View

Hi all,
I have two views view1 and view2. View1 also have an action Action1, View2 have Action2. I wanna call Action1 from view2(action2) . Is it possible ? How can i do that ? View1 and view have different contexts.
Regards,
Orhan

>
goktasor wrote:
> there are lots of contextes i need to find a different way.
You have to consider that you are likely designing your Web Dynpro Components incorrectly.  If you have large views with large local contexts then these should probably be separate Web Dynpro Components.  Otherwise your views should be largely empty, delegating most of their processing to the component controller so that cross view data and eventing is handled there.

Similar Messages

  • Call Photoshop Action from other APP?

    Hi Everyone,
    Anybody has any experience to run any Photoshop action using a binary .EXE file?
    For example, I want to let Photoshop execute a filter action from my own application?
    I know that DROPLET can do this, what I did is that I use System("Droplet.exe somefile") to launch the Photoshop action. However, I got enough trouble doing this with the UAC of Windows7, there're intermittently "Droplet couldn't communicate with Photoshop" error showing up, and UAC always prompt you the warning message. I tried lots of ways "Run as Administrators" etc, but the error shows again even though the previous time it worked!
    Finally, I think it's time to give up droplet and thinking of other way of doing this.
    I just simply want a ".exe" or something that can let my application tell Photoshop to run a simple action (with no parameters). I'm not sure whether PostMessage/SendMessage can do this or not on Windows. If anybody has any idea, please let me know.
    Thanks in advance!
    By the way, I also learned that Photoshop API is not thread safe, so that an "inception thread" of a plugin in the Photoshop causes unpridictable crashes, and you cannot do that in a separate thread.

    Check out the vbs samples (Visual Basic) from here: http://www.adobe.com/devnet/photoshop/scripting.html
    Then use "cscript" from the command line.
    http://technet.microsoft.com/en-us/library/ff920171.aspx

  • Call string/ action from other movieclip?

    on the mainTimeline if have a movieclip.
    inside this movieclip i have a script that loads text from database.
    what important note is:
    var myPageText: String
    now if i place inside this movieclip a other label further in the time, and create a action to call out myPageText like:  my_input_text.htmlText = myPageText;
    this works fine
    now i want this to work inside a other movielip in other scene.
    is it possible to call myPageText???

    if you save your fla as a temp fla (so you don't change the only you're working on), comment out or remove all the actionscript and remove all the components, if any, you should be able to change your publish settings to as2 and use:
    trace("from: "+this);
    on the timeline that you want to use to reference that variable and use the trace("to: "+this) statement on the timeline that contains that variable.  paste the resulting output and i can tell you the path you should use, assuming all your movieclips are created in the authoring environment.

  • Possibility of calling standard actions from a java program

    Hi ,
    I am working for a project where customer wants to have option of saving orders as draft only and later convert to order if need be. However since we do not want many drafts to reside on server there is a need to delete these at a specified time. For draft orders I am using order templates since they stay in the database without getting converted to orders. Now I do not know how to go about the deletion part.
    i need to write a program that would run on the server and which would fetch the templates (drafts) that have been created till a particular time and call the delete action of the template. Now the question is how do i call these actions from a java program where this java program will have to run on the server end (ie will be a backend process).
    Please suggest.
    Thanks
    Roopali

    hello roopali,
    you can create a separate thread that will run your
    code that will check for stale drafts and delete them.
    it is just like a session management program but here
    we will be looking over the drafts and not the session
    objects.
    now if you want the invocation of the action from another
    program, a socket program would suffice but opening ports
    will cause you network connections thru firewall.
    if you can make use of HTTP servlet as your service
    provider e.g., you can then just pass some action params
    to invoke it.
    regards
    jo

  • 3 iphones in household.All use same apple ID.But all contacts get mixed between phones and facetime calls come in from other contacts.Ho can we change this so our phone information isn't visible to each other?

    3 iphones in household.All use same apple ID.But all contacts get mixed between phones and facetime calls come in from other contacts.How can we change this so our phone information isn't visible to each other?

    Use separate Apple IDs for each family member and use Family Sharing features of those things (if any) that you do want to share. https://www.apple.com/ios/whats-new/family-sharing/

  • Canu00B4t call an EJB from other EJB

    Hi developers,
    I need do the next task :
    I have a EJB in an EAR and i need call some functionality from other EJB in diferent EAR , when execute the code show the next message error:
    java.rmi.RemoteException: com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method generaMDMOutput.
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0.generaMDMOutput(CustomerIncObjectImpl0.java:135)
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0p4_Skel.dispatch(CustomerIncObjectImpl0p4_Skel.java:127)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java(Inlined Compiled Code))
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: java.lang.ClassCastException: com.sap.engine.interfaces.cross.ObjectReferenceImpl
         at com.sapconsulting.customer.inc.CustomerIncBean.generaMDMOutput(CustomerIncBean.java:141)
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0.generaMDMOutput(CustomerIncObjectImpl0.java:119)
         ... 11 more
    the code to invoke the EJB is the next:
    ctx = new InitialContext();
    TestEJBLocalHome home = (TestEJBLocalHome) ctx.lookup("sap.com/TestEJB_ear/TestEJBBean");
                   TestEJB servicio=(TestEJB)home.create();
    the EJB are in the same server , please help,
    regards

    Hi Siarhei,
    thank's for your answers , i'll explain the scenario , i think i copied wrong the code that i have ,
    i have two EAR's applications , i want to call one EJB from the other EJB in other EAR , the call have to be remote , my code is the next :
    ctx = new InitialContext();
    Object obj = ctx.lookup("sap.com/TestEJB_ear/TestEJBBean");  
    TestEJBHome home = (TestEJBHome) PortableRemoteObject.narrow(obj,TestEJBHome.class);
    TestEJB servicio= home.create();
    i've confugured the ejb-xml.jar adding
    <ejb-ref>
    <ejb-ref-name>ejb/TestEJBBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.innovativesystems.onl.TestEJBHome</home>
    <remote>com.innovativesystems.onl.TestEJB</remote>
    </ejb-ref>
    I've configured the  ejb-j2ee-jar.xml adding
    <ejb-ref>
    <ejb-ref-name>ejb/TestEJBBean</ejb-ref-name>
    <jndi-name>sap.com/TestEJB_ear/TestEJBBean</jndi-name>
    </ejb-ref>
    I've configured the application-j2ee-engine.xml adding a hard reference
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="application">TestEJB_ear</reference-target>
    </reference>
    with all this configuration still send me the message java.lang.classcast ,
    something is missing????  ,
    regards

  • Trigger an action from my view

    I have a button on my view called BTN_CHECK. The button has associated the action "CHECK".
    At this moment i need to trigger the same action of the button (and reuse the code) from wddomodifyview method.
    I have find how to make it in SDN but i haven't found yet
    Thanks

    Yes. i approve what Anurag Chopra said..
    Better choice to separate the coding in one independent method. Then in the event handler or other methods call the independent method easily..
    However, if you indeed want to call the action handler, you must create the WDEVENT firstly and correctly..
    Just like this:
    data:LO_EVENT TYPE REF TO CL_WD_CUSTOM_EVENT.
    CREATE OBJECT LO_EVENT EXPORTING NAME = ''. "PARAMETERS should be right
    "ok, call the action
    wd_this->ONACTIONBTN_SAVE( LO_EVENT ).
    BTW, i don't think this is a good solution.
    Best wishes.

  • Calling controller action from an iframe

    I am not able to call an action command in the page flow controller from an iframe.
    Currently, it just skips it. Is there a way to do it or it is a bug.
    I am using portal 8.1.
    Thanks,
    SB.

    Hi Uma,
    Please follow the below steps :
    1. Create a viewuielement container at the first view and place it where you want.
    2. Then create one attribute with the type of string and bind this attribute to youe viewuielement property "Visible".
    3. Then double click the window -> go to the first view -> Here your viewuielemnt name will displayed. Just right click it -> embed view -> select your second view.
    4. Then go to your method of the link to action and write the following code.
    data:
          Elem_Context                        type ref to If_Wd_Context_Element,
          Stru_Context                        type If_Firstview=>Element_Context ,
          Item_VISIBLE                        like Stru_Context-VISIBLE.
    *   get element via lead selection
        Elem_Context = wd_Context->get_Element(  ).
    *   get single attribute
        Elem_Context->get_Attribute(
          exporting
            Name =  `VISIBLE`
          importing
            Value = Item_Visible ).
    IF Item_VISIBLE IS INITIAL.
      Item_VISIBLE = 'X'.
      ENDIF.
    Elem_Context->Set_Attribute(
          exporting
            Name =  `VISIBLE`
            Value = Item_Visible ).
    So when ever you click the link to action it will shows your second view elements in your first view.
    Thanks.

  • Calling a procedure from Calculation View with Debug function

    Is it possible to call a debuggable hana procedure in a calculation view?
    I just saw the video  HANA Academy - HANA Native Development Workshop: SQL Script Editor - YouTube for HANA Native Development workshop and got the debug functionality to work for a file Procedure.
    But I am unable to call this procedure from a Calculation View.
    Below is the code I am using for the SQLScript Calculation View. Can someone tell me if this is correct?
    /********* Begin Procedure Script ************/
    BEGIN
    call "_SYS_BIC"."test-package.RF.SalesOrders.procedures/get_sls_ordtype"(SalesDocNo => '0070004105', SalesDocTypes => ?) ;
    var_out = CE_PROJECTION(:SalesDocTypes, ["SALESDOCNO" , "SALESDOCTYPE", "ORDVALUE"] );
    END /********* End Procedure Script ************/

    Hello,
    Just provide the out parameter in the call:
    Declare
      amount   number; -- OUT number argument populated by the procedure
    Begin
      -- call the X procedure --
      x( amount ) ;
    End;Francois

  • Call struts action from javascript?

    Hi all
    I'm having problem already discussed here quite a lot, but I have idea to solve it different way. And need to know is it possible or I'm doing mission impossible here :(
    I have JSP with 2 drop down lilsts, where the second is populated according to selected value from first - that's basically my problem.
    Is it possible to somehow only call my struts action which will return all needed values using javascript and onchange event handler?
    I dont have any experience with javascript, and I'm trying to avoid it as much as possible at the moment.
    Thanks in advance

    well as far your requirement is concern if at all you are planning to implement AJAX try to use the below link which might be of some help...
    http://www.it-eye.nl/weblog/2005/12/13/ajax-in-struts-implementing-dependend-select-boxes/
    However,I somehow feel there are few loopholes in the author's approach...
    i advice to use XmlHttpRequest.reponseXML property there.
    However, i've mentioned a sample code snippet for you reference.
    XML Response Pattern :
    ======================
    <? xml version="1.1" ?>
    <dropdown>
    <option>
    <val>CUSTOMIZED_VALUE</val>
    <text>CUSTOMIZED_VALUE</text>
    </option>
    </dropdown>Sample.jsp:
    ===========
    <%@page language="java" %>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Automatic Drop-Down Updation</title>
         <script language="javascript">
          // Global Variable for XmlHttp Request Object  
          var xmlhttp
          // Timer Variables
          var c = 0
          var t
           /* A function which calls a servlet  named AjaxServlet to get XmlData using XmlHttpObject */    
            function refreshCombo(txt){
                xmlhttp = null
                // code for initializing XmlHttpRequest Object On Browsers like  Mozilla, etc.
                if (window.XMLHttpRequest){
                     xmlhttp = new XMLHttpRequest()
                // code for initializing XmlHttpRequest Object On Browsers like IE
               else if (window.ActiveXObject) {
                   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")
               if (xmlhttp != null){
                  // Setting the Action url to get XmlData
                   url = "dropdown.do?count="+txt;
                   // Course of Action That Should be Made if their is a change in XmlHttpRequest Object ReadyState NOTE : it is 4 when it has got request from CGI
                   xmlhttp.onreadystatechange = getResponseAction;
                   // Open the Request by passing Type of Request & CGI URL
                   xmlhttp.open("GET",url,true);
                   // Sending URL Encoded Data
                   xmlhttp.send(null);
               else{
                 // Only Broswers like IE 5.0,Mozilla & all other browser which support XML data Supports AJAX Technology
                 // In the Below case it looks as if the browser is not compatiable
                  alert("Your browser does not support XMLHTTP.")
          /* Used for verifing right ReadyState & Status of XmlHttpRequest Object returns true if it is verified */
          function verifyReadyState(obj){
             // As Said above if XmlHttp.ReadyState == 4 then the Page Has got Response from WebServer
              if(obj.readyState == 4){
               // Similarly if XmlHttp.status == 200 it means that we have got a Valid response from the WebServer
                if(obj.status == 200){               
                    return true
                 else{
                    alert("Problem retrieving XML data")
          /* Action that has to take place after getting reponse */
          function getResponseAction(){
              // Verifying State & Status
              if(verifyReadyState(xmlhttp) == true){
                  // Building a DOM parser from Response Object
                  var response = xmlhttp.responseXML.documentElement
                  // Deleting all the Present Elements in the Drop-Down Box
                  drRemove()      
                  // Checking for the Root Node Tag
                  var x = response.getElementsByTagName("option")
                  var val
                  var tex
                  var optn
                  for(var i = 0;i < x.length; i++){
                     optn = document.createElement("OPTION")
                     var er
                     // Checking for the tag which holds the value of the Drop-Down combo element
                     val = x.getElementsByTagName("val")
    try{
    // Assigning the value to a Drop-Down Set Element
    optn.value = val[0].firstChild.data
    } catch(er){
    // Checking for the tag which holds the Text of the Drop-Down combo element
    tex = x[i].getElementsByTagName("text")
    try{
    // Assigning the Text to a Drop-Down Set Element
    optn.text = tex[0].firstChild.data
    } catch(er){
    // Adding the Set Element to the Drop-Down
    document.SampleForm.SampleCombo.options.add(optn)
    /* Function removes all the elements in the Drop-Down */
    function drRemove(){
    var x = document.SampleForm.SampleCombo
    for(var i = document.SampleForm.SampleCombo.length - 1 ; i >= 0 ; i--){                     
    x.remove(i)
    </script>
    </head>
    <body onload="syncCount()">
    <pre> <h1>Refresh Drop-Down <div id='txt'> </div> </h1></pre>
    <form name="SampleForm">
    <!-- Drop Down which has country list -->
    <select name="x" onchange="refreshCombo(this.value)">
                   <option value="1">United States</option>
                   <option value="2">United Kingdom</option>
                   <option value="3">United Arab Emriates</option>
    </select>
    <!-- Drop Down which is dependent on Country Drop down get list of states -->
    <select name="SampleCombo">
    <option value="-1">Pick One</option>
    </select>
    </form>
    </body>
    </html>
    struts-config.xml:
    ==================
    <action-mappings>
    <action path="/dropdown" type="com.controlleraction.AjaxActionClass">
    <forward name="error" path="/error.jsp"/>
    </action>
    </action-mappings>AjaxActionClass.java:
    =====================
    package com.controlleraction;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class AjaxActionClass extends DispatchAction {
      public ActionForward execute( ActionMapping mapping,ActionForm form,HttpServletRequest request,HttpServletResponse response) throws Exception {
        String req = new String("");
        try{
           req = request.getParameter("count");
        } catch(Exception exp){
       if(!req.equals("")){
           response.setContentType("text/xml");        
           response.setHeader("Pragma","no-cache");
           response.setHeader("Cache-Control","no-cache,post-check=0,pre-check=0");
           PrintWriter out = response.getWriter();
           /*a sample bean where we trying to call a service from Model*/
           com.Biz.XmlBean xml = new XmlBean();
           String buffer = xml.getXmlData(req);
           if(xml.close() == true && buffer.equals("") == false)
             out.write(buffer);     
           return(null);
      } else {
         return new ActionForward("error");
    }XmlBean.java:
    =============
    * XmlBean.java
    import java.sql.*;
    import java.util.*;
    import java.io.*;
    * @author RaHuL
    public class XmlBean {
        private Connection con = null;
        private PreparedStatement pstmt = null;
        private ResultSet rs = null;
        // Setting CLASSURL path to TYPE I Driver
        private String CLASSURL = "sun.jdbc.odbc.JdbcOdbcDriver";
        /* Specifing CONNECTION PATH to a DSN named TestDsn
         * Please Make Sure you create a DSN Named TestDsn to your database which holds EMP table
        private String CONNECTIONURL = "jdbc:odbc:TestDsn";
        boolean IS_ESTABLISHED = false;
        /** Creates a new instance of XmlBean and also establishes DB Connections */
        public XmlBean() {
            try{
                Class.forName(CLASSURL);
                con = DriverManager.getConnection(CONNECTIONURL,"admin","");
                IS_ESTABLISHED = true;
            } catch(SQLException sqe){
                sqe.printStackTrace();
            } catch(Exception exp){
                exp.printStackTrace();
        /* Generates XmlData For the Business Logic Specified */
        public String getXmlData(String req){
            String XmlBuffer = new String("");
            if(IS_ESTABLISHED == true){
                try{
                    pstmt = con.prepareStatement("SELECT stateid,statename FROM STATE_TABLE where countryid = ?");
                    pstmt.setString(1,req);
                    rs = pstmt.executeQuery();
                    if(rs != null){
                        XmlBuffer = XmlBuffer + "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
                        XmlBuffer = XmlBuffer + "<!--  Edited by Rahul Sharma -->";
                        // Root Node
                        XmlBuffer = XmlBuffer + "<dropdown>";
                        while(rs.next()){
                            String value = rs.getString(1);
                            String text = rs.getString(2);
                            // Sub-root Node
                            XmlBuffer = XmlBuffer + "<option>";
                            // node which holds value of drop-down combo
                            XmlBuffer = XmlBuffer + "<val>"+value+"</val>";
                            // node which holds text for drop-down combo
                            XmlBuffer = XmlBuffer + "<text>"+text+"</text>";
                            XmlBuffer = XmlBuffer + "</option>";
                        XmlBuffer = XmlBuffer + "</dropdown>";
                }catch(SQLException sqe){
                    sqe.printStackTrace();
                } catch(Exception exp){
                    exp.printStackTrace();
            return(XmlBuffer);
        /* Closes the DB Connection Conmpletely */
        public  boolean close(){
            if(IS_ESTABLISHED == true){
                try{
                    pstmt.close();
                    con.close();
                    return(true);
                } catch(SQLException sqe){
                    sqe.printStackTrace();
                } catch(Exception exp){
                    exp.printStackTrace();
            return(false);
    NOTE: I understand i'm not completely coded things as per proper coding standards.please execuse me for that as this example was just given to enable user to learn how XmlHttpRquest,reponseXML
    can be used for better purposes instead of devising manual parsing.
    where i've used XmlHttpResponse pattern to be in XML. you may make use of other practices like JSON & so on depending on your requirement..
    and and if you are more instrested in integrating Struts with AJAX using few frameworks & customized tag based support please go though the below link.
    http://struts.sourceforge.net/ajaxtags/index.html
    Hope that might help :)
    REGARDS,
    RaHuL

  • Call proxy service from other proxy service with attachment

    Hi!
    I have got an email sending proxy service I would like to call this from an other proxy service and I want to send attachment in email. I can send email with attachment if i call this proxy as a webservice (e.g. from soapUI)
    But if i want to call this email proxy service from other proxy service, the attachment in email is empty. I put a log action (expression: $attachments) in the beginning of email proxy service, and I saw this in the log file:
    +<con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>+
    So the attachment is really empty...
    I use service callout. I put an insert action in request action of service callout:
    In Variable:
    attachments
    XPath:
    +.+
    Location:
    as first child of
    Expression:
    +<con:attachment xmlns:con="http://www.bea.com/wli/sb/context">+
    +     <con:Content-Type>application/octet-stream</con:Content-Type>+
    +     <con:Content-Disposition>attachment; filename="{$v_fileName}"</con:Content-Disposition>+
    +     <con:Content-Transfer-Encoding>base64</con:Content-Transfer-Encoding>     +
    +     <con:body>{$attachments/ctx:attachment/ctx:body/*}</con:body>+
    +</con:attachment>+
    Why cannot I call this email proxy service from other proxy service for sending email with attachment?
    I tried to solve this other. I called an email sending business service from this proxy service. But in this case I cannot set the body of email. If I put just one Transport Header action in publish action, I could send the email (with empty body). But If I put a replace action in publish action as well then the OSB didn't send the email and I couldn't find any error message in log file... How could I set the body of email in publish action?
    Thanks!
    Viktor

    You should be able to get the current user id from the SPListItemEventProperties object. From here you should be able to create a Claim. For example get the user by using
    user = SPWeb.Users.GetByID(properties.CurrentUserId)
    SPClaim claim = SPClaimProviderManager.CreateUserClaim(user.email, SPOriginalIssuerType.TrustedProvider, issuerIdentifier);
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovidermanager.createuserclaim(v=office.14).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • In Captivate 7, how can I call another action from within an action?

    I have a conditional action called FakeSuccessRewind. Now I need to call another function called ShowGrayBalloons02 from within its Else statement, but I couldn't find something like "Execute Advanced Action." Can anybody share some tips here? Thanks!
    Below are screenshots of my two actions:
    1) FakeSuccessRewind (if/else). Here I need to call the 2nd action from the Else statement, underneath the statement Go to the next slide.
    2) ShowGrayBalloons02. Note this function has five seperate runs when the variable is decrementing from 5-1.
    Thanks a lot!
    Melissa

    You can't, you need to add the other action into the first one.

  • How to call a EJB from other computer

    Hi,
    I'm beginer to EJB, and I take a book and complete an example. The example has a stateless EJB on the server side, and a client class.
    the client code is like this:
    import javax.naming.Context;     
    import javax.naming.InitialContext;     
    import javax.rmi.PortableRemoteObject;     
    import java.math.BigDecimal;     
    //import Converter;     
    //import ConverterHome;     
    public class ConverterClient {     
    public static void main(String[] args) {     
    try {     
    Context initial = new InitialContext();     
         Object objref = initial.lookup ("java:comp/env/ejb/SimpleConverter");//what to do here??
    ConverterHome home =      
    (ConverterHome)PortableRemoteObject.narrow(objref,      
    ConverterHome.class);     
    Converter currencyConverter = home.create();     
    BigDecimal param = new BigDecimal ("100.00");     
    BigDecimal amount =     
    currencyConverter.dollarToYen(param);     
    System.out.println(amount);     
    amount = currencyConverter.yenToEuro(param);     
    System.out.println(amount);     
    System.exit(0);     
    } catch (Exception ex) {     
    System.err.println("Caught an unexpected exception!");     
    ex.printStackTrace();     
    I want to run the client class from other machine.
    how to complete the following piece of code for making the remote connection:
    Context initial = new InitialContext();     
    Object objref = initial.lookup ("java:comp/env/ejb/SimpleConverter"); //what's the string supousing the server machine name is "server"??
    Thanks a lot!!!
    George

    Thanks, but gimme pls. the URL...I've go to J2EE FAQ
    but there are only 13 questions....
    Thanks !The link to all the FAQs is on the left side of this page.

  • Can we call a procedecujre from other procedure as  a form action

    Hi
    I have a procedure which creates a form and action of form I gave as another procedure .
    When I am clicking on the form submit. I am getting page not found error even though I have grant access to PUBLIC
    Regards,
    Radha

    Hi,
    I am creating a dynamic page. In that dynamic page I am creating a form whose action is a procedure customschema.procedure_radhas
    code is below
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <ORACLE>declare
    begin
    htp.formOpen('custom.procedure_radhas','get');
    htp.prn('<table><tr><td>Event Name</td><td>');
    htp.formText('event_name',20,20,:event_name);
    htp.prn('</td></tr><tr><td>Event Date</td><td>');
    htp.formText('event_date',20,20,:event_date);
    htp.prn('</td></tr><tr><td>Event Venue</td><td>');
    htp.formText('event_venue',20,20,:event_venue);
    htp.prn('</td></tr><tr><td>Event Duration</td><td>');
    htp.formText('event_duration',20,20,:event_duration);
    htp.prn('</td></tr><tr><td>Event desc</td><td>');
    htp.formText('event_desc',20,20,:event_desc);
    htp.prn('</td></tr><tr><td colSpan="2" align="center">');
    htp.formSubmit('submit');
    htp.prn('</td></tr></table>');
    htp.formClose;
    end;
    </ORACLE>
    </BODY>
    </HTML>
    In that procedure (custom.procedure_radhas) I am creating one form and the action of the form is agin a procedure
    Create or Replace Procedure CUSTOM.PROCEDURE_RADHAS
    event_name IN VARCHAR2,
    event_date IN DATE,
    event_venue IN VARCHAR2,
    event_duration IN number,
    event_desc IN varchar2)
    as
    begin
    htp.formOpen('custom.proc_calen','GET');
    htp.prn('<table><tr><td>Event Name</td><td>');
    htp.formText('event_name',20,20,event_name);
    htp.prn('</td></tr><tr><td>Username</td><td>');
    htp.formText('username',20,20,portal.wwctx_api.get_User());
    htp.prn('</td></tr><tr><td>Email</td><td>');
    htp.formText('email',20,20,'enter email');
    htp.prn('</td></tr><tr><td colSpan="2" align="center">');
    htp.formSubmit('submit');
    htp.prn('</td></tr></table>');
    htp.formClose();
    exception
    when others then
    null;
    end;
    In that procedure(custom.proc_calen)
    Create or Replace Procedure CUSTOM.PROC_CALEN
    ( event_name varchar2,
    username IN VARCHAR2 ,
    email IN VARCHAR2)
    as
    begin
    insert into calendar_table values(event_name,username,email);
    exception
    when others then
    null;
    end;
    I am tryoing to insert values into a table .
    But i am getting file not found
    pls find out the solution
    Regards
    Radha

  • How to call another action from Struts dispatch action?

    Hi all,
    there is a method in dispatch action that needs data from another chained action. How should other action determine which method in dispatch action will receive response and how should these data be returned from called action? Called action does not have associated form bean
    thanks,

    Not sure, why are there then "chained actions" is struts practice? Struts allows action without form bean to be configured and the action is a class?

Maybe you are looking for

  • FCPX importing canon t3i, FCPX doesn't recognize the structure?

    I'm inserting my card from my new canon t3i, FCPX doesn't recognize the card?

  • Radius authentication for privileged access

    Hello,           I have configured Cisco 6513 for radius authentication with following commands. aaa new-model aaa authentication login authradius group radius line aaa accounting exec acctradius start-stop group radius radius-server host <radius-ip>

  • Any resolution to nVidia GPU overheating/stuttering issues on T410s?

    I've been digging around the forums and have seen a lot of old posts with people having similar symptoms: switchable graphics (nVidia part) overheating and causing stuttering problems, crashes, freezes, etc. under heavy load. I talked to tech support

  • SLD Configuration to New Technical System is failed.

    When iam trying to create a new technical system in sld after selecting the product i got this error.Please help me on this iam new to Portal SLD. CIM_ERR_ALREADY_EXISTS: Instance already exists: SAP_InstalledProduct.CollectionID="24457af4-fdf7-e5f4-

  • Trouble aligning centered objects

    Hi, I want to have 2 objects one a contact form the other is text with links along side each other centered. I have enclose two images, one is my best outcome which was done using tables ( which I was not happy as I couldnt edit their margins ) and t