Dear Bhargav,
In NotificationServices.java, we have a method called
public static void setBaseUrl(GenericDelegator delegator, String
webSiteId, Map context) {}
where we set "baseUrl" in the context, in order to provide different urls
instead of ofbizurl, you can investigate how this works.
The Web_site entity will come in handy.
Please let me know if any issues.
Regards,
Deepika Sahu
From:
"bhargav.tri" <[email protected]>
To:
[email protected]
Date:
09/27/2012 04:36 AM
Subject:
urlPrefix variable for <@ofbizUrl>
Is it possible to provide two different values to the urlPrefix from the
same
.ftl page ?
Since it is an environment variable and not an argument (like "fullPath")
I
am not sure how to overload the value of urlPrefix.
I am facing this issue when I have something like:
<a href='<@ofbizUrl>main</@ofbizUrl>'><img
src="<@ofbizUrl>images/myPicture.png</@ofbizUrl>"
In the above case I want two different url prefixes on the same line for
two
different ofbizUrl's.
Is this possible?
Bhargav
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/urlPrefix-variable-for-ofbizUrl-tp4636480.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you