0 Replies Latest reply on Feb 1, 2008 4:30 PM by Will Norman

    subTable column styleClass problem

    Will Norman Newbie

      I wish to apply a class to a certain column in a subTable, but when the page is rendered the class is not present. I accomplish the same thing in a dataTable, so I believe that my syntax is correct. Is this a bug, or am I doing something incorrectly?

      Thanks for the help.

      In this instance each cell in the first column should have a class space, but does not.

      <rich:subTable id="subTable" var="sec"
       value="#{insertInfo.status.securities}" rowKeyVar="i"
       rendered="#{type == 'multi'}">
      
       <rich:column styleClass="space">
       <f:facet name="header">
       <rich:spacer />
       </f:facet>
       <rich:spacer />
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="Ticker" />
       </f:facet>
       <h:outputText value="#{sec.ticker}" />
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="Comp Exch" />
       </f:facet>
       <h:outputText value="#{sec.exchangeCode}" />
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="Prim Exch" />
       </f:facet>
       <h:outputText value="#{sec.eqyPrimExchShrt}" />
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="Crncy" />
       </f:facet>
       <h:outputText value="#{sec.crncy}" />
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="ISIN" />
       </f:facet>
       <h:outputText value="#{sec.isin}" />
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="CUSIP" />
       </f:facet>
       <h:outputText value="#{sec.cusip}" />
       </rich:column>
       <rich:column>
       <f:facet name="header">
       <h:outputText value="SEDOL" />
       </f:facet>
       <h:outputText value="#{sec.sedol}" />
       </rich:column>
       <rich:column id="radioColumn">
       <f:facet name="header">
       <rich:spacer />
       </f:facet>
      
       <t:selectOneRadio styleClass="rad" id="radio#{row}"
       value="#{insertInfo.selectedSecurityId}"
       onclick="imsi.dataTableSelectOneRadio(this);">
       <f:selectItem itemValue="#{sec.id}" itemLabel="" />
       </t:selectOneRadio>
      
      
      
       </rich:column>
      
       </rich:subTable>