Using the beta7 of the jwp taglib, I created a JSP that uses the
swapper tag. It works just fine unless one tries to have more than
one swapper on the same page, which is my case. E.g., if you have two
swapper tags, only the second one works and all control buttons of
the first one act on the second one. Taking a look at the page
source, I notices that the "swapper id" is not given to the JS
functions and all functions are named identically. As a result, all
controls will then act on the last defined swapper of the page.
Passing the tag id to functions or having unique function names
should correct this bug.
Log in to post a comment.