Win a copy of Pragmatic AI this week in the Artificial Intelligence 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Validation messages are displayed repeatedly when placed in a dataTable  RSS feed

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

I am using a dataTable in my form, it contains from date, to date and remarks as columns.

I put a date converter for from date, to date and messages also used in this form.

When i click on submit button with wrong format entered in dates messages are displayed for each row on the top.


For Example: From date - Please enter the value in valid format
From date - Please enter the value in valid format
From date - Please enter the value in valid format
To Date - Please enter the value in valid format
.
.
.
.
.
To Date - Please enter the value in valid format



I want to display these messages only once when any number of wrong formats are given

Can any one Please help me in this regard.


Thanks in advance
 
Ranch Hand
Posts: 171
Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are these inside any looping? Can you post your piece of code here?
 
Aiswarya Geidth
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi

Yes I am using looping. And I have use an alternate custom validations and working fine.

Thank you for your response.



Thanks



 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!