I checked the archives on this, but couldn't find an answer.  I'm
modifying the velocity-nicetabs example to try out struts-menu and
struts-layout for an application I'm building.  Within the "content"
block I have:

<layout:form action="logonAction.do">
  <layout:field key="logon.userid" property="userId"/>
  <layout:field key="logon.password" property="password"/>
  <layout:formActions>
    <layout:submit property="submit" value="Submit"/>
  </layout:formAction>
<layout:form>

Clicking the submit button works just fine (as you would expect), but
I'd like the submit to also occur if a user clicks on another tab
instead of clicking the submit.  I've added
onclick="document.logonForm.submit();" to the menu-config.xml but the
submit doesn't occur.  

Any suggestions?

Thanks.

-- 
"Never speak more clearly than you think." (Bernstein)
Key ID:  F0533BB6




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user

Reply via email to