-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

1. The ofbizUrl macro only works for intra-component links:
<a href="<@ofbizUrl>viewimage?orderId=${orderId}>

2. For inter-component links I have seen such constructs:
<a href="/ordermgr/control/viewimage?orderId=${orderId}>

Is there a better way (macro) to refer to another component href?
The information should be in the framework as each component defines the
following in its ofbiz-component.xml:

<ofbiz-component name="YOUR_COMPONENT_NAME">

<webapp name="YOUR_WEBAPP_NAME"
        title="..."
        server="default-server"
        location="webapp/PATH_TO_YOUR_WEBAPP"
        base-permission="OFBTOOLS,WEBTOOLS"
        mount-point="/YOUR_WEBAPP_MOUNTPOINT"/>

So the below should technically be possbile to create a proper href:

<a href="<@ofbizUrl component="YOUR_COMPONENT_NAME"
webapp="YOUR_WEBAPP_NAME">viewimage?orderId=${orderId}>

Any thoughts or comments?

Regards,
René
- -- 
René Scheibe * [email protected]
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxiwmAACgkQUXs9EHvIuCrk6wCeImQ0PmuPT4cNZa1J5S+o/Wc5
reEAnjU8jIIWgIUYAE1nabUFeepCmp6j
=75Wi
-----END PGP SIGNATURE-----

Reply via email to