Hello Avijit,

Can you share some peace of code, I didn't understand your ftl to java ?

You have a ftl template and go to java service through request call or
you want to call a java code on a ftl code ?

Nicolas

On 28/06/2022 12:45, Avijit Bose wrote:
> Dear Sir,
>
> Can the 'context' be passed from a ftl file to java?
>
> I see a 'globalContext' in this link...
> https://cwiki.apache.org/confluence/display/OFBIZ/Variables+always+available+in+screen+context
>
> My goal is to use context here..
> -----------------------
> dbName.setNonPKFields(context);
> -------------------------
> in a method...
> ------------------------
> public static String createSubscriber(HttpServletRequest request,
> HttpServletResponse response) {  }
> -----------------------
> can I use 'globalContext' in place of 'context'?
>
> regards
> Avijit
>

Reply via email to