#2 Can\'t include more than one swapper tag in a JSP

closed
None
5
2006-11-29
2006-11-28
Anonymous
No

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.

Discussion

  • Tamas Szabo

    Tamas Szabo - 2006-11-29
    • assigned_to: nobody --> szabtam
    • summary: Can't include more than one swapper tag in a JSP --> Can\'t include more than one swapper tag in a JSP
     
  • Tamas Szabo

    Tamas Szabo - 2006-11-29
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks