Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 1.8.2-EE-GA, 1.8.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Apache Tomcat, Icefaces 1.8.2, Windows XP/Vista
Description
If you set immediate="true" on the ice:dataPaginator it is only applied on the page 'jumper' arrow images [page jumper controller] but not on the navigation of the individual page images [page controller].
Ugly workaround:
Set paginator="false" on the dataTable which will just show the page-jumper-controller-images (which are working well with the immediate=true ) not the page-controller-images
-
- datapaginator.zip
- 11 kB
- Jacopo Dell Anno
-
Hide
- 8715.war
- 9.78 MB
- Patrick Dobler
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/classes/.../ProgressBarBean.class 3 kB
- WEB-INF/lib/jboss-el.jar 130 kB
- WEB-INF/.../AttendeeFileValidationBean.class 5 kB
- test.jspx 1 kB
- WEB-INF/lib/commons-fileupload-1.2.1.jar 56 kB
- WEB-INF/lib/jxl-2.6.3.jar 1023 kB
- WEB-INF/lib/commons-logging-1.1.1.jar 59 kB
- error.jspx 1 kB
- WEB-INF/lib/commons-collections-3.2.jar 558 kB
- WEB-INF/lib/jstl.jar 20 kB
- WEB-INF/lib/jsf-api_1.2_12.jar 350 kB
- popupAttendeesValidationProgress.jspx 2 kB
- WEB-INF/.../backport-util-concurrent-2.1.jar 322 kB
- WEB-INF/lib/jsf-impl.jar 1.15 MB
- WEB-INF/classes/.../test/MyTestBean.class 4 kB
- WEB-INF/lib/jsf-impl_1.2_12.jar 816 kB
- WEB-INF/web.xml 3 kB
- WEB-INF/lib/commons-digester-1.8.jar 140 kB
- WEB-INF/classes/.../ProgressBarBean.java 4 kB
- MyJsp.jspx 4 kB
- WEB-INF/lib/icefaces-facelets-1.8.2.jar 596 kB
- popupSelectionError.jspx 0.3 kB
- WEB-INF/lib/commons-beanutils-1.6.1.jar 116 kB
- WEB-INF/classes/.../test/TestServlet.java 0.8 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/classes/.../test/TestServlet.class 1 kB
- WEB-INF/lib/icefaces-comps-1.8.2.jar 1.94 MB
- WEB-INF/classes/org/test/MyTestBean.java 3 kB
- WEB-INF/.../IndeterminateProgressBarBean.class 0.5 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
We would be pleased to accept a contribution in this case. Please consult the "How To Contribute" page on .org for details: http://www.icefaces.org/main/community/contribute.iface.
First of all, I must say that before may 2009 I have never seen a JSF, only jsp and tag library.
So my modifications may be incomplete.
However I found a solution to the problem regarding no validation required during the navigation from a page to another by clicking on the specific page number.
The original renderer made use of HTML DOM to build the linked pages.
I created a new facet "paginax" (x page in italian) that creates an HtmlCommandLink.
-> HtmlCommandLink link = (HtmlCommandLink) getLinkPaginaX(facesContext, scroller, facetName, idx);
This seams to work fine.
Below how to call the modified DataPaginator tag.
<ice:dataPaginator for="#
{targetTable}" renderFacetsIfSinglePage="false"
paginatorMaxPages="#
" immediate="true" paginator="true">
<f:facet name="previous">
<ice:graphicImage url="images/arrow-previous.gif" title="PREVIOUS" />
</f:facet>
<f:facet name="paginax"> </f:facet>
<f:facet name="next">
<ice:graphicImage url="images/arrow-next.gif" title="NEXT" />
</f:facet>
</ice:dataPaginator>
my source at -> http://jira.icefaces.org/secure/attachment/12095/datapaginator.zip
Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\datapaginator\DataPaginator.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\datapaginator\DataPaginator.java
Completed: At revision: 19732
Modified: D:\work\development\head\svn\ossrepo\icefaces-ee\branches\icefaces-ee-1.8.2\icefaces\component\src\com\icesoft\faces\component\datapaginator\DataPaginator.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces-ee\branches\icefaces-ee-1.8.2\icefaces\component\src\com\icesoft\faces\component\datapaginator\DataPaginator.java
Completed: At revision: 19733
Fix verified successfully on ICEfaces-1.8.2-EE build 2
Verified on Tomcat 6 using FF3.5 and IE8
Test app is checked into repo\qa\trunk\Regression\ICE-5010
I have found a solution to this bug.
I modified DataPaginator in order to transform pages' numbers into a new facet.
If you wish I can post my sources.
Hey Admin, if you are interested in this change let me know I will explain my modifications.
Bye Bye Jacopo from Florence ITALY