I generate the arguments to the scripts on the server. when the jsp is being executed and passed to the client. What i don't know how to do is to figure out when to make the call. The img tag doesn't call the onload when it is loaded. I think i am just going to inline the script call. I was hoping for a little more formality - since regular html will call onload.
-----Original Message----- From: Eddie Bush [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:46 AM To: Struts Users Mailing List Subject: Re: OnLoad JavaScript is on the client. Your "request-scoped variables" are on the server. I don't see how you'd manage this unless you somehow wrote the variables values into your JavaScript somehow. Essentially, you'd have to generate your script "on-the-fly". Ray Madigan wrote: >I am working in a jsp and I have found the item im looking for. > >I write out an <img that represents the current selected item. >Now I want to inform another frame that something occured. There >is no onload javascript handler for the <img tag like there is >in it's html equilivant? The arguments for the javascript need >to be able to look at request scope variables? Anyone know how >to accomplish this? > >Thanks >RayM > -- Eddie Bush --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]