Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSF and the fly likes rich:datascroller - tell javascript what page it's on Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "rich:datascroller - tell javascript what page it Watch "rich:datascroller - tell javascript what page it New topic

rich:datascroller - tell javascript what page it's on

kirk israel

Joined: May 28, 2009
Posts: 27
Is there a way to get the richfaces datascroller object to tell some client side javascript what page it's on?

My project has specified some kind of annoying behavior for the multiselect checkboxes we've implemented, and they require knowing that what page the scroller is on, and when a page has been changed ...

To specify, I see

there is a
onpagechange HTML: script expression; a page is changed
but I'm not sure if there is some kind of param or variable I can read that will tell me what the current page is, either a page-level global variable or a way of passing the information to a function within that HTML : script expression... (and how does "HTML: script expression" vary from the "The client side script methods" used in the other things onclick?)
subject: rich:datascroller - tell javascript what page it's on
Similar Threads
File size check
Security Related Error in Servlet Application
Best Practice and proper syntax
client-side scripting?
How to check the display screen size?