[richfaces-issues] [JBoss JIRA] Updated: (RF-11373) rich:autocomplete table layout doesn't use rich:column styleClass and style
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Wed Sep 7 17:03:26 EDT 2011
[ https://issues.jboss.org/browse/RF-11373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-11373:
-------------------------------
Description:
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}
was:
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>
> 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
> Labels: autocomplete
> Fix For: 4.1.0.Tracking
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list