Yes, right; we should try to get rid of inserting js manually in the page.
In general it should be avoided to do this ugly <body onload=".." > stuff. It should be left in former legacy js times. Try to use something like dojo.addOnload(..). This will cause no unpredictable side effects. But sure, we should fix this in the t:document tag. regards, Gerald On 9/27/06, Remo Liechti <[EMAIL PROTECTED]> wrote:
If we start doing this, we can go back to plain HTML instead of using JSF, can't we? ;) -----Original Message----- From: L Frohman [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 27. September 2006 09:55 To: 'MyFaces Discussion' Subject: RE: Body onload I noticed the same problem. Why can't you just use <body onload="..."> instead of <t:documentBody> -----Original Message----- From: Remo Liechti [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 12:14 AM To: MyFaces Discussion Subject: RE: Body onload Well, I don't have no idea how to develop myfaces. But I can find out some time, havent had the time yet. Well, our page does not work without the onload, so it's a blocker for me. Maybe not for others ;) Remo -----Original Message----- From: Jeff Bischoff [mailto:[EMAIL PROTECTED] Sent: Dienstag, 26. September 2006 16:46 To: MyFaces Discussion Subject: Re: Body onload Actually Remo, I think he was hoping you would provide the fix yourself. If you figure out what needs to be done and post some code on the JIRA, the devs can merge the patch into the trunk for you. The devs have heavy workloads already. So though they may eventually do this improvement without help, if you need it quickly you'll have to pitch in. Don't you think "blocker" priority is a bit excessive? :) Regards, Jeff Bischoff Kenneth L Kurz & Associates, Inc. Remo Liechti wrote: > Sure. https://issues.apache.org/jira/browse/TOMAHAWK-706 > > Remo > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Matthias Wessendorf > Sent: Montag, 25. September 2006 16:58 > To: MyFaces Discussion > Subject: Re: Body onload > > can you open an issue on jira and provide a fix ? > I think that is missing b/c was not needed by the original programmer. > > Thanks. > Matthias > > On 9/25/06, Remo Liechti <[EMAIL PROTECTED]> wrote: >> Hi all >> We are using myFaces 1.1.3. I have to do some javascript when the >> page > is loaded. But there is no onload attribute in <t:documentBody>. How > can this be realized? >> Thanks a lot! >> >> Regards, >> Remo >> >> >> -- >> Remo Liechti >> Application Developer >> Swisslog Warehouse and Distribution Solutions >> >> Direct: +41 (0)62 837 4345 >> Mobile: +41 (0)76 329 8660 >> CH Fax: +41 (0)62 837 4197 >> Internet: www.swisslog.com >> ---------------------------------------------------------------- >> About Swisslog >> Swisslog is a global provider of logistic solutions for warehouses, > distribution centers and hospitals.Swisslog's solutions increase their > customers' flexibility, responsiveness, and quality of service, while > minimizing logistics costs. >> >> This message may contain legally privileged or confidential > information and is therefore addressed to the named persons only. The > recipient should inform the sender and delete this message, if he/she > is not named as addressee. >> The sender disclaims any and all liability for the integrity and > punctuality of this message. The sender has activated an automatic > virus scanning, but does not guarantee the virus free transmission of > this message. >> > > > -- > Matthias Wessendorf > http://tinyurl.com/fmywh > > further stuff: > blog: http://jroller.com/page/mwessendorf > mail: mwessendorf-at-gmail-dot-com > > This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. > The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message. > > > > This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message. This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message.
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

