5
голосов
4ответов
3757 просмотров

Java coding best-practices for reusing part of a query to count

The implementing-result-paging-in-hibernate-getting-total-number-of-rows question trigger another question for me, about some implementation concern: Now you know you have to reuse part of the HQL query to do the count, how to reuse efficiently? The differences between the two HQL queries are: ...

0
голосов
4ответов
6822 просмотров

Pagination with hasMany association cakePHP

I have two tables: Contestant and Votes Contestant hasMany Votes I've tried doing a count(Vote.id) as Votes so I can place it on the recordset and just paginate them but I have no idea where to place it. I did it on the fields array but it gave me the total count of votes regardless of the cont...

0
голосов
3ответов
1013 просмотров

Paging in MVC + Jquery

I need to add paging for my users view page, i got all the datas using Json to show in the table..i need to add paging and and also i can able to change number of users to show in a particular page. any simple Jquery plugin or source code will be very much helpful to me.

2
голосов
4ответов
4574 просмотров

Paging with Jquery in ASP.NET

I want to implement paging in Repeater via JQuery. Is it possible? If yes, then how I achieve this?

0
голосов
1ответов
282 просмотров

How to get page number by entity with NHibernate?

I have a paging worked with NHibernate: public IEnumerable<Answer> GetAnswers(int page, int pageSize) { return HibernateTemplate.Execute( session => { var criteria = session.CreateCriteria(typeof(Answer)); return criteria ...

1
голосов
4ответов
1789 просмотров

PHP pagination and sorting

I'm currently working on an in-house CMS and have come to a bit of a standstill. I'm trying to make it easy to paginate between pages of posts in a blog, and can't decide on how it should be tackled. The real problem only arises when I need to allow a user to choose how many results to display pe...

3
голосов
1ответов
2958 просмотров

Testing Pagination Features with Cucumber

I am learning and liking cucumber, and now have a feature I'm not sure of the best way to proceed on via BDD: pagination. I have scenarios (in my mind) where there are zero pages, one page, several pages, etc. and where I want to make sure certain records are on certain pages, make sure the "next...

1
голосов
2ответов
644 просмотров

Jquery pagination

I have my code working etc for the pagination plugin but I have a slight error. When I add a table above my table which works with the sorter and pagination the pagination does not work. I think it is because that the table above it is taking the all the features and not using them. So is ther...

2
голосов
3ответов
374 просмотров

How to paginate a growing list?

What's a good way to paginate a list that is constantly growing? For example, a user may open page 2 of some listing, keep looking at it for a while and then open page 3. Meanwhile, new records have been added to the beginning of the list (page 1) and caused page 3 to contain items that could ha...

0
голосов
1ответов
185 просмотров

asp pagination problem

Hi i have a problem with this asp pagination. it seems to be putting all the links in the one row, so i think it might have something to do with the check of the int i... but im not that familar with asp. can anyone shed any light on this problem. the folders contain pdfs for each day of the mon...

1
голосов
2ответов
1478 просмотров

zend paginator problem

I want to use Zend Paginator in my project with a raw sql query(not Dbselect). I can't use Dbselect, because I have several subqueries in the main sql query. From the manual I found that the only way is to use pagination on resulting array like this $paginator = Zend_Paginator::factory($array); ...

8
голосов
1ответов
15799 просмотров

jQuery Pagination Plugin

Hopefully this is something that will be easy to remedy. I'm having a bit of an issue understanding the jQuery Pagination plugin. Essentially, all I am trying to do is load a PHP file, and then paginate the results. I'm attempting to go off their example, but I am not yielding the results I'm ...

1
голосов
3ответов
1788 просмотров

Creating a DetailsView Pager in ASP.NET MVC

My application has 10 products that are listed on a products page. When a user clicks one of these products they get directed to the details page for that product. I would like to implement a next/previous pager on the details page that takes you to the next or previous product without having to...

1
голосов
3ответов
11571 просмотров

gridview paging using dataset

I have an ASP.NET web app (C#) where I get some information from a datasource and display it in the the gridview. I wanted to enable paging, but for some reason, paging doesn't work. I researched a little online, and I found that paging is done differently if a dataset is used. When I click on a ...

2
голосов
3ответов
1125 просмотров

How to keep query parameters during pagination with webhelpers.paginate

I look an example of paginating from http://rapidprototype.ch/bg2docs/tg2pagination.html for my Turbogears 2 project and it works great but, I have a problem regarding my query parameters when I change the page I'm looking. This is what I have in my controller when listing. def list(self, page=...

0
голосов
1ответов
3444 просмотров

Pagination and .htaccess

I am currently showing results using the following url index.php?id=1 and using .htaccess to rewrite it like cat/sub-cat/ and i am using pagination and the url to the next page is index.php?page=2 etc but i can't seem to get the pagination to work with my .htaccess rewritten url so for example th...

0
голосов
1ответов
6889 просмотров

jQuery dataTables : trouble getting full_numbers pagination to display correctly in IE

I'm using the jQuery plugin DataTables (http://www.datatables.net/) with the following initialization: $('#reconcile_table').dataTable( { 'bSort' : true, 'bFilter' : true, 'bSortClasses' : false, 'iDisplayLength' : 200, 'bPaginate' : true, 'sPaginationType': 'full_numbers'...

0
голосов
3ответов
1309 просмотров

Jquery Pagination

I am trying my hardest to learn jQuery with the "Learning Jquery 1.3 Book from Packt". I am following the code to the letter but I am finding it hard to get the code working. I am trying a simple Page Pagination with the following code but I am having no luck can any one tell me why and offer ...

5
голосов
2ответов
6327 просмотров

SOQL Pagination for Salesforce API queries

Is there an efficient way to page through results from a SOQL query without bringing all the query results back and then discarding the majority of them? As an example, I'd like to be able to to page through the complete list of contacts showing 10 records at a time. I don't have the need to sor...

0
голосов
1ответов
1481 просмотров

How to use Selenium IDE with tabular data and pagination?

I used to record tests ion selenium IDE for after export in selenium/rspec formt to run all them with Selenium RC. Now, I aquire a doubt when I was recording some test of crude operation of data in table with pagination. For example, supose that I have a table of customers thats can show 10 ite...

1
голосов
2ответов
337 просмотров

Is there an abstract ADO.NET interface that declares pagination?

I'm implementing a DAL library that is database vendor neutral. Is there an abstraction in ADO.NET (System.Data) for describing pagination? And, do some vendors' ADO.NET provider implementations support such an interface so that I don't have to manually tool up the customized SQL syntax?

12
голосов
5ответов
22487 просмотров

How to provide pagination support to a JTable in Swing?

I have created one GUI in Swing Java in which I have used JTable.Now I want to display next page information into it by using pagination. How should I do that ?

0
голосов
1ответов
1183 просмотров

How to fetch records from mysql database and display 10 results per page using Jquery Pager Plugin. Please Help

I came to know the Jquery Pager Plugin is nice. But in the demo of that plugin they used only some texts to display in the paging. But I need to display the database recordsets results in paging. I need help Any help will be appreciated

0
голосов
1ответов
1782 просмотров

How to Implement Paging through JQuery in PHP?

I am developing a site in which i need the search result should be displayed 10 by 10. For that the result should be displayed through JQuery. Please Help. Any Code snippets or references will be highly appreciated.

0
голосов
2ответов
2248 просмотров

How can we implement Paging using json, Need the records to be preloaded. Help

I am trying to implement paging in PHP, using Json. I need the data to be preloaded, before the user click next results. Please Give me some suggestions or some references.

0
голосов
1ответов
892 просмотров

How to enforce URI segments to Kohana pagination after the page URI segment?

I'm using Kohana's pagination library and it lets you specify the parameter uri_segment at initialization. When it generates the pages links, they will have that uri_segment you specified, and after that, the page link. Let's say: /some/uri/segments/6 where 6 is the page. Now, that enforces the...

4
голосов
1ответов
546 просмотров

will paginate miscounting oddness with named scopes

I recently broke up my query into 4 named scopes to make it easier to re-sort and will paginate which otherwise always worked fine now has problems calculating the number of pages. named_scope :loc, lambda { |id| { :conditions => ['location_id = ?', id ] } } named_scope :datem, lambda { |...

3
голосов
3ответов
6676 просмотров

CakePHP pagination with HABTM models

I'm having some problems with creating pagination with a HABTM relationship. First, the tables and relationships: requests (id, to_location_id, from_location_id) locations (id, name) items_locations (id, item_id, location_id) items (id, name) So, a Request has a Location the request is coming ...

1
голосов
1ответов
380 просмотров

Pagination problem

Currently I have some xml documents which are converted via xsl into html. The html is converted via abcpdf into a pdf document. The content of the pages is dynamic. A page is represented by a div tag, however the amount of content going in could in fact be 3 pages long & I need some pages to...

0
голосов
2ответов
407 просмотров

Pagination while using a GET variable

I have had a difficult time paginating the code below. I think it has to do with passing the GET variable $find on to the next page. Anyway, how would I paginate the code below, so that the table below shows only 100 rows per page? Thanks in advance, John <?php ob_start(); session_start()...