Yes they are in the page source. Here is the page source <<<
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <!-- HTTP 1.1 --> <meta http-equiv="Cache-Control" content="no-store"/> <!-- HTTP 1.0 --> <meta http-equiv="Pragma" content="no-cache"/> <!-- Prevents caching at the Proxy Server --> <meta http-equiv="Expires" content="0"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="generator" content="AppFuse 2.0" /> <!-- leave this for stats please --> <link rel="icon" href="/images/favicon.ico"/> <title>Sign Up | Games Curry</title> <link rel="stylesheet" type="text/css" media="all" href="/styles/andreas01/theme.css" /> <link rel="stylesheet" type="text/css" media="print" href="/styles/andreas01/print.css" /> <script type="text/javascript" src="/scripts/prototype.js"></script> <script type="text/javascript" src="/scripts/scriptaculous.js"></script> <script type="text/javascript" src="/scripts/global.js"></script> <script type='text/javascript' src="/dwr/engine.js"></script> <script type='text/javascript' src="/dwr/util.js"></script> <meta name="heading" content="New User Registration"/> <script type='text/javascript' src='/dwr/interface/GamesCurryUserManager.js'></script> </head> <body id="signup"> <div id="page"> <div id="header" class="clearfix"> <hr /> </div> <div id="content" class="clearfix"> <div id="main"> <h1>New User Registration</h1> <div class="separator"></div> <script type="text/javascript" src="/struts/css_xhtml/validation.js"></script> <form namespace="/" id="signup" name="signupForm" onsubmit="return validateForm_signup();" action="/signup.html" method="post"><ul> <input type="hidden" name="signupAs" value="developer" id="signup_signupAs"/> <li class="info"> Please enter your user information in the form below. </li> <table border="0" cellspacing="0" cellpadding="0" > <tr> <td> <li id="wwgrp_signup_user_username" class="wwgrp"> <div id="wwlbl_signup_user_username" class="wwlbl"> <label for="signup_user_username" class="desc"> Username *</label> </div> <div id="wwctrl_signup_user_username" class="wwctrl"> <input type="text" name="user.username" value="" id="signup_user_username" class="text large" onblur="javascript:alert('test');"/></div> </li></td> </tr> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" > <tr> <td > javascript:doesUserExist(); Check availability </td> <td> </td> <td> <div id="userAvailDiv" style="height:4px;visibility:hidden"> <table cellspacing="0" cellpadding="0"> <tbody id="userAvailResult"> </tbody> </table> </div> </td> </tr> </table> </td> </tr> </table> <li> <div> <div class="left"> <label for="signup_user_password" class="desc">Password *</label><input type="password" name="user.password" value="" id="signup_user_password" class="text medium"/> </div> <div> <label for="signup_user_confirmPassword" class="desc">Confirm Password *</label><input type="password" name="user.confirmPassword" value="" id="signup_user_confirmPassword" class="text medium"/> </div> </div> </li> <li id="wwgrp_signup_user_passwordHint" class="wwgrp"> <div id="wwlbl_signup_user_passwordHint" class="wwlbl"> <label for="signup_user_passwordHint" class="desc"> Password Hint *</label> </div> <div id="wwctrl_signup_user_passwordHint" class="wwctrl"> <input type="text" name="user.passwordHint" value="" id="signup_user_passwordHint" class="text large"/></div> </li> <li> <div> <div class="left"> <label for="signup_user_firstName" class="desc">First Name *</label><input type="text" name="user.firstName" value="" id="signup_user_firstName" class="text medium"/> </div> <div> <label for="signup_user_lastName" class="desc">Last Name *</label><input type="text" name="user.lastName" value="" id="signup_user_lastName" class="text medium"/> </div> </div> </li> <table border="0" cellspacing="0" cellpadding="0" > <tr> <td> <label for="signup_user_email" class="desc">E-Mail *</label><input type="text" name="user.email" value="" id="signup_user_email" class="text medium"/></td> <td> <label for="signup_user_phoneNumber" class="desc">Phone Number</label><input type="text" name="user.phoneNumber" value="" id="signup_user_phoneNumber" class="text medium"/> </td> </tr> <tr> <td colspan="2"> <table border="0" cellspacing="0" cellpadding="0" > <tr> <td > javascript:doesEmailExist(); Signed up with same email id? </td> <td> </td> <td> <div id="emailUsedDiv" style="height:4px;visibility:hidden"> <table cellspacing="0" cellpadding="0"> <tbody id="emailUsedResult"> </tbody> </table> </div> </td> </tr> </table> </td> </tr> </table> <li> <div> <div class="left"> <label for="signup_user_email" class="desc">E-Mail *</label><input type="text" name="user.email" value="" id="signup_user_email" class="text medium"/> </div> <div> <label for="signup_user_phoneNumber" class="desc">Phone Number</label><input type="text" name="user.phoneNumber" value="" id="signup_user_phoneNumber" class="text medium"/> </div> </div> </li> <li id="wwgrp_signup_user_website" class="wwgrp"> <div id="wwlbl_signup_user_website" class="wwlbl"> <label for="signup_user_website" class="desc"> Website *</label> </div> <div id="wwctrl_signup_user_website" class="wwctrl"> <input type="text" name="user.website" value="" id="signup_user_website" class="text large"/></div> </li> <li> <label class="desc">Address</label> <div class="group"> <div> <input type="text" name="user.address.address" value="" id="signup_user_address_address" class="text large"/><p><label for="signup_user_address_address" > Address </label></p> </div> <div class="left"> <input type="text" name="user.address.city" value="" id="signup_user_address_city" class="text medium"/><p><label for="signup_user_address_city" > City *</label></p> </div> <div> <input type="text" name="user.address.province" value="" id="signup_user_address_province" class="text state"/><p><label for="signup_user_address_province" > State *</label></p> </div> <div class="left"> <input type="text" name="user.address.postalCode" value="" id="signup_user_address_postalCode" class="text medium"/><p><label for="signup_user_address_postalCode" > Zip *</label></p> </div> <div> <select name="user.address.country" id="user.address.country" class="select"> <option value="" selected="selected"></option> <option value="AL">Albania</option> </select> <p> <label for="user.address.country"> Country * </label> </p> </div> </div> </li> <p> <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6Lc-swEAAAAAAJd8xhq_-BRVs8eN0fUNv0Y3OxJP"> </script> <script> var RecaptchaOptions = { theme : 'blackglass', tabindex : 0 }; </script> <noscript> <iframe src="http://api.recaptcha.net/noscript?k=6Lc-swEAAAAAAJd8xhq_-BRVs8eN0fUNv0Y3OxJP" height="300" width="500" frameborder="0"></iframe><br> <textarea name="recaptcha_challenge_field" rows="3" cols="40"> </textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"> </noscript> <p> <li class="buttonBar bottom"> <div align="right" id="wwctrl_signup_button_register"><input type="submit" id="signup_button_register" name="button.register" value="Signup" class="button"/> </div> <div align="right" id="wwctrl_signup_cancel"><input type="submit" id="signup_cancel" name="cancel" value="Cancel" class="button"/> </div> </li> </ul> </form> <script type="text/javascript"> function validateForm_signup() { form = document.getElementById("signup"); clearErrorMessages(form); clearErrorLabels(form); var errors = false; return !errors; } </script> <script type="text/javascript"> // Form.focusFirstElement(document.forms["signupForm"]); </script> <script type="text/javascript"> String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g,""); } //# //# Utility function clearing a HTML-element of all children. //# Called to clear any previouse entered information from the detail tables. //# function clearHtml(node) { while(node.firstChild != null) { node.removeChild(node.firstChild); } } //a global variable to store the data between server-calls. //calls to DWR-Managers perform asynchrounasly... var userNameControlId; //# //# This function gets called onMouseOver and retrieves the data from the server. //# function doesUserExist() { var uNameCtrlId = "signup_user_username"; var userName = document.getElementById("signup_user_username").value; // If userName is null, show error if (userName == null || userName.trim().length == 0) { document.getElementById("userAvailResult").innerHTML = "<tr><td>User name is required.</td></tr>"; document.getElementById("userAvailDiv").style.visibility='visible'; } else { //store the controlId for further use userNameControlId = uNameCtrlId; //retrive the job details from the server. GamesCurryUserManager.doesUserExist(userName, showUserNameResult); //show the div containing the details table. document.getElementById("userAvailDiv").style.visibility='visible'; } } //# //# A callback funtion beeing called from DWR. The parameter is inserted by DWR and //# will be the result //# It inserts the job information table. This is done using DWRUtil.addRows. //# function showUserNameResult(result) { //clear all inner html from the table containing the job information. clearHtml(document.getElementById("userAvailResult")); //append a row in table DWRUtil.addRows("userAvailResult", [result], [displayUserNameResult]); } //# //# Another callback function beeing called from DWRUtil.addRows. //# function displayUserNameResult(result) { var returnStr; if (result == true) { returnStr = "Username is unavailable!"; } else { returnStr = "No, you can signup with this email id."; } return returnStr; } //a global variable to store the data between server-calls. //calls to DWR-Managers perform asynchrounasly... var emailIdControlId; //# //# This function gets called onMouseOver and retrieves the data from the server. //# function doesEmailExist() { var emailCtrlId = "signup_user_email"; var email = document.getElementById("signup_user_email").value; // If userName is null, show error if (email == null || email.trim().length == 0) { document.getElementById("emailUsedResult").innerHTML = "<tr><td>Email Id is required.</td></tr>"; document.getElementById("emailUsedDiv").style.visibility='visible'; } else { //store the controlId for further use emailIdControlId = emailCtrlId; //retrive the job details from the server. GamesCurryUserManager.doesEmailExist(userName, showEmailResult); //show the div containing the details table. document.getElementById("emailUsedDiv").style.visibility='visible'; } } //# //# A callback funtion beeing called from DWR. The parameter is inserted by DWR and //# will be the result //# It inserts the job information table. This is done using DWRUtil.addRows. //# function showEmailNameResult(result) { //clear all inner html from the table containing the job information. clearHtml(document.getElementById("emailUsedResult")); //append a row in table DWRUtil.addRows("emailUsedResult", [result], [displayEmailResult]); } //# //# Another callback function beeing called from DWRUtil.addRows. //# function displayEmailResult(result) { var returnStr; if (result == true) { returnStr = "Yes, email has been used to signup already!"; } else { returnStr = "???email.used???"; } return returnStr; } </script> </div> <div id="nav"> <div class="wrapper"> <h2 class="accessibility">Navigation</h2> <ul id="primary-nav" class="menuList"> <li class="pad"> </li> <li> /login.jsp Login </li> </ul> </div> <hr/> </div><!-- end nav --> </div> </div> </div> </body> </html> >>> Thanks, Aakhunaten mraible wrote: > > If you do a view-source on the page, are these elements present on your > input fields? > > On Mon, May 12, 2008 at 8:05 AM, Aakhunaten <[EMAIL PROTECTED]> wrote: > >> >> signup.jsp does not call highlightFormElements(); >> >> I tried commenting out the other statement >> >> Form.focusFirstElement(document.forms["signupForm"]); >> >> Still no effect. >> >> I tried another jsp where highlightFormElements() is called, still no >> effect. >> >> onblur, onfocus... none of these events seem to be triggered. >> >> Thanks, >> Aakhunaten >> >> >> >> mraible wrote: >> > >> > I'd try commenting out the following line of JavaScript at the bottom >> of >> > the >> > page and see if that helps: >> > >> > highlightFormElements(); >> > >> > Matt >> > >> > On Sun, May 11, 2008 at 11:45 PM, Aakhunaten <[EMAIL PROTECTED]> >> wrote: >> > >> >> >> >> I am using AppFuse 2.0.1 with the Struts2 archetype. I see that none >> of >> >> my >> >> javascripts events get triggered. I feel stupid even posting this, >> since >> >> no >> >> one has reported any such issue. >> >> >> >> For example, if i add even an alert to the obblur event for a textbox >> on >> >> say >> >> the signup.jsp, it is not triggered. >> >> >> >> <s:textfield key="user.username" cssClass="text large" required="true" >> >> onblur="javascript:alert('test');"/> >> >> >> >> Any reason why this should not work?! >> >> >> >> Thanks. >> >> Aakhunaten >> >> >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/onblur-not-working-tp17181860s2369p17181860.html >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/onblur-not-working-tp17181860s2369p17188228.html >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/onblur-not-working-tp17181860s2369p17189896.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
