Hi Hannes,

2009/11/29 Hannes <hannes.flo...@gmx.li>

>
> thanks for the quick and helpful answer!
>

You're welcome ;-)


> The renaming was quite easy, but what do I've to write inside
> CRUDify.menus?
>

Please take a look at the source code (CRUDify.scala):
  def menus: List[Menu] =
  List(showAllMenuLoc, createMenuLoc, viewMenuLoc,
       editMenuLoc, deleteMenuLoc).flatMap(x => x)

Overwrite it as you need, e.g. (create and showAll swapped):
  def menus: List[Menu] =
  List(createMenuLoc, showAllMenuLoc, viewMenuLoc,
       editMenuLoc, deleteMenuLoc).flatMap(x => x)

Heiko

My job: weiglewilczek.com
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to