[Lift] Re: Problem with jQuery/JavaScript and Liftweb because of Doctype

2009-07-08 Thread Matt Williams
/1430219890 http://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Viktor Klang Scala Loudmouth -- Matt Williams Chief Platform Architect Managing Director Makeable Solutions Ltd m

[Lift] Re: Warnings for missing binds?

2009-06-26 Thread Matt Williams
I'd like to see this - had a similar hour of headscratching myself this morning. I wouldn't be adverse to info logs on successful binds either. Derek Chen-Becker wrote: I just spent the better part of half a day trying to track down an issue with binding that ended up being a subtle typo. I'm

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread Matt Williams
This sounds very exciting David, please ensure to keep us posted on any developments. This notion of Q's - is this the method by which actors will be distributed (managed via zookeeper, i would assume)? Any reference materials you can point me to further whet my appetite? On Thu, 2009-06-18 at

[Lift] Re: BBCode2XHTML

2009-06-18 Thread Matt Williams
Theres a textile package available in the repository. And its now 30x faster! :) On Thu, 2009-06-18 at 13:06 +0200, Viktor Klang wrote: Hi guys! I'm in dire need of an XSS-safe and generally harmless way of allowing end-users to add some markup to texts. In the spirit of re-use and lack of

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-17 Thread Matt Williams
JIT development ;) In all serious though, its better to have a minimal set of features that work well and can be refactored effortlessly, than to define an entire API and have everything need to change in an updated release. And at the speed this particular fix went in, its hardly hindering

[Lift] Trivially Set Mapper Scope

2009-06-17 Thread Matt Williams
Is there a simple way that I can set the record scope on a mapper. For example, if I want to specify a WHERE clause for every query to the database, how would I do this? In my particular case, I want to set the scope based upon the hostname used to service the request, but other usages may

[Lift] Thoughts on separation of display from logic

2009-06-17 Thread Matt Williams
I wholeheartedly agree with the philosophy of separating the display from the program logic, and am currently getting to grips with the generators, but am finding that now I end up with a degree of markup within my code. Can you think of any caveats to infering the node type passed, and

[Lift] Re: Lift + Javeline

2009-06-17 Thread Matt Williams
there is no indication that Lift is doing anything wrong. Br's, Marius On Jun 17, 4:14 pm, Matt Williams m...@makeable.co.uk wrote: Are you using the latest version from the repository? There were a few firefox fixes put in place a week or so ago. On Jun 17, 1:18 pm, Marius marius.dan

[Lift] Sitemap Base URL

2009-06-17 Thread Matt Williams
Im currently working on porting a CMS built in rails over to lift. Im finding the sitemap very handy for use in the administration area, which will be located at /admin/, but for the rest of the site, we will be using a dynamic navigation constructed from the database on a requested hostname

[Lift] Re: Trivially Set Mapper Scope

2009-06-17 Thread Matt Williams
Thank you VERY much! Kind Regards, Matt On Wed, 2009-06-17 at 14:42 -0700, David Pollak wrote: User.addlQueryParams.set(By(User.firstname, david) :: User.addlQueryParams.is) It's a request var so it's set on a request by request basis.

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-17 Thread Matt Williams
i trust that all understood i was having good fun. The only thing I understood is that there are some people out there vastly more knowledgeable than myself! :D Brgds, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Lift] Re: directives versus snippets

2009-06-04 Thread Matt Williams
There's a dispatcher in Lift and it checks for user-supplied snippets before dispatching to the hard-coded snippet names. Is this actually the case? I have tried to replace the buiiltin snippet for Msgs in order to embed a span within the list items, but I needed to use a different name for

[Lift] Re: directives versus snippets

2009-06-04 Thread Matt Williams
.  The LiftRules snippet dispatch table is consulted first, before the by convention reflection-based snippet dispatching is invoked.  This enhances performance. On Thu, Jun 4, 2009 at 8:14 AM, Matt Williams m...@makeable.co.uk wrote: There's a dispatcher in Lift and it checks for user-supplied