How to make a popup window in the context of struts?
800344Apr 15 2005 — edited Dec 7 2005Dear JSP/Struts/Javascript Gurus,
Actually I handle the case of business logic errors(e.g. search field is not valid) as follows:
In my action class, I used the "saveErrors(request, myMessage� (note that ActionError myMessage).
In my JSP page, I used <html:errors id="errors"> ... to display it.
Now I would like to have the following functionality:
if there are some errors, then produce a popup modal window to display the message and th block the actual page until the "ok" button is pressed or the popup window is closed.
Could you provide me some ideas?
Regards,
Pengyou