Q: Can I use Packeting Containers selectAll?
A: Packeting Containers selectAll does not work. Here is a patch which causes all items in a table to be selected.
Packeting Container Selection
Abstract
Executing the 'selectAllItems' action of a AbtPacketingContainerDetailsView results in 'do: not implemented' error
Problem
Calling (with a link or via script) the SelectAllItems's method of a AbtPacketingContainerDetailsView results in the error
AbtMultiRowResultTable does not understand do:
Solution
It is not well-defined what ''selectAllItems' means in the context of a packeting container. In packeting mode, rows come back x rows at a time (x is specified by the user). So, does 'selectAllItems' mean select a packet of rows or all the rows in the table? This solution retrieves all the rows in the table.
The following file-in is an implementation of AbtMultiRowResultTable>>do:
--- cut here ---
!AbtMultiRowResultTable publicMethods !
do: aBlock
self rows do: [ :r | aBlock value: r ]! !
--- cut here ---
Last modified date: 01/29/2015