File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "rich:datascroller - tell javascript what page it Watch "rich:datascroller - tell javascript what page it New topic
Author

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

kirk israel
Greenhorn

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 http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/rich_datascroller.html

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?)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: rich:datascroller - tell javascript what page it's on
 
Similar Threads
Best Practice and proper syntax
client-side scripting?
How to check the display screen size?
Security Related Error in Servlet Application
File size check