could you please paste the javascript method and flex method to call java
script here.

On Mon, Nov 29, 2010 at 3:29 PM, Gerald Anto Fernando <
[email protected]> wrote:

> hi jitendra also i used java script code to open notepad.
> notepad is open fine for normal java script but when i call from flex it is
> not opened.
> am using firfeox to run output
>
> what is a problem in that?
>
>
> On Mon, Nov 29, 2010 at 11:56 AM, Jitendra Jain <
> [email protected]> wrote:
>
>> See some java script code, how to open a notepad..
>>
>> On Mon, Nov 29, 2010 at 11:52 AM, Gerald Anto Fernando <
>> [email protected]> wrote:
>>
>>> how to see it(notepad)
>>>
>>>
>>> On Mon, Nov 29, 2010 at 11:17 AM, Jitendra Jain <
>>> [email protected]> 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 <
>>>> [email protected]> 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 <
>>>>> [email protected]> 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 <
>>>>>> [email protected]> 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 [email protected].
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> [email protected]<flex_india%[email protected]>
>>>>>>> .
>>>>>>> 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 [email protected].
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected]<flex_india%[email protected]>
>>>>>> .
>>>>>> 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 [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<flex_india%[email protected]>
>>>>> .
>>>>> 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 [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<flex_india%[email protected]>
>>>> .
>>>> 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 [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<flex_india%[email protected]>
>>> .
>>> 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 [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to