On Wed, Apr 22, 2009 at 1:00 AM, Tobias Daub wrote:
>
> Hi Dave,
>
> First, is this 1.1 version already in the repository, will maven
> automatically get it?
>
When you build, do mvn -U clean jetty:run
The -U flag forces the updated
>
> Second, where do I have to override those methods, in th
> Can you give a short code sample how to override, please.
>
There are many examples, please take a look at the source on github.
On Apr 22, 4:00 am, Tobias Daub wrote:
> Hi Dave,
>
> First, is this 1.1 version already in the repository, will maven
> automatically get it?
>
> Second, where do
Hi Dave,
First, is this 1.1 version already in the repository, will maven
automatically get it?
Second, where do I have to override those methods, in the class that
extends Mapper or in the companion object?
Can you give a short code sample how to override, please.
thanks.
> I've added new
On Sun, Apr 19, 2009 at 3:44 AM, Tobias Daub wrote:
>
> Do I understand it right..before I had to do this access stuff in
> Boot.scala. But those new methods I've to override directly in the
> companion object of the class that inherits from CRUDify? Is that right?
>
> I dont need to edit any
Do I understand it right..before I had to do this access stuff in
Boot.scala. But those new methods I've to override directly in the
companion object of the class that inherits from CRUDify? Is that right?
I dont need to edit anything in Boot.scala.?
thanks
> I've added new CRU
Great, thanks!
On Apr 16, 7:53 pm, David Pollak
wrote:
> I've added new CRUDify stuff for 1.1 (Hudson is building right now).
>
> There are 4 methods that you can override:
> def showAllMenuLocParams: List[Loc.LocParam] = Nil
> def createMenuLocParams: List[Loc.LocParam] = Nil
> def viewMe
Excellent!
On Apr 16, 7:53 pm, David Pollak
wrote:
> I've added new CRUDify stuff for 1.1 (Hudson is building right now).
>
> There are 4 methods that you can override:
> def showAllMenuLocParams: List[Loc.LocParam] = Nil
> def createMenuLocParams: List[Loc.LocParam] = Nil
> def viewMenuLo
I've added new CRUDify stuff for 1.1 (Hudson is building right now).
There are 4 methods that you can override:
def showAllMenuLocParams: List[Loc.LocParam] = Nil
def createMenuLocParams: List[Loc.LocParam] = Nil
def viewMenuLocParams: List[Loc.LocParam] = Nil
def editMenuLocParams: List[L
On Thu, Apr 16, 2009 at 12:11 PM, jon wrote:
>
> How do you modify the entries that end up in MyModel.menu to have
> different If/Hidden constraints without recreating manually?
I'm working on a fix for 1.1. It might get done today.
>
>
> On Apr 16, 9:20 am, TylerWeir wrote:
> > Look at the
How do you modify the entries that end up in MyModel.menu to have
different If/Hidden constraints without recreating manually?
On Apr 16, 9:20 am, TylerWeir wrote:
> Look at the definition of Loc in Loc.scala
>
> And look at Entry.scala in HelloLift:
>
> val sitemap = List(Menu(Loc("CreateEntry
Look at the definition of Loc in Loc.scala
And look at Entry.scala in HelloLift:
val sitemap = List(Menu(Loc("CreateEntry", List("entry"),
"Create An Entry",
If(User.loggedIn_? _, "Please login"))),
Menu(Loc("ViewE
Hi Dave,
Can you please give a short example, how to hide those List/Create
entries from the sitemap, when a user is not logged in? I already had a
glimpse at the chapter about the sitemap from the book, but I'm missing
some more detailed sample code...
thanks
Tobias
> In Boot.scala, when you
In Boot.scala, when you're constructing the menu, put MyModel.menu (which
returns a List[Menu]) in the list of menu items.
On Sun, Apr 12, 2009 at 3:16 PM, ari wrote:
>
> I have a model defined with the CRUDify trait. I'm under the
> impression that I need to add something to the sitemap for th
13 matches
Mail list logo