Java Events

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Java Events

Anshuman Manur
Dear all,

If I declare a Java event to invoke a method in the controller.xml file, the
method must have a signature:

public static String <method-name>(HttpServletRequest request,
HttpServletResponse response) { }

What is the returned string for? and how can I access it in an FTL file or a
script?

Thanks,
Anshu
Reply | Threaded
Open this post in threaded view
|

Re: Java Events

Ashish Vijaywargiya-5
This document can be your friend.
http://docs.ofbiz.org/x/UBE

--
Ashish

Anshuman Manur wrote:

> Dear all,
>
> If I declare a Java event to invoke a method in the controller.xml file, the
> method must have a signature:
>
> public static String <method-name>(HttpServletRequest request,
> HttpServletResponse response) { }
>
> What is the returned string for? and how can I access it in an FTL file or a
> script?
>
> Thanks,
> Anshu
>
>  

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Java Events

Anshuman Manur
It is friendly. Thank you.

On Thu, May 28, 2009 at 1:33 PM, Ashish Vijaywargiya <
[hidden email]> wrote:

> This document can be your friend.
> http://docs.ofbiz.org/x/UBE
>
> --
> Ashish
>
>
> Anshuman Manur wrote:
>
>> Dear all,
>>
>> If I declare a Java event to invoke a method in the controller.xml file,
>> the
>> method must have a signature:
>>
>> public static String <method-name>(HttpServletRequest request,
>> HttpServletResponse response) { }
>>
>> What is the returned string for? and how can I access it in an FTL file or
>> a
>> script?
>>
>> Thanks,
>> Anshu
>>
>>
>>
>