$B>.NS(B $B$5$s(B<br><br>Thanks for your reply....I got the solution<br><br>One more thing i want to clarify..<br><br>In my project i want to use paging,so i need to include 2 include pages..<br><br>one is for search condition and another one is for paging...<br>
<br>without search condition my program works fine...<br><br><br><b>employeemasterList.html</b><br><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;<br>
&quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&quot;&gt;<br>&lt;html xmlns=&quot;<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>&quot;<br>
xmlns:te=&quot;<a href="http://www.seasar.org/teeda/extension">http://www.seasar.org/teeda/extension</a>&quot; xml:lang=&quot;ja&quot; lang=&quot;ja&quot;&gt;<br>&lt;head&gt;<br>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;/&gt;<br>
&lt;title&gt;Employee Master&lt;/title&gt;<br>&lt;link rel=&quot;stylesheet&quot; type=&quot; text/css&quot; href=&quot;../../css/global.css&quot;/&gt;<br>&lt;link rel=&quot;stylesheet&quot; type=&quot; text/css&quot; href=&quot;../../css/master.css&quot;/&gt;<br>
&lt;script&gt;<br>function redirect(){<br><br>&nbsp;&nbsp;&nbsp; window.location = &quot;employeemasterCreate.html&quot;<br>}<br><br>function search(){<br>&nbsp;&nbsp;&nbsp; //document.getElementById(&#39;deleteflg&#39;).value=&quot;deleteflg&quot;;<br>
&nbsp;&nbsp;&nbsp; window.location = &quot;employeemasterList.html?deleteflg=1&quot;<br>}<br>&lt;/script&gt;<br>&lt;/head&gt;<br><br>&lt;body&gt;<br><b>&lt;te:include te:src=&quot;/include/maintanance.html&quot;/&gt;</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //this file condains search conditions<br>
<br>&lt;form id=&quot;employeemasterListForm&quot;&gt;&lt;br/&gt;<br>&lt;input type=&quot;button&quot; value=&quot;Create&quot; onclick=&quot;redirect()&quot;&gt;&lt;/input&gt;<br><br>&lt;br/&gt;<br><br><br>&lt;table class=&quot;container&quot; border=&quot;1&quot; align=&quot;center&quot; bordercolor=&quot;#408080&quot;&gt;<br>
&lt;tr class=&quot;heading&quot;&gt;<br><br>&lt;td&gt;&lt;label id=&quot;employeecode&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;employeenamekanji&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;employeenamekana&quot;/&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;label id=&quot;employeefirstname&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;employeelastname&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;dob&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;age&quot;/&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;label id=&quot;joiningdate&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;designation&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;joblevel&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;yearofexperience&quot;/&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;label id=&quot;postalcode&quot;/&gt;&lt;/td&gt;<br>&lt;!--&lt;td&gt;&lt;label id=&quot;address1&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;address2&quot;/&gt;&lt;/td&gt;--&gt;<br>&lt;td&gt;&lt;label id=&quot;housephoneno&quot;/&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;label id=&quot;mobilephoneno&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;partneremploye&quot;/&gt;&lt;/td&gt;<br>&lt;/tr&gt;<br>&lt;div id=&quot;employeemasterItems&quot;&gt;<br>&lt;tr class=&quot;item&quot;&gt;<br>
&lt;!--&lt;td&gt;&lt;input type=&quot;checkbox&quot; id=&quot;check&quot;/&gt;&lt;/td&gt;--&gt;<br>&lt;td&gt;&lt;a id=&quot;goemployeemasterCreate&quot; href=&quot;employeemasterDetail.html?employeecode&quot;&gt;&lt;span id=&quot;employeecode&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;span id=&quot;employeenamekanji&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;employeenamekana&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;employeefirstname&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;span id=&quot;employeelastname&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;dob&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;age&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;joiningdate&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;span id=&quot;designation&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;joblevel&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;yearofexperience&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;span id=&quot;postalcode&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;!--&lt;td&gt;&lt;span id=&quot;address1&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;address2&quot;&gt;&lt;/span&gt;&lt;/td&gt;--&gt;<br>
&lt;td&gt;&lt;span id=&quot;housephoneno&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;mobilephoneno&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;span id=&quot;partneremploye&quot;&gt;&lt;/span&gt;&lt;/td&gt;<br>
&lt;/tr&gt;<br>&lt;/div&gt;<br>&lt;/table&gt;<br>&lt;center&gt;<br>&lt;!--&lt;input type=&quot;text&quot; id=&quot;table&quot; style=&quot;display:block&quot;&gt;&lt;/input&gt;--&gt;<br><b>&lt;te:include id=&quot;tablePages&quot; te:src=&quot;/include/pagingInc.html&quot;/&gt;</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //This is for paging<br>
&lt;/center&gt;<br>&lt;/form&gt;<br><br>&lt;table align=&quot;center&quot;&gt;&lt;span id=&quot;allMessages&quot; style=&quot;color:red;&quot;/&gt;&lt;/table&gt;&lt;/body&gt;<br>&lt;/html&gt;<br><b><br>maintanance.html</b><br>
<br>&lt;html xmlns:m=&quot;<a href="http://www.seasar.org/maya">http://www.seasar.org/maya</a>&quot;&gt;<br>&lt;head&gt;&nbsp;&nbsp;&nbsp; <br>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;title&gt;&lt;/title&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/head&gt;<br>&nbsp;&nbsp;&nbsp; &lt;body&gt;<br>&nbsp;&nbsp;&nbsp; &lt;center&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;form id=&quot;maintananceForm&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;table&nbsp; bordercolor=&quot;#408080&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;tr&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;td colspan=&quot;2&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;h1&gt;&lt;label id=&quot;maintanancescreenLabel&quot;&gt;&lt;/label&gt;&lt;/h1&gt;&lt;/td&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/tr&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;tr&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;label id=&quot;tableselectLabel&quot;&gt;&lt;/label&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;select id=&quot;table&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/select&gt;&lt;input type=&quot;button&quot; id=&quot;doShow&quot;&gt;&lt;/input&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/td&gt;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/tr&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;tr&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;td colspan=&quot;2&quot; align=&quot;center&quot; height=&quot;20&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;span class=&quot;oneField&quot;&gt;&lt;/span&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/td&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/tr&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/table&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;span id=&quot;Messages&quot;&gt;&lt;/span&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/form&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/center&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/body&gt;<br>&lt;/html&gt;<br><b><br>EmployeemasterListPage.java</b><br><br>public class EmployeemasterListPage extends AbstractEmployeemasterPage{<br><br>&nbsp;&nbsp;&nbsp; protected Log log = LogFactory.getLog(this.getClass());<br>
<br>&nbsp;&nbsp;&nbsp; public String empcode;<br>&nbsp;&nbsp;&nbsp; public int employeemasterIndex;<br><br>&nbsp;&nbsp;&nbsp; public List&lt;DataInfoStringDto&gt; deleteflgItems;<br><br>&nbsp;&nbsp;&nbsp; public String deleteflg;<br><br>&nbsp;&nbsp;&nbsp; public boolean check;<br><br>&nbsp;&nbsp;&nbsp; public String goemployeemasterCreate;<br>
<br>&nbsp;&nbsp;&nbsp; @Binding (bindingType = BindingType.MUST)<br>&nbsp;&nbsp;&nbsp; public PagingIncPage pagingIncPage;<br><br>&nbsp;&nbsp;&nbsp; public PropertiesUtil prop;<br><br>&nbsp;&nbsp;&nbsp; public int targetPage;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public String table;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public MaintanancePage maintanancePage;<br>
&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public static final String PROPERTY_FILE_PATH = &quot;parameter.properties&quot;;<br><br>&nbsp;&nbsp;&nbsp; public PagingResultBean&lt;Employeemaster&gt; employeemasterItems;<br><br>&nbsp;&nbsp;&nbsp; public EmployeemasterBhv employeemasterBhv;<br>
<br><br>&nbsp;&nbsp;&nbsp; public Class prerender() {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return null;<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; public Class initialize(){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return null;<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; public PagingResultBean&lt;Employeemaster&gt; getEmployeemasterItems(){<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; employeemasterItems = selectPage();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pagingIncPage.pagingResult = employeemasterItems;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return employeemasterItems;<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; public PagingResultBean&lt;Employeemaster&gt; selectPage() {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; System.out.println(&quot;Paging&quot;+<b>maintanancePage.table</b>);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //this value becomes null when i click number link in <b>pagingInc.html</b>.So i couldnt get the correct employeeList.<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; EmployeemasterCB empCB = new EmployeemasterCB();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setDeleteflg_Equal(false);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(maintanancePage.table !=null){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(maintanancePage.table.equals(&quot;$B:o=|$N$_(B&quot;)){<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setDeleteflg_Equal(true);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.paging(1, targetPage);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; employeemasterBhv.selectPage(empCB);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return employeemasterBhv.selectPage(empCB);<br>
<br>&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp; public Class doCreate(){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return null;<br>&nbsp;&nbsp;&nbsp; }<br><br>}<br><br>How can i solve this problem....<br><br>Thanks in Advance.<br>$B%H%^%9(B&nbsp; <br><br><br><br><br><br><div class="gmail_quote">2009/5/14 Koichi Kobayashi <span dir="ltr">&lt;<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">$B>.NS(B (koichik) $B$G$9!%(B<br>
<br>
Date: &nbsp; &nbsp;Thu, 14 May 2009 16:19:52 +0900<br>
From: &nbsp; &nbsp;thomas &lt;<a href="mailto:jp.mcy.10@gmail.com">jp.mcy.10@gmail.com</a>&gt;<br>
To: &nbsp; &nbsp; &nbsp;<a href="mailto:seasar-user@ml.seasar.org">seasar-user@ml.seasar.org</a><br>
Subject: [Seasar-user:17442] [Teeda:te:include]$B$K$D$#$$$F(B<br>
<div class="im"><br>
&gt; When i use te:include tag in my teeda html,How can i get the included page<br>
&gt; property in main page..<br>
<br>
</div>See the last section of the following links.<br>
<br>
<a href="http://teeda.seasar.org/ja/extension/concept/layout.html" target="_blank">http://teeda.seasar.org/ja/extension/concept/layout.html</a><br>
<br>
Therefore, add the following property to the Main Page<br>
(ItemstestPage.java).<br>
<br>
public MaintanancePage maintanancePage;<br>
<br>
<br>
--<br>
&lt;component name=&quot;koichik&quot;&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;fullName&quot;&gt;&quot;Koichi Kobayashi&quot;&lt;/property&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;email&quot;&gt;&quot;<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&quot;&lt;/property&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;blog&quot;&gt;&quot;<a href="http://d.hatena.ne.jp/koichik" target="_blank">http://d.hatena.ne.jp/koichik</a>&quot;&lt;/property&gt;<br>
&lt;/component&gt;<br>
<br>
_______________________________________________<br>
Seasar-user mailing list<br>
<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
</blockquote></div><br>