cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <colle...@umn.edu>
Subject Re: [woody] Adding style to a select-list
Date Mon, 12 Jan 2004 16:44:35 GMT
Alex Romayev wrote:
> Hi,
> 
> Sorry for the previous post.
> 
> I have problems getting my wi:styling attribute picked
> up for a select list widget.
> 
> Here is the widget:
>     <wd:field id="locale">
>       <wd:datatype base="string"/>
>       <wd:label>Language</wd:label>
>       <wd:selection-list>
>         ...
>       </wd:selection-list>
>     </wd:field>
> 
> and the template:
> <wt:widget id="locale">
>   <wi:styling style="size:120px;"/>
> </wt:widget>
> 
> however, the resultant HTML is missing the style
> attribute.
> 
> Do you know what I am doing wrong?

Not offhand, but I don't think style is supposed to be communicated this way (SoC).

See: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyXSLT

I'm not sure you can just dump a CSS style attribute in there. You might have to edit the
XSLTs that 
transform the template into HTML or whatever.

> 
> Cheers,
> -Alex

Regards,
Tony Collen


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message