d. Can you show me what your action mapping looks like for */stan1.action?* As far as the missing quotes go, the only way I can view generated source *and* have the content dynamically added to the DOM included, is to use the IE plug in that builds the HTML directly from the DOM tree. This is likely stripping the quotes. If I simply right-click and view source I get this, which does not reveal the "ajax" portion of the file but does have the quotes:
<html> <head> <title>Register</title> </head> <body> <link rel="stylesheet" href="/dsms/struts/xhtml/styles.css" type="text/css"/> <script language="JavaScript" type="text/javascript"> // Dojo configuration djConfig = { baseRelativePath: "/dsms/struts/dojo", isDebug: true, bindEncoding: "UTF-8", debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes }; </script> <script language="JavaScript" type="text/javascript" src="/dsms/struts/dojo/dojo.js"></script> <script language="JavaScript" type="text/javascript" src="/dsms/struts/simple/dojoRequire.js"></script> <script language="JavaScript" type="text/javascript" src="/dsms/struts/ajax/dojoRequire.js"></script> <script language="JavaScript" type="text/javascript" src="/dsms/struts/CommonFunctions.js"></script> <script type="text/javascript" src="js/scripts.js"></script> <html> <body> <table width="100%" border="0"> <tbody> <tr> <td> <img src=".\image\logo.jpg"> The User in Session: </td> <tr> <td> <font size="7" color="#808080"> Dynamic Skills Management System </font> </td> <tr> <td> <a href="/dsms/login!input.action"> Logon </a>  <a href="/dsms/course!input.action">Courses</a>  <a href="/dsms/register!input.action"> Register </a> </td> </tr> </tbody> </table> </body> </html> <form id="registerForm" name="register" onsubmit="return true;" action="/dsms/register.action" method="post"> <table class="wwFormTable"> <tr> <td class="tdLabel"><label for="registerForm_user_username" class="label">User Name:</label></td> <td
<input type="text" name="user.username" size="40" value=""
id="registerForm_user_username"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_password" class="label">Password:</label></td> <td
<input type="text" name="user.password" size="40" value=""
id="registerForm_user_password"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_firstName" class="label">First Name:</label></td> <td
<input type="text" name="user.firstName" size="40" value=""
id="registerForm_user_firstName"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_middleName" class="label">Middle Name:</label></td> <td
<input type="text" name="user.middleName" size="40" value=""
id="registerForm_user_middleName"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_lastName" class="label">Last Name:</label></td> <td
<input type="text" name="user.lastName" size="40" value=""
id="registerForm_user_lastName"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_zip_zip" class="label">Zip Code:</label></td> <td
<input type="text" name="user.zip.zip" size="10" value=""
id="registerForm_user_zip_zip" onblur="javascript:dojo.event.topic.publish ('zipEnteredTopic')"/> </td> </tr> <div dojoType="struts:BindDiv" autoStart="false" id="zipDiv" formId="registerForm" href=" http://localhost:8080/dsms/ZipCode.action" listenTopics="zipEnteredTopic" showError="true"> </div> <tr> <td colspan="2"><div align="right"><input type="submit" id="registerForm_0" value="Save"/> </div></td> </tr> </table></form> <html> <body> <p align="center"><font size="2" color="#808080">Copyright ©2003-2007 The DSMS Software Foundation.</font></p> </body> </html> </body> </html> On 3/14/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- [EMAIL PROTECTED] wrote: > This issue is obviously not a good match for your > skills. The *issue* is a great match for my skills. *You* are not. Verbatim, although I added the surrounding HTML and taglib directive: > <s:url id="zipUrl" > value="http://localhost:8080/dsms/ZipCode.action" /> > > <s:form theme="xhtml" action="register" > method="post" id="registerForm"> > <s:textfield name="user.username" > value="%{user.username}" > label="%{getText('user.username')}" size="40" > labelposition="right" /> > <s:textfield name="user.password" > value="%{user.password}" > label="%{getText('user.password')}" size="40" /> > <s:textfield name="user.firstName" > value="%{user.firstName}" > label="%{getText('user.firstName')}" size="40" /> > <s:textfield name="user.middleName" > value="%{user.middleName}" > label="%{getText('user.middleName')}" size="40" /> > <s:textfield name="user.lastName" > value="%{user.lastName}" > label="%{getText('user.lastName')}" size="40" /> > <s:textfield name="user.zip.zip" > value="%{user.zip.zip}" > label="%{getText('user.zip')}" size="10" > > onblur="javascript:dojo.event.topic.publish('zipEnteredTopic')" > /> > <s:div autoStart="false" formId="registerForm" > theme="ajax" > id="zipDiv" listenTopics="zipEnteredTopic" > href="%{zipUrl}" /> > <s:submit value="%{getText('label.save')}" /> > </s:form> Generates: <html> <body> <form id="registerForm" onsubmit="return true;" action="register" method="post"> <table class="wwFormTable"> <tr> <td class="tdLabel"><label for="registerForm_user_username" class="label">user.username:</label></td> <td ><input type="text" name="user.username" size="40" value="" id="registerForm_user_username"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_password" class="label">user.password:</label></td> <td ><input type="text" name="user.password" size="40" value="" id="registerForm_user_password"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_firstName" class="label">user.firstName:</label></td> <td ><input type="text" name="user.firstName" size="40" value="" id="registerForm_user_firstName"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_middleName" class="label">user.middleName:</label></td> <td ><input type="text" name="user.middleName" size="40" value="" id="registerForm_user_middleName"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_lastName" class="label">user.lastName:</label></td> <td ><input type="text" name="user.lastName" size="40" value="" id="registerForm_user_lastName"/> </td> </tr> <tr> <td class="tdLabel"><label for="registerForm_user_zip_zip" class="label">user.zip:</label></td> <td ><input type="text" name="user.zip.zip" size="10" value="" id="registerForm_user_zip_zip" onblur="javascript:dojo.event.topic.publish('zipEnteredTopic')"/> </td> </tr> <div dojoType="struts:BindDiv" autoStart="false" id="zipDiv" formId="registerForm" href="http://localhost:8080/s2samples/stan/stan1.action" listenTopics="zipEnteredTopic" showError="true"> </div> <tr> <td colspan="2"><div align="right"><input type="submit" id="registerForm_0" value="label.save"/> </div></td> </tr> </table></form> </body> </html> I *completely* fail to understand how your generated HTML doesn't have quotes around the attributes etc. Unless you provide more information I don't see how you think anyone *else* will be able to help you either. What container, what JDK, the normal stuff you'd want to report when faced with an issue like this. d. ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Scott [EMAIL PROTECTED]