Iterate tag: length and offset set by bean properties don't work?

2001-07-19 Thread Marcel Maré
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

Re: Iterate tag: length and offset set by bean properties don't work?

2001-07-19 Thread David Winterfeldt
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 %