Dakota Jack wrote:

Anyone have some code on using JavaScript to open and close popup
windows with a Struts Action?  Thanks.

Jack



I like very much:

<html:form action="/yourAction" ... target="dontCareThatName" onsubmit="window.open('',this.target,'scroolbar=no, toolbar=no');return true;">
<html:text...>
<html:hidden>
</html:form>


The output of yourAction will be shown in the popup, and all your form fields are brought the normal way to yourAction
with no need to put them into a big query string after the url in the open() function.


Wolfgang

Reply via email to