Hi,buddy
I download auctionnet from ibm developer website, but could not build
successfully.
I have tried
mvn install
mvn compile
mvn scala:compile
mvn jetty:run
mvn -o jetty:run
just got the same error :
[INFO] Compiling 7 source files to
/Users/peter/Desktop/auctionNet/target/classes
/Use
Hi,
I like the getOrElse way of accessing data very much as it allows to
handle non-existing values with very little code. However, I am still
looking for a more elegant replacement for this:
val username = User.find(id).getOrElse(User.create.name("User not
found")).name
Ok, this is very sho
Hello,
I am a newby to both scala and lift. Now that that's out of the way I'm
wondering how to properly use PCDataXmlParser to read and parse html. I
pull data from a restful service by doing the following:
[code]
import dispatch._
import Http._
import net.liftweb.util._;
import scala.xml._
Hi all,
I am pretty new to Scala and Lift so this question may not be pitched
or explained correctly.
I have an abstract class called Book that is created via Object Book.
No troubles with this.
abstract class Book {
val tags : Map[String,String]
val id : String
}
I wish to serialize t
Where is the images directory that should i create ?
Out side of the webapp in the tomcat or in the webapps?
like this: D:\tomcat_5.5.25\webapps\images
And the lift how to know and find the images folder in the webapps
of the tomcat, not the demo/src/main/webapp/images .
Thanks v
On Sun, Nov 15, 2009 at 10:29 PM, braver wrote:
>
> I have a simple question on migrating a typical PinS-desribed pattern:
>
> def act() =
> loop {
> react {
>case DoSomething => ...
>case EXIT => exit()
> }
> }
>
> -- now, without exit(), how does it terminate?
>
Like any other object
I have a simple question on migrating a typical PinS-desribed pattern:
def act() =
loop {
react {
case DoSomething => ...
case EXIT => exit()
}
}
-- now, without exit(), how does it terminate?
Cheers,
Alexy
--~--~-~--~~~---~--~~
You received this mes
does appengine support actor in scala?
-
mawei...@gmail.com
13585201588
http://maweis.com
On Mon, Nov 16, 2009 at 1:00 PM, Atsuhiko Yamanaka
wrote:
>
> Hi,
>
> On Sun, Nov 15, 2009 at 6:23 AM, kkarad wrote:
>> I am currently have some prob
Hi,
On Sun, Nov 15, 2009 at 6:23 AM, kkarad wrote:
> I am currently have some problems using scala and jdo under app
> engine. More specifically, my entitity classes cannot use Long as a
> primary key. Whenever I try persisting a entity object. I get the
> following exception:
...
> Do you know
Thank you for your help.
On Nov 16, 9:15 am, Naftoli Gugenheim wrote:
> Copy-paste error. Your Book.sort is inside Book.name.
>
> -
>
> Randinn wrote:
>
> Ah, I thought that it would be less of a bother so people wouldn't
> have to deal with my trivial questio
That may need a slight modification. If the RequestVar is top level then a def
can't exist side by side with it.
-
David Pollak wrote:
On Sun, Nov 15, 2009 at 12:45 PM, DMB wrote:
>
> I guess the underlying problem I have is that I don't know how one
> obje
On Sun, Nov 15, 2009 at 12:45 PM, DMB wrote:
>
> I guess the underlying problem I have is that I don't know how one
> object can get a reference to another. Maybe I'm just trying to use
> OOP when I need to be functional, I don't know. I basically want the
> time selector to be completely separat
Ah, I wonder why I didn't see that in the maven docs. Thank you!
On Nov 16, 2:01 am, Indrajit Raychaudhuri wrote:
> Add -DarchetypeRepository=http://scala-tools.org/repo-snapshots
>
> That means, modify the command as thus:
>
> mvn archetype:generate -U -DarchetypeGroupId=net.liftweb
> -Darchety
Hello list,
Often in an AJAX handler I need to update something on the client side;
usually a UI control that initiated the handler. The only way I know to
handle this is to generate a DOM id in the snippet during a rendering
call (like a bind() call in a flatMap over a dataset), look for that
Copy-paste error. Your Book.sort is inside Book.name.
-
Randinn wrote:
Ah, I thought that it would be less of a bother so people wouldn't
have to deal with my trivial questions. Here it is
import net.liftweb.util._
import net.liftweb.http._
import net.
Ah, I thought that it would be less of a bother so people wouldn't
have to deal with my trivial questions. Here it is
import net.liftweb.util._
import net.liftweb.http._
import net.liftweb.mapper._
object Author extends Author with LongKeyedMetaMapper[Author]
class Author extends LongKeyedM
I guess the underlying problem I have is that I don't know how one
object can get a reference to another. Maybe I'm just trying to use
OOP when I need to be functional, I don't know. I basically want the
time selector to be completely separate from thumbnail JSON generator
so that I could compose
On Sun, Nov 15, 2009 at 2:46 AM, DMB wrote:
>
> Here's a simple problem. I have a web page which is supposed to
> display a gallery.
>
> The page has two snippets in it. One of the snippets is month/year
> selector, which takes (in the order of priority) URL parameters or
> cookies and renders ye
Marius,
Thanks for turning this fix around so quickly!
David
On Sun, Nov 15, 2009 at 7:58 AM, Marius wrote:
>
> Pushed a fix to master. Please let me if there are other issues here.
>
> On Nov 15, 2:38 pm, Marius wrote:
> > Pushed a suggested fix on reviewboard
> >
> > Br's,
> > Marius
> >
>
On Sun, Nov 15, 2009 at 5:03 AM, ivan wrote:
>
> On Nov 13, 2:25 pm, David Pollak
> wrote:
> > The correct command line:
> >
> > git clone git://github.com/dpp/liftweb.git
> >
>
> That works when not behind a firewall that blocks git ports. But the
> http version should work. It works on all my
Add -DarchetypeRepository=http://scala-tools.org/repo-snapshots
That means, modify the command as thus:
mvn archetype:generate -U -DarchetypeGroupId=net.liftweb
-DarchetypeArtifactId=lift-archetype-blank
-DarchetypeVersion=1.1-SNAPSHOT
-DarchetypeRepository=http://scala-tools.org/repo-snapsho
The H2 DriverType does not indicate H2 supports foreign key constraints.
However it does, albeit with a different syntax than Schemifier uses.
I'll try to file a ticket later. If I decide to work on it, what would be the
best way? Refactor the SQL in Schemifier to be generated by the DriverType?
Dear all,
I'm trying to create a 1.1-SNAPSHOT project but I keep failing. I'm
not sure what's happening so I'd really appreciate it if someone can
point out my fault.
This is the exact command I type:
mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -
DarchetypeArtifactId=lift-archetype
Pushed a fix to master. Please let me if there are other issues here.
On Nov 15, 2:38 pm, Marius wrote:
> Pushed a suggested fix on reviewboard
>
> Br's,
> Marius
>
> On Nov 15, 2:24 pm, Marius wrote:
>
> > What is the exact JS error?
>
> > On Nov 15, 2:04 pm, Marius wrote:
>
> > > I don't thi
It try to deploy the war to the tomcat5.5.25, and the path is
different.
Use LiftRules.getResource("/images/") to get this information:
In the dev box:
--> Path:Full(file:/G:/project/demo/src/main/webapp/images/
In the tomcat:
--> Path:Full(jndi:/localhost/demo-1.0/images/
DMB writes:
> Here's a simple problem. I have a web page which is supposed to
> display a gallery.
>
> The page has two snippets in it. One of the snippets is month/year
> selector, which takes (in the order of priority) URL parameters or
> cookies and renders year/month selections accordingly.
Why don't you try the reverse -- post your code and error?
-
Randinn wrote:
I was wondering if anyone that read the Git wiki One-to-Many made the
example could post it onto Github as i was unsuccessful. Thank you.
--~--~-~--~~~--
Tim,
I'm not clear that how to do use the caching proxy and maps a URL to
the dispatcher.
I didn't find the archive about the SoftReferenceCache.
Is there some exmaple that descript how to use is ~?
:)
Thanks very much!
Cheers,
Neil
On Nov 15, 6:33 pm, Timothy Perrett wrote:
>
On Nov 13, 2:25 pm, David Pollak
wrote:
> The correct command line:
>
> git clone git://github.com/dpp/liftweb.git
>
That works when not behind a firewall that blocks git ports. But the
http version should work. It works on all my repos but it doesnt work
for liftweb.git.
>
>
>
>
> On Thu, Nov
Pushed a suggested fix on reviewboard
Br's,
Marius
On Nov 15, 2:24 pm, Marius wrote:
> What is the exact JS error?
>
> On Nov 15, 2:04 pm, Marius wrote:
>
> > I don't think my commits may have caused this.
>
> > Derek ?
>
> > Br's,
> > Marius
>
> > On Nov 14, 11:36 pm, David Pollak
> > wrote:
What is the exact JS error?
On Nov 15, 2:04 pm, Marius wrote:
> I don't think my commits may have caused this.
>
> Derek ?
>
> Br's,
> Marius
>
> On Nov 14, 11:36 pm, David Pollak
> wrote:
>
> > Looks like a bug. Please open a ticket
> > athttp://github.com/dpp/liftweb/issues
>
> > Marius & D
I don't think my commits may have caused this.
Derek ?
Br's,
Marius
On Nov 14, 11:36 pm, David Pollak
wrote:
> Looks like a bug. Please open a ticket athttp://github.com/dpp/liftweb/issues
>
> Marius & Derek: could this have anything to do with your recent changes? If
> so, could you get a f
Here's a simple problem. I have a web page which is supposed to
display a gallery.
The page has two snippets in it. One of the snippets is month/year
selector, which takes (in the order of priority) URL parameters or
cookies and renders year/month selections accordingly. This month/year
selector
Neil,
If you want to save the byte array, save it into the database, then just write
a caching proxy that maps a URL to the dispatcher. That is, use
SoftReferenceCache to cache the database read so that the next time the image
is requested there is no database hit.
This has been discussed a
I was wondering if anyone that read the Git wiki One-to-Many made the
example could post it onto Github as i was unsuccessful. Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this g
35 matches
Mail list logo