Ah! Thanks for making me feel slightly less stupid. I think I've been bitten by it twice. Nice to know I'm not alone.
I agree that the few places I have to look to configure things, the better. Chas. Meredith Gregory wrote: > Lifted, > > i definitely vote to get this feature somewhere in the backlog. i've > been bitten by this 3 times. > > Best wishes, > > --greg > > On Wed, Feb 18, 2009 at 7:18 AM, David Pollak > <[email protected] <mailto:[email protected]>> > wrote: > > > > On Wed, Feb 18, 2009 at 6:56 AM, Tim Perrett <[email protected] > <mailto:[email protected]>> wrote: > > > Agreed, that sounds pukka – I guess its dpp or marius who needs to > make this call as we have a code freeze on for "new features" > > > This isn't going to happen for 1.0, but it's a good idea for 1.1. > > > > > On Feb 18, 2:39 pm, Viktor Klang <[email protected] > <mailto:[email protected]>> wrote: > > We could add another method that takes a Package and then > deprecate the one > > that takes a String? > > > > > > > > On Wed, Feb 18, 2009 at 1:13 PM, Tim Perrett > <[email protected] <mailto:[email protected]>> wrote: > > > > > This appears to be a trade off between marginal code > verbosity and > > > compile time checking... Viktor's solution could be the way > to go > > > however - this would be a massive breaking change though, > as this > > > would screw every lift app in existence! > > > > > Cheers, Tim > > > > > On Feb 18, 10:38 am, Viktor Klang <[email protected] > <mailto:[email protected]>> wrote: > > > > Ok, what about this: > > > > > > Why not have addToPackages take an actual Package? > > > > > > usage: > > > > > > addToPackages(com.my.stuff.SomeClass.getPackage) ? > > > > > > This would prevent stuff from breaking if you > refactor/move some classes. > > > > > > Worth thinking about? > > > > > > Cheers, > > > > Viktor > > > > > > On Wed, Feb 18, 2009 at 10:58 AM, Charles F. Munat > <[email protected] <mailto:[email protected]>> > > > wrote: > > > > > > > Ah! That was it. Forgot I changed the name of the app, > and didn't > > > change > > > > > it there. Thanks very much! That saved me a lot of trouble. > > > > > > > Chas. > > > > > > > Jean-Luc wrote: > > > > > > Is your LiftRules defined according to your snippet > package ? > > > > > > > > Exemple of addToPackages rule for snippets in > > > "org.ansoft.myapp.snippet" > > > > > > package : > > > > > > LiftRules.addToPackages("org.ansoft.myapp") > > > > > > > > Jean-Luc > > > > > > > > 2009/2/18 Charles F. Munat <[email protected] > <mailto:[email protected]> <mailto:[email protected] > <mailto:[email protected]>>> > > > > > > > > Everything starts fine, but when I try to go to > the home page of > > > the > > > > > > app, I get this: > > > > > > > > XML Parsing Error: prefix not bound to a namespace > > > > > > Location:http://localhost:9988/ > > > > > > Line Number 81, Column 5: <choose:logged_out> > > > > > > ---------------------------^ > > > > > > > > And this: > > > > > > > > WARN - Snippet Failure: SnippetFailure(/ -> > > > > > > > ParsePath(List(index),,true,false),Full(LoginOps.login),Class Not > > > > > Found) > > > > > > WARN - Snippet Failure: SnippetFailure(/ -> > > > > > > > ParsePath(List(index),,true,false),Full(Misc.logo),Class Not > > > Found) > > > > > > WARN - Snippet Failure: SnippetFailure(/ -> > > > > > > > ParsePath(List(index),,true,false),Full(Menu.navbar),Stateful > > > > > Snippet: > > > > > > Dispatch Not Matched) > > > > > > WARN - Snippet Failure: SnippetFailure(/ -> > > > > > > > ParsePath(List(index),,true,false),Full(Messages),Class Not > > > Found) > > > > > > WARN - Snippet Failure: SnippetFailure(/ -> > > > > > > > ParsePath(List(index),,true,false),Full(error_class),Class Not > > > Found) > > > > > > WARN - Snippet Failure: SnippetFailure(/ -> > > > > > > > ParsePath(List(index),,true,false),Full(warning_class),Class Not > > > > > Found) > > > > > > WARN - Snippet Failure: SnippetFailure(/ -> > > > > > > > ParsePath(List(index),,true,false),Full(notice_class),Class Not > > > > > Found) > > > > > > > > Did I screw something up or did I miss an update? > Any ideas? > > > > > > > > Chas. > > > > > > > > -- > > > > > > Jean-Luc Canela > > > > > > [email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>> > > > > > > -- > > > > Viktor Klang > > > > Senior Systems Analyst > > > > -- > > Viktor Klang > > Senior Systems Analyst > > > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Git some: http://github.com/dpp > > > > > > > -- > L.G. Meredith > Managing Partner > Biosimilarity LLC > 806 55th St NE > Seattle, WA 98105 > > +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 [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=en -~----------~----~----~----~------~----~------~--~---
