锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲欧洲自拍偷拍,av不卡一区二区,日韩中文字幕一区二区三区http://www.aygfsteel.com/zkjbeyond/category/7040.html鍘熷垱涓撴爮 寮婧愬涔?/description>zh-cnWed, 28 Feb 2007 15:26:37 GMTWed, 28 Feb 2007 15:26:37 GMT60ajax blog 鎼http://www.aygfsteel.com/zkjbeyond/archive/2006/08/21/64760.html鍘熷垱涓撴爮 寮婧愬涔?/dc:creator>鍘熷垱涓撴爮 寮婧愬涔?/author>Mon, 21 Aug 2006 04:52:00 GMThttp://www.aygfsteel.com/zkjbeyond/archive/2006/08/21/64760.htmlhttp://www.aygfsteel.com/zkjbeyond/comments/64760.htmlhttp://www.aygfsteel.com/zkjbeyond/archive/2006/08/21/64760.html#Feedback2http://www.aygfsteel.com/zkjbeyond/comments/commentRss/64760.htmlhttp://www.aygfsteel.com/zkjbeyond/services/trackbacks/64760.html
鏈嬪弸緇欎簡涓猙log,涓撻棬鏀綼jax鐨勬枃绔犲惂錛佷互鍚庤繖涓撻棬鍐欏叧浜巎ava鐨勪笢瑗垮惂銆?br />http://zkj.wisekernel.net

璋㈣阿鏀寔銆?img src ="http://www.aygfsteel.com/zkjbeyond/aggbug/64760.html" width = "1" height = "1" />

]]>
webwork2.2.2 Value Stackhttp://www.aygfsteel.com/zkjbeyond/archive/2006/04/24/42902.html鍘熷垱涓撴爮 寮婧愬涔?/dc:creator>鍘熷垱涓撴爮 寮婧愬涔?/author>Mon, 24 Apr 2006 14:32:00 GMThttp://www.aygfsteel.com/zkjbeyond/archive/2006/04/24/42902.htmlhttp://www.aygfsteel.com/zkjbeyond/comments/42902.htmlhttp://www.aygfsteel.com/zkjbeyond/archive/2006/04/24/42902.html#Feedback0http://www.aygfsteel.com/zkjbeyond/comments/commentRss/42902.htmlhttp://www.aygfsteel.com/zkjbeyond/services/trackbacks/42902.htmlmodel and an action as follows:

[ model, action ]
here's how the following ognl would resolve:
[0] - a CompoundRoot object that contains our stack, [model, action]

[1] - another CompoundRoot that contains only [action]

[0].toString() - calls toString() on the first object in the value stack (excluding the CompoundRoot) that supports the toString() method

[1].foo - call getFoo() on the first object in the value stack starting from [OS:action] and excluding the CompoundRoot that supports a getFoo() method

浠ヤ笂鏄痺ebwork鏂囨。涓皥鍒癡alue Stack閮ㄥ垎.鐪嬩簡鏈変簺鏅︽訂,鎴戣瘯楠屼簡涓?涓庡ぇ瀹跺垎浜?(娌$湅婧愪唬鐮?
Action:

publicclass聽HomeAction聽implements聽Action聽{
聽聽聽聽
private聽String聽name="propertyOfAction";
聽聽聽聽
private聽Person聽person=null;
聽聽聽聽
private聽Collection聽collection聽=new聽ArrayList();
聽聽聽聽
public聽String聽execute()聽throws聽Exception聽{
聽聽聽聽聽聽聽聽collection.add(
new聽Person("zkj"));
聽聽聽聽聽聽聽聽collection.add(
new聽Person("yql"));
聽聽聽聽聽聽聽聽collection.add(person);
聽聽聽聽聽聽聽聽
return聽SUCCESS;
聽聽聽聽}

聽聽聽聽
public聽String聽getName()聽{
聽聽聽聽聽聽聽聽
return聽name;
聽聽聽聽}

聽聽聽聽
public聽Person聽getPerson()聽{
聽聽聽聽聽聽聽聽
return聽person;
聽聽聽聽}

聽聽聽聽
public聽Collection聽getCollection()聽{
聽聽聽聽聽聽聽聽
return聽collection;
聽聽聽聽}

聽聽聽聽
publicvoid聽setPerson(Person聽person)聽{
聽聽聽聽聽聽聽聽
this.person聽=聽person;
聽聽聽聽}

}

鍦╦sp欏甸潰涓?

濡傛灉鎴戜滑鐩存帴
<ww:property value="[0]"/>聽聽 杈撳嚭com.founder.HomeAction@e3ffdf,com.opensymphony.xwork.DefaultTextProvider@d402dd]
<ww:property value="[1]"/>聽聽 杈撳嚭

[com.opensymphony.xwork.DefaultTextProvider@d402dd]
涓鑸垜浠湪娌℃湁寰幆鐨勬儏鍐典笅涓嶇敤[0]聽 [1] 鍙互鐩存帴璁塊棶

<ww:property value="name"/>杈撳嚭聽
propertyOfAction

閭d箞[0] [1] 鏈変粈涔堢敤鍛?鍦ㄥ驚鐜腑灝變綋鐜板嚭鏉ヤ簡.

<ww:iterator聽value="collection"聽status="person">
聽聽聽聽聽聽聽聽聽聽聽聽
<ww:if聽test="#person.first聽==聽true">
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽[0]聽:
<ww:property聽value="[0]"/></br>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽[1]聽:
<ww:property聽value="[1]"/></br>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽[2]聽:
<ww:property聽value="[2]"/></br>
聽聽聽聽聽聽聽聽聽聽聽聽
</ww:if>
</ww:iterator>
[0] :[com.founder.Person@b3a5a0, com.founder.HomeAction@e3ffdf, com.opensymphony.xwork.DefaultTextProvider@d402dd]
[1] :[com.founder.HomeAction@e3ffdf, com.opensymphony.xwork.DefaultTextProvider@d402dd]
[2] :[com.opensymphony.xwork.DefaultTextProvider@d402dd]
杈撳嚭浠ヤ笂浠g爜,璇存槑鍦ㄤ竴灞傚驚鐜腑鎴戜滑瑕佽闂甗1]琛ㄧずaction瀵硅薄.鍜屾病鏈夊驚鐜殑[0]瀵瑰簲.


鎬葷粨:

鍋囧浣犵敤webworkNOUI鏍囩,瀵逛簬Value Stack,涓鑸綘涓嶈鑰冭檻[1] [0]涔嬬被鐨?璁頒綇涓鐐?br />濡傛灉鍦ㄥ驚鐜腑action鐨刢ollection灞炴ф椂浣撳唴,鐢╗1]鍙互璁塊棶action瀵硅薄鍜屽搴旂殑灞炴?

瀵逛簬澶氬眰寰幆鎴栧鏉傜敤娉?鎴戝彧鑳藉憡璇変綘,浣犵殑璁捐鏈夐棶棰?閲嶆瀯Model浠g爜鍚?




]]>
主站蜘蛛池模板: 益阳市| 仙居县| 阿拉善盟| 延安市| 耿马| 隆林| 临清市| 海伦市| 溆浦县| 云和县| 龙山县| 乐业县| 宁强县| 南涧| 芮城县| 汉中市| 华坪县| 科技| 奎屯市| 贵德县| 福泉市| 兴义市| 潮州市| 莱芜市| 无为县| 宁陕县| 马山县| 井陉县| 马边| 比如县| 定南县| 沙湾县| 奉化市| 江口县| 通河县| 南安市| 连平县| 白河县| 通辽市| 陆河县| 全州县|