tag:blogger.com,1999:blog-5396570633771229267.post3619204489696939524..comments2024-03-29T08:43:05.719+01:00Comments on The BalusC Code: Effective datatable paging and sortingBalusChttp://www.blogger.com/profile/00299057045960008647noreply@blogger.comBlogger67125tag:blogger.com,1999:blog-5396570633771229267.post-79872581848798357932020-11-16T12:12:08.138+01:002020-11-16T12:12:08.138+01:00Hi BalusC, Your blog is very useful and thank you ...Hi BalusC, Your blog is very useful and thank you for the post. i have question, in case if we have one input text box each row then how can we get the data in the bean class. could you please help me on this issue.Rajuhttps://www.blogger.com/profile/04543205667308354800noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-63162004975098788052016-12-11T12:33:22.403+01:002016-12-11T12:33:22.403+01:00Please provide lazy pagination code of JSF 2.
#Che...Please provide lazy pagination code of JSF 2.<br />#CheersPaawanhttps://www.blogger.com/profile/16650474145455116338noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-62984642796271060352016-02-09T15:09:32.844+01:002016-02-09T15:09:32.844+01:00BalusC, excellent code thanks, if i need find???? ...BalusC, excellent code thanks, if i need find???? in this code?0dayhttps://www.blogger.com/profile/17551152191916066290noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-15226757099508827802016-01-29T15:42:06.410+01:002016-01-29T15:42:06.410+01:00Hi BalusC, can we control the p:dataTable selectio...Hi BalusC, can we control the p:dataTable selection with the help of up/down key.<br />i want to select row with up and down arrow key instead of mouse click??<br />Anonymoushttps://www.blogger.com/profile/12614955218046788287noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-31201715901643699262015-03-26T21:21:45.063+01:002015-03-26T21:21:45.063+01:00Sorry for my English. I use google translate. This...Sorry for my English. I use google translate. This tutorial is very helpful. I have a question: how to paging when searching?luanvnehttps://www.blogger.com/profile/16219554304335752568noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-77508160360893467252014-12-19T14:21:05.415+01:002014-12-19T14:21:05.415+01:00Hi BalusC, very nice your post, but in your code y...Hi BalusC, very nice your post, but in your code you call a static method with name: prepareStatement that it don't find, please I need to see what you did in there, thanks in advance.Efrain Toribio Reyeshttps://www.blogger.com/profile/08988049508274442680noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-86642843622543882832014-07-01T12:14:04.799+02:002014-07-01T12:14:04.799+02:00Hello,
I ran the sample except for using session ...Hello,<br /><br />I ran the sample except for using session scoped bean instead of request scope.<br />However the paging links 2, 3, 4, etc no longer worked. For example whenever I clicked on the 4st page I got finally the 1st page.<br /><br />Did anything go wrong?Anonymoushttps://www.blogger.com/profile/13192484177020173309noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-36890883489565825712014-03-20T11:24:09.907+01:002014-03-20T11:24:09.907+01:00Hi BalusC,
I've a situation where I've mu...Hi BalusC,<br /><br />I've a situation where I've multiple columnGroups inside my datatable and for each record I render one or more columnGroup depending on some business logic.<br /><br />Now, since the number of rows in the datatable now are different from size of my records list, how do I get total number of pages in the datatable. I need that number for my custom datascroller.<br />Asif Arshadhttps://www.blogger.com/profile/05987680560092072336noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-5360647702416369522014-02-21T22:42:56.772+01:002014-02-21T22:42:56.772+01:00Hi BalusC :)
Is Tomahawk still needed ? Are all t...Hi BalusC :)<br /><br />Is Tomahawk still needed ? Are all those jars you refer to still needed ?<br /><br />JSF 2.2 on glassfish 4Udunhttps://www.blogger.com/profile/08355256387246510486noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-56860266931566505452013-03-26T08:27:51.008+01:002013-03-26T08:27:51.008+01:00Hi Balus,
I am trying to implement the below exam...Hi Balus,<br /><br />I am trying to implement the below example:<br /><br />http://www.primefaces.org/showcase/ui/datatablePagination.jsf<br /><br />i can display the contents abut i dont see the navigation happening which is part of pagination. Please help .THanks<br /><br />PoornimaBubblyhttps://www.blogger.com/profile/15934655722134249542noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-27849554807765956772012-09-23T17:50:07.017+02:002012-09-23T17:50:07.017+02:00Hi,
When i use a rich:dataTable with selectOneRad...Hi,<br /><br />When i use a rich:dataTable with selectOneRadio and when i sort my data table with an row select, the selectOneRadio is checked for a wrong row.<br /><br />There is any way to correct this ?casanovahttps://www.blogger.com/profile/07450617797524721287noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-60333419750294097302012-02-18T05:38:54.003+01:002012-02-18T05:38:54.003+01:00Thanks for the article. really informative and cle...Thanks for the article. really informative and clear code.<br /><br />My question is what if the Bean had a Session Scope instead of Request scope? what changes will have to be made to make your code with with a session scope bean? ThanksJohnhttps://www.blogger.com/profile/11977122181598987259noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-18365519624035155412012-01-12T12:33:11.398+01:002012-01-12T12:33:11.398+01:00Hi there,
I was wondering what happens with this ...Hi there,<br /><br />I was wondering what happens with this is a row is deleted or added during the paging process of this? Say if one was deleted the count could mean that an exsisting row is never dispalyed, could it not?meganhttps://www.blogger.com/profile/06634895284816045820noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-59209714073347077222011-11-07T10:41:32.378+01:002011-11-07T10:41:32.378+01:00Thanks lord of JSF.....i just gone trough your blo...Thanks lord of JSF.....i just gone trough your blog and have mined lots of information....really your blog is pure mines of gold...Bravosarode krishnahttps://www.blogger.com/profile/17827441184060926034noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-70716706511917150442011-02-16T19:35:35.576+01:002011-02-16T19:35:35.576+01:00Hi BalusC, How to use filtering on datatable on yo...Hi BalusC, How to use filtering on datatable on your "Effective datatable paging and sorting" example given above?<br /><br />Please give example.<br /><br />ThanksSanjayhttps://www.blogger.com/profile/12179025974618567743noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-82122359503603051022011-02-16T19:34:23.571+01:002011-02-16T19:34:23.571+01:00Hi BalusC, I want to use filtering on your given e...Hi BalusC, I want to use filtering on your given example. Could you please give an exmaple of filtering?<br />Thanks.Sanjayhttps://www.blogger.com/profile/12179025974618567743noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-19821451829121803182010-09-29T16:14:48.961+02:002010-09-29T16:14:48.961+02:00No, it won't be thanks to t:saveState. It will...No, it won't be thanks to t:saveState. It will only be connected to obtain the next page.BalusChttps://www.blogger.com/profile/00299057045960008647noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-39045575188889387072010-09-29T15:43:38.177+02:002010-09-29T15:43:38.177+02:00Hello BalusC,
As far as I see, we need to connect...Hello BalusC,<br /><br />As far as I see, we need to connect to the database on every pagination click. Since it is a request scoped bean, the dataList will be null in every request.<br /><br />Is there anyway to do this with only "one" database connection without session scope in jsf?<br /><br />Kind regards,Unknownhttps://www.blogger.com/profile/18249976464849852870noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-5032312966715070902010-09-16T14:55:29.335+02:002010-09-16T14:55:29.335+02:00This comment has been removed by the author.Unknownhttps://www.blogger.com/profile/11839030153605188729noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-24842032531281267122010-09-16T14:48:24.349+02:002010-09-16T14:48:24.349+02:00@Jan: it's because there's another constru...@Jan: it's because there's another constructor. This would make the default implicit constructor to disappear which in turn would cause to violating the javabean specs and an uninstantiablte class whenever used as managed bean, ORM entity, etc.BalusChttps://www.blogger.com/profile/00299057045960008647noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-36994018072642442292010-08-13T22:22:51.546+02:002010-08-13T22:22:51.546+02:00Thanks for your quick response. Tried that and it ...Thanks for your quick response. Tried that and it still doesn't work. Setup is JSF 1.1 and IBM WAS 6.1 (no choice in this).<br /><br />Continuing to debug, but appreciate any ideas you may have ...colingajhttps://www.blogger.com/profile/08179507854376466851noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-58246645922858168012010-08-13T21:25:06.248+02:002010-08-13T21:25:06.248+02:00Likely you missed <t:saveState value="#{my...Likely you missed <t:saveState value="#{myBean}" />.BalusChttps://www.blogger.com/profile/00299057045960008647noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-87384037470809132112010-08-13T21:24:07.377+02:002010-08-13T21:24:07.377+02:00Hello,
I tried using your code but when clicking ...Hello,<br /><br />I tried using your code but when clicking on the sort column the constructor for the backing bean gets invoked again and all member variables get re-initialized. <br /><br />Any ideas? Is this because it is a request-scoped? I hesitate to believe this is the case otherwise lots of items won't work correctly. <br /><br />Thanks<br />Colincolingajhttps://www.blogger.com/profile/08179507854376466851noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-58077654839878532922010-08-11T16:53:04.746+02:002010-08-11T16:53:04.746+02:00Hi BalusC,
hey man thanks for posting this! have ...Hi BalusC,<br /><br />hey man thanks for posting this! have you or someone else perhaps done the same thing using Amazon SimpleDB? <br /><br />I have been struggling quite a bit with pagination using Java servlets in SimpleDB.<br /><br />Any help would be appreciated from anyone!<br /><br />cheers,<br />Lebekolpoulohttps://www.blogger.com/profile/10686345869310973759noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-50794012089585000552010-08-11T16:50:48.016+02:002010-08-11T16:50:48.016+02:00This comment has been removed by the author.lpoulohttps://www.blogger.com/profile/10686345869310973759noreply@blogger.com