[Lift] Re: RequestVar doesn't work in the Lift1.1-SNAPSHOT ?

2009-11-17 Thread Neil.Lv

   I didn't add this code before.

   Now the jars can be download.

   Thank you very much!

Cheers,
  Neil

On Nov 18, 10:41 am, Ross Mellgren  wrote:
> 1.1-SNAPSHOT is in the scala-tools snapshots repo. Do you have this in your 
> pom.xml?
>
> 
> scala-tools.org.snapshots
> Scala-Tools Maven2 Repository for Snapshots
> http://scala-tools.org/repo-snapshots
> 
> 
>
> On Nov 17, 2009, at 9:32 PM, Neil.Lv wrote:
>
>
>
> >  When i delete all the repository file, then use "mvn jetty:run",
> > this information will be shown.
>
> >  It doesn't find the webkit jar file, when i can download it manually
> > so that i can use the mvn install:install-file
> > to install it.
>
> >  I use the 1.1-SNAPSHOT to develop the app not 1.1-M7.
>
> >  I see the (http://scala-tools.org/repo-releases) website that the
> > 1.1-SNAPSHOT doesn't exist ?
>
> > ##
> > Missing:
> > --
> > 1) net.liftweb:lift-webkit:jar:1.1-SNAPSHOT
>
> >  Try downloading the file manually from the project website.
>
> >  Then, install it using the command:
> >  mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> > webkit -D
> > version=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
> >  Alternatively, if you host your own repository you can deploy the
> > file there:
>
> >  mvn deploy:deploy-file -DgroupId=net.liftweb -DartifactId=lift-
> > webkit -Dve
> > rsion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
> > Drepository
> > Id=[id]
>
> >  Path to dependency:
> >1) demo.helloworld:helloworld:war:1.0-SNAPSHOT
> >2) net.liftweb:lift-webkit:jar:1.1-SNAPSHOT
>
> > 2) net.liftweb:lift-mapper:jar:1.1-SNAPSHOT
>
> >  Try downloading the file manually from the project website.
>
> >  Then, install it using the command:
> >  mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> > mapper -D
> > version=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
> >  Alternatively, if you host your own repository you can deploy the
> > file there:
>
> >  mvn deploy:deploy-file -DgroupId=net.liftweb -DartifactId=lift-
> > mapper -Dve
> > rsion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
> > Drepository
> > Id=[id]
>
> >  Path to dependency:
> >1) demo.helloworld:helloworld:war:1.0-SNAPSHOT
> >2) net.liftweb:lift-mapper:jar:1.1-SNAPSHOT
>
> > --
> > 2 required artifacts are missing.
>
> > for artifact:
> >  demo.helloworld:helloworld:war:1.0-SNAPSHOT
>
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2),
> >  scala-tools.org (http://scala-tools.org/repo-releases)
>
> > ##
>
> > Cheers,
> >  Neil
>
> > On Nov 18, 9:34 am, "Neil.Lv"  wrote:
> >>   It doesn't work too.
>
> >>   The error message is the same as before :
> >> ###
> >> object creation impossible, since method testWasSet in trait
> >> AnyVarTrait of type (String)Boolean is not defined
> >>  object currentItemVar extends RequestVar[Item]({
> >> ###
>
> >>  What is the testWasSet in trait AnyVarTrait  ... ?
>
> >>  I use the RequestVar to save the item that will be edited in the
> >> edit page.
>
> >> Cheers,
> >>  Neil
>
> >> On Nov 18, 12:42 am, David Pollak 
> >> wrote:
>
> >>> On Tue, Nov 17, 2009 at 8:23 AM, Neil.Lv  wrote:
>  Hi all,
>
>  The RequestVar doesn't work in the Lift1.1-SNAPSHOT,
>
>   The error message is:
>  ###
>  object creation impossible, since method testWasSet in trait
>  AnyVarTrait of type (String)Boolean is not defined
>  object currentItemVar extends RequestVar[Item]({
>  ###
>
>  The code is :
>  ###
>  object currentItemVar extends RequestVar[Item]({
>    Item.getItemById(S.param("id").toString.toLong)
>  })
>  ###
>
>  When updating the lift1.1's jars file, this code is broken.
>
>  Any help must be appreciated!
>
> >>> Please do a "mvn -U clean install"
>
>  Cheers,
>  Neil
>
>  --
>
>  You received this message because you are subscribed to the Google Groups
>  "Lift" group.
>  To post to this group, send email to lift...@googlegroups.com.
>  To unsubscribe from this group, send email to
>  liftweb+unsubscr...@googlegroups.com
>  .
>  For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=.
>
> >>> --
> >>> Lift, the simply functional web frameworkhttp://liftweb.net
> >>> Beginning Scalahttp://www.apress.com/book/view/1430219890
> >>> Follow me:http://twitter.com/dpp
> >>> Surf the harmonics
>
> > --
>
> > You received this message because you are subscribed to the Google Groups 
> > "Lift" group.
> > To post to this group, send email to lift...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > liftweb+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/liftweb?hl=.

--

You received this message because you are subscr

Re: [Lift] Re: RequestVar doesn't work in the Lift1.1-SNAPSHOT ?

2009-11-17 Thread Ross Mellgren
1.1-SNAPSHOT is in the scala-tools snapshots repo. Do you have this in your 
pom.xml?


scala-tools.org.snapshots
Scala-Tools Maven2 Repository for Snapshots
http://scala-tools.org/repo-snapshots




On Nov 17, 2009, at 9:32 PM, Neil.Lv wrote:

> 
>  When i delete all the repository file, then use "mvn jetty:run",
> this information will be shown.
> 
>  It doesn't find the webkit jar file, when i can download it manually
> so that i can use the mvn install:install-file
> to install it.
> 
>  I use the 1.1-SNAPSHOT to develop the app not 1.1-M7.
> 
>  I see the (http://scala-tools.org/repo-releases) website that the
> 1.1-SNAPSHOT doesn't exist ?
> 
> ##
> Missing:
> --
> 1) net.liftweb:lift-webkit:jar:1.1-SNAPSHOT
> 
>  Try downloading the file manually from the project website.
> 
>  Then, install it using the command:
>  mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> webkit -D
> version=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> 
>  Alternatively, if you host your own repository you can deploy the
> file there:
> 
>  mvn deploy:deploy-file -DgroupId=net.liftweb -DartifactId=lift-
> webkit -Dve
> rsion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
> Drepository
> Id=[id]
> 
>  Path to dependency:
>1) demo.helloworld:helloworld:war:1.0-SNAPSHOT
>2) net.liftweb:lift-webkit:jar:1.1-SNAPSHOT
> 
> 2) net.liftweb:lift-mapper:jar:1.1-SNAPSHOT
> 
>  Try downloading the file manually from the project website.
> 
>  Then, install it using the command:
>  mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> mapper -D
> version=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> 
>  Alternatively, if you host your own repository you can deploy the
> file there:
> 
>  mvn deploy:deploy-file -DgroupId=net.liftweb -DartifactId=lift-
> mapper -Dve
> rsion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
> Drepository
> Id=[id]
> 
>  Path to dependency:
>1) demo.helloworld:helloworld:war:1.0-SNAPSHOT
>2) net.liftweb:lift-mapper:jar:1.1-SNAPSHOT
> 
> --
> 2 required artifacts are missing.
> 
> for artifact:
>  demo.helloworld:helloworld:war:1.0-SNAPSHOT
> 
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  scala-tools.org (http://scala-tools.org/repo-releases)
> 
> ##
> 
> 
> Cheers,
>  Neil
> 
> 
> On Nov 18, 9:34 am, "Neil.Lv"  wrote:
>>   It doesn't work too.
>> 
>>   The error message is the same as before :
>> ###
>> object creation impossible, since method testWasSet in trait
>> AnyVarTrait of type (String)Boolean is not defined
>>  object currentItemVar extends RequestVar[Item]({
>> ###
>> 
>>  What is the testWasSet in trait AnyVarTrait  ... ?
>> 
>>  I use the RequestVar to save the item that will be edited in the
>> edit page.
>> 
>> Cheers,
>>  Neil
>> 
>> On Nov 18, 12:42 am, David Pollak 
>> wrote:
>> 
>>> On Tue, Nov 17, 2009 at 8:23 AM, Neil.Lv  wrote:
 Hi all,
>> 
 The RequestVar doesn't work in the Lift1.1-SNAPSHOT,
>> 
  The error message is:
 ###
 object creation impossible, since method testWasSet in trait
 AnyVarTrait of type (String)Boolean is not defined
 object currentItemVar extends RequestVar[Item]({
 ###
>> 
 The code is :
 ###
 object currentItemVar extends RequestVar[Item]({
   Item.getItemById(S.param("id").toString.toLong)
 })
 ###
>> 
 When updating the lift1.1's jars file, this code is broken.
>> 
 Any help must be appreciated!
>> 
>>> Please do a "mvn -U clean install"
>> 
 Cheers,
 Neil
>> 
 --
>> 
 You received this message because you are subscribed to the Google Groups
 "Lift" group.
 To post to this group, send email to lift...@googlegroups.com.
 To unsubscribe from this group, send email to
 liftweb+unsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/liftweb?hl=.
>> 
>>> --
>>> Lift, the simply functional web frameworkhttp://liftweb.net
>>> Beginning Scalahttp://www.apress.com/book/view/1430219890
>>> Follow me:http://twitter.com/dpp
>>> Surf the harmonics
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to 
> liftweb+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/liftweb?hl=.
> 
> 

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=.




[Lift] Re: RequestVar doesn't work in the Lift1.1-SNAPSHOT ?

2009-11-17 Thread Neil.Lv

  When i delete all the repository file, then use "mvn jetty:run",
this information will be shown.

  It doesn't find the webkit jar file, when i can download it manually
so that i can use the mvn install:install-file
to install it.

  I use the 1.1-SNAPSHOT to develop the app not 1.1-M7.

  I see the (http://scala-tools.org/repo-releases) website that the
1.1-SNAPSHOT doesn't exist ?

##
Missing:
--
1) net.liftweb:lift-webkit:jar:1.1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
webkit -D
version=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the
file there:

  mvn deploy:deploy-file -DgroupId=net.liftweb -DartifactId=lift-
webkit -Dve
rsion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
Drepository
Id=[id]

  Path to dependency:
1) demo.helloworld:helloworld:war:1.0-SNAPSHOT
2) net.liftweb:lift-webkit:jar:1.1-SNAPSHOT

2) net.liftweb:lift-mapper:jar:1.1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
mapper -D
version=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the
file there:

  mvn deploy:deploy-file -DgroupId=net.liftweb -DartifactId=lift-
mapper -Dve
rsion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
Drepository
Id=[id]

  Path to dependency:
1) demo.helloworld:helloworld:war:1.0-SNAPSHOT
2) net.liftweb:lift-mapper:jar:1.1-SNAPSHOT

--
2 required artifacts are missing.

for artifact:
  demo.helloworld:helloworld:war:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  scala-tools.org (http://scala-tools.org/repo-releases)

##


Cheers,
  Neil


On Nov 18, 9:34 am, "Neil.Lv"  wrote:
>It doesn't work too.
>
>The error message is the same as before :
> ###
> object creation impossible, since method testWasSet in trait
> AnyVarTrait of type (String)Boolean is not defined
>   object currentItemVar extends RequestVar[Item]({
> ###
>
>   What is the testWasSet in trait AnyVarTrait  ... ?
>
>   I use the RequestVar to save the item that will be edited in the
> edit page.
>
> Cheers,
>   Neil
>
> On Nov 18, 12:42 am, David Pollak 
> wrote:
>
> > On Tue, Nov 17, 2009 at 8:23 AM, Neil.Lv  wrote:
> > > Hi all,
>
> > >  The RequestVar doesn't work in the Lift1.1-SNAPSHOT,
>
> > >   The error message is:
> > > ###
> > > object creation impossible, since method testWasSet in trait
> > > AnyVarTrait of type (String)Boolean is not defined
> > >  object currentItemVar extends RequestVar[Item]({
> > > ###
>
> > >  The code is :
> > > ###
> > >  object currentItemVar extends RequestVar[Item]({
> > >Item.getItemById(S.param("id").toString.toLong)
> > >  })
> > > ###
>
> > >  When updating the lift1.1's jars file, this code is broken.
>
> > >  Any help must be appreciated!
>
> > Please do a "mvn -U clean install"
>
> > > Cheers,
> > >  Neil
>
> > > --
>
> > > You received this message because you are subscribed to the Google Groups
> > > "Lift" group.
> > > To post to this group, send email to lift...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > liftweb+unsubscr...@googlegroups.com
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/liftweb?hl=.
>
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=.




[Lift] Re: RequestVar doesn't work in the Lift1.1-SNAPSHOT ?

2009-11-17 Thread Neil.Lv

   It doesn't work too.

   The error message is the same as before :
###
object creation impossible, since method testWasSet in trait
AnyVarTrait of type (String)Boolean is not defined
  object currentItemVar extends RequestVar[Item]({
###

  What is the testWasSet in trait AnyVarTrait  ... ?

  I use the RequestVar to save the item that will be edited in the
edit page.

Cheers,
  Neil


On Nov 18, 12:42 am, David Pollak 
wrote:
> On Tue, Nov 17, 2009 at 8:23 AM, Neil.Lv  wrote:
> > Hi all,
>
> >  The RequestVar doesn't work in the Lift1.1-SNAPSHOT,
>
> >   The error message is:
> > ###
> > object creation impossible, since method testWasSet in trait
> > AnyVarTrait of type (String)Boolean is not defined
> >  object currentItemVar extends RequestVar[Item]({
> > ###
>
> >  The code is :
> > ###
> >  object currentItemVar extends RequestVar[Item]({
> >Item.getItemById(S.param("id").toString.toLong)
> >  })
> > ###
>
> >  When updating the lift1.1's jars file, this code is broken.
>
> >  Any help must be appreciated!
>
> Please do a "mvn -U clean install"
>
>
>
>
>
> > Cheers,
> >  Neil
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Lift" group.
> > To post to this group, send email to lift...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > liftweb+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=.