Re: BODY onLoad Workaround

2004-03-03 Thread Joe Germuska
So I have a Struts/Tiles page that I need to have a Javascript function called on when the page loads. Normally this is of course accomplished with the BODY onLoad event however this event isn't fired when my page loads and from doing extensive Googling I've found that this has somethin

RE: BODY onLoad Workaround

2004-03-03 Thread James MacKenzie
I had this problem but I just used a tiles tag from the tiles page. In my page which brings in the Body tag; > >From the calling page eg... Hope this helps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: BODY onLoad Workaround

2004-03-03 Thread McCormack, Chris
To: Struts Users Mailing List Subject: Re: BODY onLoad Workaround Alan, I don't see any problem with using the BODY onLoad event handler. I also searched on Google and found several instances where others are using it without any problems. What does your code look like? What happens when you do a

RE: BODY onLoad Workaround

2004-03-02 Thread Alan Weissman
cause with you :) Thanks again, Alan -Original Message- From: Alan Weissman [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 6:19 PM To: 'Struts Users Mailing List' Subject: RE: BODY onLoad Workaround Unfortunately, this does not change the behavior. Would it be

RE: BODY onLoad Workaround

2004-03-02 Thread Alan Weissman
List Subject: RE: BODY onLoad Workaround Try putting a semicolon after your alert() call. It works for me. wrote: > Ok something incredibly strange is afoot: > > If I do a view source and save the source code, then > load the page from > the file system, the alert() works. > &g

RE: BODY onLoad Workaround

2004-03-02 Thread Richard Yee
g, it is not called. > > > > I have never run into anything like this before. > Though I'm starting to > > think this might not be a Struts/Tiles thing. > > > > Any thoughts? > > > > Thanks so much, > > Alan > > > > -Original Me

RE: BODY onLoad Workaround

2004-03-02 Thread Alan Weissman
iling List' Subject: RE: BODY onLoad Workaround You cannot have an empty alert. At least under Firefox browser: That is: This works: THe doc body. But this doesn't: THe doc body. You can also try validating your page: http://validator.w3.org/ You may have some bad HTML -R^3

RE: BODY onLoad Workaround

2004-03-02 Thread Richard Yee
. > > Any thoughts? > > Thanks so much, > Alan > > -Original Message- > From: Alan Weissman > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 02, 2004 6:03 PM > To: 'Struts Users Mailing List' > Subject: RE: BODY onLoad Workaround > >

RE: BODY onLoad Workaround

2004-03-02 Thread russo
eissman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 02, 2004 6:03 PM > To: 'Struts Users Mailing List' > Subject: RE: BODY onLoad Workaround > > Hey Mark, could you explain what you mean? I've tried shutting down > Tomcat and restarting, which shouldn't ma

RE: BODY onLoad Workaround

2004-03-02 Thread Alan Weissman
PM To: 'Struts Users Mailing List' Subject: RE: BODY onLoad Workaround Hey Mark, could you explain what you mean? I've tried shutting down Tomcat and restarting, which shouldn't make a difference. I can also verify that onload="alert()" is part of the page by

RE: BODY onLoad Workaround

2004-03-02 Thread Alan Weissman
lto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 6:00 PM To: Struts Users Mailing List Subject: Re: BODY onLoad Workaround I guess its possible that the layout isn't getting reloaded with the tiles request. an iframe or an image will do as a quick hack. On 2 Mar 2004, at 23:51, Alan

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
:53 PM To: Struts Users Mailing List Subject: Re: BODY onLoad Workaround Hi Alain, I have used the body onload successfully http://order.scarlet.be/order/adsl/start.do?language=nlĀ®code=PIBUS- WS &accode=AcUjjdIK&product=One Using it quite often... I dont have the struts source code here at hom

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
/wiki/retep/taglib/common/onload/index.html Thanks again, Alan -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 5:45 PM To: Struts Users Mailing List Subject: Re: BODY onLoad Workaround Alan, I don't see any problem with using the BODY onLoad

RE: BODY onLoad Workaround

2004-03-02 Thread Alan Weissman
-tiles.tld" prefix="tiles" %> -Original Message- From: Alexander Craen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 5:53 PM To: Struts Users Mailing List Subject: Re: BODY onLoad Wo

Re: BODY onLoad Workaround

2004-03-02 Thread Alexander Craen
.. grtz Alexander Craen - Original Message - From: "Richard Yee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, March 02, 2004 11:44 PM Subject: Re: BODY onLoad Workaround > Alan, > I don't see any problem

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
completely? Thanks, Alan -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 5:34 PM To: Struts Users Mailing List Subject: Re: BODY onLoad Workaround Iframe would be one possible hack. Have the page that loads run a javascript function that drills

RE: BODY onLoad Workaround

2004-03-02 Thread Alan Weissman
Mailing List Subject: Re: BODY onLoad Workaround Alan, I don't see any problem with using the BODY onLoad event handler. I also searched on Google and found several instances where others are using it without any problems. What does your code look like? What happens when you do a view/source

Re: BODY onLoad Workaround

2004-03-02 Thread Richard Yee
Alan, I don't see any problem with using the BODY onLoad event handler. I also searched on Google and found several instances where others are using it without any problems. What does your code look like? What happens when you do a view/source in the browser? Have you tried using Netscape and looki

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
correction On 2 Mar 2004, at 23:33, Mark Lowe wrote: Iframe would be one possible hack. Have the page that loads run a javascript function that drills back up to your page. or an onload on an image, or simply execute the function in the page. lastly have something like this in your layout

RE: BODY onLoad Workaround

2004-03-02 Thread Alan Weissman
Users Mailing List Subject: Re: BODY onLoad Workaround Iframe would be one possible hack. Have the page that loads run a javascript function that drills back up to your page. or an onload on an image, or simply execute the function in the page. lastly have something like this in your layout

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
Iframe would be one possible hack. Have the page that loads run a javascript function that drills back up to your page. or an onload on an image, or simply execute the function in the page. lastly have something like this in your layout