Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

onkeyup event in custom tags

 
manisha Gupta Garg
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to include “onkeyup” event in custom tags in jsp?

We have one custom tag called “reportadmin” as follows-



We need to have onkeyup event in this tag. The above tag is being used for displaying the list of application from database in the form of <select> combobox.
After selecting the application from this, the another combobox having groups under that application is to be reloaded.

I have defined the “onkeyup” attribute in .tld file and have included getter setter methods for “onkeyup” in class file.
Please guide me how to proceed.

Thanks,
Manisha
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you already have the attribute set up and working, just make sure that the HTML you generate contains the correct markup to represent the event attribute.
 
manisha Gupta Garg
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks !

it worked using "onblur" event.

Thanks,
Manisha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic