Hi David,
Thanks for your reply.
I need to find out the fieldnames that causes the error from the list
of FieldErrors resulted from the validation.
But I find  all the FieldIdentifier  names as "Empty".

Below is the sample code I have used  for the validations.
object colpos extends MappedInt(this){

override def validations = checkForColPos _ :: super.validations

def checkForColPos(pos:Int) = {

if(pos >0) Nil

else List(FieldError(this, <b>Provide valid Column Position</b>))

Could you please suggest me how can I  get the field  names/
FieldIdentifier    that can be retrieved from the list of FieldErrors.


On Oct 15, 7:35 am, David Pollak <feeder.of.the.be...@gmail.com>
> val fieldErrors: List[FieldError] = ...val fieldNames: List[String] =
> fieldErrors.flatMap(_.field)
> On Tue, Oct 13, 2009 at 10:44 PM, sunanda <sunanda.pa...@gmail.com> wrote:
> >  Hi,
> >  I need to extract the FieldIdentifer names from a list of
> > FieldErrors. Can anyone suggest me how to achieve this.
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Surf the harmonics
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to