This may be obvious but I am having trouble setting this up.
I need to map a database view which isn't a problem because I just set
it up as I would any other table. Can I specify in the code that the
class and object mapping the view is read only and cannot be modified?
It doesn't seem like I
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 : LiftRules.DispatchPF = {
case Req(List(api,package, packageName), _, GetRequest)
=
() =
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:
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 athttp://github.com/dpp/liftweb/issuesand I'll get it
fixed.
On Thu, Oct 29, 2009 at 2:27 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 wrote:
Thanks for the response. The ticket number is 144 and here is the link
http://github.com/dpp/liftweb/issues/#issue/144
I was working on a REST api for work yesterday didn't see a documented
way for me to have extensions other than the standard jpg/xml/json/png
extensions to be parsed from a Req. After looking though the source I
found it is easy to do with LIftRules so I thought I would post this.
in Boot.scala
Hello,
I have a simple use case where there is a 2 page form wizard then a
redirect to a third party ( for some external validation ) which
redirects back to a third and final page of the wizard.
I know I could just use snippets and SessionVars to manage this but I
have been using
Naftoli,
Thanks for the response.
I don't think I understand your post very well. I have two redirectTos
in the code and I tried putting registerThisSnippet in both. This what
I tried.
object mySnip extends SessionVar[Box[Wizard]](Emtpy)
class Wizard extends StatefulSnippet with Logger {
Although it would be cool to figure out how to pause and resume
StatefulSnippets, I just reworked it to use DispatchSnippets and
SessionVars and in only took 10 mins.
Thanks again to Naftoli.
-A
On Mar 4, 3:03 pm, andythedestroyer andythedestro...@gmail.com
wrote:
Naftoli,
Thanks
Actually if you're grabbing the href from StatefulSnippet.link then you
shouldn't need to write registerThisSnippet, or redirect.
Can you verify that the code block passed to StatefulSnippet.link is getting
executed?
That's what I thought. I checked and the code block is not getting
called.
smart man.
-Andy
On Mar 4, 3:56 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
On Thu, Mar 4, 2010 at 2:00 PM, andythedestroyer andythedestro...@gmail.com
wrote:
Hello,
I have a simple use case where there is a 2 page form wizard then a
redirect to a third party ( for some
11 matches
Mail list logo