Hi,

Kornel Lesiński wrote:
> That's quite TAL-ish already. You could change this function to a  
> method and use "checked user/isFemale" instead (tal:attributes accepts  
> simple true/false for boolean attributes in XHTML).

Actual I just pass a Zend_Form-like object to TAL. It just returns the current
values, which are set. So I have just one element in my form object, for all
my "gender" radio buttons.

If I want to use a "isFemale", "isMale".. variable, I think I would need
to change the whole design...

I think I'll keep the current solution. It's working and you said it's
quite TAL-ish ;-)



_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to