struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Villegas, Courtney" <Ville...@tri-met.org>
Subject RE: Javascript and Struts
Date Thu, 13 Jun 2002 21:03:32 GMT
can I feed an action into Javascript?

This is what my struts link would look like to forward to another page:
	<html:link page="/reportNav.do?action=Load">

and this is what my javascript looks like to open the new browser window
	openWindow('reportDelivery', '/budsDev/jsp/reportDeliveryQP.jsp',1,
350, 300)

How can I combine the two?

thanks








-----Original Message-----
From: greg rebuck [mailto:greg_rebuck@navigators.org]
Sent: Thursday, June 13, 2002 2:01 PM
To: Struts Users Mailing List
Subject: Re: Javascript and Struts


We've done this.  It's really no different, I think, than using Javascript
with
vanilla JSP/Servlets.

"Villegas, Courtney" wrote:

> Is it possible to mix javascript and struts?  I want to create a popup
> window that is opened through an action.
>
> There was some talk of doing this about a month ago, but I looked on the
> user-list archives and couldn't find any information.
>
> Any help would be greatly appreciated.
>
> Thanks!!!
> Courtney
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
AKA Darth MacDougal, Jedi Knight from the Plaid Side of the Force



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

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


Mime
View raw message