<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 id=&quot;title&quot;&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><br>&lt;/head&gt;<br><br>&lt;body&gt;<br><br><br>&lt;form id=&quot;employeemasterListForm&quot;&gt;&lt;br/&gt;<br>
&lt;!--&lt;input type=&quot;button&quot; value=&quot;Create&quot; onclick=&quot;redirect()&quot;&gt;&lt;/input&gt;--&gt;<br><br>&lt;!--&lt;te:include te:src=&quot;/include/search.html&quot;/&gt;--&gt;<br><br>&lt;table border=&quot;1&quot; width=&quot;100%&quot;&gt;<br>
&lt;tr&gt;<br>&lt;td&gt;&lt;label id=&quot;empcode&quot;&gt;&lt;/label&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;input type=&quot;text&quot; id=&quot;empcodes&quot;&gt;&lt;/input&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;empnamekanji&quot;/&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;input type=&quot;text&quot; id=&quot;empnameskanji&quot;&gt;&lt;/input&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;empnamekana&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;input type=&quot;text&quot; id=&quot;empnameskana&quot;&gt;&lt;/input&gt;&lt;/td&gt;<br>
&lt;/tr&gt;<br>&lt;tr&gt;<br>&lt;td&gt;&lt;label id=&quot;empfirstname&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;input type=&quot;text&quot; id=&quot;empfirstnames&quot;&gt;&lt;/input&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;emplastname&quot;/&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;input type=&quot;text&quot; id=&quot;emplastnames&quot;&gt;&lt;/input&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;dsgnation&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;select id=&quot;dsgnations&quot;&gt;&lt;/select&gt;&lt;/td&gt;<br>
&lt;/tr&gt;<br>&lt;tr&gt;<br>&lt;td&gt;&lt;label id=&quot;jblevel&quot;/&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;select id=&quot;jblevels&quot;&gt;&lt;/select&gt;&lt;/td&gt;<br>&lt;td&gt;&lt;label id=&quot;deleteFlg&quot;/&gt;&lt;/td&gt;<br>
&lt;td&gt;&lt;select id=&quot;deleteflgItems&quot;&gt;&lt;/select&gt;&lt;/td&gt;<br>&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;input type=&quot;button&quot; id=&quot;doSearch&quot;&gt;&lt;/input&gt;&lt;/td&gt;<br>
&lt;/tr&gt;<br>&lt;/table&gt;<br><br><br>&lt;br/&gt;<br><b>&lt;input type=&quot;button&quot; id=&quot;goemployeemasterCreate&quot;&gt;&lt;/input&gt;</b>&nbsp; <b style="background-color: rgb(255, 102, 102);">//When i click this button in IE6 the same page is displayed(EmployeemasterList.html),where as in firebox employeemasterCreate.html is displayed.</b><br>
&lt;br/&gt;<br>&lt;table class=&quot;container&quot; border=&quot;1&quot; align=&quot;center&quot; bordercolor=&quot;#408080&quot; width=&quot;100%&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;/tr&gt;<br>&lt;div id=&quot;employeemasterItems&quot;&gt;<br>&lt;tr class=&quot;item&quot;&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><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>
<br>&lt;/tr&gt;<br>&lt;/div&gt;<br>&lt;/table&gt;<br>&lt;center&gt;<br><b>&lt;te:include id=&quot;tablePages&quot; te:src=&quot;/include/pagingInc.html&quot;/&gt;</b>&nbsp;&nbsp;&nbsp;&nbsp; <b style="background-color: rgb(255, 102, 102);">// i included pagingInc.html</b><br>
<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><br><br><br><br>
EmployeemasterListPage .java</b><br><br>public class EmployeemasterListPage extends AbstractEmployeemasterPage{<br><br>&nbsp;&nbsp;&nbsp; protected Log log = LogFactory.getLog(this.getClass());<br>&nbsp;&nbsp;&nbsp; @SubapplicationScope<br>&nbsp;&nbsp;&nbsp; public String empcodes;<br>
&nbsp;&nbsp;&nbsp; public int employeemasterIndex;<br><br>&nbsp;&nbsp;&nbsp; public String postalcode;<br>&nbsp;&nbsp;&nbsp; @SubapplicationScope<br>&nbsp;&nbsp;&nbsp; public String emplastnames;<br>&nbsp;&nbsp;&nbsp; @SubapplicationScope<br>&nbsp;&nbsp;&nbsp; public String empfirstnames;<br>&nbsp;&nbsp;&nbsp; @SubapplicationScope<br>
&nbsp;&nbsp;&nbsp; public String empnameskana;<br>&nbsp;&nbsp;&nbsp; @SubapplicationScope<br>&nbsp;&nbsp;&nbsp; public String empnameskanji;<br><br>&nbsp;&nbsp;&nbsp; public List&lt;DataInfoStringDto&gt; deleteflgItems;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public List&lt;DataInfoStringDto&gt; dsgnationsItems;<br>
&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; @SubapplicationScope<br>&nbsp;&nbsp;&nbsp; public String dsgnations;<br><br>&nbsp;&nbsp;&nbsp; @SubapplicationScope<br>&nbsp;&nbsp;&nbsp; public String deleteflg;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public List&lt;DataInfoStringDto&gt; jblevelsItems;<br><br>&nbsp;&nbsp;&nbsp; @SubapplicationScope<br>
&nbsp;&nbsp;&nbsp; public String jblevels;<br><br>&nbsp;&nbsp;&nbsp; public boolean check;<br><br>&nbsp;&nbsp;&nbsp; public String goemployeemasterCreate;<br><br>&nbsp;&nbsp;&nbsp;<b> @Binding (bindingType = BindingType.MUST)<br>&nbsp;&nbsp;&nbsp; public PagingIncPage pagingIncPage;</b><br><br>&nbsp;&nbsp;&nbsp; public PropertiesUtil prop;<br>
<br>&nbsp;&nbsp;&nbsp; public int targetPage;<br><br>&nbsp;&nbsp;&nbsp; public static final String PROPERTY_FILE_PATH = &quot;parameter.properties&quot;;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public PagingResultBean&lt;Employeemaster&gt; employeemasterItems;<br><br>&nbsp;&nbsp;&nbsp; public EmployeemasterBhv employeemasterBhv;<br>
&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public EmployeemasterDxo dxo;<br><br><br>&nbsp;&nbsp;&nbsp; public Class prerender() {<br><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;<b> public PagingResultBean&lt;Employeemaster&gt; getEmployeemasterItems(){<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; employeemasterItems = selectPage();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </b><b>pagingIncPage.pagingResult = employeemasterItems;&nbsp;&nbsp;&nbsp; <span style="background-color: rgb(255, 102, 102);">//here i set paging Result</span><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return employeemasterItems;<br>
&nbsp;&nbsp;&nbsp; }</b><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; EmployeemasterCB empCB = new EmployeemasterCB();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setEmployeecode_Equal(empcodes);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setEmployeefirstname_Equal(empfirstnames);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setEmployeelastname_Equal(emplastnames);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setEmployeenamekanji_Equal(empnameskanji);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setEmployeenamekana_Equal(empnameskana);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setDesignation_Equal(dsgnations);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setJoblevel_Equal(jblevels);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(deleteflg!=null){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(deleteflg.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; &nbsp;&nbsp;&nbsp; else if(deleteflg.equals(&quot;$B:o=|0J30(B&quot;)){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setDeleteflg_Equal(false);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else if(empcodes == null &amp;&amp; empfirstnames == null &amp;&amp; emplastnames == null<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &amp;&amp;empnameskana == null &amp;&amp; empnameskanji == null &amp;&amp; jblevels == null<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &amp;&amp; dsgnations == null){<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; empCB.query().setDeleteflg_Equal(false);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;<b>&nbsp;&nbsp; empCB.paging(1, targetPage);</b><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return employeemasterBhv.selectPage(empCB);<br><br>&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp; <br><br><br><br><br><br>Thanks,<br>$B%H%^%9(B<br><br><br><br><br><br><br><br>
<div class="gmail_quote">2009/5/21 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, 21 May 2009 18:45:58 +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:17495] [Teeda-paging]PagingResultBean&lt;?&gt; pagingResult$B$K$D$$$$$F(B<br>
<div class="im"><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; protected List&lt;PageNumberLink&gt; createPageNumberLinkList(final<br>
&gt; PagingResultBean&lt;?&gt; pagingResult) {<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; *System.out.println(pagingResult);* &nbsp; &nbsp; &nbsp;//This becomes null in<br>
&gt; firebox when i click any other buttons in main Page ,so it works fine where<br>
&gt; as in IE6 the previous value didnt become null.<br>
<br>
</div>Who calls this method?<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>