> Sun implementations generates a
> <span> tag with style information
> surrounding all the <input> elements

That's what I need, too (and also for HtmlSelectManyCheckbox), but I think
that's only possible when not using "spread" layout.

Maybe rendering a span element around each input element would be an
alternative.


Regards,

Matthias

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Tonio Caputo
> Gesendet: Donnerstag, 9. Februar 2006 20:56
> An: MyFaces-Users-List
> Betreff: HtmSelectOneRadio setting style per component
>
>
> Hi,
>
>    I'm trying to make my application
> implemented and tested with sun
> reference implementation run with myfaces-
> 1.1.1
>
>    After some basic problems all seems
> to work ok.
>
>   There is only a difference:
>
>      HtmlSelectOneRadio Style renderer
>
>      I'm setting the style of the component
>      with the HtmlSelectOneRadio.setStyle()
>      method, what happens:
>
>      * Sun implementations generates a
>        <span> tag with style information
>        surrounding all the <input> elements
>
>      * My faces is setting the style attribute
>        of every component to the style information.
>
>      I'm using XY Layout, so imagine that instead
>      of positioning all elements in a box,
>      all Radio Buttons with the size of all elements.
>
>   My question: Is this a correct difference between implementations,
> or shoul one of them change the way it is rendered.
>
>   The solution I suppose is putting this components inside
> a HtmlPanelGrid.
>
> Thanks in advance
> tonio.
>

Reply via email to