[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread ssid

Hi all,
I'm using XMPP in my little LiftApp and tried to migrate my code to
the new Lift Actors.
Somehow it seems that net.liftweb.xmpp still uses Scala Actors.
Is this intentional or about to change?
If not is it possible that Scala Actors communicate with Lift Actors?
At the moment I don't get my project to compile due to some type
mismatch errors but that might also be my lack of understanding
of the different Actor implementations.

Thanks,
ssid

On 22 Okt., 05:37, David Pollak feeder.of.the.be...@gmail.com wrote:
 Folks,
 As the title of this email indicates, there are breaking changes in Lift
 that just got pushed to master.

 We've migrated from Scala Actors to Lift Actors and included a series of
 traits that allow Lift to use its own Actors or Akka Actors (or anything
 else that implements that interface.)

 The two big changes that you'll have to work with are:

    - Box/Full/Empty/Failure was moved from the lift-util/net.liftweb.util
    package to the lift-common/net.liftweb.common package.  The reason for this
    change is that we're going to make the lift-common package a more generic,
    non-web related package.  It currently contains Box and Actor, but in the
    future may contain other interfaces that will have concrete implementations
    outside of Lift.  We moved Box there because Box is richer than Scala's
    Option class and being able to carry Exceptions around in a Box while still
    being able to map/flatMap/foreach over a Box (these are unavailable for
    Scala's Either).  Some we're going to actively promote using Box as a
    replacement for Option in all Scala apps.  What this means for you is you
    have to import net.liftweb.common._ in any file that you also import
    net.liftweb.util.?
    - Lift no longer support Scala Actors for Comet Actors.  The GenericActor
    API offers pretty much the same client interface to Lift's Actors, so ! and
    !? work the same way.  However, there's no link, self, start or exit
    methods.

 Please do an mvn -U clean install on your code and run it against the new
 code.  If you have any Comet-related weirdness, please report it
 immediately.  We're planning M7 in 2 weeks, so we've got lots of time to
 iron any kinks out of this code.

 Thanks,

 David

 --
 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 liftweb@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=en
-~--~~~~--~~--~--~---



[Lift] Re: A question about H2 in the pocketchange example

2009-08-13 Thread ssid

You should be able to connect to the db with the following steps:

1) start the H2 webinterface/server with something like
java -cp h2-1.1.113.jar org.h2.tools.Server
2) point your browser to localhost:8082
3) Use Generic H2 (Embedded),
driver class: org.h2.Driver
JDBC URL: something like jdbc:h2:~/YourProjectPath/todo/
pca_example
4) Leave User Name and Password blank
5) Test Connection and Connect should now work

Best regards


On Aug 13, 11:42 am, Caesar You ucae...@gmail.com wrote:
 i have downloaded H2 client and tried to connect to pca_example
 database.
 but how?
 i dont know the username and password. and i tried to find it out from
 the source code, but nothing.

 thanks

--~--~-~--~~~---~--~~
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 group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Possible to get MegaProtoUser password as entered by the user?

2009-07-22 Thread ssid

Hi,
just started with Lift and Scala some weeks ago and did the usual
stuff like going through and modifying examples and have mainly been
succesfull as long as I keep it simple enough ;-)

I'm sort of stuck now because for going further in my little test-
project I would need the unscrambled password (to access an external
service) and don't know how to achieve that while continuing to use
MegaProtoUser. At the moment I get along with an extra field
servicepassword but thats not the solution I want.

Is it possible to get the value before its stuffed in the
MappedPassword class and how could I do that? I have to admit I don't
understand enough how this user_mgt stuff works. I see its generated
but have no clue where I can get my code in for this job.

Any pointers where to look?

TIA,
ssid

--~--~-~--~~~---~--~~
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 group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---