Do you perhaps have an example function at hand?
On 19 Jan., 06:12, David Pollak feeder.of.the.be...@gmail.com wrote:
On Sun, Jan 17, 2010 at 12:24 PM, ced docpom...@googlemail.com wrote:
Hi all,
is there a way to hook into the creation of snippets? I'd like to gain
control over their
I have an Oracle table that has a timestamp column with a default
value (current_timestamp). Mapper doesn't allow a save operation
unless I specifically specify a value for the timestamp column. I
would prefer to leverage the database's timestamp vs. the middle
tier's. Is there a way that I can
aw anth...@whitford.com writes:
I have an Oracle table that has a timestamp column with a default
value (current_timestamp). Mapper doesn't allow a save operation
unless I specifically specify a value for the timestamp column. I
would prefer to leverage the database's timestamp vs. the
Hi All,
I have a lift app, where one of the functions performs sub-computations
(including network operations) in parallel via future(s) Futures.awaitAll.
It runs fine on the first request, but subsequent requests throws a
IllegalStateException:
Exception in thread Thread-30
I'd recommend using Lisft 1.1-SNAPSHOT or 2.0-SNAPSHOT
You stacktrace doesn't indicate anything related with Lift, so are you
using Java's scheduler, or are you using actors? Lift's ActorPing and
actors is a good way of doing scheduling. So can you elaborate on how
are you doing the scheduling?
On Tue, Jan 19, 2010 at 2:36 AM, ced docpom...@googlemail.com wrote:
Do you perhaps have an example function at hand?
LiftRules.snippets.append {
case Foo = xml = bind(foo, xml, bar - baz)
}
On 19 Jan., 06:12, David Pollak feeder.of.the.be...@gmail.com wrote:
On Sun, Jan 17, 2010 at
Hey guys,
i am trying to extend my logging trait. The Problem is, i can't say
something like A : LongKeyedMapper[A] in my trait since ProtoUser
doesn't use IdPK but uses it's own declarations (which look the same
to me).
If i read that piece of code right, it should be no problem to extend
On Tue, Jan 19, 2010 at 9:53 AM, Franz Bettag fr...@bett.ag wrote:
Hey guys,
i am trying to extend my logging trait. The Problem is, i can't say
something like A : LongKeyedMapper[A] in my trait since ProtoUser
doesn't use IdPK but uses it's own declarations (which look the same
to me).
The lift-wizard and lift-record packages both have Field traits that
appear to do very similar things, with the end result being that the
lift-wizard currently can't use the existing EmailField,
PasswordField, UploadField traits.
Will these types be unified at some point? Will we be able to use
I'm new to maven so I just followed the Lift Getting Started
guide, which uses mvn jetty:run to start jetty and ctrl-c to stop it.
I used sbt before for another project that uses a different framework
and like it that it auto-compiles the changed files and restarts jetty
(as far as I remember -
On Tue, Jan 19, 2010 at 10:56 AM, Tim Maxwell truthspi...@gmail.com wrote:
The lift-wizard and lift-record packages both have Field traits that
appear to do very similar things, with the end result being that the
lift-wizard currently can't use the existing EmailField,
PasswordField,
net.liftweb.record.field.EmailField
Am I wrong about these fields being what the UI layer uses to generate
forms?
On Jan 19, 1:02 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Tue, Jan 19, 2010 at 10:56 AM, Tim Maxwell truthspi...@gmail.com wrote:
The lift-wizard and lift-record
On Tue, Jan 19, 2010 at 11:06 AM, Tim Maxwell truthspi...@gmail.com wrote:
net.liftweb.record.field.EmailField
The record stuff is not yet integrated into the Screen/Wizard stuff. I'm
likely to be the person to do that work and I'm massively behind due to a
bunch of personal stuff. I doubt
Folks,
Please join me in welcoming Mads to the Lift committers.
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics
--
You received this message because
Welcome, Mads!
-Ross
On Jan 19, 2010, at 2:15 PM, David Pollak wrote:
Folks,
Please join me in welcoming Mads to the Lift committers.
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow
On 19 Jan., 19:32, David Pollak feeder.of.the.be...@gmail.com wrote:
i am trying to extend my logging trait. The Problem is, i can't say
something like A : LongKeyedMapper[A] in my trait since ProtoUser
doesn't use IdPK but uses it's own declarations (which look the same
to me).
Why do
Damn, i tried Long all day long with structural typing.. gnarf.
On 19 Jan., 20:55, Ross Mellgren dri...@gmail.com wrote:
How about structural typing?
trait Stamped[A : LongKeyedMapper[A] with { val id: MappedLongIndex[A] }] ...
I haven't tried it, but maybe it will work.
-Ross
On Jan 19,
Btw. without the with ;) And it doesn't work.
error: type arguments [bettag.lift.kundenlogin.model.Customer] do not
conform to trait Stamped's type parameter bounds [A :
net.liftweb.mapper.LongKeyedMapper[A]{def id:
net.liftweb.mapper.MappedLongIndex[A]}]
class Customer extends
You don't need to use structural typing.
Any KeyedMapper has a primaryKey method that returns a Mapped field of the
type of the key. To get the primary key field of a given KeyedMapper
instance, just call primaryKey.
On Tue, Jan 19, 2010 at 11:55 AM, Ross Mellgren dri...@gmail.com wrote:
How
Hi Marius and Tim (and anyone who has an opinion on this). Sorry for not
responding earlier.
To clarify, there's no question that parseXXX will continue to return a box.
The call to the DateFormat's parse method is wrapped in tryo in the default
implementation.
The real question is if formatXXX
That works! Thank you!
On 19 Jan., 21:39, Ross Mellgren dri...@gmail.com wrote:
I see primaryKeyField in the docs, maybe try .record(obj.primaryKeyField.is) ?
-Ross
On Jan 19, 2010, at 3:31 PM, Franz Bettag wrote:
trait Stamped[A : LongKeyedMapper[A]]
extends SkipLogging with
may i ask what the is method exactly does? googling for it is a bit
hard since is is quite commonly used ;)
On 19 Jan., 21:39, Ross Mellgren dri...@gmail.com wrote:
I see primaryKeyField in the docs, maybe try .record(obj.primaryKeyField.is) ?
-Ross
On Jan 19, 2010, at 3:31 PM, Franz Bettag
On Tue, Jan 19, 2010 at 12:47 PM, Franz Bettag fr...@bett.ag wrote:
may i ask what the is method exactly does? googling for it is a bit
hard since is is quite commonly used ;)
Each of the fields is a container that contains the given value (String,
Long, etc.) The is method fetches the
Hi Mads!
2010/1/19 David Pollak feeder.of.the.be...@gmail.com
Folks,
Please join me in welcoming Mads to the Lift committers.
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me:
Does JAI need everything in RAM?
Also, how do you deal with DPI?
-
Ross Mellgrendri...@gmail.com wrote:
Well, it has to keep the whole source (packed) in memory and the target
(unpacked / 32 bit RGBA) in memory, so I would assume that as long as
I think both Java2D and JAI have API for tiles. Do you know if that has
anything to do with loading only part at a time, or what they're for?
-
Ross Mellgrendri...@gmail.com wrote:
Well, it has to keep the whole source (packed) in memory and the target
Thanks for the update. Good luck with all the personal stuff. If I
decide to go the route of integrating I will report back on any
progress I make.
Cheers,
Tim
On Jan 19, 1:13 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Tue, Jan 19, 2010 at 11:06 AM, Tim Maxwell
Welcome Mads, what are you planning on contributing to start with?
Send me offline a picture and description of yourself so I can add you
to liftweb.net
Cheers, Tim
Sent from my iPhone
On 19 Jan 2010, at 19:15, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
Please join me
To whom it may concern:
My name is Phillip Stephen I am looking for some developers to work
with my new exciting invention called tengo tea.
This will be the first UI available in the market that will allow baby
boomers to access their day to day tasks in an argumentative
reality.
--
You
I own www.pacnboxmoving.com My innovation is in the Streaming Music
industry. Looking to get a developer on Scales/ Lift for equity on my
project ASAP!
Thanks,
Phillip
2010/1/19 Timothy Perrett timo...@getintheloop.eu
Welcome Mads, what are you planning on contributing to start with?
Send
I assume you meant to post this in your own thread?
-
Phillip Stephenichibanze...@gmail.com wrote:
I own www.pacnboxmoving.com My innovation is in the Streaming Music
industry. Looking to get a developer on Scales/ Lift for equity on my
project ASAP!
Thanks,
So why don't you calculate it on the server independently?
The other option would be javascript to copy the value into a hidden field.
-
Madhavmail.madhavsha...@gmail.com wrote:
hi
Value is result of calculation done by jquery plugin in the html
template . It
I have money looking for someone with some balls (figurative) I have
some ambitious ideas for a UI just need some traction for android
common sense to what is or is not possible for the Nexus One.
415-891-7044 Call me anytime... the name is Phillip Stephen.
--
You received this message because
Thanks guys :)
@Timothy Perrett
Unless someone beats me to the punch I was thinking about solving
this:
http://github.com/dpp/liftweb/issues#issue/46
I already have a local version which should solve it but unfortunately
I have an exam the 21. of Jan so can't really work on it without my
It would be nice if a MappedField could be set to not be included in an
update/insert statement.
Maybe instead of Mapper having nullable fields, and a default with a check if
the current value is the default, we need a new type in the spirit of Option
and Box, with four states: A value, null,
I see - cool. Anything else you wanted to work on or contribute?
Cheers, Tim
On Jan 19, 10:12 pm, Mads Hartmann mads...@gmail.com wrote:
Thanks guys :)
@Timothy Perrett
Unless someone beats me to the punch I was thinking about solving
this:http://github.com/dpp/liftweb/issues#issue/46
I
JRebel and sbt do very different things.
Sbt is an alternative to maven. It's a build tool. You can get continuous
compilation with maven by typing mvn scala:cc. Sbt currently has better
dependency analysis, to know when to recompile what. Maven currently has two
modes:
I'm fancying this on too: http://github.com/dpp/liftweb/issues#issue/281
And that's it I think, for now at-least :)
On Jan 19, 11:19 pm, Timothy Perrett timo...@getintheloop.eu wrote:
I see - cool. Anything else you wanted to work on or contribute?
Cheers, Tim
On Jan 19, 10:12 pm, Mads
Thanks for the reply, Marius. Where can I get the 1.1 or 2.0 snapshot?
I'm not doing any scheduling myself. I just created a bunch of Future's, and
then call Futures.awaitAll. But my understanding is that Future is
implemented with Actor's.
val fResults = ids.map { id =
Welcome on board, Mads!
Looking forward to the outcome of what you are fancying.
And all the best for your exams.
Cheers, Indrajit
On 20/01/10 3:56 AM, Mads Hartmann wrote:
I'm fancying this on too: http://github.com/dpp/liftweb/issues#issue/281
And that's it I think, for now at-least :)
Howdy,
The short (and not politically popular) answer is that Scala's Actor
implementation is generally fragile and often broken. Lift made the painful
switch away from Scala Actors 4 or so months ago for this reason.
If you can put together a simple example of the failure (basically something
41 matches
Mail list logo