• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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.
 
Would you like to try a free sample? Today we are featuring tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic