My pom.xml file says 1.1-SNAPSHOT and I changed it to scala version
2.7.4 and did a mvn -U clean install again. But I still get the same
error.?
David Pollak schrieb:
On Sun, Apr 26, 2009 at 1:11 PM, Tobias Daub hannes.flo...@gmx.li
mailto:hannes.flo...@gmx.li wrote:
Hi
But you don't want the Session in the domain model I thought.
Anyway, after a few hours digging around looking at how other people
do this stuff with respect to DDD in particular, it looks like I am
asking the wrong question to a certain extent. The way it is done in
the DDD site sample app
Hi Derek,
This is proving a useful debate for me since it has helped clarify my
issues.
As far as I can see the conventional method of using JPA is, within
a single session to use some initial query process to obtain one or
more entities. All subsequent operations within that session must be
Hi guys,
I want to add objects into session scope.
i am using following code :
object sessionObj extends SessionVar[HashMap[String, Int]](
new HashMap[String, Int]
{
override def default(key: String): Int = 0
}
)
So as per my understanding :-
1.
Try:
// this gets you whatever is in the session object so add to it here
SessionObj.is
Do you specifically need to use Java HashMap? If not, seems like
List[(String,Int)] would be more lift-esq.
Cheers, Tim
On 28/04/2009 13:30, pravin pravinka...@gmail.com wrote:
Hi guys,
I want to add
OK, the DDD approach makes more sense. Having a layer of repository DAO
interfaces that can be implemented by concrete provider classes is a common
way of separating this out, and is much cleaner than having any DAO
functionality on your entities proper. Just thinking off the top of my head,
you
Or even scala.collection.Map ;)
On Tue, Apr 28, 2009 at 7:58 AM, Timothy Perrett timo...@getintheloop.euwrote:
Try:
// this gets you whatever is in the session object so add to it here
SessionObj.is
Do you specifically need to use Java HashMap? If not, seems like
List[(String,Int)]
On Tue, Apr 28, 2009 at 5:30 AM, pravin pravinka...@gmail.com wrote:
Hi guys,
I want to add objects into session scope.
i am using following code :
object sessionObj extends SessionVar[HashMap[String, Int]](
new HashMap[String, Int]
{
override def default(key:
I was trying out various IDEs to run the unit tests in the lift-webkit
module and was getting errors. I guess due to recent changes in scala
language version?
Here's the trivial patch that fixes it - it seems reflection on the
continuation stuff was no longer working
Scala, Javascript, and Lift newbie question:
How do I integrate the jQuery datepicker?
I'd like to enforce some standard date format that a user must enter for
a database field. I'm use CRUDify on a model object with a date field
and I'd like to have it use a datepicker instead of just a
Are the 1.1-SNAPSHOT API docs online somewhere?
If not, can I generate them myself using maven2?
(As an aside, I'm new to maven... How the !#$#$ do you figure out what
commands are available in maven? I'm used to ant -projecthelp to give
me a hint as to what is available)
--Andrew
On Tue, Apr 28, 2009 at 9:08 AM, Andrew Scherpbier and...@scherpbier.orgwrote:
Are the 1.1-SNAPSHOT API docs online somewhere?
http://scala-tools.org/mvnsites-snapshots/liftweb/lift-util/scaladocs/index.html
http://scala-tools.org/mvnsites-snapshots/liftweb/lift-webkit/scaladocs/index.html
The webkit docs are here:
http://scala-tools.org/mvnsites-snapshots/liftweb/lift-webkit/scaladocs/inde
x.html
If you want to generate them locally, just download the lift src and run
this from the top level directory:
mvn install scala:doc
Cheers, Tim
On 28/04/2009 17:08, Andrew Scherpbier
hello,
Tried to dig a bit more. I noticed that I get the cryptic compile
error with the mock objects if I have the following code for User:
---
object User extends MetaUser {
override def dbTableName = users // define the DB table name
override def screenWrap = Full(lift:surround
How about:
override def fieldOrder = List[BaseOwnedMappedField[User]](id, firstName,
lastName, email,
locale, timezone, password, textArea)
The compiler often gets the type signature wrong on Lists of MappedField.
On Tue, Apr 28, 2009 at 9:51 AM, erik.karls...@iki.fi
Grab the git repo for PocketChange, we just the UI Datepicker:
http://github.com/tjweir/pocketchangeapp/tree
On Apr 28, 12:06 pm, Andrew Scherpbier and...@scherpbier.org wrote:
Scala, Javascript, and Lift newbie question:
How do I integrate the jQuery datepicker?
I'd like to enforce some
And by just I mean use
What an odd typo.
On Apr 28, 1:44 pm, TylerWeir tyler.w...@gmail.com wrote:
Grab the git repo for PocketChange, we just the UI
Datepicker:http://github.com/tjweir/pocketchangeapp/tree
On Apr 28, 12:06 pm, Andrew Scherpbier and...@scherpbier.org wrote:
Scala,
Pretty much all SHtml function related to Ajax invokes the ajax call
as to click the link, button, etc. SHtml.ajaxCall function allow you
to provide a JsExp (which could be any JavScript expression) who's
result would be passed to the ajax call. But I don't think this will
help your case a whole
I agree. Allowing for a guard JavaScript expression to be called before
the Ajax call is made would be nice.
Derek
On Tue, Apr 28, 2009 at 3:02 PM, marius d. marius.dan...@gmail.com wrote:
Pretty much all SHtml function related to Ajax invokes the ajax call
as to click the link, button, etc.
It works now!
Thanks a lot for the help!
- Erik
On Apr 28, 8:12 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
How about:
override def fieldOrder = List[BaseOwnedMappedField[User]](id, firstName,
lastName, email,
locale, timezone, password, textArea)
The compiler often gets the
?
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp
--~--~-~--~~~---~--~~
You received this message because you are
Was only just looking at this the other day... I really only wanted an ajax
uploader with progress bar and for that I need streaming uploads (which we
don¹t have) so right now it was a non-starter.
Cheers, Tim
On 29/04/2009 00:07, David Pollak feeder.of.the.be...@gmail.com wrote:
?
Here's an example of a confirm dialog box. Hope it helps.
PS -- I grew up in Rhode Island.
On Tue, Apr 28, 2009 at 1:15 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
I agree. Allowing for a guard JavaScript expression to be called before
the Ajax call is made would be nice.
Derek
On
On Tue, Apr 28, 2009 at 4:17 PM, Timothy Perrett timo...@getintheloop.euwrote:
Was only just looking at this the other day... I really only wanted an ajax
uploader with progress bar and for that I need streaming uploads (which we
don’t have) so right now it was a non-starter.
Is there a
Yeah there is a really great little lib I found for it... 5 mins and I¹ll
dig it out
On 29/04/2009 00:43, David Pollak feeder.of.the.be...@gmail.com wrote:
On Tue, Apr 28, 2009 at 4:17 PM, Timothy Perrett timo...@getintheloop.eu
wrote:
Was only just looking at this the other day... I
This is the one:
http://github.com/drogus/jquery-upload-progress/tree/master
Cheers, Tim
On Apr 29, 12:54 am, Timothy Perrett timo...@getintheloop.eu wrote:
Yeah there is a really great little lib I found for it... 5 mins and I¹ll
dig it out
On 29/04/2009 00:43, David Pollak
Can you post (or send privately to me) your failing code?
On Mon, Apr 27, 2009 at 11:50 PM, Tobias Daub hannes.flo...@gmx.li wrote:
My pom.xml file says 1.1-SNAPSHOT and I changed it to scala version
2.7.4 and did a mvn -U clean install again. But I still get the same
error.?
Howdy,
Here's an example of using an actor to do background processing and
redirecting a browser to the result when it's been calculated.
Thanks,
David
On Wed, Apr 22, 2009 at 1:38 PM, Rogelio rogbo...@gmail.com wrote:
Hi,
New to the forum and new to Scala/Lift. In a previous Ruby Rails
Nice example David - very illustrative for newbies :)
Just wondering if having somthing like this in either sites or sites/
example is worthwhile?
Cheers, Tim
On Apr 29, 1:15 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
Howdy,
Here's an example of using an actor to do background
On Tue, Apr 28, 2009 at 5:21 PM, Timothy Perrett timo...@getintheloop.euwrote:
Nice example David - very illustrative for newbies :)
Just wondering if having somthing like this in either sites or sites/
example is worthwhile?
I'm going to roll some of the recent examples into sites/example
So, you'd probably do something like:
lift:MyScriptManager
body script:onload=alert()
/body
/lift:MyScriptManager
class MyScriptManager {
def render(in: NodeSeq) =
bind(script, in, FuncAttrBindParam(onload,
what = Text(.r.replaceAllIn(what.text, 'Hello World'))
,onload))
Hi David,
I copied the ajaxButton method from SHtml and created an
ajaxConfirmButton that called confirm(...) before conditionally
executing the method, but your solution is much more elegant. It's
exactly what I was after. You might want to post this on the wiki
somewhere (maybe in a cookbook of
I've posted a first snapshot of the jSync server (and the corresponding
javascipt client) here on
githubhttp://github.com/mighdoll/jsync/tree/master.
jSync synchronizes trees of objects between javascript and scala. jSync is
not complete enough for use yet, but I'm pleased with the approach so
Still there might be situations when users do not use blockUI (I
encountered such situation when having a really fancy dialog) and
blockUI was screwing it up a bit. So for more complex cases where the
dialog function is much more complex I tend to think that we need
something more generic.
Oh
34 matches
Mail list logo