This is one of thing that is so amazing about the lift community David. You
apologize for not getting to something today. [?]

On Thu, Nov 19, 2009 at 12:56 PM, David Pollak <
feeder.of.the.be...@gmail.com> wrote:

> Philip & list,
>
> I've had it on my to-do list to write up an example... and haven't...
> but...
>
> In your Loc, you can override def supplimentalKidMenuItems and dynamically
> generate kid menu items.
>
> I'll try to get to an example.... but not today... sorry :-(
>
> Thanks,
>
> David
>
>
> On Thu, Nov 19, 2009 at 12:35 AM, philip <philip14...@gmail.com> wrote:
>
>>
>> Hi David,
>>
>> Since I am programming a CMS for my client, I need my lift menu to
>> come from the database.
>>
>> LiftRules.setSiteMap(SiteMap(MenuInfo.menu :_*))
>>
>>  def menu: List[Menu] =
>>  {
>>    Log.info("Menu called")
>> ...
>>
>> It seems my menu function only gets called once, on subsquent calls I
>> do not get any log message.
>>
>> Maybe I have to subclass SiteMap?
>>
>> Can you point me in the right direction?
>>
>> Thanks, Philip
>>
>>
>>
>> On 10月21日, 下午11時20分, David Pollak <feeder.of.the.be...@gmail.com>
>> wrote:
>> > I owe the list example code to do this... maybe tomorrow.
>> >
>> > On Wed, Oct 21, 2009 at 6:26 AM, philip <philip14...@gmail.com> wrote:
>> >
>> > > Hi,
>> >
>> > > How can I get a Liftweb menu to be generated from database content?
>> >
>> > > Alternatively, can the menu come from a XML datasource? could I load/
>> > > serialize from that?
>> > > Could it change dynamically at any time?
>> >
>> > > Thanks, Philip
>> >
>> > --
>> > Lift, the simply functional web frameworkhttp://liftweb.net
>> > Beginning Scalahttp://www.apress.com/book/view/1430219890
>> > Follow me:http://twitter.com/dpp
>> > Surf the harmonics
>>
>> --
>>
>> 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<liftweb%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/liftweb?hl=.
>>
>>
>>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
>
> Follow me: http://twitter.com/dpp
> Surf the harmonics
>
> --
> 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<liftweb%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=.
>



-- 
Jack Widman

co-founder / cto,  Authoritude, Inc.

203-641-9355

--

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=.


<<330.gif>>

Reply via email to