一个纠结许久的问题终于被解决!
Tapestry学习资料真难找,很多问题只有自己去悟,官方的文档还真是翻译不了,网上也是少之甚少.(也许是我没找着)...
来看看勒哥让人蛋疼的stale link...
(略写)页面代码:
<form name="Form0" jwcid="Form0@Form" listener="listener:forSubmit"
id="Form0">
<table xxxx>
<tr>
<th scope="col">xxxx</th>
<th scope="col">xxxx</th>
</tr>
<tr jwcid="@For" source="ognl:resultList" value="ognl:tempJO" element="tr">
<td>
<span>jwcid="@Insert"value="ognl:tempJO.tiaoma">xx</span>
</td>
<td>
<span>jwcid="@Insert"value="ognl:tempJO.tiaoma">xx</span>
</td>
<td>
<button type="button" jwcid="@Button">xxx</button>
</td>
</tr>
</table>
</form>
如上,代码是没什么问题,经过测试也成功.不过勒只是插上百来行数据,如果数据超过1000,或是更多,stale link 便出来勒。。在网上面找勒很多资料,似乎都没介绍如何处理这种情况的,我也是抱着试一试的心态,为For组件所在tr内 加勒一个属性:
volatile=“true”.
重启服务器,http:localhost....
stale link消失。。。页面正常显示.
关于这个属性的具体内容,可以查看Tapestry4.1官方提供的组件API http://tapestry.apache.org/tapestry4.1/ 。本人英语水平有限,不能给出非常准确的翻译。这个我想等回家以后静下心来提高这篇文章的质量。到时候何大家分享!
分享到:
相关推荐
Coding style .......................... 60 Summary .............................. 60 Exercises .............................. 60 Operators 63 Simpler print statements ..... 63 Using Java operators ......
link ▶This style guide contains many details that are initially hidden from view. They are marked by the triangle icon, which you see here on your left. Click it now. You should see "Hooray" appear ...
8)....Added: Exception line highlighting in disassember view in EurekaLog exception dialog and Viewer 9)....Added: Detection/logging Delphi objects in disassembly view 10)..Added: Support for multi-...
Other DOM APIs for Styles and Style Sheets Chapter 19. Events and Event Handling Section 19.1. Basic Event Handling Section 19.2. Advanced Event Handling with DOM Level 2 Section 19.3. The ...
PEP 3151: Reworking the OS and IO exception hierarchy PEP 380: Syntax for Delegating to a Subgenerator PEP 409: Suppressing exception context PEP 414: Explicit Unicode literals PEP 3155: Qualified...
- FIX: In the method TFlexPanel.ResizeSelection exception occurred when the number of selected items changed while the method was running. - ADD: Added the method TFlexControl.DoNeedHint - allows ...
Chapter 39: Control Structures and Exception Handling. Chapter 40: JavaScript Operators. Chapter 41: Functions and Custom Objects. Chapter 42: Global Functions and Statements. Part V: Putting ...
12. Zend_Exception 12.1. 使用“异常” 13. Zend_Feed 13.1. 介绍 13.2. 导入Feeds 13.2.1. 定制 feeds 13.2.1.1. 导入定制的数组 13.2.1.2. 导入定制的数据源 13.2.1.3. Dumping feed 内容 13.3. 从网页...
VclSkin automatically skin kinds of windows in application, include Delphi forms,MDIform and common Windows dialogs (MsgBox,Open/Save,Font,Print), even the Exception MsgBox. Vclskin not only support ...
added TfrxPictureView.FileLink property (can contain variable or a file name) separate settings for each frame line (properties Frame.LeftLine, TopLine, RightLine, BottomLine can be set in the object...
* #resourceAsStream style lookup for its configuration file. * The default classpath location of the hibernate config file is * in the default package. Use #setConfigFile() to update * ...
<link href="style.css" _fcksavedurl=""style.css"" _fcksavedurl=""style.css"" rel="stylesheet"> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; background-image: url...
Jsp+Servlet的文件上传 index.jsp ; charset=GBK"%> ... <link rel='stylesheet' href='style.css' type='text/css'> <body bgcolor="#999999" style="margin: 0;"> 上传成功! </html>
+ Added ability to set font charset to default in Style Editor - fixed duplex problem when printing several copies of the report - fixed problem with PNG images - fixed problem with TfrxPictureView ...
MGindex is no exception to this rule. Currently MGindex outperforms b+tree by a factor of 15x on writes and 21x on reads, while keeping the main feature of disk friendliness of a b+tree structure. ...
B238856 - The "List index out of bounds" exception occurs when undoing the deletion of a cell with custom style settings ExpressTile Control Q522777 - AV occurs when you delete a tile item while its ...
<link href="css/style.css" type="text/css" rel="stylesheet"> !String days[];%> days = new String[42]; for (int i = 0; i ; i++) { days[i] = ""; } %> GregorianCalendar currentDay = new ...
PLEASE TAKE A LOOK AT THE "WHAT's NEW IN THIS VERSION" LINK IN THE HELP FILE AS IT HAS CONVENIENT LINKS TO ALL OF THE NEW TOPICS. ==================== Version 3.10 Build 1 - Several bug fixes. - ...
document href="{testng:absolutePath('style.css')}" format="text"> test="testng:isFilterSelected('CONF') = 'true'"> .testMethodStatusCONF { } .testMethodStatusCONF { display: none; } ...
Explorer Style Boxes Changing Behavior Adding Controls More Advanced Techniques Cool Painting Tricks When PreCreateWindow() isn't Enough Small Title Bars Dynamic and Pop-up Menus Dynamically ...