On Thu, Feb 4, 2010 at 3:22 PM, Jonathan Ferguson j...@spiralarm.comwrote:
Is there are reason one or more correct than the other?
If you use the rewrite mechanism, you've got the flexibility to change the
rewrite rules so that if you want something else on the /index page, it's
simple logic
The archetypes' Boot use List(index), hence my guess (since I though you
tried Jeppe's suggestion).
Then again they use an actual index.html. In any case / maps to index, I
believe.
-
Jonathan Fergusonj...@spiralarm.com wrote:
Is there are reason one or
Jonathan Ferguson j...@spiralarm.com writes:
I would like to have the list view of one of my model objects as my home
page.
Can this done with out having the home page redirect to /mymodel/list ?
I don't think you can change the native URL of CRUDify list, but you
could add a rewrite (not
It's not overridable?
-
Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
Jonathan Ferguson j...@spiralarm.com writes:
I would like to have the list view of one of my model objects as my home
page.
Can this done with out having the home page redirect to
Naftoli Gugenheim naftoli...@gmail.com writes:
It's not overridable?
Actually, I think it is :-)
You might be able to just
override lazy val listPath = Nil
/Jeppe
-
Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
Jonathan Ferguson j...@spiralarm.com
I wasn't able to override listPath, Ill have a bit more of a play to make
sure I'm not doing anything to silly; trying to get /crudify/path to / .
Rewrite worked wonderfully.
Cheers
Jono
On 5 February 2010 04:45, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Naftoli Gugenheim
What about index :: Nil ?
Also worst case scenario you could have a snippet that returns
MyEntity.showAllTemplate() embedded in your index.html.
-
Jonathan Fergusonj...@spiralarm.com wrote:
I wasn't able to override listPath, Ill have a bit more of a play to
What does wasn't able to mean?
Did you write
override lazy val listPath = List(index)
?
-
Jonathan Fergusonj...@spiralarm.com wrote:
I wasn't able to override listPath, Ill have a bit more of a play to make
sure I'm not doing anything to silly; trying to get
On Thu, Feb 4, 2010 at 2:58 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
What does wasn't able to mean?
Did you write
override lazy val listPath = List(index)
This is the wrong answer. Jeppe gave the correct answer.
?
-
Jonathan
I may have had
override lazy val listPath = List(/)
On 5 February 2010 09:58, Naftoli Gugenheim naftoli...@gmail.com wrote:
What does wasn't able to mean?
Did you write
override lazy val listPath = List(index)
?
-
Jonathan Fergusonj...@spiralarm.com
Is there are reason one or more correct than the other?
Is it style or something else ?
Cheers
Jono
On 5 February 2010 10:01, David Pollak feeder.of.the.be...@gmail.comwrote:
On Thu, Feb 4, 2010 at 2:58 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
What does wasn't able to mean?
Did
I would like to have the list view of one of my model objects as my home
page.
Can this done with out having the home page redirect to /mymodel/list ?
Cheers
Jono
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
12 matches
Mail list logo