[Lift] Re: CRUDify and hidden fields?

2009-04-22 Thread Andrew Scherpbier
On Apr 21, 1:29 pm, David Pollak feeder.of.the.be...@gmail.com wrote: I just added dbIncludeInForm_? If you set that to false, the field will be included in display, but not in input forms. I think I found a small bug with your recent change: when I set this to false for a field, the list of

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread David Pollak
Franz, In the createdOn field: object createdOn extends MappedLong(this) { override def dbDisplay_? = false } This will exclude the field from display. Does this help? Thanks, David On Mon, Apr 20, 2009 at 7:19 PM, Franz Bettag i...@fbettag.de wrote: Hey there, is there any way to

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread Franz Bettag
Idea 8 doesn't even list that in the Override List, in addition it doesn't work. Maybe it's because i use it in a trait? import java.util.Date import model._ import net.liftweb.mapper._ trait TimeStamped[OwnerType : Stamped[OwnerType]] { this: Stamped[OwnerType] = private val thisTyped =

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread David Pollak
On Tue, Apr 21, 2009 at 11:27 AM, Franz Bettag i...@fbettag.de wrote: Idea 8 doesn't even list that in the Override List, in addition it doesn't work. Maybe it's because i use it in a trait? I don't think so. Here's code that compiles just fine: class User extends MegaProtoUser[User] {

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread Franz Bettag
My fault, mvn clean and restarting jetty made it work. i guess mvn scala:cc didn't work that well. On 21 Apr., 20:27, Franz Bettag i...@fbettag.de wrote: Idea 8 doesn't even list that in the Override List, in addition it doesn't work. Maybe it's because i use it in a trait? import

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread Franz Bettag
My old answer seems somehow to have gotten delayed, it was a problem with mvn scala:cc. mvn clean and mvn compile fixed that. Sorry for that. The effect is almost what i was looking for ;) i was looking for something like override def _toForm = Nil.. In the Listing the data should be display,

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread David Pollak
On Tue, Apr 21, 2009 at 11:50 AM, Franz Bettag i...@fbettag.de wrote: My old answer seems somehow to have gotten delayed, it was a problem with mvn scala:cc. mvn clean and mvn compile fixed that. Sorry for that. The effect is almost what i was looking for ;) i was looking for something

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread Franz Bettag
awesome! thank you very much! On 21 Apr., 22:29, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Apr 21, 2009 at 11:50 AM, Franz Bettag i...@fbettag.de wrote: My old answer seems somehow to have gotten delayed, it was a problem with mvn scala:cc. mvn clean and mvn compile fixed

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread David Pollak
On Tue, Apr 21, 2009 at 2:04 PM, Franz Bettag i...@fbettag.de wrote: One last stupid rookie question.. i've checked out lift from github, ran mvn compile (which showed success on everything), now i am kinda stuck. what's the best practice to get rolling from here? You don't need to do that.

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread Franz Bettag
I've done it myself! ;) Just for reference, i modified pom.xml and ran mvn deploy. now i am running my own maven2 repository for that purpose. On 21 Apr., 23:04, Franz Bettag i...@fbettag.de wrote: One last stupid rookie question.. i've checked out lift from github, ran mvn compile (which