ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepika1 S <deepika...@tcs.com>
Subject Re: urlPrefix variable for <@ofbizUrl>
Date Thu, 27 Sep 2012 05:06:04 GMT
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.


Deepika Sahu

"bhargav.tri" <Bhargav.Trivedi@objectedge.com>
09/27/2012 04:36 AM
urlPrefix variable for <@ofbizUrl>

Is it possible to provide two different values to the urlPrefix from the 
.ftl page ?

Since it is an environment variable and not an argument (like "fullPath") 
am not sure how to overload the value of urlPrefix. 

I am facing this issue when I have something like:
<a href='&lt;@ofbizUrl>main</@ofbizUrl>'><img

In the above case I want two different url prefixes on the same line for 
different ofbizUrl's. 

Is this possible?


View this message in context: 

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message