On Thu, Feb 4, 2010 at 3:22 PM, Jonathan Ferguson wrote:
> 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 (a guard in the par
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 Ferguson wrote:
Is there are reason one or more correct than th
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 wrote:
>
>
> On Thu, Feb 4, 2010 at 2:58 PM, Naftoli Gugenheim wrote:
>
>> What does "wasn't able to" mean?
>> Did you write
>> override lazy val listPath
I may have had
override lazy val listPath = List("/")
On 5 February 2010 09:58, Naftoli Gugenheim wrote:
> What does "wasn't able to" mean?
> Did you write
> override lazy val listPath = List("index")
> ?
>
> -
> Jonathan Ferguson wrote:
>
> I wasn't able to
On Thu, Feb 4, 2010 at 2:58 PM, Naftoli Gugenheim wrote:
> 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 Ferguson wrote:
>
> I was
What does "wasn't able to" mean?
Did you write
override lazy val listPath = List("index")
?
-
Jonathan Ferguson wrote:
I wasn't able to override listPath, I"ll have a bit more of a play to make
sure I'm not doing anything to silly; trying to get /crudify/path t
What about "index" :: Nil ?
Also worst case scenario you could have a snippet that returns
MyEntity.showAllTemplate() embedded in your index.html.
-
Jonathan Ferguson wrote:
I wasn't able to override listPath, I"ll have a bit more of a play to make
sure I'm n
I wasn't able to override listPath, I"ll 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 wrote:
> Naftoli Gugenheim writes:
>
> > It's not overridab
Naftoli Gugenheim writes:
> It's not overridable?
Actually, I think it is :-)
You might be able to just
override lazy val listPath = Nil
/Jeppe
>
> -
> Jeppe Nejsum Madsen wrote:
>
> Jonathan Ferguson writes:
>
>> I would like to have the list view of on
It's not overridable?
-
Jeppe Nejsum Madsen wrote:
Jonathan Ferguson 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
Jonathan Ferguson 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 redirect). See
h
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 li
12 matches
Mail list logo