On 8/15/06, Michel Goldstein <[EMAIL PROTECTED]> wrote:
I see two possibilities: one is to substitute the "Integer.toString(idx)"
for an indirection that allows you to override it; or allow you to override
the whole renderPaginator() code and add your own paginator in place of it.
I'll most likely select the latter and, for the purpose of getting the
project done, create my own subclass of the HtmlDataScrollerRenderer and
implement my custom page rendering mechanism.
Is this a reasonable thing to add to the component itself? I could see if in
the process I can generalize it a little and then submit it for review if
people think it's a valid use case...
Yes, I think just about anything that makes a component more
configurable without impacting the current use is a good thing. When
you have the details worked out (after discussing it on the MyFaces
dev list), open a JIRA issue, and attach a patch. Your patch should
include any tld, taglib, and documentation changes required. It'd
also be very helpful to add an example of using it to the DataScroller
example.