Hi Alexander,
Thanks for your response!
I've studying the example source code. It works
fine but, like you said, I'm trying to do special
things... here we go:
I have a system that access data by oracle stored
procedures.
My team decided that data must be paginated on
database to avoid excessive web server memory usage.
So, stored procedures receive a given page as
parameter and return records based on that page.
So, I'd like to have an engine that calls a given
stored procedure to get data for a given page on each
pagination request.
I was trying to do that writing a custom
javax.faces.model.DataModel... but it appears hard...
Best regards,
Joao Bortoletto
--- "Jesse Alexander (KBSA 21)"
<[EMAIL PROTECTED]> wrote:
> Hi Joao
>
> Best way to find this out is, to look at the
> samples.
>
> The impression I got was this:
> - You give the complete collection of items to the
> dataTable
> - You configure the datascroller for the datatable
> - Bingo that's all. The table is now "scrollable"
>
> You will need more details only if you are about the
> try
> very special things. And before doing that, it might
> be better
> to "play around" with the standard features.
>
> Now what did you want to do in your
> "pageChangeListener"?
> If you give us more details, we can help you better.
>
> hope this helps
> Alexander
>
> -----Original Message-----
> From: Joao Bortoletto [mailto:[EMAIL PROTECTED]
>
> Sent: Tuesday, June 28, 2005 3:53 PM
> To: [email protected]
> Subject: "x:dataScroller" Event Listener... exists?
>
> Hi friends,
>
> I'm starting a project with MyFaces! It appears
> very cool!!! But I'm having some understand
> problems...
> I've reading the documentation that said "JSF
> works like Struts and Swing".
> So... how can I handle an event over a
> "dataScroler" component?
> Is there any event listener class like
> "pageChangeListener" I can implement?
>
>
> Thanks a lot!
>
> Joao Bortoletto
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com