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

Validation messages are displayed repeatedly when placed in a dataTable

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Spring Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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



 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic