Have you tried to to it like in the example from t:buffer?

<t:buffer into="#{mytable}" />

kind regards

Am Donnerstag, den 10.08.2006, 00:10 -0700 schrieb vasiliy.kiryanov:
> Good morning.
> 
> I have next working code:
>                           <t:dataTable 
>                               styleClass="standardTable"
>                         headerClass="cellk"
>                         footerClass="cellk"
>                         rowClasses="celltce"
>                         cellspacing="1"
>                         cellpadding="1"
>                         width="95%"
>                         var="customer"
>                        
> value="#{ReportingBackBean.customersValuesAsCollection}"
>                         preserveDataModel="false"
>                         preserveSort="false">
> 
>                     <f:facet name="header">
>                         <h:outputText value="monthly reporting" />
>                     </f:facet>
>                     
>                     <h:column>
>                         <f:facet name="header">
>                                 <h:outputText value="#{bundle.reporting_id}"
> />
>                         </f:facet>
>                         <h:outputText value="#{customer.customerCppk}"/>      
>                
>                     </h:column>
>                     <h:column>
>                         <f:facet name="header">
>                                 <h:outputText
> value="#{bundle.reporting_customerName}" />
>                         </f:facet>                        
>                         <h:outputText value="#{customer.customerName}" />
>                     </h:column>
>                     <h:column>
>                         <f:facet name="header">
>                                 <h:outputText
> value="#{bundle.reporting_components}" />
>                         </f:facet>
>                         <h:outputText
> value="#{customer.componentsNumberAsString}" escape="false"/>
>                     </h:column>
>                     <h:column>
>                         <f:facet name="header">
>                                 <h:outputText
> value="#{bundle.reporting_typeOfContract}" />
>                         </f:facet>                        
>                         <h:outputText value="#{customer.contractType}" />
>                     </h:column>
>                     <h:column>
>                         <f:facet name="header">
>                                 <h:outputText
> value="#{bundle.reporting_numerOfLicenses}" />
>                         </f:facet>                        
>                         <h:outputText value="#{customer.licensesNumber}" />
>                     </h:column>
>                     <h:column>
>                         <f:facet name="header">
>                                 <h:outputText
> value="#{bundle.reporting_typeOfSubscription}" />
>                         </f:facet>                        
>                         <h:outputText value="#{customer.subscriptionType}"
> />
>                     </h:column>
>                     <h:column>
>                         <f:facet name="header">
>                                 <h:outputText
> value="#{bundle.reporting_Group_Coefficient}" />
>                         </f:facet>                        
>                         <h:outputText value="#{customer.groupCoefficient}"
> />
>                     </h:column>
>                     <h:column>
>                         <f:facet name="header">
>                                 <h:outputText
> value="#{bundle.reporting_Price}" />
>                         </f:facet>                        
>                         <h:outputText value="#{customer.offeringPrice}" />
>                     </h:column>                    
> 
>                 </t:dataTable>                                
> -----------------------------------
> 
> Then when I surrounds it with 
> <t:buffer into="DataExportBackBean.htmlBuffer">
> </t:buffer>
> 
> I see that <t:buffer> write null to htmlBuffer variable. Therefore I don't
> add <t:output> because it can;t output null.
> 
> does somebody have ideas?
> thank you.
> 
> 
> 
> 

Reply via email to