Hai<br><br>I am using Paging in my project.<br><br>my program works fine in firebox,where as in IE6,its not working correctly.<br><br><b>paginInc.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><head><br><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><br>
</head><br><body><br> <form id="pagingForm"> <br> <!--<input type="hidden" id="deleteflg"></input>--><br> <b> <br> <div id="isNavigation" class="pagenavi"><br>
<span id="isExistPrePage"><br> <a id="prePageLink" href="#"><br> $BA0$X(B<br> </a><br> </span><br> <div id="pageNumberLinkItems"><br>
<span id="isNotCurrent"><br> <a id="pageNumberLink" href="#"><br> <span id="pageNumberElement"><br> </span><br>
</a><br> </span><br> <span id="isCurrent"><br> <span id="pageNumberElement-current"><br> </span><br>
</span><br> </div><br> <span id="isExistNextPage"><br> <a id="nextPageLink" href="#"><br> $B<!$X(B<br>
</a><br> </span><br> </div><br> </b><br> <br> </form><br></body><br></html><br><br><b>PagingIncPage.java</b><br><br>public class PagingIncPage {<br>
<br> public String prePageLink;<br> <br> public String prePageLinkHref;<br> <br> public String nextPageLink;<br> <br> public String nextPageLinkHref;<br> <br> public List<PageNumberLink> pageNumberLinkItems;<br>
<br> public int pageNumberLinkIndex;<br> <br> public int pageNumberElement;<br> <br> public String pageNumberLinkHref; <br> <br> public String pageNumberElementHref; <br>
<br> public boolean current;<br> <br><br> <b> public PagingResultBean<?> pagingResult;</b><br> <br> public int currentpageNumber;<br> <br> public int allPageCount;<br> <br>
public int allRecordCount;<br> <br> <br><br> public boolean isNavigation() {<br> <br> if(pagingResult.getAllPageCount() > 1)<br> return true;<br>
return false;<br> } <br> <br> <br> public int getCurrentpageNumber() { <br> <br> return pagingResult.getCurrentPageNumber();<br> }<br> <br>
<br> public int getAllPageCount() {<br> <br> return pagingResult.getAllPageCount();<br> }<br> <br> <br> public int getAllRecordCount() {<br> <br> return pagingResult.getAllRecordCount();<br>
}<br> <br> public boolean isExistPrePage() {<br> <br> return pagingResult.isExistPrePage();<br> }<br> <br> <br> public boolean isExistNextPage() {<br> <br>
return pagingResult.isExistNextPage();<br> } <br> <br> <br> public String getNextPageLinkHref() {<br> <br> return createTargetPageNumberLink((pagingResult.getCurrentPageNumber() + 1 ));<br>
}<br> <br> <br> public String getPrePageLinkHref() {<br> <br> return createTargetPageNumberLink((pagingResult.getCurrentPageNumber() - 1 ));<br> }<br> <br><br> <br> public List<PageNumberLink> getPageNumberLinkItems() {<br>
<br> return pageNumberLinkItems = createPageNumberLinkList(pagingResult);<br> }<br> <br> <br> protected String createTargetPageNumberLink(int pageNumber) { <br> <br> return "?targetPage="+pageNumber;<br>
}<br> <br> <br> protected List<PageNumberLink> createPageNumberLinkList(final PagingResultBean<?> pagingResult) {<br><br> <b style="background-color: rgb(204, 0, 0);">System.out.println(pagingResult);</b> //This becomes null in firebox when i click any other buttons in main Page ,so it works fine where as in IE6 the previous value didnt become null. <br>
<br> if(pagingResult!=null){<br> pagingResult.setPageRangeSize(9);<br> <br> <br> final PageNumberLinkSetupper<PageNumberLink> setupper = new PageNumberLinkSetupper<PageNumberLink>() {<br>
<br> public PageNumberLink setup(int pageNumberElement, boolean current) { <br> <br> final String targetPageNumberLink = createTargetPageNumberLink(pageNumberElement);<br>
<br> return new PageNumberLink().initialize(pageNumberElement, current, targetPageNumberLink);<br> }<br> <br> };<br> return pagingResult.pageRange().buildPageNumberLinkList(setupper);<br>
}<br> return null;<br> } <br> <br> <br> public Class initialize() {<br> <br> return null;<br> }<br> <br> <br> public Class prerender() {<br>
<br> return null;<br> }<br> public String getLayout(){<br> return null;<br> }<br>}<br><br>can i use any Scopes for this variable?<br><br><br>Thanks<br>$B%H%^%9(B<br><br>