Hi guys,
I'm stuck with this problem for a few days now and need help. I want
users to be able to upload a ZIP file. When I embed this functionality
directly in the page it works flawlessly - but I need to put it into a
modal and that's were the trouble starts.
When I submit the form it executes
Thanks David. It works as wished now. ^_^
On Jan 7, 1:51 am, David Pollak wrote:
> On Wed, Jan 6, 2010 at 12:13 AM, daiwhea wrote:
> > Thanks David. Here is my repository:
>
> > git://github.com/daiwhea/MapperBBS.git
>
> > In fact, I want to share this simple demo project for the newbies like
>
Thanks for sharing this, it's very useful and helpful to us
(beginner).
Cheers,
Neil
On Jan 7, 1:20 am, David Pollak wrote:
> Thanks for sharing!
>
> Double thanks for spelling my last name correctly!!
>
>
>
> On Wed, Jan 6, 2010 at 9:12 AM, Jim Wise wrote:
> > I've put the image gallery co
Everything is alright then :D!
with best regards
On 6 Jan., 22:00, David Pollak wrote:
> On Wed, Jan 6, 2010 at 10:51 AM, greekscala wrote:
> > Hello,
>
> > David I like the SessionVar Idea and the type safety.
> > But as Alex suggests, can I define an object with the fields?
>
> Sure.
>
>
>
>
Guys,
I just had a private mail from JF, so Im relaying it onto the list (as
per his wishes - for some reason he cannot post).
== from JF ==
Salut,
> On Jan 6, 2010, at 12:49 PM, Timothy Perrett wrote:
> Lift does have better comet support than Atmosphere,
:-)
> but it depends
> what your use
On Wed, Jan 6, 2010 at 1:18 PM, Ransford Segu-Baffoe wrote:
> Thanks, I just received "Beginning Scala" And chapter 2 covering the Scala
> syntax is great and very helpful.
>
Glad you're enjoying it.
>
> - Original Message -
> From: "David Pollak"
> To: liftweb@googlegroups.com
> Sent:
Thanks, I just received "Beginning Scala" And chapter 2 covering the Scala
syntax is great and very helpful.
- Original Message -
From: "David Pollak"
To: liftweb@googlegroups.com
Sent: Wednesday, January 6, 2010 3:47:58 PM GMT -05:00 US/Canada Eastern
Subject: [Lift] JAX-RS (Lift on Atm
On Wed, Jan 6, 2010 at 1:06 PM, Julian Backes
wrote:
> if you do the query in beforeCreate, it will be part of the current
>> transaction... the transactional scope is created by the time
>> beforeCreate is called.
>>
> Does that mean that the whole create process is already in one transaction?
>
I think you mean James Strachen ;-)
On 6 Jan 2010, at 20:47, David Pollak wrote:
> There's Jersey <-> Lift integration already:
> http://n2.nabble.com/Lift-support-for-Jersey-checked-into-trunk-td3007414.html
>
> And if Jim Strachan would just sign the Lift paperwork, he could roll the
> Jer
if you do the query in beforeCreate, it will be part of the current
transaction... the transactional scope is created by the time
beforeCreate is called.
Does that mean that the whole create process is already in one
transaction? That would be great :-)
--
You received this message because y
In this previous question:
http://old.nabble.com/%28Newbie-Question%29-How-to-do-simple-transaction-with-mapper--td26191398.html
I find the following:
import net.liftweb.*mapper*.{DB, DefaultConnectionIdentifier}
DB.use(DefaultConnectionIdentifier) { conn =>
conn.setAutoCommit(false)
On Wed, Jan 6, 2010 at 10:51 AM, greekscala wrote:
> Hello,
>
> David I like the SessionVar Idea and the type safety.
> But as Alex suggests, can I define an object with the fields?
>
Sure.
>
> I think now when I am writing this I think I understand it more :D
> I thought it is not possible to
On Wed, Jan 6, 2010 at 11:25 AM, Jim Barrows wrote:
>
>
> On Wed, Jan 6, 2010 at 12:15 PM, Julian Backes <
> julianbac...@googlemail.com> wrote:
>
>> Thanks for your answer!!
>>
>>
>> You can use mapper by itself. There's a dependency on lift webkit I
>>> believe. There might be some other iss
On Wed, Jan 6, 2010 at 11:31 AM, Ransford Segu-Baffoe wrote:
> Hopefully I am not asking unnecessary questions but there are question that
> are popping in my head. How does JAX-RS fits into Lift considering that they
> are both web frameworks; could framework like Jersey benefit from Lifts
> temp
On Jan 6, 2010, at 5:44 PM, David Pollak wrote:
I am not suggesting Atmosphere can or should be utilized as a
replacement for the useful features you enumerate. I think the area
where Atmosphere can provide value to lift is scalable async support
for many Web/App servers.
To date, the la
Hello guys,
I have a Mapper class with a OneToMany relationship. It works fine in the
database and forms, but we need also to send the structure as a JSON message in
an API.
I am trying to use the method "asJs" in the parent class, but the JSON message
is generated without including the child
Hopefully I am not asking unnecessary questions but there are question that are
popping in my head. How does JAX-RS fits into Lift considering that they are
both web frameworks; could framework like Jersey benefit from Lifts template's
mechanicism at the very least?
--
You received this message
On Wed, Jan 6, 2010 at 12:15 PM, Julian Backes
wrote:
> Thanks for your answer!!
>
>
> You can use mapper by itself. There's a dependency on lift webkit I
>> believe. There might be some other issues, as i don't if anyone is
>> using it that way.
>>
> This is perfectly working
>
>
> As for the
Thanks for your answer!!
You can use mapper by itself. There's a dependency on lift webkit I
believe. There might be some other issues, as i don't if anyone is
using it that way.
This is perfectly working
As for the number, are you talking about a userId? Why would you think
you can't set
You can use mapper by itself. There's a dependency on lift webkit I
believe. There might be some other issues, as i don't if anyone is using it
that way.
As for the number, are you talking about a userId? Why would you think you
can't set an arbitrary field in Mapper?
On Wed, Jan 6, 2010 at 11
SessionVars have an internal "name" which is an identifier unique to the
SessionVar, not any surrounding context, so you can place the anywhere.
-Ross
On Jan 6, 2010, at 1:51 PM, greekscala wrote:
> Hello,
>
> David I like the SessionVar Idea and the type safety.
> But as Alex suggests, can I
Hello,
David I like the SessionVar Idea and the type safety.
But as Alex suggests, can I define an object with the fields?
I think now when I am writing this I think I understand it more :D
I thought it is not possible to have one object that stores the
values.
But the SessionVar knows what user
Does really nobody know something about my problem? Something like "this
is not possible at the moment" is also ok... :-)
Am 03.01.10 22:46, schrieb Julian Backes:
Hi,
I have the following problem:
For simplicity, assume I want to store users in the database. Before
storing a user the first ti
I love how the site looks like. VERY cool job !
Br's,
Marius
On Jan 6, 7:34 pm, Alex Black wrote:
> I've been a member of this group for a little while now and I wanted
> to thank everyone for your help so far! Hopefully I'll be able to
> start helping back in the future as I get more experience
On Jan 6, 6:44 pm, David Pollak wrote:
> On Wed, Jan 6, 2010 at 7:17 AM, Paul Sandoz wrote:
>
> > On Jan 6, 2010, at 3:22 PM, David Pollak wrote:
>
> > On Wed, Jan 6, 2010 at 5:23 AM, Timothy Perrett
> > wrote:
>
> >> Yes, if you constantly change containers, then there is value in
> >> Atmosp
Glad to help and congratulation on launching your site!
On Wed, Jan 6, 2010 at 9:34 AM, Alex Black wrote:
> I've been a member of this group for a little while now and I wanted
> to thank everyone for your help so far! Hopefully I'll be able to
> start helping back in the future as I get more ex
On Wed, Jan 6, 2010 at 12:13 AM, daiwhea wrote:
> Thanks David. Here is my repository:
>
> git://github.com/daiwhea/MapperBBS.git
>
> In fact, I want to share this simple demo project for the newbies like
> myself when the project completed.
>
Thanks. I've committed fixes to http://github.com/d
I've been a member of this group for a little while now and I wanted
to thank everyone for your help so far! Hopefully I'll be able to
start helping back in the future as I get more experienced with
Lift.
We've found Lift to be a great tool, and being able to get help from
the community has really
Thanks for sharing!
Double thanks for spelling my last name correctly!!
On Wed, Jan 6, 2010 at 9:12 AM, Jim Wise wrote:
> I've put the image gallery code I've been working on up at:
>
> http://github.com/jimwise/shared
>
> as a runnable project, both in hope that it will be useful to other
Jim Wise writes:
> Oh, one caveat -- I've set Jetty to run on port 9080 within this code,
> so use accordingly when playing with this.
Actually, I've removed this limitation -- this now runs by default on
8080, which can be changed with -Djetty.port= or with some
config xml in the pom.
--
I don't know if it's a common practice but I usually keep all my SessionVars
in the same module (aka singleton object) for easy access:
/** All session variables */
object Session {
private def currentWeekReq = S.param("currentWeek").map(Week.parse(_))
object currentWeek extends SessionVar[Wee
I've put the image gallery code I've been working on up at:
http://github.com/jimwise/shared
as a runnable project, both in hope that it will be useful to other
people learning lift, and in hope of some (gentle) pointers as to what I
could do better with this.
Oh, one caveat -- I've set Jet
On Wed, Jan 6, 2010 at 8:31 AM, greekscala wrote:
> Hello,
>
> I dont have to use SessionVars until now, but in near future.
> But I had the same problem in mind.
>
> Is there not a central place to get the user session with all the
> values stored?
>
In Java-land you can get/put values into the
-- Forwarded message --
From: Antonio Cunei
Date: Wed, Jan 6, 2010 at 7:35 AM
Subject: [scala-announce] Call for Papers Reminder: The First Scala Workshop
- Scala Days 2010
To: scala-annou...@listes.epfl.ch, Scala list
The First Scala Workshop
Call fo
On Wed, Jan 6, 2010 at 7:17 AM, Paul Sandoz wrote:
>
> On Jan 6, 2010, at 3:22 PM, David Pollak wrote:
>
>
>
> On Wed, Jan 6, 2010 at 5:23 AM, Timothy Perrett
> wrote:
>
>> Yes, if you constantly change containers, then there is value in
>> Atmosphere for that as it does leverage the native APIs
Hello,
I dont have to use SessionVars until now, but in near future.
But I had the same problem in mind.
Is there not a central place to get the user session with all the
values stored?
I think it is ugly to have sessionVars spread all over my code.
with best regards
On 5 Jan., 18:13, Naftoli
Yes it's in maven. See the github wiki.
-
vishnu wrote:
Hi Timothy
could you point me to the right place to download it? Is there a maven
repository to which it gets automatically uploaded?
On Tue, Jan 5, 2010 at 6:36 PM, Timothy Perrett wrote:
> Pushed t
By default sitemap will only show submenus "nearby" the current page. You can
show the entire expanded menu by using Hi liftweb-list !
>
> Happy New Year to all !
>
> Well, I have an issue with sitemap submenus.
>
> Using the following code :
> val entries = SiteMap(Menu(Loc("Home", "i
http://scala-tools.org/repo-snapshots/net/liftweb/lift-amqp/1.1-SNAPSHOT/
On 6 Jan 2010, at 14:36, vishnu wrote:
> Hi Timothy
> could you point me to the right place to download it? Is there a maven
> repository to which it gets automatically uploaded?
>
> On Tue, Jan 5, 2010 at 6:36 PM,
On Jan 6, 2010, at 3:22 PM, David Pollak wrote:
On Wed, Jan 6, 2010 at 5:23 AM, Timothy Perrett > wrote:
Yes, if you constantly change containers, then there is value in
Atmosphere for that as it does leverage the native APIs for the
container. We [lift] are waiting for servlet 3.0 to sta
Hi Timothy
could you point me to the right place to download it? Is there a maven
repository to which it gets automatically uploaded?
On Tue, Jan 5, 2010 at 6:36 PM, Timothy Perrett wrote:
> Pushed to master - will be in hudson jars in a few hours.
>
> Cheers, Tim
>
> On Jan 5, 10:06 am, Timo
On Wed, Jan 6, 2010 at 5:23 AM, Timothy Perrett wrote:
> Yes, if you constantly change containers, then there is value in Atmosphere
> for that as it does leverage the native APIs for the container. We [lift]
> are waiting for servlet 3.0 to standardise the comet API - whilst its
> debatable if th
Hi liftweb-list !
Happy New Year to all !
Well, I have an issue with sitemap submenus.
Using the following code :
val entries = SiteMap(Menu(Loc("Home", "index" :: Nil , ?("Home"))),
Menu(Loc("Authors", "authors" :: "list" :: Nil, ?("Author
List")),
*
Yes, if you constantly change containers, then there is value in Atmosphere for
that as it does leverage the native APIs for the container. We [lift] are
waiting for servlet 3.0 to standardise the comet API - whilst its debatable if
that will prove as an api standardisation solution, it should l
On Jan 6, 2010, at 12:49 PM, Timothy Perrett wrote:
paksegu,
Lift does have better comet support than Atmosphere, but it depends
what your use case is and what you specifically want to do. If you
chose to run lift with atmosphere you'd essentially be loosing out
on some of lift's best fe
It compiles and works now! :)
Thanks a lot for your help everyone
On Jan 6, 1:29 pm, Mads Hartmann wrote:
> @Indrajit Raychaudhuri, I've applied your changes
>
> On Jan 6, 1:22 pm, Mads Hartmann wrote:
>
>
>
> > And the boot file looks like this:
>
> > package bootstrap.liftweb
>
> > import _ro
@Indrajit Raychaudhuri, I've applied your changes
On Jan 6, 1:22 pm, Mads Hartmann wrote:
> And the boot file looks like this:
>
> package bootstrap.liftweb
>
> import _root_.net.liftweb.util._
> import _root_.net.liftweb.http._
> import _root_.net.liftweb.sitemap._
> import _root_.net.liftweb.si
Modify makeUtf8 like so:
private def makeUtf8(req: HTTPRequest) {
req.setCharacterEncoding("UTF-8")
}
Note the change in signature.
- IRC
On 06/01/10 5:47 PM, Mads Hartmann wrote:
Aha! It almost compiles now. There's just one last error:
[INFO] Compiling 8 source files to /Users/Mads
And the boot file looks like this:
package bootstrap.liftweb
import _root_.net.liftweb.util._
import _root_.net.liftweb.http._
import _root_.net.liftweb.sitemap._
import _root_.net.liftweb.sitemap.Loc._
import Helpers._
import _root_.net.liftweb.mapper.{DB, ConnectionManager, Schemifier,
DefaultC
Ok, few points:
1. Full, Box etc. have a different package location now. Ensure "import
net.liftweb.common._" wherever you have Full, Box etc.
2. scala.version should be 2.7.7
2.7.7
3. scala-library dependency is redundant. You can remove that.
4. This shouldn't affect your compilation eithe
Aha! It almost compiles now. There's just one last error:
[INFO] Compiling 8 source files to /Users/Mads/Projects/scalableKvidr2/
target/classes at 1262780161026
[ERROR] /Users/Mads/Projects/scalableKvidr2/src/main/scala/bootstrap/
liftweb/Boot.scala:61: error: type mismatch;
[INFO] found : (ja
Mads Hartmann writes:
> Again, I really appreciate you guys helping me out :)
>
> @Indrajit I just tried with the dependency you declared as the only
> lift related dependency. I get the following error.
>
>
> net.liftweb
> lift-mapper
> 1.1-M8
>
Note, Lift 1.1 is not source compatible w
Sure thing, here it is:
http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://
maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0
scalableKvidr
scalableKvidr
1.0-SNAPSHOT
war
scalableKvidr
2007
paksegu,
Lift does have better comet support than Atmosphere, but it depends what your
use case is and what you specifically want to do. If you chose to run lift with
atmosphere you'd essentially be loosing out on some of lift's best features. As
jonas says, Akka does indeed use Atmosphere to g
Mads,
Can you please send me the pom.xml?
Cheers, Indrajit
On 06/01/10 4:50 PM, Mads Hartmann wrote:
Again, I really appreciate you guys helping me out :)
@Indrajit I just tried with the dependency you declared as the only
lift related dependency. I get the following error.
net.liftweb
Akka has excellent Atmosphere support. Akka can be used with Lift.
http://doc.akkasource.org/comet
2010/1/6 paksegu :
> Hello World.
> I am a Lift beginner and I would like to know if anyone has
> successfully succeeded in running Lift on Atmosphere:
> https://atmosphere.dev.java.net
> thanks.
>
Again, I really appreciate you guys helping me out :)
@Indrajit I just tried with the dependency you declared as the only
lift related dependency. I get the following error.
net.liftweb
lift-mapper
1.1-M8
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:compile {execu
hi
well I'm mostly going by this stack overflow post.
http://stackoverflow.com/questions/1140448/what-orms-work-well-with-scala
In terms of our requirements, what we want from an orm is fairly basic.
Since we are not building a web application, we would want it decoupled from
any other parts of
Mads,
Since you are using mapper, having dependency on lift-mapper should
suffice. Other dependencies would be pulled in transitively.
So having this dependency tag should do.
net.liftweb
lift-mapper
1.1-M8
Cheers, Indrajit
On 06/01/10 2:39 PM, Mads Hartmann wrote:
How would that d
How would that dependency tag look? Right now it looks like this:
net.liftweb
lift-core
1.1-M8
On Jan 6, 10:06 am, Timothy Perrett wrote:
> Remove the lift-core dependency and separately specify lift-webkit,
> lift-common and lift-util. That should resolve your issue...
Remove the lift-core dependency and separately specify lift-webkit, lift-common
and lift-util. That should resolve your issue... its probally a problem with
the transitive dependencies in maven.
Cheers, Tim
On 5 Jan 2010, at 22:17, Ross Mellgren wrote:
> It looks like you probably have some o
But this will remove the entity as well, am I right?
On Jan 6, 2010, at 12:09 AM, Naftoli Gugenheim wrote:
> Just call .delete_! on the entity itself. It should automatically remove the
> relationships.
>
> -
> GA wrote:
>
> I would like to remove them from
Thanks David. Here is my repository:
git://github.com/daiwhea/MapperBBS.git
In fact, I want to share this simple demo project for the newbies like
myself when the project completed.
On Jan 6, 11:42 am, David Pollak
wrote:
> The easiest thing to do is for you to post your project as a complete
>
63 matches
Mail list logo