aspose file tools*
The moose likes Struts and the fly likes problem using nested:messagesPresent tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem using nested:messagesPresent tag" Watch "problem using nested:messagesPresent tag" New topic
Author

problem using nested:messagesPresent tag

daya mukiri
Greenhorn

Joined: Nov 02, 2005
Posts: 7
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

Joined: Feb 15, 2005
Posts: 4864
Show us your code.


Merrill
Consultant, Sima Solutions
Nyanas Kandhan
Ranch Hand

Joined: Jan 27, 2009
Posts: 35
For an example on Highlighting Error Fields you can refer here.

Struts Highlighting Error Fields

regards
Struts Developer


regards,
Nyanaskandhan
 
jQuery in Action, 2nd edition
 
subject: problem using nested:messagesPresent tag