wandoledzep/bxslider — pull request #54 by STRML (2011-11-15 18:32:42+00:00)
Title: Pull request - JSF fixes

Hello,

I work on an application running on RichFaces and Seam, and we really like your bxSlider. We use it in a lot of places, even though RichFaces has a similar tabbing component that can be modified to do similar actions - bxSlider's transitions and control is far better, and it doesn't get in the way of our styling.

JSF and the A4j library allows a variety of page actions, but they are based on component ID. I noticed when using your script that the prepending of the final object in a slideshow to the beginning of the slideshow (for infinite scrolling) causes problems with A4j because there are now duplicated IDs on the page.

The small fix attached turns off this prepending when infiniteLoop is false. This fixed the issue in our application, as long as we set infiniteLoop to false.

I know this is an edge case but I figured you might appreciate the patch.

Thanks for all your work!

-Samuel Reed
sreed@linkedsenior.com