[Lift] Re: Problem mapping a request for a REST Api

2009-10-29 Thread Naftoli Gugenheim
List(api, package, packageName : _* ) - andythedestroyerandythedestro...@gmail.com wrote: Hello, I am creating a rest api for an app and am having trouble extracting a var from the matched request. Object MyApi extends XMLHelperApi { def dispatch :

[Lift] Re: Problem mapping a request for a REST Api

2009-10-29 Thread David Pollak
When Lift parses a path, the last element of the path is split at the first '.'. This allows you to match of foo :: bar, jpg vs. foo :: bar, png However, this is biting you right now... and I've got a solution. Please open a ticket at http://github.com/dpp/liftweb/issues and I'll get it fixed.

[Lift] Re: Problem mapping a request for a REST Api

2009-10-29 Thread andythedestroyer
Thanks for the response but that doesn't work. I get the following error. [WARNING] API.scala:51: error: ')' expected but identifier found. [WARNING] case Req(List(api , package , packageName : _*), , GetRequest) = -Andy On Oct 29, 2:32 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:

[Lift] Re: Problem mapping a request for a REST Api

2009-10-29 Thread andythedestroyer
Thanks for the response. The ticket number is 144 and here is the link http://github.com/dpp/liftweb/issues/#issue/144 -Andy On Oct 29, 3:12 pm, David Pollak feeder.of.the.be...@gmail.com wrote: When Lift parses a path, the last element of the path is split at the first '.'.  This allows you

[Lift] Re: Problem mapping a request for a REST Api

2009-10-29 Thread David Pollak
On Thu, Oct 29, 2009 at 3:41 PM, andythedestroyer andythedestro...@gmail.com wrote: Thanks for the response. The ticket number is 144 and here is the link http://github.com/dpp/liftweb/issues/#issue/144 I've got a fix that I'm testing. I hope to get it into the code before the code slush

[Lift] Re: Problem mapping a request for a REST Api

2009-10-29 Thread andythedestroyer
You rule! On Oct 29, 4:23 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Oct 29, 2009 at 3:41 PM, andythedestroyer andythedestro...@gmail.com wrote: Thanks for the response. The ticket number is 144 and here is the link http://github.com/dpp/liftweb/issues/#issue/144

[Lift] Re: Problem mapping a request for a REST Api

2009-10-29 Thread David Pollak
http://reviewboard.liftweb.net/r/77/ On Thu, Oct 29, 2009 at 4:54 PM, andythedestroyer andythedestro...@gmail.com wrote: You rule! On Oct 29, 4:23 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Oct 29, 2009 at 3:41 PM, andythedestroyer andythedestro...@gmail.com

[Lift] Re: Problem mapping a request for a REST Api

2009-10-29 Thread Naftoli Gugenheim
Sorry--it was a bad guess. I should have written try etc... - andythedestroyerandythedestro...@gmail.com wrote: Thanks for the response but that doesn't work. I get the following error. [WARNING] API.scala:51: error: ')' expected but identifier found.