cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject CForms: setting attributes in the form definition
Date Wed, 22 Sep 2004 08:34:31 GMT
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 }


Mime
View raw message