You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Purani S <pu...@rediffmail.com> on 2006/09/04 13:18:55 UTC

The value for productCategoryMember_index

  
Could I get an answer for the following line: 
${setRequestAttribute("listIndex", productCategoryMember_index)}

The above line is taken from "CategoryDetail.ftl". 
I need the value for "productCategoryMember_index", so that I can display only 5 products per page , instead of 10 per page.

Thanks
Purani

Re: The value for productCategoryMember_index

Posted by Chris Howe <cj...@yahoo.com>.
changing that value isn't going to do what you think
it is.  productCategoryMember_index is the index
number of the current iteration.  generally, you're
looking for  VIEW_SIZE to change the display result
but for the category detail, i believe you want to add
the following to the categorydetal actions before
categorydetail.bsh is run

<set field="requestParameters.VIEW_SIZE" value="5"/>


--- Purani S <pu...@rediffmail.com> wrote:

>   
> Could I get an answer for the following line: 
> ${setRequestAttribute("listIndex",
> productCategoryMember_index)}
> 
> The above line is taken from "CategoryDetail.ftl". 
> I need the value for "productCategoryMember_index",
> so that I can display only 5 products per page ,
> instead of 10 per page.
> 
> Thanks
> Purani
>