Martin,

Finally I was able to find the specs
(http://java.sun.com/j2ee/javaserverfaces/1.1/docs/renderkitdocs/index.html)
here is what it says regarding my problem:

"Render a "table" element. If the "styleClass" is specified, render the
value of the "styleClass" attribute as the value of the "class"
attribute on the "table" element. If the "style", "border" attributes
are specified, pass them thru. ..."

Well it seems myfaces is ok, as I understand (its not very clear)

   styleClass (class attribute)
        corresponds to the element surrounding all elements

   style,border attributes      
        I suppose they mean put them in the input elements
        (Not sure what they mean with "pass them thru")

Well really I would prefer the other way round (styleClass/style) but
specs are specs.

Regards
tonio

On Thu, 2006-02-09 at 21:30 +0100, Martin Marinschek wrote:
> Have you read up what the spec says about this?
> 
> Is there a way to set an item style in the RI?
> 
> It seems to me that that would be important in many cases...
> 
> regards,
> 
> Martin
> 
> On 2/9/06, Tonio Caputo <[EMAIL PROTECTED]> wrote:
> > 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.
> >
> >
> 
> 
> --
> 
> http://www.irian.at
> 
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
> 
> Professional Support for Apache MyFaces

Reply via email to