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

Stephan Meisinger (JIRA) jira-events at lists.jboss.org
Fri Sep 2 04:25:26 EDT 2011


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


if rich:autocomplete is used with layout table, rich:columns configured style and styleClass aren't used. Example configuration:


<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>

result into:
<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>

should be:
<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>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list