I have given up on t:dataScroller because it creates a
HTMLCommnadLink component for all the Facets. So anything under these are going
to be rendered as a link.
I'm trying to use and scroll through my table objects
myself now.
Thanks
Balaji
From: Aneesha Govil [mailto:[EMAIL PROTECTED]
Sent: Monday, October 16, 2006 4:17 PM
To: MyFaces Discussion; Balaji Saranathan (WT01 - IP-Multimedia Carrier & Ent Networks)
Subject: Re: Context Sensitivity on DataScroller
Please tell me if you find a solution to this. I need to do something similar.
Thanks,
Aneesha
On 10/16/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
wrote:
Hi,I use the t:dataScroller component to get the First | Previous | Next | Last.However, I would like to have the context sensitivity to enable and disable these links based on the row Count of the table. Is this a configuration parameter in dataScroller or should I implement it myself?My code looks like below so far.<t:dataScroller id="Scroller" for="Table" fastStep="#{TranslatorEventHandler.rowCount}" styleClass="scroller"> <f:facet name="first" > <h:outputText value="#{genericBundle.first}" /> </f:facet> <f:facet name="previous" > <h:outputText value="#{genericBundle.previous}" /> </f:facet> <f:facet name="next" > <h:outputText value="#{genericBundle.next}" /> </f:facet> <f:facet name="last" > <h:outputText value="#{genericBundle.last}" /> </f:facet> </t:dataScroller>ThanksBalaji
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 |

