<b>employeemasterList.html</b><br><br><?xml version="1.0" encoding="UTF-8"?><br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"<br>"<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"><br>
<html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>"<br>xmlns:te="<a href="http://www.seasar.org/teeda/extension">http://www.seasar.org/teeda/extension</a>" xml:lang="ja" lang="ja"><br>
<head><br><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><br><title id="title">Employee Master</title><br><link rel="stylesheet" type=" text/css" href="../../css/global.css"/><br>
<link rel="stylesheet" type=" text/css" href="../../css/master.css"/><br><br></head><br><br><body><br><br><br><form id="employeemasterListForm"><br/><br>
<!--<input type="button" value="Create" onclick="redirect()"></input>--><br><br><!--<te:include te:src="/include/search.html"/>--><br><br><table border="1" width="100%"><br>
<tr><br><td><label id="empcode"></label></td><br><td><input type="text" id="empcodes"></input></td><br><td><label id="empnamekanji"/></td><br>
<td><input type="text" id="empnameskanji"></input></td><br><td><label id="empnamekana"/></td><br><td><input type="text" id="empnameskana"></input></td><br>
</tr><br><tr><br><td><label id="empfirstname"/></td><br><td><input type="text" id="empfirstnames"></input></td><br><td><label id="emplastname"/></td><br>
<td><input type="text" id="emplastnames"></input></td><br><td><label id="dsgnation"/></td><br><td><select id="dsgnations"></select></td><br>
</tr><br><tr><br><td><label id="jblevel"/></td><br><td><select id="jblevels"></select></td><br><td><label id="deleteFlg"/></td><br>
<td><select id="deleteflgItems"></select></td><br><td colspan="2" align="center"><input type="button" id="doSearch"></input></td><br>
</tr><br></table><br><br><br><br/><br><b><input type="button" id="goemployeemasterCreate"></input></b> <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>
<br/><br><table class="container" border="1" align="center" bordercolor="#408080" width="100%"><br><tr class="heading"><br><br><td><label id="employeecode"/></td><br>
<td><label id="employeenamekanji"/></td><br><td><label id="employeenamekana"/></td><br><td><label id="employeefirstname"/></td><br><td><label id="employeelastname"/></td><br>
</tr><br><div id="employeemasterItems"><br><tr class="item"><br><td><a id="goemployeemasterCreate" href="employeemasterDetail.html?employeecode"><span id="employeecode"></span></a></td><br>
<td><span id="employeenamekanji"></span></td><br><td><span id="employeenamekana"></span></td><br><td><span id="employeefirstname"></span></td><br>
<td><span id="employeelastname"></span></td><br><br><td><span id="designation"></span></td><br><td><span id="joblevel"></span></td><br>
<br></tr><br></div><br></table><br><center><br><b><te:include id="tablePages" te:src="/include/pagingInc.html"/></b> <b style="background-color: rgb(255, 102, 102);">// i included pagingInc.html</b><br>
<br></center><br></form><br><br><table align="center"><span id="allMessages" style="color:red;"/></table></body><br></html><br><b><br><br><br><br><br>
EmployeemasterListPage .java</b><br><br>public class EmployeemasterListPage extends AbstractEmployeemasterPage{<br><br> protected Log log = LogFactory.getLog(this.getClass());<br> @SubapplicationScope<br> public String empcodes;<br>
public int employeemasterIndex;<br><br> public String postalcode;<br> @SubapplicationScope<br> public String emplastnames;<br> @SubapplicationScope<br> public String empfirstnames;<br> @SubapplicationScope<br>
public String empnameskana;<br> @SubapplicationScope<br> public String empnameskanji;<br><br> public List<DataInfoStringDto> deleteflgItems;<br> <br> public List<DataInfoStringDto> dsgnationsItems;<br>
<br> @SubapplicationScope<br> public String dsgnations;<br><br> @SubapplicationScope<br> public String deleteflg;<br> <br> public List<DataInfoStringDto> jblevelsItems;<br><br> @SubapplicationScope<br>
public String jblevels;<br><br> public boolean check;<br><br> public String goemployeemasterCreate;<br><br> <b> @Binding (bindingType = BindingType.MUST)<br> public PagingIncPage pagingIncPage;</b><br><br> public PropertiesUtil prop;<br>
<br> public int targetPage;<br><br> public static final String PROPERTY_FILE_PATH = "parameter.properties";<br> <br> public PagingResultBean<Employeemaster> employeemasterItems;<br><br> public EmployeemasterBhv employeemasterBhv;<br>
<br> public EmployeemasterDxo dxo;<br><br><br> public Class prerender() {<br><br> return null;<br> }<br><br> public Class initialize(){<br> return null;<br> }<br><br> <b> public PagingResultBean<Employeemaster> getEmployeemasterItems(){<br>
employeemasterItems = selectPage();<br> </b><b>pagingIncPage.pagingResult = employeemasterItems; <span style="background-color: rgb(255, 102, 102);">//here i set paging Result</span><br> return employeemasterItems;<br>
}</b><br><br> public PagingResultBean<Employeemaster> selectPage() {<br> <br> EmployeemasterCB empCB = new EmployeemasterCB();<br> empCB.query().setEmployeecode_Equal(empcodes);<br> empCB.query().setEmployeefirstname_Equal(empfirstnames);<br>
empCB.query().setEmployeelastname_Equal(emplastnames);<br> empCB.query().setEmployeenamekanji_Equal(empnameskanji);<br> empCB.query().setEmployeenamekana_Equal(empnameskana);<br> empCB.query().setDesignation_Equal(dsgnations);<br>
empCB.query().setJoblevel_Equal(jblevels);<br> if(deleteflg!=null){<br> if(deleteflg.equals("$B:o=|$N$_(B")){<br> <br> empCB.query().setDeleteflg_Equal(true);<br> }<br>
else if(deleteflg.equals("$B:o=|0J30(B")){<br> empCB.query().setDeleteflg_Equal(false);<br> }<br> }<br> else if(empcodes == null && empfirstnames == null && emplastnames == null<br>
&&empnameskana == null && empnameskanji == null && jblevels == null<br> && dsgnations == null){<br><br> empCB.query().setDeleteflg_Equal(false);<br>
}<br> <br> <b> empCB.paging(1, targetPage);</b><br> <br> return employeemasterBhv.selectPage(empCB);<br><br> } <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"><<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>></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: Thu, 21 May 2009 18:45:58 +0900<br>
From: thomas <<a href="mailto:jp.mcy.10@gmail.com">jp.mcy.10@gmail.com</a>><br>
To: <a href="mailto:seasar-user@ml.seasar.org">seasar-user@ml.seasar.org</a><br>
Subject: [Seasar-user:17495] [Teeda-paging]PagingResultBean<?> pagingResult$B$K$D$$$$$F(B<br>
<div class="im"><br>
> protected List<PageNumberLink> createPageNumberLinkList(final<br>
> PagingResultBean<?> pagingResult) {<br>
><br>
> *System.out.println(pagingResult);* //This becomes null in<br>
> firebox when i click any other buttons in main Page ,so it works fine where<br>
> as in IE6 the previous value didnt become null.<br>
<br>
</div>Who calls this method?<br>
<br>
<br>
--<br>
<component name="koichik"><br>
<property name="fullName">"Koichi Kobayashi"</property><br>
<property name="email">"<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>"</property><br>
<property name="blog">"<a href="http://d.hatena.ne.jp/koichik" target="_blank">http://d.hatena.ne.jp/koichik</a>"</property><br>
</component><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>