锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲一区二区免费在线,久久成人福利,中文字幕在线观看一区http://www.aygfsteel.com/liuzheng/category/27081.htmlzh-cnTue, 06 Nov 2007 17:11:10 GMTTue, 06 Nov 2007 17:11:10 GMT60Tapestry涓〉闈箣闂寸殑鏁版嵁浼犻掓柟娉?/title><link>http://www.aygfsteel.com/liuzheng/articles/158318.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Mon, 05 Nov 2007 09:42:00 GMT</pubDate><guid>http://www.aygfsteel.com/liuzheng/articles/158318.html</guid><wfw:comment>http://www.aygfsteel.com/liuzheng/comments/158318.html</wfw:comment><comments>http://www.aygfsteel.com/liuzheng/articles/158318.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liuzheng/comments/commentRss/158318.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liuzheng/services/trackbacks/158318.html</trackback:ping><description><![CDATA[涓嶅悓浜巎sp銆備嬌鐢╣etter錛宻etter鏂規硶錛屽湪鑰佺殑欏甸潰涓璼etter鍙傛暟錛屽湪鏂扮殑欏甸潰涓璯etter鍙傛暟<br /> 渚嬪瓙錛?br /> <br /> public class Home extends BasePage {<br /> private String stockId;<br /> ...<br /> public IPage onOk(IRequestCycle cycle) {<br /> int stockValue = stockId.hashCode() % 100;<br /> Result resultPage = (Result) cycle.getPage("Result");<br /> resultPage.setStockValue(stockValue);<br /> return resultPage;<br /> }<br /> }<br /> <br /> <br /> public class Result extends BasePage {<br /> int stockValue;<br /> public int getStockValue() {<br /> return 100stockValue;<br /> }<br /> public void setStockValue(int stockValue) {<br /> this.stockValue = stockValue;<br /> }<br /> }<br /> <br /> <br /> <img src ="http://www.aygfsteel.com/liuzheng/aggbug/158318.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-11-05 17:42 <a href="http://www.aygfsteel.com/liuzheng/articles/158318.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Tapestry涓〉闈復鏃跺瓨鍌ㄥ彉閲忕殑鏂規硶http://www.aygfsteel.com/liuzheng/articles/158290.html鍒橀摦 鍒橀摦 Mon, 05 Nov 2007 08:44:00 GMThttp://www.aygfsteel.com/liuzheng/articles/158290.htmlhttp://www.aygfsteel.com/liuzheng/comments/158290.htmlhttp://www.aygfsteel.com/liuzheng/articles/158290.html#Feedback0http://www.aygfsteel.com/liuzheng/comments/commentRss/158290.htmlhttp://www.aygfsteel.com/liuzheng/services/trackbacks/158290.html
鏂規硶濡備笅錛?br /> @Persist("client")//鍙互閫夋嫨鏄繚鐣欏湪瀹㈡埛绔紝榪樻槸session涓?br />     public abstract void  setXXX(int XXX);
    public abstract int getXXX();
鑰屼笖榪欑鍌ㄥ瓨鍙互鍦╠irect link鍜宖orm 鐨勬彁浜や腑浼犻?

]]>
Tapestry涓〉闈㈡睜鐨勪綔鐢ㄥ拰闃叉欏甸潰姹犲甫鏉ョ殑璐熸晥搴?/title><link>http://www.aygfsteel.com/liuzheng/articles/158278.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Mon, 05 Nov 2007 07:46:00 GMT</pubDate><guid>http://www.aygfsteel.com/liuzheng/articles/158278.html</guid><wfw:comment>http://www.aygfsteel.com/liuzheng/comments/158278.html</wfw:comment><comments>http://www.aygfsteel.com/liuzheng/articles/158278.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liuzheng/comments/commentRss/158278.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liuzheng/services/trackbacks/158278.html</trackback:ping><description><![CDATA[after using a page object<br /> (e.g., the Result page object), Tapestry will not throw it away. Instead, it will put it into a pool for reuse (see the diagram<br /> below). Later when it needs to use the Result page object again, it will check if the pool has one. If so, just take it out<br /> from the pool and use it. Only when the pool has no such page object, will it create a new page object.<br /> <br /> 鎵浠ュ鏋滃湪涓涓柊寮鐨勬祻瑙堝櫒涓婇潰錛岄〉闈笂鏄劇ず鐨勫弬鏁頒笉浼氬彂鐢熸敼鍙橈紝<br /> 闃叉榪欑鎯呭喌鐨勫彂鐢熷彲浠?br /> 鍦╬age-specification涓姞鍏?br /> <property name="XXX">  XXX涓洪〉闈笂鐨勫彉閲?br /> 鎵浠ュ搴旂殑欏甸潰涓烘娊璞$殑綾?abstract錛?br /> 瀵瑰簲鐨勫彉閲忕殑get錛宻et鏂規硶涓篴bstract<br /> <br /> <img src ="http://www.aygfsteel.com/liuzheng/aggbug/158278.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-11-05 15:46 <a href="http://www.aygfsteel.com/liuzheng/articles/158278.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Tapestry涓槻姝㈡伓鎰忕敤鎴風櫥闄嗙殑鏂規硶錛屽嵆淇濇姢欏甸潰鐨勬柟娉?/title><link>http://www.aygfsteel.com/liuzheng/articles/158213.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Mon, 05 Nov 2007 03:33:00 GMT</pubDate><guid>http://www.aygfsteel.com/liuzheng/articles/158213.html</guid><wfw:comment>http://www.aygfsteel.com/liuzheng/comments/158213.html</wfw:comment><comments>http://www.aygfsteel.com/liuzheng/articles/158213.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liuzheng/comments/commentRss/158213.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liuzheng/services/trackbacks/158213.html</trackback:ping><description><![CDATA[Page鐨刯ava鏂囦歡瑕佸疄鐜癙ageValidateListener鎺ュ彛錛?br /> 瀹屾垚pageValidate(PageEvent event)鏂規硶<br /> 娉ㄦ剰public void pageValidate(PageEvent event) {<br /> if (!getUserExists()) {<br /> Login login = getLoginPage();<br /> login.setNextPage("Confirm");<br /> throw new PageRedirectException(login);<br /> }<br /> }<br /> 娉ㄦ剰榪欓噷瑕佺敤PageRedirectException鏂規硶錛屽洜涓篈s the rendering<br /> has begun, calling activate() will have no<br /> effect. To interrupt the rendering of the<br /> current page and render another page,<br /> you need to throw a<br /> PageRedirectException.<br /> <br /> 榪欓噷鏄湇鍔″櫒鍐呴儴璺寵漿<br /> The URL displayed in the<br /> browser will not be changed<br /> because the redirection<br /> happens inside Tapestry<br /> only.<br /> <br /> <img src ="http://www.aygfsteel.com/liuzheng/aggbug/158213.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-11-05 11:33 <a href="http://www.aygfsteel.com/liuzheng/articles/158213.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鏈夊叧Tapestry涓殑persistent property鐨勫鐞?/title><link>http://www.aygfsteel.com/liuzheng/articles/158195.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Mon, 05 Nov 2007 02:33:00 GMT</pubDate><guid>http://www.aygfsteel.com/liuzheng/articles/158195.html</guid><wfw:comment>http://www.aygfsteel.com/liuzheng/comments/158195.html</wfw:comment><comments>http://www.aygfsteel.com/liuzheng/articles/158195.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liuzheng/comments/commentRss/158195.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liuzheng/services/trackbacks/158195.html</trackback:ping><description><![CDATA[The problem here is that if you store something into the session, it should be something per-user instead of something<br /> per-page. Clearly the current product id is a per-page thing, not a per-user thing. So using a client persistent property is<br /> a much better choice.<br /> client鐨勬柟娉曪細<br /> @Persist("client")<br /> session鐨勬柟娉曪細<br /> @Persist("session")<br /> <br /> <img src ="http://www.aygfsteel.com/liuzheng/aggbug/158195.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-11-05 10:33 <a href="http://www.aygfsteel.com/liuzheng/articles/158195.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦╰apestry涓В鍐充笉鍚岀殑submit鐨勬柟娉?/title><link>http://www.aygfsteel.com/liuzheng/articles/158040.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Sun, 04 Nov 2007 04:02:00 GMT</pubDate><guid>http://www.aygfsteel.com/liuzheng/articles/158040.html</guid><wfw:comment>http://www.aygfsteel.com/liuzheng/comments/158040.html</wfw:comment><comments>http://www.aygfsteel.com/liuzheng/articles/158040.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liuzheng/comments/commentRss/158040.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liuzheng/services/trackbacks/158040.html</trackback:ping><description><![CDATA[瑙e喅鏂規硶錛氶拡瀵逛笉鍚岀殑submit浣跨敤涓嶅悓鐨勭洃鍚櫒<br /> <br /> 渚嬪錛?br /> <page-sepecification><br />     <component id="productAcionForm" type="Form"><br />     </component><br />   <component id="addToCart" type="Submit"><br />     <binding name="action" value=" listener:addToCart"/><br />     </component><br />   <component id="continueShopping" type="Submit"><br />     <binding name="action" value=" listener:continueShopping"/><br />     </component><br /> </page-sepecification><br /> <br /> <br /> public class ProductDetails extends BasePage {<br /> public void addToCart() {<br /> //add product to cart<br /> //...<br /> }<br /> public String continueShopping() {<br /> return "Home";<br /> }<br /> } <img src ="http://www.aygfsteel.com/liuzheng/aggbug/158040.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-11-04 12:02 <a href="http://www.aygfsteel.com/liuzheng/articles/158040.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">高安市</a>| <a href="http://" target="_blank">武平县</a>| <a href="http://" target="_blank">安溪县</a>| <a href="http://" target="_blank">广昌县</a>| <a href="http://" target="_blank">伽师县</a>| <a href="http://" target="_blank">理塘县</a>| <a href="http://" target="_blank">玛纳斯县</a>| <a href="http://" target="_blank">苍山县</a>| <a href="http://" target="_blank">柘荣县</a>| <a href="http://" target="_blank">东源县</a>| <a href="http://" target="_blank">鄄城县</a>| <a href="http://" target="_blank">金溪县</a>| <a href="http://" target="_blank">平泉县</a>| <a href="http://" target="_blank">屏东县</a>| <a href="http://" target="_blank">南充市</a>| <a href="http://" target="_blank">青冈县</a>| <a href="http://" target="_blank">天气</a>| <a href="http://" target="_blank">汉寿县</a>| <a href="http://" target="_blank">监利县</a>| <a href="http://" target="_blank">林西县</a>| <a href="http://" target="_blank">唐山市</a>| <a href="http://" target="_blank">余干县</a>| <a href="http://" target="_blank">无为县</a>| <a href="http://" target="_blank">南川市</a>| <a href="http://" target="_blank">南皮县</a>| <a href="http://" target="_blank">广德县</a>| <a href="http://" target="_blank">华坪县</a>| <a href="http://" target="_blank">贵溪市</a>| <a href="http://" target="_blank">涪陵区</a>| <a href="http://" target="_blank">五峰</a>| <a href="http://" target="_blank">集贤县</a>| <a href="http://" target="_blank">云霄县</a>| <a href="http://" target="_blank">会同县</a>| <a href="http://" target="_blank">宝鸡市</a>| <a href="http://" target="_blank">水富县</a>| <a href="http://" target="_blank">南川市</a>| <a href="http://" target="_blank">兴业县</a>| <a href="http://" target="_blank">上高县</a>| <a href="http://" target="_blank">宣城市</a>| <a href="http://" target="_blank">杨浦区</a>| <a href="http://" target="_blank">和林格尔县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>