• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem using nested:messagesPresent tag

 
daya mukiri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using nested:messagesPresent to display the field errors in a table.
My intention is to highlight the field in error in red.

But what is happening is supposing if there are 4 records in the table and 1st row 1st field is in error,it is not only higlighting that field but all the 1st fields in all the 4 rows, which is not expected.

Please let me know the solution for this problem.Thanks in advance.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Show us your code.
 
Nyanas Kandhan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For an example on Highlighting Error Fields you can refer here.

Struts Highlighting Error Fields

regards
Struts Developer

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic