Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Hmm... not a huge Scala / Lift community here on StackOverflow! Actually, it may be that there isn't much of a community for this "CRUDify" sub-component of Lift anywhere.</p> <p>At any rate, I eventually found an answer (sorta) by subscribing to the "liftweb" Google Groups mailing list. Apparently, this is a known limitation in the CRUDify framework. It's been like that for years and is not a limitation that anyone particularly cares about, but it is known.</p> <p>One developer back in 2009 tried to find a way around this by creating his own custom subclass of <code>MappedField</code>, and using that as the mapped type in his Lift model classes. The 140-line class, along with an email briefly describing it, may be found at:</p> <p><a href="http://groups.google.com/group/liftweb/browse_frm/thread/34560f30fab299a7/cdca54c8e1486237?pli=1" rel="nofollow">http://groups.google.com/group/liftweb/browse_frm/thread/34560f30fab299a7/cdca54c8e1486237?pli=1</a></p> <p>I am not sure that this worked 100% back in 2009, and it has a ton of problems when I tried to use it here in 2012 (Scala and Lift have both changed a lot over the past three years). </p> <p>I invested a small amount of time into trying to make this <code>MappedField</code> subclass work... and then received approval to choose an approach other than CRUDify. Part of the mission for this little app was to learn some things about what to do and what not to do with Lift, and I think we've accomplished that part of the mission now. :)</p> <p>However, if this research and sample code helps out someone else down the line later, then that would be great.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload