I am writing here to get a dialog going about the changes from 1.0 to
1.1. I mistakenly filed a ticket on the subject but was wondering if
there could be some documentation done with all of the new/changed
features in 1.1. Most of the time the changes and additions are
mentioned here but there are
Lifters,
Maybe you followed the discussion about the versioning policy for Lift. The
committers finally decided to have a well defined versioning policy which
you can take from here:
http://wiki.github.com/dpp/liftweb/about-versioning-policy.
Following this policy the next Lift version will be
Hi David,
Thank you for your reply.
On Mon, Dec 7, 2009 at 2:27 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
On Sun, Dec 6, 2009 at 10:21 PM, Xuefeng Wu ben...@gmail.com wrote:
Hi,
I always find the information from console: seeing JVM BUG(s) -
cancelling interestOps==0
Heiko,
This is great - can you work with IRC to arrange a time to changes the poms to
2.0-SNAPSHOT?
Cheers, Tim
On 7 Dec 2009, at 08:32, Heiko Seeberger wrote:
Lifters,
Maybe you followed the discussion about the versioning policy for Lift. The
committers finally decided to have a well
Randinn,
This is already slated for 1.1/2.0 release... dont worry we are getting to it
:-)
Cheers, Tim
On 7 Dec 2009, at 08:09, Randinn wrote:
I am writing here to get a dialog going about the changes from 1.0 to
1.1. I mistakenly filed a ticket on the subject but was wondering if
there
Basically here's what I want to accomplish:
1. I want the user to login through a simple form on /index.html -
this is the only unprotected page on the site. User does not have a
user name, the only field is a password.
2. I want to store the user role (along with some other state data) in
the
Hi Liam.
To the best of my knowledge, there is no any plugin for IntelliJ which
supports some Lift-specific functionality.
So it would be great if one stated what kind of Lift support must be present
in the working Scala plugin.
Cheers!
Ilya
2009/12/6 Liam Clarke ml.cyre...@gmail.com
Hi all,
Something like This Week in Lift master would help.
http://suitmymind.com/blog/2009/01/22/this-week-in-edge-cappuccino/
On Dec 7, 5:55 am, Timothy Perrett timo...@getintheloop.eu wrote:
Randinn,
This is already slated for 1.1/2.0 release... dont worry we are getting to it
:-)
Cheers, Tim
I think maybe it's a bug ~?
Btw, Does anybody know how to convert the CometActor to LiftActor.
And how the write the render method and use the ActorPing.schedule
(this, Tick, 10 seconds)
in LiftActor.
Thanks for any suggestion!
Cheers,
Neil
###
package com.liftcode.comet
import
On Dec 7, 1:09 pm, DMB combust...@gmail.com wrote:
Basically here's what I want to accomplish:
1. I want the user to login through a simple form on /index.html -
this is the only unprotected page on the site. User does not have a
user name, the only field is a password.
2. I want to store
Heiko,
Thank you for shepherding this issue through and giving us a sane and well
defined naming process.
Thanks,
David
On Mon, Dec 7, 2009 at 12:32 AM, Heiko Seeberger
heiko.seeber...@googlemail.com wrote:
Lifters,
Maybe you followed the discussion about the versioning policy for Lift.
For some reason I am having an error while trying to create my project. It
appears I need a JPA project, as this project will have many tables
involved, but I get the same error when I try:
lift-archetype-jpa-basic
-blank
-basic
James,
1. For the kind of application you have in mind you can use either
mapper or jpa. So either lift-archetype-basic or
lift-archetype-jpa-basic would do.
2. You have indeed used the right command and have created the project
successfully. Next up:
(a) You should see the ResumeApp
Thank you.
This is a change, at least from what I have been doing.
Before I would run the generate command.
Then cd into my directory and do, 'mvn jetty:run'
I didn't have to do 'mvn install', but now I know.
Thank you very much.
On Mon, Dec 7, 2009 at 10:34 AM, Indrajit Raychaudhuri
On Dec 6, 9:16 pm, Alex Boisvert alex.boisv...@gmail.com wrote:
Lift's mapper doesn't change the default isolation level of your
connections, nor does it make explicit use of pessimistic concurrency
control.
Anything beyond that we can probably implement, we just need a good
reason...
On Mon, Dec 7, 2009 at 8:02 AM, cody koeninger c...@koeninger.org wrote:
On Dec 6, 9:16 pm, Alex Boisvert alex.boisv...@gmail.com wrote:
Lift's mapper doesn't change the default isolation level of your
connections, nor does it make explicit use of pessimistic concurrency
control.
thanks again to the guys who put their efforts in answering questions
here.
I'll try a different approach this time.
Let's hope I get somewhere since our decision whether we will use lift
or not will depends on this.
On Dec 7, 4:23 am, Alex Boisvert alex.boisv...@gmail.com wrote:
Part of the
On Mon, Dec 7, 2009 at 9:14 AM, itsjar its...@gmail.com wrote:
thanks again to the guys who put their efforts in answering questions
here.
I'll try a different approach this time.
I would suggest building the To Do app as a first step:
http://liftweb.net/docs/getting_started/mod_master.html
On Sun, Dec 6, 2009 at 8:28 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
On Sun, Dec 6, 2009 at 7:25 PM, Alex Boisvert alex.boisv...@gmail.comwrote:
Using the latest and greatest (master branch), I can't reproduce the
MatchError but I can reproduce the issue with the attribute being
On Mon, Dec 7, 2009 at 9:22 AM, Alex Boisvert alex.boisv...@gmail.comwrote:
On Sun, Dec 6, 2009 at 8:28 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Sun, Dec 6, 2009 at 7:25 PM, Alex Boisvert alex.boisv...@gmail.comwrote:
Using the latest and greatest (master branch), I can't
I looked at adding a Box variant, but it wasn't a strictly speaking
trivial change since calcValue on BindParam is of type NodeSeq. I
guess it could become Box[NodeSeq] and then when binding at element
positions convert that to NodeSeq.Empty, but I also have had the need
(which I've worked
Hi David,
The demo is sent to you, please check it.
Thanks !
Cheers,
Neil
On Dec 7, 10:26 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Dec 7, 2009 at 5:45 AM, Neil.Lv anim...@gmail.com wrote:
I think maybe it's a bug ~?
Btw, Does anybody know how to convert
Heiko,
Grand stuff!
Indeed, I was wondering if we could sync this up with the Round 2 of
Refactoring exercise
(http://groups.google.com/group/liftweb/browse_thread/thread/450a3e741999b5df).
New structure, new version.
I am working on this refactoring in a private copy and am planning to
Hi,
I've been diving into the S class to learn and I just tried to
add some functions of it in a snippet to see if it works.
The weird thing is (which is probably not weird but doesn't seem
intuitive to me)
that adding S.location in a snippet gives me an error message
error: value location
Sha-bam
http://github.com/dpp/liftweb/issues/#issue/229
-Ross
On Dec 7, 2009, at 12:43 PM, David Pollak wrote:
Is there a ticket for this? I'm in ticket-closing mode today ;-)
On Mon, Dec 7, 2009 at 9:29 AM, Ross Mellgren dri...@gmail.com
wrote:
I looked at adding a Box variant, but it
Hi,
where would I look for a login()-method to login a specific user on
boot up (in development mode)?
(Aggregated this could save me a few minutes every day *g*)
Cheers,
stephanos
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group,
it just occured to me that I can simply override my is logged in-
condition:
val ifIsLoggedIn = Props.mode match {
case Development = If (true _, )
case _ = If(User.loggedIn_? _, You must be logged in!)
}
yet this only works for explicitly hidden/disabled functionality based
Never mind, I've solved it myself.
Thanks
On Dec 7, 6:56 pm, itsjar its...@gmail.com wrote:
Hi,
I've been diving into the S class to learn and I just tried to
add some functions of it in a snippet to see if it works.
The weird thing is (which is probably not weird but doesn't seem
I'm using neither Mapper (JPA is used instead) nor SiteMap. Thanks for
the explanation, I'll try this today.
On Dec 7, 6:14 am, Marius marius.dan...@gmail.com wrote:
On Dec 7, 1:09 pm, DMB combust...@gmail.com wrote:
Basically here's what I want to accomplish:
1. I want the user to login
can you embed a (shared) username in the form and submit the password it
using the default Lift User authentication?
On Mon, Dec 7, 2009 at 2:19 PM, DMB combust...@gmail.com wrote:
I'm using neither Mapper (JPA is used instead) nor SiteMap. Thanks for
the explanation, I'll try this today.
On
If you're using MegaProtoUser, in your User object:
override def autologinFunc = if (Props.devMode) Full(() =
{User.find(1).foreach(User.LogUserIn)}) else Empty
On Mon, Dec 7, 2009 at 10:17 AM, stephanos stephan.beh...@googlemail.comwrote:
it just occured to me that I can simply override my is
On Mon, Dec 7, 2009 at 8:54 AM, Alex Boisvert alex.boisv...@gmail.comwrote:
On Mon, Dec 7, 2009 at 8:02 AM, cody koeninger c...@koeninger.org wrote:
On Dec 6, 9:16 pm, Alex Boisvert alex.boisv...@gmail.com wrote:
Lift's mapper doesn't change the default isolation level of your
I've put together some sample code that describes how to access multiple
databases from a single Lift app. It's enclosed.
First, you need to identify different ConnectionIdentifiers for each
connection:
package com.liftcode.model
import net.liftweb._
import mapper._
case object
On Sun, Dec 6, 2009 at 5:44 AM, Alex Black a...@alexblack.ca wrote:
We made this change for Lift 1.1. So, if you're using 1.1, the same
instance of a snippet should be used for a given HTTP request.
Hi David, I've just switch from Lift 1.0 to Lift 1.1-M6, do you think
this change is in
Another strategy, different from what Ross suggests, that I have found
useful in some circumstances. In the view do this:
lift:YourPage
page:firstsection
firstsection:username/
firstsection:foo/
/page:firstsection
page:secondsection
secondsection:username/
That looks like a great idea, thanks Harry, I didn't know you could
next stuff like that.
On Dec 7, 3:39 pm, harryh har...@gmail.com wrote:
Another strategy, different from what Ross suggests, that I have found
useful in some circumstances. In the view do this:
lift:YourPage
Hi David,
I just tried something similar out.
1. I created a blank 1.0 lift project
2. I updated the pom file to reference lift-1.1M6
3. I added a line to the hello world snippet in its body:
println(Constructor)
4. I modified index.html to call the snippet twice.
5. I then launched the web
Liam,
Right now, there's no best practices for snippet/template integration. If
you or anyone else has good ideas on this or desired IDE integration, please
post them.
Thanks,
David
On Sun, Dec 6, 2009 at 3:02 AM, Liam Clarke ml.cyre...@gmail.com wrote:
Hi all,
I'm quite new to Lift, just
On Dec 7, 1:54 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Feel free to open a ticket. We prioritize work for production sites (or
sites that are destined for production). If you meet that criteria, please
add this to the ticket so we can decide on what the priority is.
Thanks,
SiteMap is out of the question. I don't need it at all on my site, by
design.
I like the way this is done in RoR: you can basically say:
before_filter :authorize, :except = :login
And it will call authorize for all top level methods in the
controller class except login. Not that any of this is
David,
I couldn't find encodeAsJSON_! on MetaMapper in the Lift source on
github.
Where is this code checked in?
Glenn
On Dec 2, 1:15 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Folks (HarryH -- this means you),
I've just checked in code on the dpp_issue_213 that does Mapper -
On Mon, Dec 7, 2009 at 1:32 PM, DMB combust...@gmail.com wrote:
SiteMap is out of the question. I don't need it at all on my site, by
design.
If you claimed I don't need controllers by design in an RoR site, then
your example would not work.
SiteMap is the access control mechanism for Lift.
On Mon, Dec 7, 2009 at 12:50 PM, Alex Black a...@alexblack.ca wrote:
Hi David,
I just tried something similar out.
1. I created a blank 1.0 lift project
How about starting with a Lift 1.1 project?
2. I updated the pom file to reference lift-1.1M6
Did you update the version of Scala?
Heiko,
Just curious what the difference between Major and Minor truly is as both
can break source/binary compatibility? My feeling here is that sticking to
strick source-compatibility for minor releases is actually a bonus.
The other question I have is about deprecations. What's your plan
How about starting with a Lift 1.1 project?
I'll give it a try. I was mimicking how I tried to upgrade my 1.0
project.
Did you update the version of Scala?
Nope, it is a 2.7.3 in the pom.
Just now I updated it to 2.7.7, re-ran, and saw the same behaviour.
What is the issue with the
On Mon, Dec 7, 2009 at 2:23 PM, Alex Black a...@alexblack.ca wrote:
How about starting with a Lift 1.1 project?
I'll give it a try. I was mimicking how I tried to upgrade my 1.0
project.
Did you update the version of Scala?
Nope, it is a 2.7.3 in the pom.
Just now I updated it to
Its not causing me any issue at the moment, just figured it'd be
faster/more correct to call the constructor just once if only one
instance was needed.
- Alex
On Dec 7, 5:25 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
On Mon, Dec 7, 2009 at 2:23 PM, Alex Black a...@alexblack.ca wrote:
Thanks for the help on this guys, looks promising.
On Dec 7, 12:57 pm, Ross Mellgren dri...@gmail.com wrote:
Sha-bam
http://github.com/dpp/liftweb/issues/#issue/229
-Ross
On Dec 7, 2009, at 12:43 PM, David Pollak wrote:
Is there a ticket for this? I'm in ticket-closing mode today ;-)
Great! Thank you for the heads-up.
On Dec 7, 9:55 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Randinn,
This is already slated for 1.1/2.0 release... dont worry we are getting to it
:-)
Cheers, Tim
On 7 Dec 2009, at 08:09, Randinn wrote:
I am writing here to get a dialog going
A pretty good idea, a commiter makes a change or adds a feature then
post about it on a blog, that would make it easier for people to go
through and later on to be able to update the documentation.
On Dec 7, 10:53 pm, TylerWeir tyler.w...@gmail.com wrote:
Something like This Week in Lift master
-- Forwarded message --
From: Dave Briccetti da...@davebsoft.com
Date: Mon, Dec 7, 2009 at 3:15 PM
Subject: Watch Foursquare Lift talk live from NY
To: Bay Area Scala Enthusiasts scala-b...@googlegroups.com
http://www.justin.tv/n8han
--
You received this message because you are
You are aware that our maven site automatically generates a list of
changes in a given version? If any commiters adds something then they
updates the changes.xml for just this reason.
Take a look at that and see if it is the kind of thing you would like?
I'm not saying it's everything you
After some experimenting I have field validation working with JSR 303
annotations. See:
http://wstrange.wordpress.com/2009/12/07/inline-field-validation-in-scalalift-using-jpa-and-jsr-303/
On Dec 5, 10:53 pm, wstrange warren.stra...@gmail.com wrote:
After more experimenting ... I think
Hi ,
When I use RequestVar get the message: RequestVar ... was set but not
read
My code like this:
object MyMgr {
...
Loc.Snippet(myFoo,myFoo)
...
object myId extends RequestVar[Long](0)
def myFoo(xhtml: NodeSeq): NodeSeq = {
def selectNode = {
I think that message is just informative, letting you know that you don't seem
to be using the request var fully (perhaps due to typo, or code refactoring
that made it unused, or something.)
I think it'll go away if you access the variable somewhere using myId.is.
-Ross
On Dec 7, 2009, at
I use myId.is but get nothing.
I don't know what I could do with the information.
On Tue, Dec 8, 2009 at 10:19 AM, Ross Mellgren dri...@gmail.com wrote:
I think that message is just informative, letting you know that you don't
seem to be using the request var fully (perhaps due to typo, or
If you missed the talk you can download it from the same link. It's a
good one.
One thing mentioned briefly in the talk that I'd like to know more
about is oAuth Server code. Is anyone working on that? How can I help?
Peter
On Dec 7, 3:16 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Well if you logically expected it to be read but it wasn't, it might indicate a
bug to you or help in diagnosis.
I'm not sure I understand your reply fully -- when you added myId.is did the
log message go away? If not, could you post your code?
-Ross
On Dec 7, 2009, at 9:39 PM, Xuefeng Wu
Hi all,
I just discovered that XHTML pages do not support all the character
entity references HTML does[1]. In my case that means switching from
deg; to ° in my Javascript file. This is fine except that I am now
getting a garbled character. My file is encoded in UTF-8 and Maven is
using UTF-8[2],
Hmm. I need to give it a try. I didn't realize it has such diverse
functionality.
On Dec 7, 1:38 pm, Marius marius.dan...@gmail.com wrote:
I'm not really sure why you're saying that SiteMap is out of the
question. Note that SiteMap does NOT equate with the Menu. You can use
SiteMap to define
My code :
object CompetenceMgr {
Menu(Loc(Competence, List(competence, index), S.?(Competence),
ifIsLoggedIn,
...
Loc.Snippet(buildCompetenceDicRows, buildCompetenceDicRows),
Loc.Snippet(addCompetenceB, addCompetenceB),
private object
Peter,
My understanding is that JavaScript strings must be ASCII or escaped to
Unicode: \u4455 (or whatever the unicode character is for degrees).
Thanks,
David
On Mon, Dec 7, 2009 at 7:14 PM, Peter Robinett pe...@bubblefoundry.comwrote:
Hi all,
I just discovered that XHTML pages do not
On Mon, Dec 7, 2009 at 6:59 PM, Peter Robinett pe...@bubblefoundry.comwrote:
If you missed the talk you can download it from the same link. It's a
good one.
One thing mentioned briefly in the talk that I'd like to know more
about is oAuth Server code. Is anyone working on that?
It's on my
I'm sorry, I'm having trouble following your code, I think too much of the
surrounding code and templates is missing for me to reason about why you would
have a problem.
I set up a quick example app, so maybe the code from that will help you. It is
here:
On Mon, Dec 7, 2009 at 3:49 PM, Alex Boisvert alex.boisv...@gmail.comwrote:
On Sun, Dec 6, 2009 at 7:43 PM, James Black planiturth...@gmail.comwrote:
I tried S.setDocType and got this error, using LIFT 1.0.1, with this bit
of code in Boot.scala:
class Boot {
def boot {
if
Tim,
A fix is up for review: http://reviewboard.liftweb.net/r/137/. This
resolved the scala:doc inconsistency among other things.
Cheers, Indrajit
On Nov 30, 11:42 pm, Indrajit Raychaudhuri indraj...@gmail.com
wrote:
Short answer:
Use mvn site for a couple of days to have the package link
Hi Ross,
Yes it's not in the same request.
My case is:
When user select a tree node, I want to store this nodeId and If user click
a button to create a child node, I want to get the selected node.
I use ModalDialog when user click the button to create now node.
On Tue, Dec 8, 2009 at 11:50 AM,
My current solution is that when user select a tree node, I replace the add
button dependence on the node.
2009/12/8 Xuefeng Wu ben...@gmail.com
Hi Ross,
Yes it's not in the same request.
My case is:
When user select a tree node, I want to store this nodeId and If user click
a button to
On Mon, Dec 7, 2009 at 8:37 PM, Xuefeng Wu ben...@gmail.com wrote:
Hi Ross,
Yes it's not in the same request.
It's not the same request. The code:
a(() = {
*//here I try to get the categoryId if it selected.*
val catId: Long = _categoryId.is
On Mon, Dec 7, 2009 at 8:46 PM, Xuefeng Wu ben...@gmail.com wrote:
My current solution is that when user select a tree node, I replace the add
button dependence on the node.
If you can create a very simple example of what you're trying to do, we can
help you debug the actual, runnable code.
Hi,
I've you're running against an h2 database, you can add the following to the
end of your Boot.boot to launch the h2 web console when every you start up
jetty. It's a very simple web interface to the database, but super convenient
(it will even launch your browser for you):
if
I can't seem to be able to download the talk. Anyone else having problems?
M
On Mon, Dec 7, 2009 at 7:59 PM, Peter Robinett pe...@bubblefoundry.com wrote:
If you missed the talk you can download it from the same link. It's a
good one.
One thing mentioned briefly in the talk that I'd like to
On Mon, Dec 7, 2009 at 8:50 PM, Mateo Barraza mateo.barr...@gmail.comwrote:
I can't seem to be able to download the talk. Anyone else having problems?
Yeah... n8han's uploading the video elsewhere... we'll send around an URL
once we get one.
M
On Mon, Dec 7, 2009 at 7:59 PM, Peter
Hi David Ross,
Thank you for your help,
I understand RequestVar now, which muse be used in the same request.
My case is that I have a tree and a separate button.
When use click the tree node, the separate button should know which node is
selected.
Right now I replace the separate button when
6:30 p.m. the time zone is -8:00?
On Tue, Dec 8, 2009 at 12:58 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Dec 7, 2009 at 8:50 PM, Mateo Barraza mateo.barr...@gmail.comwrote:
I can't seem to be able to download the talk. Anyone else having problems?
Yeah... n8han's
Hi,
I want to highlight the lift notice and it will hide when timeout.
Should I code every request or only to config lift some where?
For example:
When use put items into the shopping cart, highlight the items some seconds
to notice the user.
--
Scala中文社区:
2009/12/7 Josh Suereth joshua.suer...@gmail.com
Just curious what the difference between Major and Minor truly is as both
can break source/binary compatibility? My feeling here is that sticking to
strick source-compatibility for minor releases is actually a bonus.
Major changes (e.g.
Please see this:
http://groups.google.com/group/liftweb/browse_thread/thread/972562da2c40ce88/ea30455fc11d4e1f?hl=enlnk=gstq=notice+fade#ea30455fc11d4e1f
If you are using Ajax, notices could easily fade out.
Br's,
Marius
On Dec 8, 8:02 am, Xuefeng Wu ben...@gmail.com wrote:
Hi,
I want to
Yes, it's my wanted.
How could I configure it at boot?
On Tue, Dec 8, 2009 at 3:44 PM, Marius marius.dan...@gmail.com wrote:
Please see this:
http://groups.google.com/group/liftweb/browse_thread/thread/972562da2c40ce88/ea30455fc11d4e1f?hl=enlnk=gstq=notice+fade#ea30455fc11d4e1f
If you are
79 matches
Mail list logo