I guess so, though when I sent that his hadn't shown up yet. I was typing as fast as I could!
Chas. Meredith Gregory wrote: > Chas, > > David beat you to the punch. Thanks to the both of you. i sent some > brain-candy along to the scala list in return for the help. [See my post > on implicits and concurrency.] > > Best wishes, > > --greg > > On Wed, Apr 22, 2009 at 5:27 PM, Charles F. Munat <c...@munat.com > <mailto:c...@munat.com>> wrote: > > > I haven't looked at the Loc signature, but mine looks like this: > > Menu(Loc("Home", "/" :: Nil, "Home")) > > or > > Menu(Loc("Home", List("/"), "Home")) > > Could that be the trouble? > > Chas. > > Meredith Gregory wrote: > > Lifted, > > > > Apparently i'm not keeping pace with the Jones'. The following code > > fragment used to work and now it doesn't. > > > > val entries = > > (Menu(Loc("Home", "/", "Home")) > > :: Menu(Loc("REPLForm.1", "/AJAXREPLForm", "R-E-P-L", > > If(User.loggedIn_? _, "x"))) > > :: Menu(Loc("GrammarSpec.1", "/GrammarSpec", "Grammar", > > If(User.loggedIn_? _, "x"))) > > // :: Menu(Loc("Examples.1", "examples", "Examples", > > If(User.loggedIn_? _, "x"))) > > :: User.sitemap) > > > > This now generates the following complaints. > > > > > mvn compile > > ... > > > > [INFO] Compiling 93 source files to > > /Users/lgm/work/src/projex/biosimilarity/agency/target/classes > > [WARNING] > > > > /Users/lgm/work/src/projex/biosimilarity/agency/src/main/scala/bootstrap/liftweb/Boot.scala:28: > > error: type mismatch; > > [WARNING] found : java.lang.String("/") > > [WARNING] required: > > net.liftweb.sitemap.Loc.Link[net.liftweb.sitemap.NullLocParams] > > [WARNING] (Menu(Loc("Home", "/", "Home")) > > [WARNING] ^ > > [WARNING] > > > > /Users/lgm/work/src/projex/biosimilarity/agency/src/main/scala/bootstrap/liftweb/Boot.scala:29: > > error: overloaded method value apply with alternatives > > > > (String,net.liftweb.sitemap.Loc.Link[net.liftweb.sitemap.NullLocParams],net.liftweb.sitemap.Loc.LinkText[net.liftweb.sitemap.NullLocParams],List[net.liftweb.sitemap.Loc.LocParam])net.liftweb.sitemap.Loc[net.liftweb.sitemap.NullLocParams] > > <and> > > > > (String,net.liftweb.sitemap.Loc.Link[net.liftweb.sitemap.NullLocParams],net.liftweb.sitemap.Loc.LinkText[net.liftweb.sitemap.NullLocParams],net.liftweb.sitemap.Loc.LocParam*)net.liftweb.sitemap.Loc[net.liftweb.sitemap.NullLocParams] > > cannot be applied to > > > > (java.lang.String,java.lang.String,java.lang.String,net.liftweb.sitemap.Loc.If) > > [WARNING] :: Menu(Loc("REPLForm.1", "/AJAXREPLForm", > "R-E-P-L", > > If(User.loggedIn_? _, "x"))) > > [WARNING] ^ > > [WARNING] two errors found > > [INFO] > > > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] command line returned non-zero value:1 > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > > ------------------------------------------------------------------------ > > [INFO] Total time: 27 seconds > > > > Best wishes, > > > > --greg > > > > -- > > L.G. Meredith > > Managing Partner > > Biosimilarity LLC > > 1219 NW 83rd St > > Seattle, WA 98117 > > > > +1 206.650.3740 > > > > http://biosimilarity.blogspot.com > > > > > > > > > > > -- > L.G. Meredith > Managing Partner > Biosimilarity LLC > 1219 NW 83rd St > Seattle, WA 98117 > > +1 206.650.3740 > > http://biosimilarity.blogspot.com > > > --~--~---------~--~----~------------~-------~--~----~ 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 liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---