Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes built-in .js-prompt verification for html:link ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "built-in .js-prompt verification for html:link ? " Watch "built-in .js-prompt verification for html:link ? " New topic

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

Nems Vedek

Joined: Sep 26, 2005
Posts: 9
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 ""-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 ?

I agree. Here's the link:
subject: built-in .js-prompt verification for html:link ?
Similar Threads
call action with javascript
servlet action is not available
Pop up from an html:link with an action attribute
Need help on how to call a struts action using javascript
Pop up from an html:link with an action attribute