my dog learned polymorphism*
The moose likes Struts and the fly likes Struts Validator  Messages Property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validator  Messages Property" Watch "Struts Validator  Messages Property" New topic
Author

Struts Validator Messages Property

Yokuo Kashiro
Greenhorn

Joined: Jul 21, 2009
Posts: 2
Hi,

I have a JSP with three types of messages: warn, errors and messages of validator framework of struts 1.3.8.

All have custom css and, as far I searched, the only way to show Validator messages is:



Even using ActionMessages.GLOBAL_MESSAGE as property attribute of html:errors tag, show anything:


So, when I have others messages, it shows twice: in proper place and the one for validator messages.

Is there a way to set a property for validator messages as for the others ones like below:




Thanks in advance
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts Validator Messages Property
 
Similar Threads
Checking for an ActionMessage in the JSP
How to ActionErrors and ActionError
Where should I perform validation with database connectivity?
Handling Messages (v1.2.9)
Error Message Not Displaying on JSP(URGENT)