You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Michael Heinen <mh...@recommind.com> on 2006/05/04 17:49:50 UTC

t:datascroller and missing javascript event handlers

Is there any reason that t:datascroller does not provide an onclick
attribute or javascript event handlers?

 

I have to execute some javascript in order to show a confirmation
dialogue if data has been changed on my form but not saved.

I could add onclick attributes to the facets (first, last, previous,
next) but how can I add this to the paginator?

 

Thank in advance

Michael


Re: t:datascroller and missing javascript event handlers

Posted by Mike Kienenberger <mk...@gmail.com>.
On 5/4/06, Michael Heinen <mh...@recommind.com> wrote:
> Is there any reason that t:datascroller does not provide an onclick
> attribute or javascript event handlers?
>
> I have to execute some javascript in order to show a confirmation dialogue
> if data has been changed on my form but not saved.
>
> I could add onclick attributes to the facets (first, last, previous, next)
> but how can I add this to the paginator?

Probably because no one has needed the behavior up to this point. 
Feel free to open a Jira issue and submit patches.