Hi Kim,

On 07/06/06, Kim Ryan <[EMAIL PROTECTED]> wrote:
> I have a very useful macro that was supplied from this list.
> It allows persistence for all my select lists which is great, but
> the first option (implicitly select all values) has no label.
> I would like to use the label "All".  The code that unshifts
> an empty element makes no sense to me, I can't see how
> it even knows we are creating a select list.

It knows you're creating a select list because you'd only call it for
that reason - it's in the name "persistent_select_list" ;)

The implicit selection of all values is an accident of how your code
is working, as normally an empty value would mean 'none'.

Select lists now behave this was as standard in Maypole 2.11
(available from SVN or pre-release packages from CPAN).

Just ask if I'm confusing things :)

Hope that helps,

A.


_______________________________________________
Maypole-users mailing list
Maypole-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to