Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Focussing text fields depending on ActionErrors in struts 1.0

 
sreenath reddy
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64975
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic