File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to make the form set focus on the submit button by default.
Joined: May 20, 2004
Jul 05, 2004 08:16:00
I just have a quick question. If I want a form to set the default on a submit button in Struts, I would have the following
<html:form action="/findUsers" focus='accesslist.returntosearch'> <html:submit> <bean:message key='accesslist.returntosearch'/> </html:submit> </html:form>
now my question is can i still use the key "'accesslist.returntosearch' in the "focus" field of the <html:form>?
let me know
I agree. Here's the link:
subject: how to make the form set focus on the submit button by default.
Multiple Submit Buttons?
Submitting Input fields in struts
Submitting a struts form outside of the form body
"enter key" button focus ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014