ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Repal <ashishre...@gmail.com>
Subject Re: js issue in latest release
Date Fri, 25 Sep 2015 07:18:37 GMT
Hi Deepak,

Where is the configuration done for this?
I have extended the order module of previous version in hot-deploy, where i
have added custom js file.


Pritam,
entry is already there for images folder in allowedPaths.




Regards,
Aashish Repal
09623381664

On Fri, Sep 25, 2015 at 10:55 AM, Deepak Dixit <
deepak.dixit@hotwaxsystems.com> wrote:

> Hi Ashish,
>
> You need to add order related js under
> application/commonext/webapp/ordermgr-js.
> As birt component override the ordermgr webapp, hence js added under
> application/ordermgr will not be loaded.
>
> To fix this issue we added ordermgr-js webapp under commonext. Please add
> all the order related js under ordergr-js webapp.
>
> Thanks & Regards
> —
> Deepak Dixit
>
>
> > On Sep 25, 2015, at 10:38 AM, Pritam Kute <pritam.kute@hotwaxsystems.com>
> wrote:
> >
> > Hi Ashish,
> >
> > Can you please have a look at your *web.xml* file of ordermgr component?
> I
> > think you missed the entry of your images folder into allowedPaths param.
> > Code snippet is as below:
> >
> > <init-param>
> >            <param-name>allowedPaths</param-name>
> >
> >
> <param-value>/error:/control:/products:/select:/index.html:/index.jsp:/default.html:/default.jsp:/js:/includes/maincss.css
> > *:/images*</param-value>
> > </init-param>
> >
> > Hope this will help you.
> >
> > Thanks & Regards,
> > --
> > *Pritam Kute*
> > *HotWax Systems* | www.hotwaxsystems.com
> >
> > On Fri, Sep 25, 2015 at 10:02 AM, Ashish Repal <ashishrepal@gmail.com>
> > wrote:
> >
> >> Hi All,
> >>
> >> I have updated to  latest ofbiz release *14.12-v14.0*
> >> I am facing js related issue here. Js files are not getting included.
> >>
> >>
> >> <screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >> xsi:noNamespaceSchemaLocation="
> >> http://ofbiz.apache.org/dtds/widget-screen.xsd">
> >>    <screen name="CheckInits">
> >>        <section>
> >>            <actions>
> >>
> >>                <set field="titleProperty" value="PageTitleOrderInits"/>
> >>                <set field="headerItem" value="orderentry"/>
> >>              *  <set field="layoutSettings.javaScripts[]"
> >> value="/ordermgr/images/test.js" global="true"/>*
> >>                <script
> >>
> >>
> location="component://customorder/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy"/>
> >>            </actions>
> >>
> >> test.js is not getting included.
> >> but framerwork's images folder which has all js lib's is getting
> included.
> >> i am not getting the issue here.
> >> Anyone has idea about this?
> >>
> >>
> >> Regards,
> >> Aashish Repal
> >>
>
>

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