I read some stuff of chapter five before, but this was the extra hint, that I needed...
thanks! > > > On Fri, Nov 20, 2009 at 7:07 AM, Hannes <[email protected] > <mailto:[email protected]>> wrote: > > Maybe you could give a one liner, showing how to write the menu > item in Boot.scala. > > > A menu entry looks something like: > Menu( Loc("helpHome", ("help" :: "" ::Nil) -> true, "Help")) > > The list ( "help" :: "" :: Nil) is the path to the the page. In this > case the -> True says that everything underneath help is ok. > > So you could do "path" :: "to" :: "my" :: "page" :: Nil and -> false > > There's a great description in section 5 of the Exploring lift PDF if > you need more help. > > > thanks. > >> On Fri, Nov 20, 2009 at 6:26 AM, Hannes <[email protected] >> <mailto:[email protected]>> wrote: >> >> I meant, that I had general problems to find a way how to do >> it, not talking about the "Lift" way to do it. >> >> So I think I need a new XHTML page where I call a snippet >> method, that displays the table. Then, from the menu item, I >> just link to that new page? Would that be the right way? >> >> >> I'm not sure what you're asking. You could do it with an xhtml >> page, you could also build the table in code, like the CRUDify >> stuff does. Either way works, if I understand you correctly. >> >> >> >> >> thanks. >>> >>> >>> On Mon, Nov 16, 2009 at 8:51 AM, Hannes >>> <[email protected] <mailto:[email protected]>> wrote: >>> >>> >>> Hi Lifters, >>> >>> I need a new menu entry that displays a table similar to >>> the one, that >>> is shown by the CRUDify List "XYZ" link. But I need to >>> display different >>> fields without the chance to edit or delete the "items". >>> So basically, >>> just a simple table. Later on, some Comet stuff would be >>> nice, to see >>> changes on the table immediately. >>> >>> I've tried to add a new menu entry in Boot.scala, but I >>> don't really >>> know how/where the XML should come from.... >>> >>> >>> What XML goes into a menu item? >>> >>> >>> >>> thanks. >>> >>> --~--~---------~--~----~------------~-------~--~----~ >>> You received this message because you are subscribed to >>> the Google Groups "Lift" group. >>> To post to this group, send email to >>> [email protected] <mailto:[email protected]> >>> To unsubscribe from this group, send email to >>> [email protected] >>> <mailto:liftweb%[email protected]> >>> For more options, visit this group at >>> http://groups.google.com/group/liftweb?hl=en >>> -~----------~----~----~----~------~----~------~--~--- >>> >>> >>> >>> >>> -- >>> 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 >>> [email protected] <mailto:[email protected]>. >>> To unsubscribe from this group, send email to >>> [email protected] >>> <mailto:[email protected]>. >>> For more options, visit this group at >>> http://groups.google.com/group/liftweb?hl=. >> >> -- >> >> You received this message because you are subscribed to the >> Google Groups "Lift" group. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> To unsubscribe from this group, send email to >> [email protected] >> <mailto:liftweb%[email protected]>. >> For more options, visit this group at >> http://groups.google.com/group/liftweb?hl=. >> >> >> >> >> -- >> James A Barrows >> >> -- >> >> You received this message because you are subscribed to the >> Google Groups "Lift" group. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> To unsubscribe from this group, send email to >> [email protected] >> <mailto:[email protected]>. >> For more options, visit this group at >> http://groups.google.com/group/liftweb?hl=. > > -- > > You received this message because you are subscribed to the Google > Groups "Lift" group. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To unsubscribe from this group, send email to > [email protected] > <mailto:liftweb%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=. > > > > > -- > James A Barrows > > -- > > You received this message because you are subscribed to the Google > Groups "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=.
