[richfaces-issues] [JBoss JIRA] (RF-11373) rich:autocomplete table layout doesn't use rich:column styleClass and style

Brian Leathem (Resolved) (JIRA) jira-events at lists.jboss.org
Tue Oct 4 20:54:16 EDT 2011


     [ https://issues.jboss.org/browse/RF-11373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem resolved RF-11373.
--------------------------------

         Assignee: Brian Leathem
    Fix Version/s: 4.1.0.Milestone3
                       (was: 4.1.0.Tracking)
       Resolution: Done


Added the column style class to the list of css classes rendered for the autocomplete column
                
> rich:autocomplete table layout doesn't use rich:column styleClass and style
> ---------------------------------------------------------------------------
>
>                 Key: RF-11373
>                 URL: https://issues.jboss.org/browse/RF-11373
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.0.0.Final
>         Environment: Tomcat 6.0.32
> Mojarra 2.0.6
> Richfaces 4.0.0.Final
>            Reporter: Stephan Meisinger
>            Assignee: Brian Leathem
>              Labels: autocomplete
>             Fix For: 4.1.0.Milestone3
>
>
> if rich:autocomplete is used with layout table, rich:columns configured style and styleClass aren't used. Example configuration:
> {code}
> <rich:autocomplete mode="ajax" autocompleteMethod="#{Search.suggest}" value="#{Search.searchString}" var="suggest" layout="table" fetchValue="#{suggest.name}"> 
>    <rich:column styleClass="suggestText">
>       <h:outputText value="#{suggest.name}"/>
>    </rich:column>
>    <rich:column style="width:10px">
>      <h:outputText value="#{suggest.count}"/>
>    </rich:column>
> </rich:autocomplete>
> {code}
> result into:
> {code}
> <table class="rf-au-tbl" id="searchTemplateForm:j_idt85Items">
>  <tbody><tr class="rf-au-itm">
>    <td class="rf-au-fnt rf-au-inp">text</td>
>    <td class="rf-au-fnt rf-au-inp">1</td>
>  </tr></tbody>
> </table>
> {code}
> should be:
> {code}
> <table class="rf-au-tbl" id="searchTemplateForm:j_idt85Items">
>  <tbody><tr class="rf-au-itm">
>    <td class="rf-au-fnt rf-au-inp suggestText">text</td>
>    <td class="rf-au-fnt rf-au-inp" style="width: 10px">1</td>
>  </tr></tbody>
> </table>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list