ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taher Alkhateeb <slidingfilame...@gmail.com>
Subject Re: raw javascript code on commonscreens.xml , ecommerce app
Date Thu, 26 Sep 2013 13:09:01 GMT
Hi Antony,

The best way i can think of is to put this code snippet in an FTL file,
this would make your program more modular and reusable anyway.

Taher
On Sep 26, 2013 3:52 PM, "Antony Adopo" <saius1er@gmail.com> wrote:

> Hello,
>
> Please could someone help me include this raw code on xml file
> "CommonScreens.xml" on ecommerce app.:
>
> <script type="text/javascript">
>         $(document).ready(function () {
>             $('.dropdown-toggle').dropdown();
>         });
>    </script> -
>
> I saw an example :
>
> <set field="layoutSettings.javaScripts[+0]"
>
> value="/images/jquery/plugins/datetimepicker/jquery-ui-timepicker-addon-1.0.5.js"
> global="true"/>
>
> but this is only for pointing some file . Me I want to include raw java
> script code
>
> thanks
>
> Antony
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message