On 07.06.2007 14:27, Derek Hohls wrote:

The thread:
http://marc.info/?l=xml-cocoon-users&m=117879407932600&w=2 refers... The basic question, which was not clearly answered there is "how
to add *standard* form attributes to an fd:item for an
fd:multivaluefield?

What ALSO needs to appear on the final form is the attribute:
  checked="true"
on any number of the input checkboxes.  Ideally, this should be
done by adding an attribute to the fd:item element. In the previous thread, some argued this is a "styling" activity - in fact,
this is only partially the case - the "true" attribute is inherently
tied  to the value, and is created  at the same time as it (during the
dynamic generation process).

This is not a styling attribute at all, but a *value*. That means you have to set the value on the form field, but *not* on the fd:item. It is possible to set an initial value in the form field - the actual values, so text, not true/false.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to