Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4113426
  • 博文数量: 626
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 11080
  • 用 户 组: 普通用户
  • 注册时间: 2012-08-23 13:08
文章分类

全部博文(626)

文章存档

2015年(72)

2014年(48)

2013年(506)

分类: IT业界

2013-09-23 09:48:42

 ICEfaces Note(5)

 

<ice:panelGrid styleClass="componentLayoutRootTable" columns="1">
    
<ice:dataTable value="#{salesRecordsManager.salesGroupRecordBeans}" var="salesRecord" cellpadding="0" width="550px"
            columnClasses
="triangleColumn,cartNameColumn,cartQuantityColumn,cartQuantityColumn,cartPriceColumn,cartQuantityColumn">
        
<ice:column>
            
<ice:panelGroup styleClass="#{salesRecord.indentStyleClass}">
                
<ice:commandLink actionListener="#{salesRecord.toggleSubGroupAction}">
                    
<ice:graphicImage value="#{salesRecord.expandContractImage}" style="border:0px solid;"/>
                
ice:commandLink>
            
ice:panelGroup>
        
ice:column>
        
        

        
<ice:column>
            
<f:facet name="header">
                
<ice:outputText value="Description"/>
            
f:facet>
            
<ice:panelGroup styleClass="#{salesRecord.rwoStyleClass}" style="width:130px;">
                
<ice:outputText value="#{salesRecord.description}"/>
            
ice:panelGroup>
        
ice:column>
        
        

        
<ice:column>
            
<f:facet name="header">
                
<ice:outputText value="Date"/>
            
f:facet>
            
<ice:panelGroup styleClass="#{salesRecord.rwoStyleClass}" style="width:130px;">
                
<ice:outputText value="#{salesRecord.dateString}"/>
            
ice:panelGroup>
        
ice:column>
        
        

        
<ice:column>
            
<f:facet name="header">
                
<ice:outputText value="Quantity"/>
            
f:facet>
            
<ice:panelGroup styleClass="#{saleRecord.rowStyleClass}" style="width:60px;">
                
<ice:outputText value="#{salesRecord.quantity}"/>
            
ice:panelGroup>
        
ice:column>
        
        

        
<ice:column>
            
<f:facet name="header">
                
<ice:outputText value="Price"/>
            
f:facet>
            
<ice:panelGroup styleClass="#{salesRecord.rwoStyleClass}" style="width:60px;">
                
<ice:outputText value="#{salesRecord.price}"/>
            
ice:panelGroup>
        
ice:column>
        
        

        
<ice:column>
            
<f:facet name="header">
                
<ice:outputText value="Total"/>
            
f:facet>
            
<ice:panelGroup styleClass="#{salesRecord.rwoStyleClass}" style="width:60px;">
                
<ice:outputText value="#{salesRecord.total}"/>
            
ice:panelGroup>
        
ice:column>
        
        
    
ice:dataTable>
ice:panelGrid>

 

晚点再补充其用法。

阅读(1048) | 评论(0) | 转发(0) |
0

上一篇: JTrac Note

下一篇: Seam Note

给主人留下些什么吧!~~