Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

ActionMessages & logic:messagesPresent

 
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?
 
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 ]
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could also just use the following tag:

 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic