`

stale link..Exception

阅读更多
一个纠结许久的问题终于被解决!
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/ 。本人英语水平有限,不能给出非常准确的翻译。这个我想等回家以后静下心来提高这篇文章的质量。到时候何大家分享!
分享到:
评论

相关推荐

    Google C++ Style Guide(Google C++编程规范)高清PDF

    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 ...

    EurekaLog_7.5.0.0_Enterprise

    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-...

    python3.6.5参考手册 chm

    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...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - 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 ...

    JavaScript 圣经第5版-Javascript编程宝典--黄金版 .rar

    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 ...

    ZendFramework中文文档

    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. 从网页...

    delphi2010皮肤控件-VCLSkinv5.30FS

    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 ...

    FastReport.v4.9.81 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版

    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...

    Java实现文档在线阅读.docx

    public static void main(String[] args) throws Exception { // 连接 OpenOffice 服务 OpenOfficeConnection connection = new SocketOpenOfficeConnection(8100); connection.connect(); DocumentConverter...

    J2EE利用Hibernate采用B/S架构网页设计

    * #resourceAsStream style lookup for its configuration file. * The default classpath location of the hibernate config file is * in the default package. Use #setConfigFile&#40;&#41; to update * ...

    day_02.rar

    &lt;link rel="stylesheet" href="/static/css/style.css"&gt; ``` 这种方式简单直接,但不利于维护,因为如果静态文件目录改变,需要更新所有模板中的URL。 2. **使用`static_url()`方法**:更推荐的做法是使用`...

    fileupload

    Jsp+Servlet的文件上传 index.jsp ; charset=GBK"%&gt; ... &lt;link rel='stylesheet' href='style.css' type='text/css'&gt; &lt;body bgcolor="#999999" style="margin: 0;"&gt; 上传成功! &lt;/html&gt;

    DevExpress VCL 13.1.4(v2013vol1.4) 源码-例子-帮助-part1

    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 ...

    FastReport.v4.15 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版支持D4-XE5

    + 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 ...

    Tapestry字典0.1.pdf

    - **示例**: `protected void renderError(Component component, Exception e, Writer writer) { ... }` **2.10 使用date和textarea并加校验** - **实现**: 结合`&lt;tapestry:date&gt;`和`&lt;tapestry:textarea&gt;`标签,并...

    BobBuilder_app

    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. ...

    php过滤html标记属性类用法实例_.docx

    $html = '&lt;div id="main" class="container"&gt;&lt;a href="http://example.com" class="link"&gt;Click here&lt;/a&gt;&lt;span style="color:red;"&gt;Unsafe&lt;/span&gt;&lt;/div&gt;'; filtered_html = $filter-&gt;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 ...

    Java生成Excel实例

    &lt;display:table name="create_list" export="true" class="mars" style="width:60%;border-spacing:1px;border-collapse:1px;"&gt; &lt;display:setProperty name="export.pdf" value="false"/&gt; ...

Global site tag (gtag.js) - Google Analytics