I'm not sure what you're asking.
You want a List and Create submenu under each model without duplicate code?
Current menu tree is:
+ Home
+ Create Foo
+ List Foo
+ Create Bar
+ List Bar
+ Create Ork
+ List Ork
+ Some Business
+ Other Business
What I want is:
+Home
- Crud
- Foo
+
Does this work?
List(Foo, Bar).map{model: CRUDify =
Menu(Loc(...), model.menus: _*)
}
Not tested.
-
The Travthe.t...@gmail.com wrote:
I'm not sure what you're asking.
You want a List and Create submenu under each model without duplicate code?
Current
2009 17:21:32 -0800 (PST)
From: Naftoli Gugenheim naftoli...@gmail.com
To: liftweb@googlegroups.com
Subject: [Lift] Re: CRUDify view pages not working correctly
This is pure out-of-the-box CRUDify? No custom binding/querying?
-
Jim McBeathgoo
:
Date: Mon, 2 Nov 2009 17:21:32 -0800 (PST)
From: Naftoli Gugenheim naftoli...@gmail.com
To: liftweb@googlegroups.com
Subject: [Lift] Re: CRUDify view pages not working correctly
This is pure out-of-the-box CRUDify? No custom binding/querying?
-
Jim
any difference.
I will try 1.1-M7 and see how things work on that version.
--
Jim
On Tue, Nov 03, 2009 at 06:42:07PM -0700, Troy Noble wrote:
Date: Tue, 3 Nov 2009 18:42:07 -0700
From: Troy Noble econop...@gmail.com
To: liftweb@googlegroups.com
Subject: [Lift] Re: CRUDify view pages not working
This is pure out-of-the-box CRUDify? No custom binding/querying?
-
Jim McBeathgoo...@j.jimmc.org wrote:
I have recently started using Lift (1.1-M6) to create a simple data
editing application. I have a small table with a char(1) key column
(on which I set
I've got another problem with CRUDify since I updated to release 1.0.2
(in M3 everything was fine).
error: value showAllMenuLocParams is not a member of LimitOrder with
net.liftweb.mapper.LongKeyedMetaMapper[...LimitOrder] with
net.liftweb.mapper.CRUDify[long, LimitOrder] with
On Fri, Sep 11, 2009 at 6:01 AM, Hannes hannes.flo...@gmx.li wrote:
I've got another problem with CRUDify since I updated to release 1.0.2
(in M3 everything was fine).
Release 1.0.2 is older than 1.1-M3. You downgraded to release 1.0.2. Some
features that are available in the 1.1
ups!
thanks anyway
On Fri, Sep 11, 2009 at 6:01 AM, Hannes hannes.flo...@gmx.li
mailto:hannes.flo...@gmx.li wrote:
I've got another problem with CRUDify since I updated to release 1.0.2
(in M3 everything was fine).
Release 1.0.2 is older than 1.1-M3. You downgraded
You're supposed to mix CRUDify in to your singleton object, not the class.
-
XiaomingZhengxiaomingzhen...@gmail.com wrote:
when i knew the 1.1 M5 has been published, i updated the pom.xml of my
liftapp project and recomplie it. And i got an error about
really~~~
On Sep 10, 2:21 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
You're supposed to mix CRUDify in to your singleton object, not the class.
-
XiaomingZhengxiaomingzhen...@gmail.com wrote:
when i knew the 1.1 M5 has been published, i updated
On Wed, Sep 9, 2009 at 11:30 PM, XiaomingZheng xiaomingzhen...@gmail.comwrote:
really~~~
Yes. That's why I changed the self-type... because people kept mixing
CRUDify into the mapper class, not the metamapper class.
On Sep 10, 2:21 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
I've added a page with links to my posts
http://wiki.github.com/dpp/liftweb/example-crudify-a-entity
. I am just starting out with Lift and Scala but am happy to receive
any comments.
On Sep 8, 12:16 am, Randinn rand...@gmail.com wrote:
I'll ask the author.
On Sep 2, 3:49 am, David Pollak
I'll ask the author.
On Sep 2, 3:49 am, David Pollak feeder.of.the.be...@gmail.com wrote:
Good stuff! Care to add a wiki page
http://wiki.github.com/dpp/liftwebthat points to these blog posts?
On Tue, Sep 1, 2009 at 10:10 AM, Randinn rand...@gmail.com wrote:
Here are a couple of good
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
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
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 =
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] {
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
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,
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
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
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.
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
24 matches
Mail list logo