You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rick Col <ri...@yahoo.com> on 2003/09/23 22:57:28 UTC

How to implement close button in Struts?

Hi,

I have a "close" button on a page, once user clicks
on this button, the window should disappear. How to
do this in Struts?

regards 

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: How to implement close button in Struts?

Posted by Thomas Cornet <th...@cornet.name>.
Something like this should work...

<html:button onclick="window.close();">
         caption
</html:button>

Thomas

At 22:57 23/09/2003, you wrote:
>Hi,
>
>I have a "close" button on a page, once user clicks
>on this button, the window should disappear. How to
>do this in Struts?
>
>regards
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org