[albatross-users] A pattern for processing a bunch of items at once?

Andrew McNamara andrewm at object-craft.com.au
Thu Oct 31 17:05:41 EST 2002


>The only trap to watch out for is that 'del_msgs' will be None, a 
>String or a List (or more likely a tuple, I don't recall) depending on 
>the number of items selected.

Albatross 1.00 introduced the list="list" attribute, which forces the
return to be a list. So, you want your al-input to look like:

    <al-input type="checkbox" name="del_msgs" list="list"
        valueexpr="element.value().get_message_id()" whitespace>

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/



More information about the Albatross-users mailing list