Re: T5: conditional parameter binding or something

2007-12-05 Thread Davor Hrg
I'm not sure I understood it completely, so first I'll how I see it from your description. You have a list of items to display, you have maxItems to display per page, you only want to show some items based on their state. Your division of responsibilities is putting too much into one place and

T5: conditional parameter binding or something

2007-12-04 Thread Britske
I need a bit of introduction to lay down the problem, so please bare with me: I have a component which renders lists of items. A parameter (childcounter) keeps track of the number of rendered items in the current List. I have the requirement. to be able to define on a per-page basis how many

Re: T5: conditional parameter binding or something

2007-12-04 Thread Britske
I quickly solved it with some kind of hack for those interested, but I'm still curious if the kind of binding I described is possible at all. Cheers, Geert-Jan A hack that's working: introduced 2 extra fields: facetmaxInc and FacetOld; public void setFacetCounter(int facetCounter)