• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Problem in displaying message using resource bundle for validation framework

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey All,

I am trying to use struts Validation framework to display error messages. I am using client side validation.

I have the XML files ( validation and validator-rules) updated and placed under WEB-INF.

When i try to submit the form, I am getting an alert message, but i do not see any of the messages.

I am referring resource bundle to display the message. I have no issues in referring resource bundle for displaying errors using <html:errors/>.
Also i am using resource bundle to display LABELS in the UI interface.

I am not sure what I am missing here..

Any help will be greatly appreciated.

I am using Struts ActionForm Class . Is there any specification that i need to use only Dynamic actionForm to make validation work ???
[ August 05, 2005: Message edited by: Mohen Vijay ]
 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to use org.apache.struts.validator.ValidatorForm or similiar with the validator framework.
 
reply
    Bookmark Topic Watch Topic
  • New Topic