Hmm ... not a huge Scala / Lift community here on StackOverflow! In fact, itβs possible that for this sub-component of βCRUDifyβ, take up a small portion of the community.
Anyway, I eventually found the answer (sorta) by subscribing to the Google Groups Foundry Packages mailing list. This seems to be a well-known limitation in the CRUDify framework. It has been so many years and is not a limitation that someone cares especially, but it is known.
As early as 2009, one developer tried to find a way around this by creating his own subclass of MappedField and using it as a mapped type in his Lift model classes. The 140-line class, along with a message briefly describing it, can be found at:
http://groups.google.com/group/liftweb/browse_frm/thread/34560f30fab299a7/cdca54c8e1486237?pli=1
I'm not sure if this worked 100% in 2009, and it has a lot of problems when I tried to use it here in 2012 (Scala and Lift have changed a lot over the last three years).
I spent a small amount of time trying to make this subclass of MappedField ... and then got approval to choose a different approach than CRUDify. Part of the mission for this small application was to learn something about what to do and what not to do with the Elevator, and I think we completed this part of the mission now. :)
However, if this research and sample code helps someone else down the line later, then it will be great.
source share