Hi,

How can I create a List of MappedField from different Mappers:

I want to create a function like this:

def requiredFields(mfs: List[MappedField[_,Any]])

and call it like this

requiredFields(List(Table1.field1, Table2.field2))

How can I specify that the first type parameter to the MappedField can
vary?

On a slightly different note: I actually only need the displayName of
the field, but since this is not in BaseMappedField but MappedField[T] I
need the above construct. I think it actually makes sense to move all
the non-typed methods from MappedField to BaseMappedField.

Thoughts?

/Jeppe

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to