Robert,
Please take a look into the CatalogUtlServlet.java static method
makeCatalogUrl.
Method will take request, productId, categoryId, prevCategoryId as
parameters and return the url.

You may need to need to pass combination of parameters as null and actual
values to get the results you want.

Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com


On Sat, Nov 17, 2012 at 8:34 PM, Robert G. <g...@mercon24.de> wrote:

> Hey, I have a question:
> I need to get the URL for Categories or products in a java method. I have
> the categoryId or productId, is there a method to return the Url with these
> information?
>
> I know, I can build it by my self, but I want to avoid to change lots of
> files, just in case when I change the name i.ex. "ecommerce" within the
> Url.
> I also believe, that there has to be those functions allready implemented,
> cause the application lives from Urls :)
>
> Thanks in advance.
>
> Robert
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Get-the-ecommerce-Url-tp4637705.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply via email to