decode selected trouble

Josh Narins <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
Dear Petal List,

I've got this in my template:

<option petal:repeat="o options" 
        petal:attributes="value string:${o/id}; selected decode: o/selected 1 'selected'">

And I am getting selected="0" for the options.

Am I doing something wrong?

TIA,
Josh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.