Let's keep this on the mailing list -- I'm only one member of the MyFaces dev team.
I interpret "Pass them thru" to mean that they are added as attributes to the generated <input> without modification. No, I don't think it makes any sense at all that style and styleClass are attached to different html elements. But that's what the spec appears to say :-) It may very well be that the intention was that the attribute should be on the table and not the input. This seems like a good thing to bring up as a JSF spec issue to get clarification. http://wiki.apache.org/myfaces/FAQ#JSFspec Right now, MyFaces passes the TCK, so either the TCK isn't testing this situation, or the TCK is also expecting the behavior documented above. If you can get clarification from the JSF EG that MyFaces not following the spec, please report that back here and we'll reopen the issue. Thanks for continuing to pursue this :-) On 3/22/07, Ai92 <[EMAIL PROTECTED]> wrote:
Hi, Mike Kienenberger, I'm very glad to receive your reply.But your answer si not satisfying. I see, may be there is some language mistakes. What is "pass them thru" mean? Look at the table of attributes at the link : http://java.sun.com/javaee/javaserverfaces/1.1/docs/renderkitdocs/HTML_BASIC/javax.faces.SelectOnejavax.faces.Radio.html Attributes with a pass-through value of true are not interpreted by the renderer and are passed straight through to the rendered markup, without checking for validity. Attributes with a pass-through value of false are interpreted by the renderer, and may or may not be checked for validity by the renderer. So, I think the "pass them thru" means that the renderer needn't interpreted them ,because the attribute style is a html standard one, just print it out, this all. But the attribute styleClass does not exist as a standard html attribute,so , the renderer need interpreted it. What is your opinion about this? Even if it is not the bug of myfaces core at all. Are you sure the renderer difference between style and style class make sense? BTW. I can not express myself clear in English .I beg your pardon. I am looking forward to your early reply :)
