Re: Transforming ofbiz FIND and corresponding LIST in FTL

2022-07-17 Thread Nicolas Malin
Which Apache OFBiz version you use ? mini-lang is deprecated and I invite you to use groovy dsl instead. After that, call your find from as script on screen action element. Put your result on the context and iterate from ftl like : applications/accounting/widget/ap/InvoiceScreens.xml#Commission

Re: Viewing PDF and Image in New Tab/Window in Ofbiz

2022-07-17 Thread Nicolas Malin
Hello, Load your pdf as content and call stream request-map like this : applications/accounting/widget/AgreementForms.xml#ListAgreementContent :         description="${contentName}" key-field-name="contentId">     description="${contentId}" link-type="anchor">  

Transforming ofbiz FIND and corresponding LIST in FTL

2022-07-17 Thread Avijit Bose
Dear Sir, Presently the ofbiz FIND and its corresponding LIST is written in minilang in ofbiz Forms. Pls let us all know how we can convert this into ftl file. In other words how to implement FIND and its LIST in FTL. If this can be done then we can use FTL in all the code except screens, et

Viewing PDF and Image in New Tab/Window in Ofbiz

2022-07-17 Thread Avijit Bose
Dear Sir, I have a link in the form as shown below: -- -- Note: "salaryCertificateUrl" is a path of a pdf file. I DON'T WANT TO GENERATE PDF FILE. JUST WANT TO VIEW PRE_GENERATED PDFs. I am uploading it and the