1

Since 6.5.2 Paging.setActivePage shows "Unable to set active page to 1 since only 1 pages"

asked 2013-05-14 16:56:01 +0800

szarza gravatar image szarza
72 3
http://balteus.blogspot.c...

Listbox using Paginal shows error setting active page in event onPaging using 6.5.2 version. The same code works perfectly on 6.5.1.1

delete flag offensive retag edit

7 Answers

Sort by ยป oldest newest most voted
1

answered 2013-11-26 13:11:35 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8
http://emrpms.blogspot.in...

Sorry guys. It has been fixed in 6.5.4 After update, it is working fine.

link publish delete flag offensive edit
0

answered 2013-05-16 11:24:00 +0800

vincentjian gravatar image vincentjian
2245 6

updated 2013-05-16 11:24:33 +0800

The activePage starts from 0 in server side, therefore you can only set it to 0 if it only have one page.

link publish delete flag offensive edit
0

answered 2013-05-23 13:57:56 +0800

szarza gravatar image szarza
72 3
http://balteus.blogspot.c...

I may not have explained well. In the "onPaging" event I call setActivePage() (setting next page) and returns the error mentioned. Obviously I'm talking about a case of multiple pages. Exactly the same code works with 6.5.1.1 version. When replaced libraries to 6.5.2 I get the error.

link publish delete flag offensive edit

Comments

Please provide sample code.

vincentjian ( 2013-05-24 02:29:34 +0800 )edit
0

answered 2013-11-26 12:47:32 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8
http://emrpms.blogspot.in...

Hello

I am also getting the same error.

link publish delete flag offensive edit
0

answered 2013-11-26 12:58:51 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8
http://emrpms.blogspot.in...

I am trying to pro grammatically set the activepage as follows

pageination.setActivePage(2);

now, i am getting the above error.

link publish delete flag offensive edit
0

answered 2015-01-30 23:01:58 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8
http://emrpms.blogspot.in...

Any update on this

link publish delete flag offensive edit
0

answered 2015-01-30 23:06:15 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8
http://emrpms.blogspot.in...

updated 2015-01-30 23:29:26 +0800

When i set in the @AfterCompose, it gives the error. But when try with on Button click event, it works fine

My Use case as follows

  1. A zul page xxxx.zul contains Listbox
  2. User Moves to 3 Page By clicking next button in pagination component.
  3. Double click any of the item to open yyyy.zul
  4. yyyy.zul opens in the same container.
  5. in yyyy.zul, we have go back button.
  6. On clicking go back button in yyyy.zul, we need to show the again xxxx.zul and also the listbox should point to 3 page.
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2013-05-14 16:56:01 +0800

Seen: 50 times

Last updated: Jan 30 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More