we need to add an element to the listfield where we can
specify a filter. we could control the listing values on
the selection list. we could tell it what to grab or what
not to grab. essentially the 'filter' elements would just
be added in the 'where' clause. show=true is a 'where
status = active' or show=false can be 'where status !=
deleted.'
<listfield name="status" display="Status">
<filter value="active" show="true" />
<filter value="queued" show="true" />
<filter value="archived" show="true" />
</listfield>
the example above could be a publishing system with 4
different statuses: active, queued, archived, or deleted.
we could accomplish the same thing with this:
<listfield name="status" display="Status">
<filter value="deleted" show="false" />
</listfield>