Hi all,

CForms widget currently support attributes (get/setAttribute methods), but these can only be set programmatically.

I'd like to add the possibility to set attributes in form definitions, e.g.
<fd:field id="foo">
 <fd:attribute name="bar" value="baz"/>
 .../...
</fd:field>

The purpose is to use attributes as tags (or metadata) that can be handled by some generic form handling code.

Any objection for this?

Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Reply via email to