Thanks Jeff.
I tried the option given by you. If I display the scroller on top of
data table, scroller works.
I have to display the scroller in the bottom of the data table as well.
If I put another scroller after t:dataTable, scroller is coming. ]
However, the top scroller stops working. Also, there is one additional
link shown with all the page no.s together as 123456789.
The code snippet is as shown below.
<h:panelGrid>
// Data scroller on top.
<t:dataScroller ... /> // To display 1/20 of 35 records
etc.
<t:dataScroller ... /> // To display Paginator
<t:dataTable ... />
// If another data scroller is added here, it is not displayed.
</h:panelGrid>
// Data scroller in bottom.
<t:dataScroller ... /> // To display 1/20 of 35 records etc.
<t:dataScroller ... /> // To display Paginator
Please let me know if I'm doing any thing wrong. If you can send sample
code, I would be very thankful.
Thanks,
Kiran
-----Original Message-----
From: Jeff Bischoff [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 28, 2006 9:21 PM
To: MyFaces Discussion
Subject: Re: Problems with Datascroller on Top of Datatable with
t:buffer
Kiran,
Yes, you do not need to use t:buffer to get datascrollers working above
the dataTable. The other workaround is to enclose them both in a parent
component which renders its children (e.g. h:panelGroup). In this case,
they will be rendered at the same time and the dataTable can be
pre-referenced by the dataScroller above.
I have tested this solution thoroughly in MyFaces 1.1.3, 1.1.4, and the
current trunk.
Regards,
Jeff Bischoff
Kenneth L Kurz & Associates, Inc.
[EMAIL PROTECTED] wrote:
> I am using MyFaces 1.1.1 & Tomahawk for my web application.
>
> I am displaying Data scroller on top of Datatable using t:buffer.
>
> But occasionally, the Datalist & Scroller gets distorted. (i.e.
> Scrollers come multiple times or datatable not rendered at all etc.).
It
> can be easily reproduced if the scroller pages are selected in quick
> succession.
>
> Please let me know if there is any workaround to fix this.
>
> Please also let me know if there is any other alternative to display
> scroller on top of datatable.
>
>
>
> Thanks & Regards,
>
> Kiran
>
>
>
>
>
>
> The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
>
> www.wipro.com
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by this
email.
www.wipro.com