• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

issue with hx:pagerDeluxe

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using ibm jsf package that came with rad 7 for my application.
I am not able to get the hx:pagerDeluxe to work. When I set max rows to 20, I see the pagination option in the page with correct number of pages. When I click on next/last buttons though, I get the see the same first 20 records only and it stays at Page 1. Do I have to do something in my backing bean to enable paging?

<hx:dataTableEx id="tableEx1"
value="#{requestScope.practiceAreaList4Update.practiceAreas}"
var="varpracticeArea" styleClass="dataTableEx"
headerClass="dataTableHeaderClass" footerClass="footerClass"
rowClasses="oddRowClass, evenRowClass"
columnClasses="dataValueColumnClass,dataValueColumnClass,dataValueColumnClass,dataValueColumnClass,dataValueColumnClass,dataValueColumnClass,dataValueColumnClass"
cellpadding="2" cellpadding="0" rules="all" border="0"
scrollSize="10%" rows="20">

<f:facet name="footer">
<hx:panelBox id="box1" styleClass="panelBox">
<hx:pagerDeluxe id="deluxe1" styleClass="pagerDeluxe" />
</hx:panelBox>
</f:facet>
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you check if you have a javascript error?
I have found this often causes components to behave incorrectly.
Are you using Internet explorer? Look in the bottom left corner of the browser for a javascript error message.
 
vaithee sub
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't see any Java Script error in my page.
 
vaithee sub
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was able to resolve the issue. It looks like hx:pagerDeluxe works for session scoped list only and does not work if the list is reloaded everytime on page refresh.
 
BWA HA HA HA HA HA HA! Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic