@Ofbizurl and external module

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

@Ofbizurl and external module

Simone Michele
Hi to all !
I'm a newbie to the ofbiz/opentaps world.
I'm developing a new module for my purpose, in this module i have  some
screen-widget  that include some  opentaps  ftl  macros  (like
viewprofile.ftl ) and some screens (like PaymentMethodScreens.xml).
i.e.
<container style="subSectionBlock">
    <container style="form">
        <platform-specific>
            <html>
                <html-template
location="component://crmsfa/webapp/crmsfa/contactmech/viewprofile.ftl"/>                          
         
            </html>
       </platform-specific>  
   </container>
</container>
....                                    
<container style="subSectionBlock" >            
    <container style="form" >  
        <include-screen name="listContactPaymentMethods"
location="component://crmsfa/widget/crmsfa/screens/common/PaymentMethodScreens.xml"
/>
    </container>
</container>

All rendering fine, the problem is that all the link made by the @ofbiz
trasform in that ftl point to localhost:8080/MyApplication/.... instead
of localhost:8080/crmsfa/.... is there any way to set the ofbiz url
transforming context to make it pointing to the right place??
Tanks in advance,
Michele