Can somebody please explain why I can't set offset and length with
properties of a bean (in this case Integer properties pager)?
What would be the best way to set these attributes from the bean?
bean:define id=pager name=SOMEKEY
type=com.webtothemax.shop.common.Pager /
logic:iterate id=product
You need to put variables on the page you are passing
in inside %= var %.
bean:define id=pager name=SOMEKEY
type=com.webtothemax.shop.common.Pager /
logic:iterate id=product name=OTHERKEY
type=com.webtothemax.shop.common.Product
offset=%= pager.offset %
length=%= pager.length %
2 matches
Mail list logo