Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

built-in .js-prompt verification for html:link ?

 
Nems Vedek
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any built-in function to solve the following:

in admin section there's n+1 users listed and the last column has a <html:link ... /> to "deleteUser.do"-action.

Is there any built-in function in struts that would popup a .js-prompt asking for confirmation to the action? ie. "Are you sure yes/no" or should I just copypaste some .js to the .jsp ?

Thanks...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic