myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aneesha Govil" <popcor...@gmail.com>
Subject Re: Context Sensitivity on DataScroller
Date Mon, 16 Oct 2006 10:46:54 GMT
Hi,

Please tell me if you find a solution to this. I need to do something
similar.

Thanks,
Aneesha

On 10/16/06, balaji.saranathan@wipro.com <balaji.saranathan@wipro.com>
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>
>
> Thanks
> Balaji
>
> 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
>

Mime
View raw message