Closed GoogleCodeExporter closed 8 years ago
Added the diff file instead.
Original comment by marco.ba...@gmail.com
on 31 Aug 2013 at 1:21
Attachments:
Making the item count a property of the item (and not of the container) seems a
waste of ram to me: if i have 10k items, i will have the same information
duplicated 10k times, one for each item in the collection.
Additionally, the idea of having the item count as a property of an item is not
logical: what if the same item is added in two or more collections? The
itemcount property is better suited to be a property of the collection itself.
By the way, it already exists as the getItems()->getCount() property.
Original comment by ctrlal...@gmail.com
on 3 Sep 2013 at 10:45
Isn't it available only at the end of the databile cycle?
Il giorno 03/set/2013 11:45, <prado3@googlecode.com> ha scritto:
Original comment by marco.ba...@gmail.com
on 3 Sep 2013 at 11:01
Using <%# $this->Parent->Parent->ItemCount %> (during databind) will return 0;
using <%= $this->Parent->Parent->ItemCount %> will return the umber of items.
Original comment by ctrlal...@gmail.com
on 3 Sep 2013 at 1:13
Ok thanks!
Il giorno 03/set/2013 14:13, <prado3@googlecode.com> ha scritto:
Original comment by marco.ba...@gmail.com
on 3 Sep 2013 at 1:20
Original comment by ctrlal...@gmail.com
on 3 Sep 2013 at 2:32
Well, thanks anyway for your comments!
-Marco
Il giorno 03/set/2013 15:32, <prado3@googlecode.com> ha scritto:
Original comment by marco.ba...@gmail.com
on 3 Sep 2013 at 2:34
Original issue reported on code.google.com by
marco.ba...@gmail.com
on 31 Aug 2013 at 1:08