Popup ReturnListener, get taskflow return activity

Hi OTN,
On my ADF JSF page there is a button, calling a bounded taskflow in a popup.
In button's popup ReturnListener I need to know which return activity ended the taskflow.
How can I retrieve this information?
I expected the ReturnEvent object to hold this information, seems but it doesn't.
    public void createInfPopupReturnListener(ReturnEvent e) {
        System.out.println("e = " + e);       
        System.out.println("e.getReturnValue() = " + e.getReturnValue());
        System.out.println("e.getReturnParameters() = " + e.getReturnParameters());
        if(e.getReturnParameters() != null) {
            System.out.println("e.getReturnParameters().size() = " + e.getReturnParameters().size());
e = org.apache.myfaces.trinidad.event.ReturnEvent[component=RichCommandToolbarButton[UIXFacesBeanImpl, id=ctb1], returnValue=null]
e.getReturnValue() = null
e.getReturnParameters() = {}
e.getReturnParameters().size() = 0JDeveloper 11.1.1.3
Thanks.

Hi Frank,
I have defined a taskflow return value as a pageFlowScoped bean variable.
<return-value-definition id="__98">
      <name id="__97">returnValue1</name>
      <value>#{pageFlowScope.CreateInfPageFlowBean.returnValue}</value>
      <class>java.lang.String</class>
    </return-value-definition>With a following taskflow bean code:
    private String returnValue;
    public void setOkReturnValue() {
        returnValue = "ok";
    public void setCancelReturnValue() {
        returnValue = "cancel";
    public String getReturnValue() {
        return this.returnValue;
    }And placed setOk and setCancel method-call activities before two task-flow-return activities.
Is that the right way?

Similar Messages

  • How to go back to parents taskflow without using taskflow return activity

    Hi all,
    How can i go back to parents taskflow without using taskflow return activity?
    With Regards,
    Wai Phyo

    Hi,
    when you enter a sub flow, the parent flow is put on a stack for later resume. You ecit a bounded task flow that you called using task flow call activity by exiting the task flow (return activity). There is no other option to return to the parent flow. If the bounded task flow executes as a region, then you use a parent activity to navigate the enclosing flow, or the root flow. However, regions seldom use return activities anyway.
    Hope this answers your question
    Frank

  • How to programmatically capture outcome for Taskflow Return Activity?

    Hi,
    Can we capture outcome of Taskflow return activity programmatically?
    After Taskflow is returned using one of the TaskFlow Return Activity .. I need to capture which return activity was processed.
    Could anyone let me know which API we could use.. and/or any sample.
    Thanks.
    Amit

    Hi,
    an option would be to define a task flow outcome parameter and have a method call activities on the control cases of each of the return activities. The method call activities would set the return parameter value accordingly so that from the calling application you can tell which return activity was used
    Frank

  • Usecase: Taskflow Return activity for redirect to third party sites and bac

    Hi all,
    I have 3 taskflows - TF1 --- calls --- TF2 -- calls --- TF3
    In TF3, I have a redirection to a third party site (say like a payment gateway). The third party site redirects user to TF3 back and I process the information and I need to continue with the activities in TF2. Because of the intermediate external call, the return activity is not being of much use to me in this case. Is there some way by which I can return back to TF2 and resume the activities post TF3?
    Thanks,
    Srini

    Hi,
    use a URL activity and then pass the following return URL as a parameter
    https://blogs.oracle.com/jdevotnharvest/entry/how_to_efficiently_redirect_an
    Frank

  • How to open a popup and get some data from a model class

    Hi experts,
    mi problem is the next.
    I am opening a popup from a view that is  controlled by a controller named identificador.do, the controller class is z_identity_cl.
    the window that is opened is other view controlled by nocupentes.do, with a controller class, z_nocupantes_cl.
    In the do_init event of the z_nocupantes class i have added the next code:
    <i>  DATA: cl_parent TYPE REF TO Z_IDENTtity_CL.
    Recuperamos el atributo parent
      cl_parent ?= me->m_parent.
    model is the class i want to recover, it is defined in the attibutes of the class z_identity_cl
      model     ?= cl_parent->get_model( 'mo' ).</i>
    When i open the popup i get the next error:
    <i>BSP exception : the object  numero_ocup.htm(this is the page i want to open) in URL sap/ZHR_PDWEB_GDPT/numero_ocup.htm is a view. Initialize the controller.</i>
    what do i have to do?
    any help?
    thanks in advance

    Hi Eduardo,
      you should be calling the Controller in the URL not the View. after calling the controlles in the URL create the view in the DO_REQUEST of the Controller. This should resolve the issue.
      In the the DO_INIT define the Parent class of the Controller.
    METHOD do_init.
      DATA: lr_my_parent TYPE REF TO zcl_hr_main_control.
    * set (MVC) model
      lr_my_parent ?= me->m_parent.
      set_model( model_instance = lr_my_parent->model
                       model_id = 'Z' ).
      me->model = lr_my_parent->model.
    ENDMETHOD.
    method DO_REQUEST.
    * datadeclaration
      DATA: abs      TYPE REF TO if_bsp_page.
    * if input is available, dispatch this input to subcomponent.
    * this call is only necessary for toplevel controllers.
      dispatch_input( ).
    * if any of the controllers has requested a navigation,
    * do not try to display, but leave current processing
      IF is_navigation_requested( ) IS NOT INITIAL.
        RETURN.
      ENDIF.
    * output current view (create, set attibutes, and call)
      abs = create_view( view_name = 'to_disp.htm' ).
    * set attribute model if needed
      abs->set_attribute( name = 'model' value = model ).
    * call master views
      call_view( abs ). "calls itself
    endmethod.
    Cheers
    Amandeep

  • Oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: Unable to get metadata for activity

    Hello,
    I am new to ADF, I am trying to learn how to navigate from one page to another, the code that I have is simple, but it is not working, I specified the control flow rules in the adfc-config.xml and I even tried to specify the navigation rules in the faces-config.xml file, but it doesn't matter if I do it in one configuration file or another I get the same error.  This is my first time working with ADF, I don't have formal training, just some video tutorial that I have seen on internet.  I have previous experience with JSF, so I feel more comfortable writing the code for my program than using all the graphical tools (at least at this moment)
    Any help to solve this problem will be highly appreciated.
    This is my page1.jsf  code:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:h="http://java.sun.com/jsf/html">
        <af:document title="page1.jsf" id="d1" binding="#{backingBeanScope.backing_page1.d1}">
            <af:form id="f1" binding="#{backingBeanScope.backing_page1.f1}"></af:form>
        </af:document>  
        <h:head>
            <title>First JSF Example</title>
        </h:head>   
        <h:body>
            <h3>ADF Hello World Example</h3>
            <h:form>
                What's your name?
                <h:inputText value="#{backingBeanScope.backing_page1.message}"></h:inputText>
                <h:commandButton value="Welcome Me" action="#{backingBeanScope.backing_page1.processPage1}"></h:commandButton>
            </h:form>
        </h:body>   
    </f:view>
    This is my backing bean for page1:
    package view.backing;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    public class Page1 {
        private RichForm f1;
        private RichDocument d1;
        private String message;
        public void setF1(RichForm f1) { this.f1 = f1; }   
        public RichForm getF1() {return f1;}   
         public void setD1(RichDocument d1) {this.d1 = d1;}
        public RichDocument getD1() {return d1;}
        public void setMessage(String msg) { this.message= msg;  }
        public String getMessage() { return this.message; }
        public String processPage1()
            System.out.println("++++++++++++++++++++++++++++++++++++++++++++++move to next page");
            return "success";   
    This is my adfc-config.xml file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <control-flow-rule id="__5">
        <from-activity-id>page1.jsf</from-activity-id>
        <control-flow-case id="__6">
          <from-action>#{backingBeanScope.backing_page1.processPage1}</from-action>
          <from-outcome>success</from-outcome>
          <to-activity-id>page2.jsf</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
      <managed-bean id="__2">
        <managed-bean-name>backing_page1</managed-bean-name>
        <managed-bean-class>view.backing.Page1</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1page1.jsf-->
      </managed-bean>
      <managed-bean id="__1">
        <managed-bean-name>backing_page2</managed-bean-name>
        <managed-bean-class>view.backing.Page2</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1page2.jsf-->
      </managed-bean>
    </adfc-config>
    Finally this is my page2.jsf
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"  xmlns:h="http://java.sun.com/jsf/html">
        <af:document title="page2.jsf" id="d1" binding="#{backingBeanScope.backing_page2.d1}">
            <af:form id="f1" binding="#{backingBeanScope.backing_page2.f1}"></af:form>
        </af:document>
        <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_page2-->
        <h:body>
            <h3>ADF Hello World Example PAGE2</h3>  
        </h:body>     
    </f:view>
    This is the error that I get when I push the button on page1 and I try to navigate to page 2:
    Target URL -- http://127.0.0.1:7101/EcatsADF12c-ViewController-context-root/faces/page1.jsf
    <org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl> <ViewHandlerImpl> <_checkTimestamp> <TIMESTAMP_CHECKING_ENABLED_SHOULDNOT_IN_PRODUCTION>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,015 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,014 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,013 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,017 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,016 during the configured idle timeout of 5 seconds.>
    ++++++++++++++++++++++++++++++++++++++++++++++move to next page
    <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl> <DiagnosticsDataExtractorImpl> <createADRIncident> <incident 11 created with problem key "ADFC-02013 [ADFc]">
    <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl> <DiagnosticsDataExtractorImpl> <createADRIncident> <incident 12 created with problem key "ADFC-02013 [ADFc]">
    <oracle.adf.view> <RichExceptionHandler> <_logUnhandledException> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5>
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: Unable to get metadata for activity 'page2.jsf'.
      at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:234)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:1133)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:979)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:162)
      at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:119)
      at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:88)
      at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
      at javax.faces.component.UICommand.broadcast(UICommand.java:315)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    User, tell us your jdev version, please!
    What is your goal?
    What you have find had nothing to do with ADF. If you ent to learn adf then I recommend to work through find of the tutorials available on the jdev home page.
    If adf is not your goal, you might want to use Trinidad and ask your question in their forum.
    You might not like the declarative approach adf uses, but if you want to learn how to use adf, you have to understand how ADF works. Most can be done using java, but one you understand the framework you see the advantage.
    Timo

  • Getting the last active number purchasing info record

    Hi,
    I was trying to get the last active number of the purchasing info record.
    As in the ME21N, while creating a purchase order, once we have entered the material number, the system automatically returns the adequate number of the info recored, but I could't identify (through debug) which was the function module or method call used to get it.
    I will be really thankful if somebody could help.
    Thanks & regards.

    Thanks to all for your answers. I finally figured it out with the help of a functional consultant.
    To identify the last active number purchasing info record, we retreive from table EINA, and there, the field LOEKZ should be empty.
    Basically, we only have one info record number per couple material/vendor.
    Ragards

  • Calling task flows return activity from Jspx page.

    Hi ,
    Using JDev11.1.1.6
    I have created template for home page, drag and dropped the task flow(Main Task flow) as region.
    Main task flow contains other 2 taskflows with control flows and other 2 taskflows contains Task flow return activity to navigate back to Main task flow.
    I need to call task flow return activity from jspx page.
    How it can be acheived? can you please suggest me.
    Thanks and Regards,
    Raj Gopal K

    Hi,
    My use case is to close the child task flow and navigate back to main task flow. This should be done through homePage.jspx(whch contains main task flow).
    What i have done:
    Having page template which has logout and home page links. Use this template to create homePage.jspx, Next drag the main task flow to create a region inside the homePage.jspx.
    Thanks,
    Rajgopal K

  • Get number of active instances for an orchestration using WMI

    I would like to get number of active, ready to run and dehydrated instances for an orchestration in my master orchestration. How can I do this using WMI?
    Thanks in advance!!

    I have done it recently...its quite simple...
    You can use System.Management in a helper library and create a helper method to implement this ->
    int instanceCount = 0;
    ManagementObjectSearcher searcher = new ManagementObjectSearcher("root\\MicrosoftBizTalkServer", "SELECT * FROM MSBTS_ServiceInstance WHERE ServiceName='<name of your orchestration>'");
    foreach (ManagementObject queryObj in searcher.Get())
    //Count for Active, Ready To Run and Dehydrated
    if (queryObj["ServiceStatus"].ToString() == "1" || queryObj["ServiceStatus"].ToString() == "2" | queryObj["ServiceStatus"].ToString() == "8")
    instanceCount = instanceCount + 1;
    return instanceCount;
    You can pass your orchestration name as a parameter to this method. Additionally you can modify the if conditions to include/exclude instance status.
    Make sure to verify the syntax before you use it!!

  • I am getting a re-activation for my photoshop.  it states "Activation Type: Repair 24:24

    I am getting a re-activation for my photoshop.  it states "Activation Type: Repair 24:24@

    There have been a few reports on here where Corsair RAM seems to have caused users a lot of grief with crashes.
    The recommendation on here, mostly, is to only buy RAM from macsales.com or crucial.com as they guarantee their modules will work and offer a no quibble lifetime guarantee.
    I'd put the original RAM back in, return the Corsair chips for a refund and re-order from one of those two companies.
    http://eshop.macsales.com/shop/apple/memory/iMac
    http://www.crucial.com/

  • What does the return activity do in BTF executed within a region?

    All of us know that the return activity in the bounded task flow used to return from a called bounded task flow to the caller (i.e. to exit the task flow), this concept is clear when the bounded task is called from task flow call activity. But can we use the return activity in a bounded task flow that is intended to be executed in a region, but the question is how to use it, and what does it exactly mean to have a return activity in a bounded task flow that is executed within a region? Is there any use case for this scenario?

    Hi,
    regions don't handle task flow returns and the taskflow would just exit leaving the region area blank, One option to use returnvactivuties in egions is to configure a region navigation listener and - if the current view id value returns null - to refresh the region so the task flow starts all over again. To pass values back in such a use case you would use a managed bean instance you pass as an argument to the taskflow in a region.
    Frank

  • How to get the return values from a web page

    Hi all :
       how to get the return values from a web page ?  I mean how pass values betwen webflow and web page ?
    thank you very much
    Edited by: jingying Sony on Apr 15, 2010 6:15 AM
    Edited by: jingying Sony on Apr 15, 2010 6:18 AM

    Hi,
    What kind of web page do you have? Do you have possibility to for example make RFCs? Then you could trigger events (with parameters that could "return" the values) and the workflow could react to those events. For example your task can have terminating events.
    Regards,
    Karri

  • Remote Object - not able to get the returned value from java method

         Hi ,
    I am developing one sample flex aplication that connects to the java code and displays the returned value from the
    java method in flex client. Here I am able to invoke the java method but not able to collect the returned value.
    lastResult is giving null .  I am able to see the sysout messages in server console.
    I am using flex 3.2 and blazeds server  and java 1.5
    Here is the code what I have written.
    <?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication  xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#FFFFFF" initialize="initApp()">
     <mx:Script><![CDATA[
    import mx.controls.Alert; 
    import mx.binding.utils.ChangeWatcher; 
    import mx.rpc.events.ResultEvent; 
    import mx.messaging.*; 
    import mx.messaging.channels.* 
    public function initApp():void { 
         var cs:ChannelSet = new ChannelSet(); 
         var customChannel:Channel = new AMFChannel("my-amf", "http://localhost:8400/blazeds/messagebroker/amf");     cs.addChannel(customChannel);
         remoteObj.channelSet = cs;
    public function writeToConsole():void {      remoteObj.writeToConsole(
    "hello from Flash client");
          var returnedVal:String = remoteObj.setName().lastResult;     Alert.show(returnedVal);
    //[Bindable] 
    // private var returnedVal:String; 
    ]]>
    </mx:Script>
    <mx:RemoteObject id="remoteObj" destination="sro" /> 
    <mx:Form width="437" height="281">
     <mx:FormItem>  
    </mx:FormItem>  
    <mx:Button label="Write To Server Console" click="writeToConsole()"/>
     </mx:Form>
     </mx:WindowedApplication>
    Java code
    public  
         public SimpleRemoteObject(){  
              super();     }
      class SimpleRemoteObject { 
         public void writeToConsole(String msg) {          System.out.println("SimpleRemoteObject.write: " + msg);     }
         public String setName(){          System.
    out.println("Name changed in Java"); 
              return "Name changed in Java";
    And I have configured destination in  remote-config.xml
    <destination id="sro">
       <properties>    
        <source>SimpleRemoteObject</source>
        <scope>application</scope>
       </properties>
      </destination>
    Please help me .

    You are not able to get the returned value because if you see the Remote object help you will realise you have to use result="resultfn()" and fault = "faultfn()"
    In this you define what you wish to do.
    More importantly in the remote object you need to define which method you wish to call using the method class like this
    <mx:RemoteObject id="remoteObj" destination="sro" result="r1" fault="f1"  >
         <Method name="javaMethodName" result="r2" fault="f2"/>
    <mx:RemoteObject>
    r2 is the function where you get the result back from java and can use it to send the alert.

  • Customer screen get populated in activity management

    hi any one can help me out in this pls.
    my client requirement is customer screen get populated in activity management.
    my client using activities in crm.They configured customer sceen in activities.In that they have fields like contract validity, type of contract etc.
    how it will get populated when they enter customer number.

    hi
    can u please elaborate ur requirement what exactly we mean be population of activity screen,i din get exactly
    best regards
    ashish

  • When I open iTunes it is slow to open for one, and two when it does see my iPhone and i go to sync it this is what I get in return... The iPhone "My Name here" could not be synced because the iPhone could not be found on the network. that is a pop up box

    When I open iTunes it is slow to open for one, and two when it does see my iPhone and i go to sync it this is what I get in return... The iPhone "My Name here" could not be synced because the iPhone could not be found on the network. that is a pop up box in middle of screen that says that it does it like every time I go to sync the phone after i do app updates. I am getting very frustrated by this can someone please help. I have made 2 other discussion topics about this and no replies on them. Please if anyone can help I ask for help. This has occurred ever since the iOS 5.1 update and the iTunes 10.6.0 and still continues with the iTunes 10.6.1 update just yesterday and perhaps even worse now. PLEASE HELP IF YOU CAN. I have looked through my network settings etc and everything looks good here on my side.

    When I open iTunes it is slow to open for one, and two when it does see my iPhone and i go to sync it this is what I get in return... The iPhone "My Name here" could not be synced because the iPhone could not be found on the network. that is a pop up box in middle of screen that says that it does it like every time I go to sync the phone after i do app updates. I am getting very frustrated by this can someone please help. I have made 2 other discussion topics about this and no replies on them. Please if anyone can help I ask for help. This has occurred ever since the iOS 5.1 update and the iTunes 10.6.0 and still continues with the iTunes 10.6.1 update just yesterday and perhaps even worse now. PLEASE HELP IF YOU CAN. I have looked through my network settings etc and everything looks good here on my side.

Maybe you are looking for

  • Download stopped with error = -50

    I purchased something on the iTunes store and now the download does not finish.  It errors out at 120.1 MB with a status of stopped (err= -50)  My internet is working (obviously as I am posting this from it).  I have tried the download from my PC and

  • Sony xperia z1 shuts down while updating to 14.3.A.0.757

    Hi I just got the xperia Z1 and im trying to update to 14.3.A.0.757 but while its peparing the phone shuts down, I tried doing what it says and nothing ( it tells you to hold the volume button down and reconnet the micro usb) I tried to hold the powe

  • How to analyse a string of characters in VBA

    Hi, I need to know if a list of character contains only letters or if it contains a numeric part, or only numeric. How can I do that ? Thanks

  • Emailing photos as attachment files

    How do I attach an iphoto as a jpeg file attachment to an email that can be opened and managed by a pc windows user? All my email photos show as actual photos imbedded in the email and can't be taken out of the email by the pc user.

  • Now that we have Java - who helps the end users?

    Now that Oracle provides the JRE, we get to an interesting question: where do the non-technical people go for help with JRE installs and configurations? At first blush, I'd almost feel we need a separate forum to help keep them in a 'friendly' place.