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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to