cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: Styling an fd:multivaluefield item?
Date Fri, 08 Jun 2007 06:26:53 GMT
On 07.06.2007 14:27, Derek Hohls wrote:

> The thread:
> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message