You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Anshuman Manur <an...@stragure.com> on 2009/05/28 09:38:37 UTC
Java Events
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
Re: Java Events
Posted by Anshuman Manur <an...@stragure.com>.
It is friendly. Thank you.
On Thu, May 28, 2009 at 1:33 PM, Ashish Vijaywargiya <
ashish.vijaywargiya@hotwaxmedia.com> 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
>>
>>
>>
>
Re: Java Events
Posted by Ashish Vijaywargiya <as...@hotwaxmedia.com>.
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
>
>