that should not be a problem if you include the controller in your myapp
controller.
it will still show up under myapp/controller but will be using the
application/controller, to resolve any uri in the request map that are
generated by the ftl.



Simone Michele sent the following on 11/19/2007 12:28 AM:
> 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
> 
> 
> 
> 
> 
> 
> 
> 
> 

Reply via email to