一个纠结许久的问题终于被解决!
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/ 。本人英语水平有限,不能给出非常准确的翻译。这个我想等回家以后静下心来提高这篇文章的质量。到时候何大家分享!
分享到:
相关推荐
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-...
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...
public static void main(String[] args) throws Exception { // 连接 OpenOffice 服务 OpenOfficeConnection connection = new SocketOpenOfficeConnection(8100); connection.connect(); DocumentConverter...
* #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 rel="stylesheet" href="/static/css/style.css"> ``` 这种方式简单直接,但不利于维护,因为如果静态文件目录改变,需要更新所有模板中的URL。 2. **使用`static_url()`方法**:更推荐的做法是使用`...
Jsp+Servlet的文件上传 index.jsp ; charset=GBK"%> ... <link rel='stylesheet' href='style.css' type='text/css'> <body bgcolor="#999999" style="margin: 0;"> 上传成功! </html>
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 ...
+ 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 ...
- **示例**: `protected void renderError(Component component, Exception e, Writer writer) { ... }` **2.10 使用date和textarea并加校验** - **实现**: 结合`<tapestry:date>`和`<tapestry:textarea>`标签,并...
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. ...
$html = '<div id="main" class="container"><a href="http://example.com" class="link">Click here</a><span style="color:red;">Unsafe</span></div>'; filtered_html = $filter->strip($html); echo $filtered_...
public static void main(String[] args) throws Exception { String url = URL + KEYWORD; Document doc = Jsoup.connect(url).get(); Elements links = doc.select("a"); int count = 0; for (Element link ...
<display:table name="create_list" export="true" class="mars" style="width:60%;border-spacing:1px;border-collapse:1px;"> <display:setProperty name="export.pdf" value="false"/> ...