Hi
This sounds like a good idea.
/Jeppe
Tim Fennell (JIRA) wrote:
[ http://mc4j.org/jira/browse/STS-154?page=all ]
Tim Fennell updated STS-154:
----------------------------
Fix Version: Release 1.4
I think we can go one better than this. I think it'd probably be specified in a similar manner:
<stripes:form ... focus="username"/>
The additions I'd like to make are these:
- Add focus to the field *only if* another field doesn't have focus yet
- When validaiton errors exist, focus into first field with errors instead
How does that sound?
Can we add a focus attribute to stripes:form just like struts:form does?
-------------------------------------------------------------------------
Key: STS-154
URL: http://mc4j.org/jira/browse/STS-154
Project: Stripes
Type: Improvement
Components: Tag Library
Versions: Release 1.2.2
Environment: Windows XP / jboss-4.0.4RC1
Reporter: Kevin Wang
Assignee: Tim Fennell
Priority: Minor
Fix For: Release 1.4
Can we add a focus attribute to stripes:form just like struts:form does? I know I can do it by adding script by myself but it will make developers' life easier if it does.
|
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development