This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Ajax Dialog - Parameters passing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Ajax Dialog - Parameters passing" Watch "Ajax Dialog - Parameters passing" New topic
Author

Ajax Dialog - Parameters passing

Imre Tokai
Ranch Hand

Joined: Jun 04, 2008
Posts: 130
I fill a jsp page with:




I want to click on 1 licensePlate and to display an Ajax dialog (message) with 2 buttons : delete License plate? Yes/No
I want to pass somehow the license plate's number to that ajax dialog, to know which license plate needs to be ereased.

How can i pass the parameter?


Regards


P.S.
I initialize the ajax part via:


in jsp page i use onclick event for calling method displayMessage
 
 
subject: Ajax Dialog - Parameters passing