Posted on 2007-07-28 18:06
leekiang 閱讀(356)
評論(0) 編輯 收藏 所屬分類:
extremetable
1,排序,用alias="外鍵對象",如果有一行的外鍵為空,則會報錯
2,可用 pageContext.getAttribute("var名字")得到當前行的對象
3,為什么et里的el表達式在servlet2.3下也能用,
4,filterCell="droplist"的用法
5,title="${title}"沒問題,但用title="<%=request.getPatameter("title")%>"不行。
?? 可以用title=="<span id='title'>${title}</span>",但要注意單雙引號的交錯
6,有些屬性,其取值為[1,2,3,...] 如果要在列表里顯示名字,并且要使用droplist,可在vo中加一個getXxxName()的方法,方法里用case switch結構返回各個數值的中文釋義,
然后在標簽中就可以把xxxName當作屬性使用了。(只須有getter,可以不要setter)
7,日期列的格式化
? cell="date" format="yyyy-MM-dd HH:mm:ss"
8,要支持導出,必須定義filter:
<filter>
<filter-name>eXtremeExport</filter-name>
<filter-class>org.extremecomponents.table.filter.ExportFilter</filter-class>
<init-param>
<param-name>responseHeadersSetBeforeDoFilter</param-name>
<param-value>true</param-value>
</init-param>???????????????
</filter>
<filter-mapping>
<filter-name>eXtremeExport</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
9,導出excel時名稱為亂碼的解決辦法:
?? 重寫ExportFilter,然后在web.xml里把默認的那個導出過濾器替換掉。
見http://www.aygfsteel.com/lucky/archive/2006/04/08/40004.html
http://blog.csdn.net/micro_nucleus/archive/2006/06/09/782667.aspx
10,displaytag支持portlet?
15,其他
http://blog.csdn.net/using_wisdom/archive/2007/10/31/1859449.aspxhttp://www.aygfsteel.com/wuxufeng8080/articles/56985.html