Hi,

Was hoping to get some guidance with this.

I added to \applications\ecommerce\ofbiz-component.xml another webapp like so:

    <webapp name="ecommerce"
        title="ECommerce"
        server="default-server"
        location="webapp/ecommerce"
        mount-point="/ecommerce"
        app-bar-display="false"/>
    <webapp name="idealdeal.com"
        title="ECommerce"
        server="default-server"
        location="webapp/idealdeal.com"
        mount-point="/idealdeal"
        app-bar-display="false"/>

My intention being to create another webapp directory where I can modify all 
the templates. However, I realised that the screens.xml in the ecommerce app 
itself is referencing the ecommerce webapp directly. For example: 

<script 
location="component://ecommerce/webapp/ecommerce/WEB-INF/actions/shoppinglist/editShoppingList.bsh"/>

Is there anyway to make these references dynamic? (i.e. doing somethnig like:

<script 
location="component://ecommerce/${webappLocation}/WEB-INF/actions/shoppinglist/editShoppingList.bsh"/>

Is this the right way to go about doing something like this? Or am I following 
a path of self destruction?



Thanks!


Jason

Reply via email to