Tapestry inserts code to select the first ValidField it finds that is either
required and blank, or in error.

----- Original Message -----
From: "Franky Niagara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 2:57 AM
Subject: [Tapestry-developer] JavaScript Trouble


Hello

in the <initialization> section I have this code:

<initialization>
loadForm();
</initialization>

here is the function loadForm

function loadForm() {   window.alert("example"); }
-----------

but Tapestry inserts its own:

function tapestry_onLoad()
{

loadForm();

document.Form0.inputUserName.focus();    //    <----- what is it?
document.Form0.inputUserName.select();   //    <-------|
}

i want simple :

function tapestry_onLoad()
{

loadForm();

}






_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to