Hi,
I would expect the following code to print at most a single line:
Vehicle.mappedFields.filter(_.dbIncludeInForm_?) foreach {f =
f match {
case Vehicle.customCategory = Log.info(Matched on field: +f.name)
case _ =
}
}
But what happens is that
case _ if f eq ... ?
-
Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
Hi,
I would expect the following code to print at most a single line:
Vehicle.mappedFields.filter(_.dbIncludeInForm_?) foreach {f =
f match {
case Vehicle.customCategory =
Does the field know if it's the meta instance?
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
On Fri, Feb 26, 2010 at 7:05 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Hi,
I would expect the following code to print at most a single line:
On Fri, Feb 26, 2010 at 5:31 PM, Naftoli Gugenheim naftoli...@gmail.com wrote:
case _ if f eq ... ?
Yeah that works, but then it might be easier to just use an if(f eq ..)
/Jeppe
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group,