On Mon, Oct 6, 2008 at 5:26 PM, Charles F. Munat <[EMAIL PROTECTED]> wrote:
> > Can anyone explain to me what this line: > > loc <- request.location.toList if loc.name != name; It excludes the link from being generated if it's the current page. > > > is doing in this code: > > def item(text: NodeSeq): NodeSeq = > for (name <- S.attr("name").toList; > request <- S.request.toList; > loc <- request.location.toList if loc.name != name; > item <- SiteMap.buildLink(name, text)) > yield item match { > case e: Elem => e % S.prefixedAttrsToMetaData("a") > case x => x > } > > ? > > Thanks, > Chas. > > > > -- Lift, the simply functional web framework http://liftweb.net Collaborative Task Management http://much4.us Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---