Hi,
I've created a MappedTextarea field with a maximum length as follows:
class Item extends LongKeyedMapper[WorkUnit] with IdPK {
object description extends MappedTextarea(this,300)
}
MappedTextarea extends MappedString. MappedString puts a maxlength=N
onto the corresponding
Changed the thread subject ...
Marius
On Aug 22, 6:17 pm, marius d. marius.dan...@gmail.com wrote:
Great thing Dave.
Roughly having a bound function f that user provided say in an
ajaxButton call.The function f may hold references to other functions,
session/request-vars, references to
Have you tried using the windows installer?
Cheers, Tim
On Aug 23, 6:08 am, DFectuoso santiago1...@gmail.com wrote:
Hi, i have been working in linux and mac and having a wonderful time
with mvn and everything lift's got to offer =). Sadly i want to teach
lift to a person who uses Windows as
Personally id do something a little more complex than have a sink url
like /content/ :-)
Cant you just write a regex to match various types of static content
so its transparently served by NGINX irrespective of resource path? Of
course, there are a few exceptions like liftAjax.js, but for the
Can you please be more specific about your app tier that you wish to
access - im unfortunately not seeing what hurdle stops you from
accessing it just as you would from Java?
Cheers, Tim
On Aug 22, 9:45 pm, greekscala hellectro...@gmail.com wrote:
Hello Lift Community,
I want to implement a
Indrajit,
We actually discussed this a while back for the installers, and the
long term plan is still that we do something like this to speed the
getting started process if you know of any generation plugins that
could potentially serve as a starting point that would be great!
This stuff is
I'm wondering if we can't leverage JavaSpaces to handle a lot of this stuff.
From my experience with the technology it seems to be a pretty good fit for
the problem.
On Sun, Aug 23, 2009 at 11:06 AM, marius d. marius.dan...@gmail.com wrote:
Changed the thread subject ...
Marius
On Aug
I've been playing with JINI a few years ago a liked it a lot (not a
simple programming model, but JavaSpace reduces a lot of such
complexity) but I'm not sure how fitful it really is in stax like
environments where broadcast UDP may not be supported so discovery
service would be more difficult.
Hello Timothy,
thank you.
I know that I do not need Spring for Scala.
I dont expressed it well. How do I glue my app parts
together. And how do I glue the lift part with a facade or
application service of my domain layer.
Thanks for your help
On 23 Aug., 13:12, Timothy Perrett
I guess JGroups is another alternative here, it's a bit lower level, but
does let you set up nodes manually - so it's not an issue that you need UDP
broadcast (although it helps...)
On Sun, Aug 23, 2009 at 1:09 PM, marius d. marius.dan...@gmail.com wrote:
I've been playing with JINI a few
I tried to find some info about the correct usage of template related
tags on wiki but I couldn't find the most recent information about it.
I'm starting with Lift and I couldn't find all information that I want
on wiki pages, is there any chance to update the wiki with some info
about these
I am doing a startup company that involves both a lot of processing on
the backend (in the code) and a decent amount of comet/ajax in the
frontend.It is very important that the code quickly on the server. I
have seen the light with respect to Scala and Lift looks terrific. My
only concern is
Currently both with-param and bind-at are supported. I'll try to
update the wiki.
Br's,
Marius
On Aug 23, 5:28 pm, _rogerio_ rogerio.ara...@gmail.com wrote:
I tried to find some info about the correct usage of template related
tags on wiki but I couldn't find the most recent information about
On Sun, Aug 23, 2009 at 8:45 AM, jack jack.wid...@gmail.com wrote:
I really do want to use Lift instead of Rails. Could somebody please
convince me? :)
I used to struggle with Rails (and to a lesser extent Merb) because it was
difficult to do things that weren't the Rails Way. Lift does have
On Sun, Aug 23, 2009 at 4:50 AM, Kevin Wright kev.lee.wri...@googlemail.com
wrote:
I'm wondering if we can't leverage JavaSpaces to handle a lot of this
stuff. From my experience with the technology it seems to be a pretty good
fit for the problem.
Two reasons:
- JavaSpaces is as far as I
Looks like you don't need to be convinced :) ... Scala with its
features + Java compatibility + Lift's rich set of features +
performance of Scala Lift makes it a no brainer. Enumerating all the
pros of Scala and Lift would just take way to long.
The list of Scala books and the Lift book are
On Sun, Aug 23, 2009 at 7:04 PM, David
Pollakfeeder.of.the.be...@gmail.com wrote:
On Sun, Aug 23, 2009 at 4:50 AM, Kevin Wright
kev.lee.wri...@googlemail.com wrote:
I'm wondering if we can't leverage JavaSpaces to handle a lot of this
stuff. From my experience with the technology it seems
On Sun, Aug 23, 2009 at 5:15 AM, greekscala hellectro...@gmail.com wrote:
Hello Timothy,
thank you.
I know that I do not need Spring for Scala.
I dont expressed it well. How do I glue my app parts
together. And how do I glue the lift part with a facade or
application service of my domain
Jack,
I started doing Rails in 2004. At the time, there was one Rails book and a
few Ruby books. There had been a few RubyConf conferences and SD Forum had
the first Ruby Rails conference in Silicon Valley. Ruby was mid-pack in
the second set of the Tiobe index.
By those metrics, Lift and
Please make sure you are:
- Using Maven 2.0.9 or greater
- Running things from the Windows command prompt (not the Git shell or
Cygwin)
I regularly use Windows for Scala development. I wrote *Beginning Scala* on
a Windows machine and my traveling laptop is a Windows machine. I have not
Yea, my steps where install java 1.5_20, then ran the windows
installer i got from liftweb.com, then tried to run the application
and basicly got into this problem, seems like maven is trying to
download information from lift's repo and it get an error while trying
to store it on localhost, i'll
Jack,
For my money Rails is somewhat more mature than lift, but lift is on a
trajectory to overtake Rails feature-wise and is certainly already there
performance-wise. The real issue, to me, is Scala vs Ruby. Quite apart from
being more slightly more performant and equally expressive, the real
Hmmm .. I'm wondering if we can write a Scala compiler plugin that
transform functions provided to Lift's S/SHtml function etc. into a
richer FunctionX implementation that knows how to serialize it's
members. We could restrict the types that as LiftSerializable on top
of primitives, Calenars,
Also FlyObjectSpace (http://www.flyobjectspace.com/)
It comes with a suitable licence and has a Scala version. Not used it
myself but I'm definitely about to check it out...
I'd also be willing to be that the devs would be extremely accommodating if
it were being used in a high profile project
On Aug 23, 9:47 pm, Ryan Donahue donahu...@gmail.com wrote:
Marius, this sound like a very good idea. This would allow the app
developer to decide whether to spend the extra time thinking about
serialization/session replication. If you don't need it, then you
don't use the compiler plugin
Marius, this sound like a very good idea. This would allow the app
developer to decide whether to spend the extra time thinking about
serialization/session replication. If you don't need it, then you
don't use the compiler plugin and just continue building lift apps as
you have been. If you do
Thanks Derek for the quick and helpful response. I am going to go with
Lift.
On Sun, Aug 23, 2009 at 12:49 PM, Derek Williams de...@nebvin.ca wrote:
On Sun, Aug 23, 2009 at 8:45 AM, jack jack.wid...@gmail.com wrote:
I really do want to use Lift instead of Rails. Could somebody please
Derek Chen-Becker dchenbec...@gmail.com writes:
It should be very safe to use 1.0.1-SNAPSHOT. I'm planning on spinning the
release of 1.0.1 GA next Wednesday, so we're in a code freeze starting
Sunday. Really, the 1.0 line is strictly bug-fix at this point (1.1-SNAPSHOT
is where new features
Thanks Marius. I agree its a no brainer. Just wanted some independent
confirmation!.
On Sun, Aug 23, 2009 at 1:08 PM, marius d. marius.dan...@gmail.com wrote:
Looks like you don't need to be convinced :) ... Scala with its
features + Java compatibility + Lift's rich set of features +
Sure thing Greg.
On Aug 23, 9:59 pm, Meredith Gregory lgreg.mered...@gmail.com wrote:
Marius,
This is closely related to the proposal to deal with http streams via
delimited continuations. Sorry i haven't fleshed this out a bit. Let me put
my thoughts on paper/pseudo code and email it out
On Sun, Aug 23, 2009 at 10:45 AM, marius d. marius.dan...@gmail.com wrote:
Hmmm .. I'm wondering if we can write a Scala compiler plugin that
transform functions provided to Lift's S/SHtml function etc. into a
richer FunctionX implementation that knows how to serialize it's
members. We could
Are you just looking to pass certain requests down the Servlet's filter
chain so they can be handled generically by the app server?
You can set:
LiftRules.liftRequest.append {
case Req(static_stuff :: _, _, _) = false
}
That'll make /static_stuff/... all get passed through to the web
Hello David,
thanks for helping.
Do you mean by composing my business logic with traits
like the example of Jonas Boner
http://jonasboner.com/2008/10/06/real-world-scala-dependency-injection-di.html
?
I understand the example.
What do you mean by objects? The object Scala keyword?
It would be
Hi Derek,
I hadn't tried deleting my .m2 directory but unfortunately that didn't
help: http://gist.github.com/173501
Peter
On Aug 22, 5:46 am, Derek Chen-Becker dchenbec...@gmail.com wrote:
I don't see anything in the pom.xml that should be causing an issue. Have
you tried wiping your .m2
You need to put the snapshots repository in your repository listing:
repositories
repository
idscala-tools.org/id
nameScala-Tools Maven2 Repository/name
urlhttp://scala-tools.org/repo-releases/url
/repository
repository
idscala-tools.org.snapshots/id
Anyone know offhand what the mvn command is to create a blank JPA
project (split, not single)? We should probably collect all the
archetype commands and put them on the new wiki (and keep them up to
date with the latest version number).
I'm happy to do it if I can figure out what the right
I found this in the lift book and used it:
mvn archetype:generate \
-DarchetypeRepository=http://scala-tools.org/repo-snapshots \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-jpa-basic \
-DarchetypeVersion=1.1-SNAPSHOT \
-DgroupId=com.foo.jpaweb \
-DartifactId=JPADemo \
It looks like this is still the older archive before HttpServletRequest →
HTTPRequest. The code in master has the change applied, so I'm not sure why
it's failing. The warnings are normal (I haven't figured out all of the
tricks with the velocity templating), but something isn't being pulled
No on blowing away m2. I did switch to the blank archetype (which is
what I actually wanted) and it worked fine. But I can try again with the
basic and blowing away m2.
Chas.
Derek Chen-Becker wrote:
It looks like this is still the older archive before HttpServletRequest
→ HTTPRequest. The
39 matches
Mail list logo