hi,
its former method i am using in my app(u mentioned it in last reply).
i have one text box and submit button.
when i click on submit button -
i have to show employee info on my GUI page. (in text box i will
enter emp Id))
This info have to table
one table have information with ajax and
I am trying to make a simple ajax form. The code is below. The
Javascript error I am getting when I hit the send button is:
uncaught exception ReferenceError: F777221462447MPT is not defined
Am I missing something?
lift:surround with=default at=content
h1Hello FormAjax/h1
Nope. Same error, even after blowing away m2 and rerunning the basic
archetype to create a new app.
Chas.
Charles F. Munat wrote:
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
On Aug 24, 12:06 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
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
Hi,
i have one text box and one submit button on my html form...
how can i use ajaxForm method to do this,,,
i go through the sample codes from sample application that lift
provided ...but i want more details for ajaxForm
Thanks in advance...
-Pravin
Hi all,
I want to avoid n+1 problem
so i try to write my code as
val users = User.findAll(PreCache(User.roomChoice), By(User.travel,
travelId))
and i saw the sql generated only once for querying roomChoice.
but when i using the
u.fromPlace.obj, it always become Empty(u.fromPace has correct value)
Please ignore the fact that my keyboard seems to be full of shite...
On Mon, Aug 24, 2009 at 9:39 AM, Viktor Klang viktor.kl...@gmail.comwrote:
On Mon, Aug 24, 2009 at 8:13 AM, marius d. marius.dan...@gmail.comwrote:
On Aug 24, 12:06 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Aug 24, 2009 at 8:13 AM, marius d. marius.dan...@gmail.com wrote:
On Aug 24, 12:06 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
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
On Aug 24, 10:39 am, Viktor Klang viktor.kl...@gmail.com wrote:
On Mon, Aug 24, 2009 at 8:13 AM, marius d. marius.dan...@gmail.com wrote:
On Aug 24, 12:06 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Sun, Aug 23, 2009 at 10:45 AM, marius d. marius.dan...@gmail.com
wrote:
Can you please set scala.version dependency to 2.7.5 in pom.xml and re-
attempt.
You can do this by looking for scala.version/ element in the
pom.xml.
/Indrajit
On Aug 24, 11:06 am, Charles F. Munat c...@munat.com wrote:
Nope. Same error, even after blowing away m2 and rerunning the basic
Charles,
AFAIK I removed all dependencies to javax.servlet.* classes even from
archetypes. Are you using master? ... I did a full search and servlet
things are not being used. The archetype looks ok to me ... Am I
missing something?
Br's,
Marius
On Aug 24, 9:06 am, Charles F. Munat
Hi, Marius...
I don't know what you mean by Are you using master? What I did was use
the Maven archetype to create a basic JPA lift app. Then I changed
directory to the top directory and ran mvn compile. That's it. I got
the errors you see. I didn't do anything else.
I've tried blowing away
Charles,
Sorry for the false noise, setting lift-core dependency to
version1.1-M4/version instead of version1.1-SNAPSHOT/version
in web/pom.xml quite likely would help better.
/Indrajit
NB: I have had created a lift jpa project internally and played with
it for sometime. It took a while to
What I means is if you did a git pull from git master and ran mvn
clean:clean install. That inherently means version 1.1-SNAPSHOT
Br's,
marius
On Aug 24, 11:49 am, Charles F. Munat c...@munat.com wrote:
Hi, Marius...
I don't know what you mean by Are you using master? What I did was use
the
Tim,
Quite likely he is effectively on *latest* 1.1-SNAPSHOT as he used -
DarchetypeVersion=1.1-SNAPSHOT during archetype:create.
Would look forward to the archetype refactoring.
Meanwhile, I have created an issue summarizing the observations in
http://github.com/dpp/liftweb/issues/#issue/52.
Hi
i have form with text box and Submit button(with ajax Submit button)
But when i submit the button form is not submitting so i am not able
to get the value of text box..
onclick function get called...
Just i want to show text value in response with ajax ...
how can i do this
Hi,
I'm trying to create some mixins to be applied to mapper/metamapper
objects to be used when objects are always owned by an account
(ie. a multi tenant db)
The mapper parts works fine:
trait OwnedEntity {
self: BaseMapper =
object account extends
Tim,
Great to know, this would be wonderful.
Grails can be a good reference. Not all grails idioms have direct
analogy though.
/Indrajit
On Aug 23, 4:15 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Indrajit,
We actually discussed this a while back for the installers, and the
long
Hi Jeppe,
I did something similar with the following code:
trait HasUser [T : HasUser[T]] extends KeyedMapper[Long, T]{
self: T=
object user extends MappedLongForeignKey(this, User) {
override def dbColumnName = user_id
}
}
trait HasUserMetaMapper[T : HasUser[T]] {
The problem you are encountering may be related to this (see David's
response):
http://groups.google.com/group/liftweb/browse_thread/thread/f8c6a2a4cee52dc6/
On Aug 24, 5:16 am, pravin pravinka...@gmail.com wrote:
Hi
i have form with text box and Submit button(with ajax Submit button)
But
Ahh, I see, my snapshots repository was incorrect and had the same id,
scala-tools.org, as the releases repository and so was being ignored.
It's all working now.
Thanks,
Peter
On Aug 23, 3:52 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
You need to put the snapshots repository in
Anyone want to make a list of questions that need to be documented? :)
-
Tim Perretttimo...@getintheloop.eu wrote:
Folks,
Im sure others have noticed, but there are a serious amount of n00b
questions in and around mapper recently - this indicates to me that
jon jonhoff...@gmail.com writes:
Hi Jeppe,
I did something similar with the following code:
trait HasUser [T : HasUser[T]] extends KeyedMapper[Long, T]{
self: T=
object user extends MappedLongForeignKey(this, User) {
override def dbColumnName = user_id
}
}
trait
Looking at the latest sources jar for the JPA basic archetype, it has the
proper changes:
http://hudson.scala-tools.org/job/Lift/1152/net.liftweb$lift-archetype-jpa-basic/
But I can confirm that something is not right with the JAR on there. I'm
going to try to do a local build and see if
Hello lifted,
I am playing around with the 50ish line based comet example that dpp
has talked about in several talks and that is written more about here:
http://m.3wa.com/?p=304
Today I showed this to a friend and it looks like the focus of the
input box is lost when an update is received. Does
I am looking for a web hosting company for my Lift project. I figure
anyone who does Java would work. Is this true? Can anyone recommend a
company?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post
On Mon, Aug 24, 2009 at 9:44 AM, jack jack.wid...@gmail.com wrote:
I am looking for a web hosting company for my Lift project. I figure
anyone who does Java would work. Is this true? Can anyone recommend a
company?
Supercheap: http://prgmr.com/xen/
Cheap and scalable: http://calpop.com
On Mon, Aug 24, 2009 at 9:05 AM, Bjarte Stien Karlsen
bjarte.stien.karl...@gmail.com wrote:
Hello lifted,
I am playing around with the 50ish line based comet example that dpp
has talked about in several talks and that is written more about here:
http://m.3wa.com/?p=304
Today I showed
Incidentally, I got that Maven command string straight out of the Lift book.
Chas.
Derek Chen-Becker wrote:
Looking at the latest sources jar for the JPA basic archetype, it has
the proper changes:
http://hudson.scala-tools.org/job/Lift/1152/net.liftweb$lift-archetype-jpa-basic/
But I
Also Rackspace Cloud Servers (Mosso) offers for about $10 full root access
to 256Mb RAM and 10Gb disk, which you can resize later. You pay by bandwidth
on top.
On Mon, Aug 24, 2009 at 1:32 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Aug 24, 2009 at 9:44 AM, jack
Yes, it compiles successfully when the lift-core dependency in the web
pom.xml file is set to version 1.1-M4.
Chas.
Indrajit Raychaudhuri wrote:
Charles,
Sorry for the false noise, setting lift-core dependency to
version1.1-M4/version instead of version1.1-SNAPSHOT/version
in
How would I know that? I presume that if I blew m2 away and then ran it,
I'd get the latest snapshot. Wouldn't I?
Chas.
Timothy Perrett wrote:
Chas,
Marius means are you using the *latest* 1.1-SNAPSHOT?
I have some works to do on the maven archetypes in the next couple of days
so I'll
I'm on a new laptop. I didn't do any git pulls of Lift stuff. I just
installed Scala with the IZ installer and then Maven, then I ran the
archetype command to create a basic JPA app and let it build the m2
repository on my machine. When that didn't work, I blew away m2 and
tried it again.
Chas,
The problem is quite likely with the archetype jar in the scala-tools
repo. Derek is probably looking into it.
Yes, your being confused about the master reference is
understandable :)
Good that it compiles through. For now, you can set the dependencies
to lift-core and lift-jpa to 1.1-M4
Hi Bjarte,
I am the one who wrote that post. It came out of a 1 hour presentation
that I did for my local java user group to show what lift can do. So it
was very minimal. Since most people attending are new to both
Scala and Lift.
I second David's suggestion. For a more full featured version
Just a FYI. I briefly talked with Martin and he said this idea is
possible but quite tricky. Stephane Micheloud did something similar
and he may share some of his work. I'm waiting some feedback from him.
Br's,
Marius
On Aug 24, 10:46 am, marius d. marius.dan...@gmail.com wrote:
On Aug 24,
On Mon, Aug 24, 2009 at 12:20 PM, Wilson MacGyver wmacgy...@gmail.comwrote:
Hi Bjarte,
I am the one who wrote that post. It came out of a 1 hour presentation
that I did for my local java user group to show what lift can do. So it
was very minimal. Since most people attending are new to both
FYI, I did a local build and it's correct here, so something is going on in
Hudson land. I'm going to push a minor change to the pom for
lift-archetype-jpa-basic and see if that fixes it (remove the version for
the archetype plugin).
Derek
On Mon, Aug 24, 2009 at 12:23 PM, Indrajit Raychaudhuri
Hello,
ok. I know that I can compose my logic together.
But I dont know how to configure my parts and where to do it.
David says to create objects that do extend my traits?
How do you guys do it, so that you have a seperation of
Lift and application layer...?
I am getting better :D
thanks a
Yes, that should be fixed in both 1.1 and 1.0.1, really. I didn't even see
that issue. The code freeze for 1.0.1 was yesterday, so if I want to get
this fix in (which I think should be in there) then we'll need to push back
1.0.1. Let me send out a vote email.
On Sun, Aug 23, 2009 at 12:27 PM,
On Mon, Aug 24, 2009 at 12:36 PM, marius d. marius.dan...@gmail.com wrote:
Just a FYI. I briefly talked with Martin and he said this idea is
possible but quite tricky. Stephane Micheloud did something similar
and he may share some of his work. I'm waiting some feedback from him.
I think we
I think that that's a bug. I don't have time to look at it today, so please
file an issue.
Derek
On Sat, Aug 22, 2009 at 12:47 PM, george geo...@mattandgeorge.com wrote:
I'm trying to work with a SiteMap which has some different LocGroups.
When I do:
lift:Menu.builder
On Mon, Aug 24, 2009 at 2:16 AM, pravin pravinka...@gmail.com wrote:
Hi
i have form with text box and Submit button(with ajax Submit button)
But when i submit the button form is not submitting so i am not able
to get the value of text box..
onclick function get called...
SHtml.ajaxButton
David,
Can one leave proxies in place for things that are not actually
serializable?
Best wishes,
--greg
On Mon, Aug 24, 2009 at 12:55 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Mon, Aug 24, 2009 at 12:36 PM, marius d. marius.dan...@gmail.comwrote:
Just a FYI. I briefly
Provided in a separate thread.
On Sun, Aug 23, 2009 at 11:47 PM, pravin pravinka...@gmail.com wrote:
Hi,
i have one text box and one submit button on my html form...
how can i use ajaxForm method to do this,,,
i go through the sample codes from sample application that lift
provided
Thanks for all your help, Indrajit. I'm using the blank JPA app anyway,
so it didn't affect me, but I thought Derek, et al should know.
Especially since I was using the Maven command from his book...
Chas.
Indrajit Raychaudhuri wrote:
Chas,
The problem is quite likely with the archetype
I've provided sample code on a separate thread.
On Sun, Aug 23, 2009 at 10:29 PM, pravin pravinka...@gmail.com wrote:
hi,
its former method i am using in my app(u mentioned it in last reply).
i have one text box and submit button.
when i click on submit button -
i have to show employee
OK, I think I've found an issue here. The sha1 checksum file for the
archetype was last updated on August 1st, and haven't been updated since
then. That's what your original error was, and it's why it's grabbing an
older version of the jar :(. Let me see if I can figure out why hudson won't
Issue is filed here:
http://github.com/dpp/liftweb/issues#issue/53
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this
Ah, so the errors were connected after all. I was curious about the
checksum, but I didn't realize that would make it grab an earlier version.
Derek Chen-Becker wrote:
OK, I think I've found an issue here. The sha1 checksum file for the
archetype was last updated on August 1st, and haven't
Well. Bad news. I fixed the checksums only to find that somehow hudson is
still generating archetypes with old sources. I'm at a loss as to how this
is happening at this point...
Derek
On Mon, Aug 24, 2009 at 2:47 PM, Charles F. Munat c...@munat.com wrote:
Ah, so the errors were connected
Checkout SpringSource Cloud Foundry: www.cloudfoundry.com
On Mon, Aug 24, 2009 at 9:44 AM, jack jack.wid...@gmail.com wrote:
I am looking for a web hosting company for my Lift project. I figure
anyone who does Java would work. Is this true? Can anyone recommend a
company?
--
Build
OK, anyone with some maven-fu know what's going on here? It looks like the
build is fine, but the jar is being copied to a .archetype file instead of
.jar:
[INFO] Installing
A fix is pushed to the GitHub repo. Hudson is chewing through a new build.
On Mon, Aug 24, 2009 at 1:41 PM, george geo...@mattandgeorge.com wrote:
Issue is filed here:
http://github.com/dpp/liftweb/issues#issue/53
--
Lift, the simply functional web framework http://liftweb.net
Derek,
Im currently reorganizing the lift archetype codebase as we speak, so I’ll
look at it now...
Cheers, Tim
On 24/08/2009 23:03, Derek Chen-Becker dchenbec...@gmail.com wrote:
OK, anyone with some maven-fu know what's going on here? It looks like the
build is fine, but the jar is being
On Mon, Aug 24, 2009 at 12:58 PM, Meredith Gregory lgreg.mered...@gmail.com
wrote:
David,
Can one leave proxies in place for things that are not actually
serializable?
Anything that's marked serializable should be... and it's up to the thing
that marks itself as serialiable to create a
I think I may have found the issue. I had a packaging element in the pom
(none of the other archetypes do, as far as I can tell), so I've removed
that and I'm doing a local build to see if that fixes it.
Derek
2009/8/24 Timothy Perrett timo...@getintheloop.eu
Derek,
Im currently
I'm building two Lift applications that access the same back end
database -- one is for the public site, and the other, which will use a
subdomain, is for administration of the public site.
A third application will access a separate database, but will be related
to the previous two sites.
I'm going to merge in the fix for issue #36 (
http://github.com/dpp/liftweb/issues/closed/#issue/36) to 1.0.1, so I'll be
pushing the release date back. Next week we're doing a milestone on 1.1, so
I'll wait a week and do the 1.0.1 release on Sep 9th. Code freeze will be on
Sunday, Sep 6th.
Derek
OK, that seems to have been it. I just pushed a commit and I'll verify once
hudson builds it that it's working.
Derek
On Mon, Aug 24, 2009 at 4:36 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
I think I may have found the issue. I had a packaging element in the pom
(none of the other
Maybe I'm missing something, but you're telling Mapper to pre-cache
User.roomChoice, but then you're accessing User.fromPlace. Are those two
fields related somehow?
Derek
On Mon, Aug 24, 2009 at 12:25 AM, koji koji@gmail.com wrote:
Hi all,
I want to avoid n+1 problem
so i try to write
There are several issues with the archetypes that I’ve found and I’ll be
checking in fixes soon... If you find this packaging issue please post what
it is and I’ll incorporate that with my commit shortly...
Cheers, Tim
On 24/08/2009 23:36, Derek Chen-Becker dchenbec...@gmail.com wrote:
I
Doh... I see you already committed it... (obviously didn’t see my other
post); I’ll attempt to do a merge with my local reorganized and fixed
archetypes.
Tim
On 24/08/2009 23:43, Derek Chen-Becker dchenbec...@gmail.com wrote:
OK, that seems to have been it. I just pushed a commit and I'll
Lifted,
At the pixillion master
http://github.com/leithaus/pixillion/tree/masteri've an example
where it appears that id selectors are not working
correctly... Or, maybe i just don't know how to use CSS. The site map (after
login) will show three pages of interest: paint, chat, combo. Paint is
Sorry about that. It's a one line commit, so hopefully Git will be able to
figure out a sane merge.
Derek
2009/8/24 Timothy Perrett timo...@getintheloop.eu
Doh... I see you already committed it... (obviously didn’t see my other
post); I’ll attempt to do a merge with my local reorganized and
There seems to be a problem with SHtml.multiSelect following the
example in the Lift book (Listing 4.10: Using multiselect). The
example shows the last parameter to be a List, while the source for
multiSelect shows it to be
(String) = Any.
When I tried to implement in my own code, I get the
Guys,
As promised, i've re-factored the archetypes (now in their own
submodule and building as part of master) however their maven group
and artifactId's are the same, so all commands etc will continue to
work (its purely a code base organization change)
Moreover, i've fixed the various issues
I found that the example is out-of-sync with the latest code in 1.1-
Snapshot.
I was able to get the example (in my application, at least) to compile
and run, by
defining the function as loadCategory(List[String]) = ...,
and creating a separate submit function to handle the actual save
chores.
I've added this to my TODO to update the docs. Thanks for the report!
On Mon, Aug 24, 2009 at 5:30 PM, glenn gl...@exmbly.com wrote:
I found that the example is out-of-sync with the latest code in 1.1-
Snapshot.
I was able to get the example (in my application, at least) to compile
and run,
Rockstar!
On Mon, Aug 24, 2009 at 5:17 PM, Timothy Perrett timo...@getintheloop.euwrote:
Guys,
As promised, i've re-factored the archetypes (now in their own
submodule and building as part of master) however their maven group
and artifactId's are the same, so all commands etc will continue
OK, the fix has been pushed to 1.0.1-SNAPSHOT and it's in master
(1.1-SNAPSHOT).
Derek
On Mon, Aug 24, 2009 at 1:30 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
Yes, that should be fixed in both 1.1 and 1.0.1, really. I didn't even see
that issue. The code freeze for 1.0.1 was yesterday,
Please make sure you're using Scala 2.7.5 in your pom.xml
Please make sure that List(paint) is in lower case in your sitemap.
On Mon, Aug 24, 2009 at 3:53 PM, Meredith Gregory
lgreg.mered...@gmail.comwrote:
Lifted,
At the pixillion master
object MyVendor {
def apply(in: Params): MyThing = (in, runMode) match {
case (p, Test) = new BusinessLogic(p) with MockStorage
case (p, Development) = new BusinessLogic(p) with H2Storage with
Debugging
case (p, Production) if Amazon.running_? = new BusinessLogic(p) with
S3Storage
I'm trying to import data from a non-mapper-based database to one that is. I'm
reading data with DB.exec and trying to save it using Mapper, but it's not
getting saved. I'm guessing that since I'm setting the id (in runSafe) it
thinks it needs to do an update, not an insert. Is there a
Excellent. Thanks David.
On Mon, Aug 24, 2009 at 8:08 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Sun, Aug 23, 2009 at 10:40 PM, jack jack.wid...@gmail.com wrote:
I am trying to make a simple ajax form. The code is below. The
Javascript error I am getting when I hit the send
David,
Thanks! i've no idea why you guys put up with me, but i'm glad you do!
Best wishes,
--greg
On Mon, Aug 24, 2009 at 5:22 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
Please make sure you're using Scala 2.7.5 in your pom.xml
Please make sure that List(paint) is in lower case
76 matches
Mail list logo