﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Mayer-随笔分类-question</title><link>http://www.blogjava.net/mayer/category/9433.html</link><description>不论风吹浪打，胜似闲庭信步。
</description><language>zh-cn</language><lastBuildDate>Thu, 01 Mar 2007 02:45:26 GMT</lastBuildDate><pubDate>Thu, 01 Mar 2007 02:45:26 GMT</pubDate><ttl>60</ttl><item><title>Buffalo連續兩次調用remoteCall出錯</title><link>http://www.blogjava.net/mayer/archive/2006/04/03/39010.html</link><dc:creator>Mayer</dc:creator><author>Mayer</author><pubDate>Mon, 03 Apr 2006 12:14:00 GMT</pubDate><guid>http://www.blogjava.net/mayer/archive/2006/04/03/39010.html</guid><wfw:comment>http://www.blogjava.net/mayer/comments/39010.html</wfw:comment><comments>http://www.blogjava.net/mayer/archive/2006/04/03/39010.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/mayer/comments/commentRss/39010.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/mayer/services/trackbacks/39010.html</trackback:ping><description><![CDATA[
		<div class="qt" id="qhide_17537" style="DISPLAY: block">
				<font size="2">
						<font face="Arial">出錯的原始代碼:</font>
						<br />
				</font>
				<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
						<font size="2">
								<span style="COLOR: #008080"> 1</span>
								<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
								<span style="COLOR: #0000ff">var</span>
								<span style="COLOR: #000000"> factNo </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">0240</span>
								<span style="COLOR: #000000">"</span>
						</font>
						<font size="2">
								<span style="COLOR: #000000">; <br /></span>
								<span style="COLOR: #008080"> 2</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
								</span>
								<span style="COLOR: #0000ff">var</span>
						</font>
						<font size="2">
								<span style="COLOR: #000000"> defaultDate; <br /></span>
								<span style="COLOR: #008080"> 3</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
								</span>
								<span style="COLOR: #0000ff">var</span>
								<span style="COLOR: #000000"> endPoint </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #000000">"</span>
								<span style="COLOR: #000000">&lt;%=request.getContextPath()%&gt;/bfapp</span>
								<span style="COLOR: #000000">"</span>
						</font>
						<font size="2">
								<span style="COLOR: #000000">; <br /></span>
								<span style="COLOR: #008080"> 4</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
								</span>
								<span style="COLOR: #0000ff">var</span>
								<span style="COLOR: #000000"> buffalo </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #0000ff">new</span>
						</font>
						<font size="2">
								<span style="COLOR: #000000"> Buffalo(endPoint); <br /></span>
								<span style="COLOR: #008080"> 5</span>
								<span style="COLOR: #000000">
										<img id="Codehighlighter1_156_1117_Open_Image" onclick="this.style.display='none'; Codehighlighter1_156_1117_Open_Text.style.display='none'; Codehighlighter1_156_1117_Closed_Image.style.display='inline'; Codehighlighter1_156_1117_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" />
										<img id="Codehighlighter1_156_1117_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_156_1117_Closed_Text.style.display='none'; Codehighlighter1_156_1117_Open_Image.style.display='inline'; Codehighlighter1_156_1117_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />
								</span>
								<span style="COLOR: #0000ff">function</span>
								<span style="COLOR: #000000"> loadCexpbver()</span>
								<span id="Codehighlighter1_156_1117_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
										<img src="http://www.blogjava.net/images/dot.gif" />
								</span>
						</font>
						<span id="Codehighlighter1_156_1117_Open_Text">
								<font size="2">
										<span style="COLOR: #000000">{ <br /></span>
										<span style="COLOR: #008080"> 6</span>
										<span style="COLOR: #000000">
												<img id="Codehighlighter1_228_1110_Open_Image" onclick="this.style.display='none'; Codehighlighter1_228_1110_Open_Text.style.display='none'; Codehighlighter1_228_1110_Closed_Image.style.display='inline'; Codehighlighter1_228_1110_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
												<img id="Codehighlighter1_228_1110_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_228_1110_Closed_Text.style.display='none'; Codehighlighter1_228_1110_Open_Image.style.display='inline'; Codehighlighter1_228_1110_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    buffalo.remoteCall(</span>
										<span style="COLOR: #000000">"</span>
										<span style="COLOR: #000000">cexpbverService.listAll</span>
										<span style="COLOR: #000000">"</span>
										<span style="COLOR: #000000">, [], </span>
										<span style="COLOR: #0000ff">function</span>
										<span style="COLOR: #000000">(reply)</span>
										<span id="Codehighlighter1_228_1110_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
												<img src="http://www.blogjava.net/images/dot.gif" />
										</span>
								</font>
								<span id="Codehighlighter1_228_1110_Open_Text">
										<font size="2">
												<span style="COLOR: #000000">{ <br /></span>
												<span style="COLOR: #008080"> 7</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
												<span style="COLOR: #0000ff">var</span>
												<span style="COLOR: #000000"> list </span>
												<span style="COLOR: #000000">=</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> reply.getResult(); <br /></span>
												<span style="COLOR: #008080"> 8</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        defaultDate </span>
												<span style="COLOR: #000000">=</span>
												<span style="COLOR: #000000"> list[</span>
												<span style="COLOR: #000000">0</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000">].updateDate; <br /></span>
												<span style="COLOR: #008080"> 9</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
												<span style="COLOR: #0000ff">var</span>
												<span style="COLOR: #000000"> strTable </span>
												<span style="COLOR: #000000">=</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">&lt;table width=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">98</span>
												<span style="COLOR: #000000">%</span>
												<span style="COLOR: #000000">\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000"> cellpadding=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">3</span>
												<span style="COLOR: #000000">\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> <br /></span>
												<span style="COLOR: #008080">10</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
												<span style="COLOR: #000000">+</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">cellspacing=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">1</span>
												<span style="COLOR: #000000">\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000"> class=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">TableBorderLight\</span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> <br /></span>
												<span style="COLOR: #008080">11</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />align=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">center\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">&gt;</span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> <br /></span>
												<span style="COLOR: #008080">12</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
												<span style="COLOR: #000000">+</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">&lt;tr class=TableTitle&gt;&lt;th&gt;Update Date&lt;/th&gt;</span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> <br /></span>
												<span style="COLOR: #008080">13</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
												<span style="COLOR: #000000">+</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">&lt;th&gt;User&lt;/th&gt;&lt;/tr&gt;</span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000">; <br /></span>
												<span style="COLOR: #008080">14</span>
												<span style="COLOR: #000000">
														<img id="Codehighlighter1_596_997_Open_Image" onclick="this.style.display='none'; Codehighlighter1_596_997_Open_Text.style.display='none'; Codehighlighter1_596_997_Closed_Image.style.display='inline'; Codehighlighter1_596_997_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
														<img id="Codehighlighter1_596_997_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_596_997_Closed_Text.style.display='none'; Codehighlighter1_596_997_Open_Image.style.display='inline'; Codehighlighter1_596_997_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span>
												<span style="COLOR: #0000ff">for</span>
												<span style="COLOR: #000000"> (</span>
												<span style="COLOR: #0000ff">var</span>
												<span style="COLOR: #000000"> i</span>
												<span style="COLOR: #000000">=</span>
												<span style="COLOR: #000000">0</span>
												<span style="COLOR: #000000">; i</span>
												<span style="COLOR: #000000">&lt;</span>
												<span style="COLOR: #000000">list.length; i</span>
												<span style="COLOR: #000000">++</span>
												<span style="COLOR: #000000">) </span>
												<span id="Codehighlighter1_596_997_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
														<img src="http://www.blogjava.net/images/dot.gif" />
												</span>
										</font>
										<span id="Codehighlighter1_596_997_Open_Text">
												<font size="2">
														<span style="COLOR: #000000">{ <br /></span>
														<span style="COLOR: #008080">15</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            </span>
														<span style="COLOR: #0000ff">var</span>
														<span style="COLOR: #000000"> className </span>
														<span style="COLOR: #000000">=</span>
														<span style="COLOR: #000000"> (i</span>
														<span style="COLOR: #000000">%</span>
														<span style="COLOR: #000000">2</span>
														<span style="COLOR: #000000">==</span>
														<span style="COLOR: #000000">0</span>
														<span style="COLOR: #000000">)</span>
														<span style="COLOR: #000000">?</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">TableBodyLight</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">:</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">TableBodyDark</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000">; <br /></span>
														<span style="COLOR: #008080">16</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            strTable </span>
														<span style="COLOR: #000000">+=</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;tr class=</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">+</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000"> className <br /></span>
														<span style="COLOR: #008080">17</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000"> onclick=\</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">loadCexpbodr('</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000"> + list[i].updateDate <br /></span>
														<span style="COLOR: #008080">18</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            + </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">')\</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000"> style=\</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">cursor:pointer\</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&gt;</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000"> <br /></span>
														<span style="COLOR: #008080">19</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;td align=center&gt;</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> formatDate(list[i].updateDate) </span>
														<span style="COLOR: #000000">+</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000"> <br /></span>
														<span style="COLOR: #008080">20</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
														</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;/td&gt;</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000"> <br /></span>
														<span style="COLOR: #008080">21</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;td&gt;</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> list[i].userNo </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;/td&gt;</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000"> <br /></span>
														<span style="COLOR: #008080">22</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;/tr&gt;</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000">; <br /></span>
														<span style="COLOR: #008080">23</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span>
												</font>
										</span>
										<font size="2">
												<span style="COLOR: #000000"> <br /></span>
												<span style="COLOR: #008080">24</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        strTable </span>
												<span style="COLOR: #000000">+=</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">&lt;/table&gt;</span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000">; <br /></span>
												<span style="COLOR: #008080">25</span>
												<span style="COLOR: #000000">
														<img id="Codehighlighter1_1054_1065_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1054_1065_Open_Text.style.display='none'; Codehighlighter1_1054_1065_Closed_Image.style.display='inline'; Codehighlighter1_1054_1065_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
														<img id="Codehighlighter1_1054_1065_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1054_1065_Closed_Text.style.display='none'; Codehighlighter1_1054_1065_Open_Image.style.display='inline'; Codehighlighter1_1054_1065_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span>
												<span style="COLOR: #0000ff">var</span>
												<span style="COLOR: #000000"> table </span>
												<span style="COLOR: #000000">=</span>
												<span style="COLOR: #000000"> $</span>
												<span id="Codehighlighter1_1054_1065_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
														<img src="http://www.blogjava.net/images/dot.gif" />
												</span>
												<span id="Codehighlighter1_1054_1065_Open_Text">
														<span style="COLOR: #000000">{</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">cexpbver</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">}</span>
												</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000">; <br /></span>
												<span style="COLOR: #008080">26</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        table.innerHTML </span>
												<span style="COLOR: #000000">=</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> strTable; <br /></span>
												<span style="COLOR: #008080">27</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span>
										</font>
								</span>
								<font size="2">
										<span style="COLOR: #000000">); <br /></span>
										<span style="COLOR: #008080">28</span>
								</font>
								<font size="2">
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
												<br />
										</span>
										<span style="COLOR: #008080">29</span>
								</font>
								<font size="2">
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
												<br />
										</span>
										<span style="COLOR: #008080">30</span>
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span>
								</font>
						</span>
						<font size="2">
								<span style="COLOR: #000000"> <br /></span>
								<span style="COLOR: #008080">31</span>
						</font>
						<font size="2">
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
										<br />
								</span>
								<span style="COLOR: #008080">32</span>
						</font>
						<font size="2">
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
										<br />
								</span>
								<span style="COLOR: #008080">33</span>
								<span style="COLOR: #000000">
										<img id="Codehighlighter1_1147_1871_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1147_1871_Open_Text.style.display='none'; Codehighlighter1_1147_1871_Closed_Image.style.display='inline'; Codehighlighter1_1147_1871_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" />
										<img id="Codehighlighter1_1147_1871_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1147_1871_Closed_Text.style.display='none'; Codehighlighter1_1147_1871_Open_Image.style.display='inline'; Codehighlighter1_1147_1871_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />
								</span>
								<span style="COLOR: #0000ff">function</span>
								<span style="COLOR: #000000"> loadCexpbodr(ud)</span>
								<span id="Codehighlighter1_1147_1871_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
										<img src="http://www.blogjava.net/images/dot.gif" />
								</span>
						</font>
						<span id="Codehighlighter1_1147_1871_Open_Text">
								<font size="2">
										<span style="COLOR: #000000">{ <br /></span>
										<span style="COLOR: #008080">34</span>
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />    buffalo.remoteCall(</span>
										<span style="COLOR: #000000">"</span>
										<span style="COLOR: #000000">cexpbodrService.findByUpdateDate</span>
										<span style="COLOR: #000000">"</span>
								</font>
								<font size="2">
										<span style="COLOR: #000000">, [factNo,ud], <br /></span>
										<span style="COLOR: #008080">35</span>
										<span style="COLOR: #000000">
												<img id="Codehighlighter1_1238_1866_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1238_1866_Open_Text.style.display='none'; Codehighlighter1_1238_1866_Closed_Image.style.display='inline'; Codehighlighter1_1238_1866_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
												<img id="Codehighlighter1_1238_1866_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1238_1866_Closed_Text.style.display='none'; Codehighlighter1_1238_1866_Open_Image.style.display='inline'; Codehighlighter1_1238_1866_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />
										</span>
										<span style="COLOR: #0000ff">function</span>
										<span style="COLOR: #000000">(reply)</span>
										<span id="Codehighlighter1_1238_1866_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
												<img src="http://www.blogjava.net/images/dot.gif" />
										</span>
								</font>
								<span id="Codehighlighter1_1238_1866_Open_Text">
										<font size="2">
												<span style="COLOR: #000000">{ <br /></span>
												<span style="COLOR: #008080">36</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
												<span style="COLOR: #0000ff">var</span>
												<span style="COLOR: #000000"> strTable </span>
												<span style="COLOR: #000000">=</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">&lt;table width=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">98</span>
												<span style="COLOR: #000000">%</span>
												<span style="COLOR: #000000">\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000"> cellpadding=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">3</span>
												<span style="COLOR: #000000">\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> <br /></span>
												<span style="COLOR: #008080">37</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
												<span style="COLOR: #000000">+</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">cellspacing=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">1</span>
												<span style="COLOR: #000000">\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000"> class=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">TableBorderLight\</span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> <br /></span>
												<span style="COLOR: #008080">38</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />align=\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">center\</span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">&gt;</span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000">; <br /></span>
												<span style="COLOR: #008080">39</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        </span>
												<span style="COLOR: #0000ff">var</span>
												<span style="COLOR: #000000"> list </span>
												<span style="COLOR: #000000">=</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> reply.getResult(); <br /></span>
												<span style="COLOR: #008080">40</span>
												<span style="COLOR: #000000">
														<img id="Codehighlighter1_1473_1754_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1473_1754_Open_Text.style.display='none'; Codehighlighter1_1473_1754_Closed_Image.style.display='inline'; Codehighlighter1_1473_1754_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
														<img id="Codehighlighter1_1473_1754_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1473_1754_Closed_Text.style.display='none'; Codehighlighter1_1473_1754_Open_Image.style.display='inline'; Codehighlighter1_1473_1754_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span>
												<span style="COLOR: #0000ff">for</span>
												<span style="COLOR: #000000"> (</span>
												<span style="COLOR: #0000ff">var</span>
												<span style="COLOR: #000000"> i</span>
												<span style="COLOR: #000000">=</span>
												<span style="COLOR: #000000">0</span>
												<span style="COLOR: #000000">;i</span>
												<span style="COLOR: #000000">&lt;</span>
												<span style="COLOR: #000000">list.length;i</span>
												<span style="COLOR: #000000">++</span>
												<span style="COLOR: #000000">)</span>
												<span id="Codehighlighter1_1473_1754_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
														<img src="http://www.blogjava.net/images/dot.gif" />
												</span>
										</font>
										<span id="Codehighlighter1_1473_1754_Open_Text">
												<font size="2">
														<span style="COLOR: #000000">{ <br /></span>
														<span style="COLOR: #008080">41</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            </span>
														<span style="COLOR: #0000ff">var</span>
														<span style="COLOR: #000000"> className </span>
														<span style="COLOR: #000000">=</span>
														<span style="COLOR: #000000"> (i</span>
														<span style="COLOR: #000000">%</span>
														<span style="COLOR: #000000">2</span>
														<span style="COLOR: #000000">==</span>
														<span style="COLOR: #000000">0</span>
														<span style="COLOR: #000000">)</span>
														<span style="COLOR: #000000">?</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">TableBodyLight</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">:</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">TableBodyDark</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000">; <br /></span>
														<span style="COLOR: #008080">42</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />            strTable </span>
														<span style="COLOR: #000000">+=</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;tr class=</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> className </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&gt;&lt;td&gt;</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">+</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000"> <br /></span>
														<span style="COLOR: #008080">43</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />list[i].partNo </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;/td&gt;</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000"> <br /></span>
														<span style="COLOR: #008080">44</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />                </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;td&gt;</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> list[i].style </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;/td&gt;</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000"> <br /></span>
														<span style="COLOR: #008080">45</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />                </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;td&gt;</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> list[i].width </span>
														<span style="COLOR: #000000">+</span>
														<span style="COLOR: #000000"> </span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">&lt;/td&gt;&lt;/tr&gt;</span>
														<span style="COLOR: #000000">"</span>
												</font>
												<font size="2">
														<span style="COLOR: #000000">; <br /></span>
														<span style="COLOR: #008080">46</span>
														<span style="COLOR: #000000">
																<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span>
												</font>
										</span>
										<font size="2">
												<span style="COLOR: #000000"> <br /></span>
												<span style="COLOR: #008080">47</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        strTable </span>
												<span style="COLOR: #000000">+=</span>
												<span style="COLOR: #000000"> </span>
												<span style="COLOR: #000000">"</span>
												<span style="COLOR: #000000">&lt;/table&gt;</span>
												<span style="COLOR: #000000">"</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> <br /></span>
												<span style="COLOR: #008080">48</span>
												<span style="COLOR: #000000">
														<img id="Codehighlighter1_1810_1821_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1810_1821_Open_Text.style.display='none'; Codehighlighter1_1810_1821_Closed_Image.style.display='inline'; Codehighlighter1_1810_1821_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
														<img id="Codehighlighter1_1810_1821_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1810_1821_Closed_Text.style.display='none'; Codehighlighter1_1810_1821_Open_Image.style.display='inline'; Codehighlighter1_1810_1821_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span>
												<span style="COLOR: #0000ff">var</span>
												<span style="COLOR: #000000"> table </span>
												<span style="COLOR: #000000">=</span>
												<span style="COLOR: #000000"> $</span>
												<span id="Codehighlighter1_1810_1821_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
														<img src="http://www.blogjava.net/images/dot.gif" />
												</span>
												<span id="Codehighlighter1_1810_1821_Open_Text">
														<span style="COLOR: #000000">{</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">cexpbodr</span>
														<span style="COLOR: #000000">"</span>
														<span style="COLOR: #000000">}</span>
												</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000">; <br /></span>
												<span style="COLOR: #008080">49</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        table.innerHTML </span>
												<span style="COLOR: #000000">=</span>
										</font>
										<font size="2">
												<span style="COLOR: #000000"> strTable; <br /></span>
												<span style="COLOR: #008080">50</span>
												<span style="COLOR: #000000">
														<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span>
										</font>
								</span>
								<font size="2">
										<span style="COLOR: #000000">); <br /></span>
										<span style="COLOR: #008080">51</span>
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span>
								</font>
						</span>
						<font size="2">
								<span style="COLOR: #000000"> <br /></span>
								<span style="COLOR: #008080">52</span>
						</font>
						<font size="2">
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
										<br />
								</span>
								<span style="COLOR: #008080">53</span>
								<span style="COLOR: #000000">
										<img id="Codehighlighter1_1902_1958_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1902_1958_Open_Text.style.display='none'; Codehighlighter1_1902_1958_Closed_Image.style.display='inline'; Codehighlighter1_1902_1958_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" />
										<img id="Codehighlighter1_1902_1958_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1902_1958_Closed_Text.style.display='none'; Codehighlighter1_1902_1958_Open_Image.style.display='inline'; Codehighlighter1_1902_1958_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />window.onload </span>
								<span style="COLOR: #000000">=</span>
								<span style="COLOR: #000000"> </span>
								<span style="COLOR: #0000ff">function</span>
								<span style="COLOR: #000000"> ()</span>
								<span id="Codehighlighter1_1902_1958_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
										<img src="http://www.blogjava.net/images/dot.gif" />
								</span>
						</font>
						<span id="Codehighlighter1_1902_1958_Open_Text">
								<font size="2">
										<span style="COLOR: #000000">{ <br /></span>
										<span style="COLOR: #008080">54</span>
								</font>
								<font size="2">
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />    loadCexpbver(); <br /></span>
										<span style="COLOR: #008080">55</span>
								</font>
								<font size="2">
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />    loadCexpbodr(defaultDate); <br /></span>
										<span style="COLOR: #008080">56</span>
										<span style="COLOR: #000000">
												<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span>
								</font>
						</span>
						<font size="2">
								<span style="COLOR: #000000"> <br /></span>
								<span style="COLOR: #008080">57</span>
								<span style="COLOR: #000000">
										<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
								</span>
						</font>
				</div>
		</div>
		<p>
				<br />我的分析:<br /><br /> 如果把 window.onload 改為 <br />window.onload = function (){ <br />    loadCexpbver(); <br />    alert(defaultDate); <br />    loadCexpbodr(defaultDate); <br />} <br />就不會出錯. 原因我已找到,應該是第一個Request的狀態還未完成時,就執行了第2個的原因,中間加行alert(defaultDate);實際上起到了延遲執行loadCexpbodr(defaultDate);的作用,所以不會報錯. </p>
		<p>但是目前還不知道該如何解決?</p>
<img src ="http://www.blogjava.net/mayer/aggbug/39010.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/mayer/" target="_blank">Mayer</a> 2006-04-03 20:14 <a href="http://www.blogjava.net/mayer/archive/2006/04/03/39010.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>