A MappedField is a FieldIdentifier. In a field you can override
validate function and return a list of FieldError. You need to
override uniqueFieldId and return the ID of the page element that will
hold the specific error message. It is the ID that you specified to
the lift:msg id=abc/ tag. In
Hi Everyone,
I am writing a simple application which, given a HTTP PUT request,
attempts to retrieve an entry from the database (MySql in this case),
update the entry and respond appropriately. The entry in question has
an unique primary key.
Here is the code in question:
def update(serial:
Hi,
Seems like it's been 5 days without a build, but there has been plenty
of action on github.
But looking at the maven repo it looks like there has been a snapshot
release on sep 7 Is this a manual build or is this no longer the
build server for lift:
Hi,
I just did a pull and get a bunch of compile time errors obviously.
Seems like someone kidnapped AnyVar?
Br's,
Marius
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send
Same question for Injector, SimpleInjector etc.
Br's,
Marius
On Sep 7, 4:08 pm, Marius marius.dan...@gmail.com wrote:
Hi,
I just did a pull and get a bunch of compile time errors obviously.
Seems like someone kidnapped AnyVar?
Br's,
Marius
On Sep 7, 6:23 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
What is the return value of saved_? on the mapper?
Also I wonder if there's any relevant information in the thread that
discussed writing a MAC address primary key.
-
Somindra
Hi Folks,
Apologies for posting in bits. I am very new to LIFT and am
discovering many of its aspects.
I changed the code and tried doing a delete instead of an update:
def updateMJLocalIP(serial: String, req: Req): LiftResponse =
{
Log.info(updateMJLocalIP: + serial + + req.xml)
http://github.com/dpp/liftweb/commit/4dce48dfe938b92ae2ed50445dab1f4c2d104a4f
Looks like DPP removed it, and based on the surrounding commit, maybe
the intention was to put it in util somewhere, though the commit did
not add it back anywhere.
-Ross
On Sep 7, 2009, at 9:21 AM, marius d.
Hi all,
If you happen to be developing under windows you will notice that mvn
jetty:run locks files and prevents editing while the server is
running. Super annoying. The problem is that jetty memory maps files
by default and windows locks memory mapped files. The solution is to
turn off the
So follow the source code of saved_? and figure out what false information it's
calculating. You may have to override something like keyIndicatesSaved.
I recently asked if the logic for saved_? could be changed to use a flag to
track if it actually was saved. DPP didn't seem so thrilled to
Jon, good stuff - perhaps write this up on the wiki:
http://wiki.github.com/dpp/liftweb
Cheers, Tim
On Sep 7, 6:09 pm, jon jonhoff...@gmail.com wrote:
Hi all,
If you happen to be developing under windows you will notice that mvn
jetty:run locks files and prevents editing while the server
I've just triggered a manual build - so lets see if it works.
Cheers, Tim
On Sep 7, 9:19 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Hi,
Seems like it's been 5 days without a build, but there has been plenty
of action on github.
But looking at the maven repo it looks like there
OK, so its been running for a while now and it looks like its
featuring that same file open problem as before
Can one of the admins fix it?
Cheers, Tim
On Sep 7, 6:54 pm, Timothy Perrett timo...@getintheloop.eu wrote:
I've just triggered a manual build - so lets see if it works.
Cheers,
Done:
http://wiki.github.com/dpp/liftweb/how-to-fix-file-locking-problem-with-jettyrun-in-windows
On Sep 7, 1:49 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Jon, good stuff - perhaps write this up on the wiki:
http://wiki.github.com/dpp/liftweb
Cheers, Tim
On Sep 7, 6:09 pm, jon
Tim,
You are right. Protecting resources and menu items is well documented
in Lift. But providing read/write permissions, and even restricting
access to
specific data entities based on a subject's role, if that's what you
mean by
more granularity, is often a required use case in an application.
On Sep 7, 10:53 pm, glenn gl...@exmbly.com wrote:
Marius,
In practical terms, if I am already using an If LocParam, as in the
following:
If(() = User.isa_?(admin), S.?(not_authorized))
what does adding
HttpAuthProtected(() = User.authorize(admin)) to the Loc do?
It sais that this Loc
Thanks Jon, thats super.
Cheers, Tim
On Sep 7, 7:25 pm, jon jonhoff...@gmail.com wrote:
Done:http://wiki.github.com/dpp/liftweb/how-to-fix-file-locking-problem-wi...
On Sep 7, 1:49 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Jon, good stuff - perhaps write this up on the wiki:
Marius,
Please bear with me. I'm a little slow in following the logic here.
I understand I can protect the resource as you suggest from all
but users with admin roles, using the LocParam,
HttpAuthProtected(() = Full(AuthRole(admin) .
Now, when I click on the link, if no user is logged in,
I was thinking about how wonderful it is to get a login/register/
forgotPassword functionality with mega proto user and how it could
become even better with a good tool for creating an admin section.
I'm just adding the idea here so maybe if other people find value it
could be considered for
I'll ask the author.
On Sep 2, 3:49 am, David Pollak feeder.of.the.be...@gmail.com wrote:
Good stuff! Care to add a wiki page
http://wiki.github.com/dpp/liftwebthat points to these blog posts?
On Tue, Sep 1, 2009 at 10:10 AM, Randinn rand...@gmail.com wrote:
Here are a couple of good
Hello Lifters,
If I create a template with the following:
lift:surround with=page_master at=content
a class=thickbox href=/media/?height=440width=640Foo/a
lift:bind name=content /
/lift:surround
I will be served an empty page, containing none of my snippets, and
throwing or logging no
I want to make RESTful urls (not REST API), for example:
/post/123 is mapped to post/show.html with param id=123
but the following rewrite rule seems recursive
LiftRules.rewrite.append {
case RewriteRequest(ParsePath(List(post, id), _, _, _), _, _)
=
22 matches
Mail list logo