See some java script code, how to open a notepad.. On Mon, Nov 29, 2010 at 11:52 AM, Gerald Anto Fernando < flex.gerald.a...@gmail.com> wrote:
> how to see it(notepad) > > > On Mon, Nov 29, 2010 at 11:17 AM, Jitendra Jain < > warriorofheavens...@gmail.com> wrote: > >> Java is a server side technology and when you run a command from Java it >> will always run on the Server side and not on client side.. So i think when >> yu are calling Java from Flex it will open the notepad on the server not on >> the client. >> >> >> On Mon, Nov 29, 2010 at 11:09 AM, Gerald Anto Fernando < >> flex.gerald.a...@gmail.com> wrote: >> >>> it shows the error as data sending failed.but now i create separate >>> project >>> it is working fine but i cant get result. >>> Actually my task is to open notepad from java function that should be >>> called from flex button click. >>> In Separate java it is working fine. but when i call from flex the >>> notepad is not opened. >>> but if i want to return something from java method, that will return >>> value . but notepad is not opened what i the problem in that could please >>> help me >>> >>> Thanks&Regards, >>> Gerald A >>> >>> On Sat, Nov 27, 2010 at 9:12 PM, Jitendra Jain < >>> warriorofheavens...@gmail.com> wrote: >>> >>>> Hi, >>>> >>>> Could you please paste the whole stack trace. Also make sure for every >>>> Java Object there should be corresponding Flex Object. It should be mapped >>>> with destination id. >>>> >>>> Thanks and Regards, >>>> Jitendra Jain >>>> >>>> >>>> On Sat, Nov 27, 2010 at 12:17 PM, Gerald Anto < >>>> flex.gerald.a...@gmail.com> wrote: >>>> >>>>> >>>>> my flex java(Blaze ds) is working fine. >>>>> now i new mxml and java class. >>>>> how to configure remoting-config.xml file for this java class. >>>>> else i have to create new another remoting-config.xml file. >>>>> >>>>> the followig is my remoting-config.xml for first application >>>>> >>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>> >>>>> <service id="remoting-service" >>>>> >>>>> class="flex.messaging.services.RemotingService"> >>>>> >>>>> <adapters> >>>>> <adapter-definition id="java-object" >>>>> class="flex.messaging.services.remoting.adapters.JavaAdapter" >>>>> default="true"/> >>>>> </adapters> >>>>> >>>>> <default-channels> >>>>> <channel ref="my-amf"/> >>>>> </default-channels> >>>>> >>>>> <destination id="CreatingRpc"> >>>>> <properties> >>>>> <source>com.adobe.remoteobjects.RemoteServiceHandler</source> >>>>> <scope>application</scope> >>>>> </properties> >>>>> <adapter ref="java-object"/> >>>>> </destination> >>>>> >>>>> </service> >>>>> >>>>> now i add the following for second java class >>>>> >>>>> <!-- >>>>> <destination id="opentool"> >>>>> <properties> >>>>> <source>com.adobe.remoteobjects.OpenTool</source> >>>>> <scope>application</scope> >>>>> </properties> >>>>> <adapter ref="java-object"/> >>>>> </destination> >>>>> --> >>>>> but it shows sending failed error .please help me how to configure for >>>>> second class >>>>> >>>>> Thanks&Regards, >>>>> Gerald A >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Flex India Community" group. >>>>> To post to this group, send email to flex_in...@googlegroups.com. >>>>> To unsubscribe from this group, send email to >>>>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>>>> . >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/flex_india?hl=en. >>>>> >>>>> >>>> >>>> >>>> -- >>>> Thanks and Regards, >>>> JJain, >>>> >>>> If you have knowledge, let others light their candles in it >>>> --Margaret Fuller: >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Flex India Community" group. >>>> To post to this group, send email to flex_in...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/flex_india?hl=en. >>>> >>> >>> >>> >>> -- >>> Thanks & Regards, >>> A Gerald >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Flex India Community" group. >>> To post to this group, send email to flex_in...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/flex_india?hl=en. >>> >> >> >> >> -- >> Thanks and Regards, >> JJain, >> >> If you have knowledge, let others light their candles in it --Margaret >> Fuller: >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to flex_in...@googlegroups.com. >> To unsubscribe from this group, send email to >> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > > > -- > Thanks & Regards, > A Gerald > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- Thanks and Regards, JJain, If you have knowledge, let others light their candles in it --Margaret Fuller: -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.