aspose file tools*
The moose likes JSP and the fly likes Focussing text fields depending on ActionErrors in struts 1.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Focussing text fields depending on ActionErrors in struts 1.0" Watch "Focussing text fields depending on ActionErrors in struts 1.0" New topic
Author

Focussing text fields depending on ActionErrors in struts 1.0

sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415
Hi
I have a problem while doing my project using struts 1.0 .I have a jsp with multiple text fields and I am validating the fields using serevrside validation by overiding the validate() method in my form bean and am displaying the errors using <htnl:errors/> and I need to focus to the particluar field depending up on the error?
How can I achieve this focusing of the fields using struts tags r any alternative way ? in 1.1 we have a way of doing by using <logic:messagesPresent> but in 1.0 we don�t have this ��.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61226
    
  66

Moving to the Struts forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Focussing text fields depending on ActionErrors in struts 1.0