This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ActionMessages & logic:messagesPresent

 
Alessandro Ilardo
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I can't display any error on the jsp. On a DispatchAction class I've the following method invoked by catch statements


and on my jsp

The logger correctly display my message but I still can't see anything.
Any suggestions?
 
Jaap v Hengstum
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When iterating over messages saved with saveErrors(...), the message attribute of the logic:messagesPresent and html:messages tags should be false.

If this attribute is true the tags will iterate over the messages saved with saveMessages(...).
[ May 17, 2007: Message edited by: Jaap v Hengstum ]
 
Nick Williamson
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could also just use the following tag:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic