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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to