On 2/8/06, Arvid Hülsebus <[EMAIL PROTECTED]> wrote:
Yes, this warning is appropriate. There is no explicit "setColumns(String)" method signature on the component. So facelets issues a warning and assigns it to a generic attribute. That's one of the reasons that generic attributes should be avoided -- there's no way to know if it's really valid to use one or not from alternate viewhandlers. It's even worse if your taghandler stores something in a generic attribute since the type might not even be String anymore.
Not sure about the span problem. Doesn't bring anything to mind.
But I still get this warning:
08.02.2006 23:33:16 com.sun.facelets.tag.jsf.ComponentRule warnAttr
WARNUNG: /helloWorld.xml @10,43 columns="fixed;*" Property 'columns' is not on type: org.apache.myfaces.tobago.component.UIGridLayout
Yes, this warning is appropriate. There is no explicit "setColumns(String)" method signature on the component. So facelets issues a warning and assigns it to a generic attribute. That's one of the reasons that generic attributes should be avoided -- there's no way to know if it's really valid to use one or not from alternate viewhandlers. It's even worse if your taghandler stores something in a generic attribute since the type might not even be String anymore.

