You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Prashant <pr...@indicussoftware.com> on 2008/02/01 07:53:55 UTC

regarding width attribute of t:column tag (tomhalk)

Dear All,

We are using myfaces 1.1.5 and tomhalk 1.1.6 for development. 

I am using datatable to display repetetive data. My requirement was to
display repetetive panels (and not simple list).

So I am using panelGrid inside dataTable.
Code is something like this...
############
<t:dataTable cellpadding="0" cellspacing="1" id="companyHistoryTable" 
         border="0"  rows="5"
         value="#{companyHistoryView.companydetailsBeanList}"                                     
         var="companydetailsBean" width="100%" binding="#{companyHistoryView.dataTable}">                                              
<t:column width="100%" styleClass="SubsectionStandardCell">

    <t:panelGrid id="myTable99"  border="0" width="100%" columnClasses="heading" >
        <t:column style="text-align:top" width="100%" styleClass="heading">
            
        </t:column>                                                       
    </t:panelGrid>   
    
        <t:panelGrid id="tableRow1" columns="7" border="0" width="100%" styleClass="SubsectionStandardCell" 
	columnClasses="SubsectionStandardCell,SubsectionStandardCell,SubsectionStandardCell,
	SubsectionStandardCell,SubsectionStandardCell,SubsectionStandardCell,SubsectionStandardCell">

###**width attribute ignored**####
         <t:column  width="10%">

	        <t:selectBooleanCheckbox value="#{companydetailsBean.selected}" id="selected"
			rendered="#{companydetailsBean.allowDelete}" onclick="setSelectAll();"/> 
                    <t:outputText value="#{companydetailsBean.recordCount}"/>
        </t:column>
	.
        .
        . Other 6 t:column tags                                                                                                   
        </t:panelGrid>   
      .
      .Other panel grid tags
</t:column>                                                
</t:dataTable> 
################

Now i am specifyiing <t:column  width="10%"> but width attribute is
getting ignored when i see the html. Class attribute (which is SubsectionStandardCell)
specified in the panelgrid is getting reflected in td tag without any problem as

<td class="SubsectionStandardCell">1</td>

Does anyone came across simillar problem .
Can anyone tell me why this is happening or how i can debug this issue.

thanks and regards
prashant
-- 
Prashant <pr...@indicussoftware.com>




/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/

This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by replying to this e-mail and destroy all copies of the original
message.  Any unauthorised review, use, disclosure, dissemination,
forwarding, printing or copying of this email or any action taken in
reliance on this e-mail is strictly prohibited and may be unlawful.

Indicus Software - Providing Solutions for Better Business
Visit us at http://www.indicussoftware.com/

/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/