You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Avijit Bose <bo...@gmail.com> on 2022/05/29 02:52:05 UTC

Correct setting of javascript file

Dear Sir,

I am trying hard to place my javascript file in screens, etc. Seen examples
but my application is not picking up my javascript file.

my javascript file location is..
plugins / my-app / webapp / my-app / js / script.js

Pls let me know exactly where I should keep the javascript tag and the pls
let me know the complete tag itself.

regards
Avijit

Re: Correct setting of javascript file

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Avijit,

You also need to let know OFBiz about loading your js file. Look for "layout*.js" (Eclipse simple syntax) in *een*.xml files for examples.

HTH

Jacques

Le 29/05/2022 à 04:52, Avijit Bose a écrit :
> Dear Sir,
>
> I am trying hard to place my javascript file in screens, etc. Seen examples
> but my application is not picking up my javascript file.
>
> my javascript file location is..
> plugins / my-app / webapp / my-app / js / script.js
>
> Pls let me know exactly where I should keep the javascript tag and the pls
> let me know the complete tag itself.
>
> regards
> Avijit