Michele,
Your problem description is missing some important information, but I think I understand what you
are describing.
It seems you are reusing existing crmsfa screens that have <@ofbizUrl> transforms in them that
create links. If you click on those links, they resolve to your custom app's url, not the crmsfa url.
The simplest solution to that problem (if my guess is correct) is to have identical view mappings in
your custom app - so that the same url exists in your custom app.
-Adrian
Simone Michele wrote:
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