You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Lipp (JIRA)" <my...@incubator.apache.org> on 2005/06/21 09:14:18 UTC

[jira] Created: (MYFACES-287) Wrong declaration of column tag in myfaces_html.tld

Wrong declaration of column tag in myfaces_html.tld
---------------------------------------------------

         Key: MYFACES-287
         URL: http://issues.apache.org/jira/browse/MYFACES-287
     Project: MyFaces
        Type: Bug
    Versions: 1.0.9 beta    
 Environment: Linux/JBoss
    Reporter: Michael Lipp
    Priority: Blocker


The column tag in myfaces_html.tld is declared as

<!-- column -->
    <tag>
        <name>column</name>
        <tag-class>org.apache.myfaces.taglib.html.HtmlColumnTag</tag-class>
        <body-content>JSP</body-content>
        &ui_component_attributes;
     </tag>

The attributes should, however be "&ui_column_attributes". Due to this it is currently impossible to use a "style=.." attribute in "<h:column>" although, according to the spec, it should be possible.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-287) Wrong declaration of column tag in myfaces_html.tld

Posted by "Bruno Aranda (JIRA)" <my...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-287?page=comments#action_12314169 ] 

Bruno Aranda commented on MYFACES-287:
--------------------------------------

Which section of the spec says that? AFAIK, you are wrong as the only attributes that can have a column are those of a UIComponent (id, binding, rendered). If you want to use styles in your columns you have to use the attribute columnClasses of the parent UIData (eg. dataTable).
By the way, the entity &ui_column_attributes is an empty file due to the reasons I have just given,

Regards,

Bruno

> Wrong declaration of column tag in myfaces_html.tld
> ---------------------------------------------------
>
>          Key: MYFACES-287
>          URL: http://issues.apache.org/jira/browse/MYFACES-287
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>  Environment: Linux/JBoss
>     Reporter: Michael Lipp
>     Priority: Blocker

>
> The column tag in myfaces_html.tld is declared as
> <!-- column -->
>     <tag>
>         <name>column</name>
>         <tag-class>org.apache.myfaces.taglib.html.HtmlColumnTag</tag-class>
>         <body-content>JSP</body-content>
>         &ui_component_attributes;
>      </tag>
> The attributes should, however be "&ui_column_attributes". Due to this it is currently impossible to use a "style=.." attribute in "<h:column>" although, according to the spec, it should be possible.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MYFACES-287) Wrong declaration of column tag in myfaces_html.tld

Posted by "Grant Smith (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-287?page=all ]
     
Grant Smith closed MYFACES-287:
-------------------------------

    Resolution: Won't Fix

Not a bug... Closed.

> Wrong declaration of column tag in myfaces_html.tld
> ---------------------------------------------------
>
>          Key: MYFACES-287
>          URL: http://issues.apache.org/jira/browse/MYFACES-287
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>  Environment: Linux/JBoss
>     Reporter: Michael Lipp
>     Priority: Blocker

>
> The column tag in myfaces_html.tld is declared as
> <!-- column -->
>     <tag>
>         <name>column</name>
>         <tag-class>org.apache.myfaces.taglib.html.HtmlColumnTag</tag-class>
>         <body-content>JSP</body-content>
>         &ui_component_attributes;
>      </tag>
> The attributes should, however be "&ui_column_attributes". Due to this it is currently impossible to use a "style=.." attribute in "<h:column>" although, according to the spec, it should be possible.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-287) Wrong declaration of column tag in myfaces_html.tld

Posted by "Michael Lipp (JIRA)" <my...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-287?page=comments#action_12314202 ] 

Michael Lipp commented on MYFACES-287:
--------------------------------------

Mmh, you are right, I didn't read the spec carefully enough and thought that the pass-through attributes apply to columns as well. It's a pity, because as I am writing a portlet, I cannot define CSS classes, I can only use "style=...". I'll have to find a workaround. Sorry for the trouble caused.

Regards,

    Michael


> Wrong declaration of column tag in myfaces_html.tld
> ---------------------------------------------------
>
>          Key: MYFACES-287
>          URL: http://issues.apache.org/jira/browse/MYFACES-287
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>  Environment: Linux/JBoss
>     Reporter: Michael Lipp
>     Priority: Blocker

>
> The column tag in myfaces_html.tld is declared as
> <!-- column -->
>     <tag>
>         <name>column</name>
>         <tag-class>org.apache.myfaces.taglib.html.HtmlColumnTag</tag-class>
>         <body-content>JSP</body-content>
>         &ui_component_attributes;
>      </tag>
> The attributes should, however be "&ui_column_attributes". Due to this it is currently impossible to use a "style=.." attribute in "<h:column>" although, according to the spec, it should be possible.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira