You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Chris Davidson <ch...@ixxus.co.uk> on 2009/10/05 18:35:19 UTC

Disabled cookies

Hi there,

 

 I have been doing some testing of the ecommerce product with cookies
disabled and have come across a problem. If I add a product to my basket
and then click on a category the product disappears from the basket.
Seems to be because the category does not add a jsessionid to the url. I
thought fine I will just add an ofbizurl tag to the href in
ecommerce\webapp\ecommerce\catalog\sidedeepcategory.ftl. However in
there it calls a static method in a servlet to construct the link.

 

<a
href="${Static["org.ofbiz.product.category.CatalogUrlServlet"].makeCatal
ogUrl(request, "", category.productCategoryId,
parentCategory.productCategoryId)}"
class="${browseCategoryButtonClass}"><#if
categoryName?has_content>${categoryName}<#else>${categoryDescription?def
ault("")}</#if></a>

 

Anyone any ideas on how to go about resolving this conflict, e.g. would
I be better off working on the servlet to add the sessionid or on the
template to build the link? I think this happens in other places as
well.

 

Thanks,

Chris Davidson