[Lift] Re: lift-blog - lift based blogging app

2010-03-08 Thread TylerWeir
Cool stuff!

On Mar 8, 12:20 pm, David Pollak 
wrote:
> On Mon, Mar 8, 2010 at 4:51 AM, Lukasz Kuczera  wrote:
> > Hi Folks.
> > I've spawned very simple blog app on lift. This is alpha version and
> > code base is not clean (i'm quite new to scala and lift). You can pull
> > it from github: git://github.com/kukems/lift-blog.git And there is
> > even demo ;)http://www.acidbits.org/lift-blog/
>
> > I need your assistance in choosing name for project and licence type.
>
> Awesome!
>
> If you want to make it easy for people to use your code for any purpose, the
> Apache 2.0 does that well.
>
> If you are looking for a license that allows for commercial usage but also
> requires a contribute-back if any of the code you wrote is changed, the LGPL
> and Mozzila Public License (MPL) do that.
>
> If you are looking to make sure that your code can only be used in open
> projects (all the code that touches yours has to be open), go with the GPL.
> This option allows you to sell separate commercial licenses that allow for
> non-open use of your code.
>
> Name-wise, lift-blog is available in almost all domain suffixes, so that'd
> be a good choice.
>
>
>
>
>
> > I want it open source, but dunno current most fancy licence on the
> > street. I've you want to join and help me improving drop me an email
> > and i'll give you commit access. If you want to use it just pull out
> > from github customize with taste and deploy on your favorite app
> > server.
>
> > --
> > 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=en.
>
> --
> 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=en.



[Lift] Re: php info not effect when edit value in php.ini on nginx webserver

2010-02-24 Thread TylerWeir
I think you're looking for a php or an nginx forum, not Lift.


On Feb 24, 10:02 am, khoanhd  wrote:
> I've already installed php, fcgi, nginx, the system running as no
> problem, but the problem happen when:
> 1. I update memory_limit in php.ini, then restart php-cgi, nginx, but
> when use phpinfo, theo memory_limit is not effected.
> 2. I install 2 new extensions: curl and memcache, add 2 lines:
> extension=curl.so and extension=memcache.so, restart php-cgi and
> nginx, phpinfo also not show up the value curl and memcache in
> phpinfo.
> So, how would i do?Please help me.

-- 
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=en.



[Lift] Re: translate doc to Russian

2010-02-18 Thread TylerWeir
I grant permission for the Russian translation.

I'm not sure how "legal" a reply in a thread is, but if it's good
enough, then the translation has my blessing.

I also suppose I can only speak for myself, not Marius or Derek.

Tyler


On Feb 18, 1:01 pm, Timothy Perrett  wrote:
> My bad, I thought he was referring to the wiki!
>
> Cheers, Tim
>
> On 18 Feb 2010, at 17:44, David Pollak wrote:
>
>
>
>
>
> > On Thu, Feb 18, 2010 at 6:38 AM, Timothy Perrett  
> > wrote:
> > Adel,
>
> > This is certainly NOT against any copyright...
>
> > Actually, technically it is a violation of the 
> > license:http://creativecommons.org/licenses/by-nd/3.0/ By, I give my 
> > permission (and a hearty "THANK YOU!!") to make a derivative work 
> > (translation) of the work.  I'll ping Derek and Tyler to get their 
> > permission.  Marius still reads this list so he can choose to grant 
> > permission (or not.)
>
> > in fact, we welcome such an effort!
>
> > We certainly do.  Sorry for being pedantic above, but, well, I was trained 
> > to be pedantic.
>
> > Thanks for your work on this.
>
> > Cheers, Tim
>
> > On 18 Feb 2010, at 09:52, Adel Chepkunov wrote:
>
> > > Hello all!
>
> > > I start translate "Starting with Lift" on
> > >http://translated.by/you/starting-with-lift/into-ru/trans/?page=1
>
> > > I not violate copyrights?
>
> > > And if it ok, can you help me? In this server You can login via
> > > OpenId, so You not need create new account.
>
> > > Sorry for my bad English
>
> > > --
> > > 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=en.
>
> > --
> > 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=en.
>
> > --
> > 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=en.

-- 
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=en.



[Lift] Vim Helpers for Lift

2010-02-06 Thread TylerWeir
Antonio Salazar Cardozo put together some helpers for Vim.

http://www.vim.org/scripts/script.php?script_id=2962

"Currently provides a few commands:

* :Lmodel, Lsnippet, Lactor, Lcomet -- all take a class name and take
you to
  the appropriate associated file
* :Lview -- takes a class name and takes you to the appropriate view
file
* :Lspec or :Ltest -- when called from a class (e.g., GroupSnip),
takes you to
  the associated test file (GroupSnipTest)
* :Lclass -- the opposite of Lspec, takes you to the class for the
current test "

I'll have to play with it as soon as I can, but it looks handy.

-- 
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=en.



[Lift] Re: Unable to find the OSGi and Lift example

2010-01-28 Thread TylerWeir
http://github.com/dpp/liftweb/tree/master/examples/examples-osgi/hello/

On Jan 28, 10:53 am, Murtaza Rampurawala  wrote:
> Hello,
>
> I am a newbie in OSGi and lift and trying to get up to speed.
>
> I was trying to work through the example by Heiko, where he put lift
> on OSGi using Pax-Runner. I discovered it in the mailing list.
>
> However I am not sure how to get the example app "sites/examples-osgi/
> hello"
>
> I would appreciate some guidance.
>
> Thanks,
> Murtaza

-- 
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=en.



[Lift] Re: Building Lift with scala 2.8.0

2009-12-19 Thread TylerWeir
http://github.com/dpp/liftweb/tree/irc_wip_lift20/



On Dec 19, 4:15 pm, Channing Walton  wrote:
> I would like to use Lift with scala 2.8.0 but need some helping building the
> branches. I've checked out the 280_port branch, but when I set the scala
> version to 2.8.0.Beta1-RC3 in the main pom, Lift doesn't compile. Either the
> specs tests fail because they have the wrong class signature or if I skip
> the tests I get:
>
> [INFO] Compiling 3 source files to
> /Users/channing/tmp/280_port/lift-base/lift-actor/target/classes
> /Users/channing/tmp/280_port/lift-base/lift-actor/src/main/scala/net/liftwe 
> b/actor/LAFuture.scala:19:
> error: not found: value common
> import common._
>
> I realise that this is all a work in progress so any help is appreciated.
>
> Channing
>
> --
> View this message in 
> context:http://old.nabble.com/Building-Lift-with-scala-2.8.0-tp26858625p26858...
> Sent from the liftweb mailing list archive at Nabble.com.

--

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=en.




[Lift] Re: Documentation Site

2009-12-19 Thread TylerWeir
Why not help make the wiki the "one location?"



On Dec 19, 8:16 am, Hannes  wrote:
> Definitely! I would like one location for everything, but I believe that
> the current situation is not like that.
>
> - there two API docs 1.0 and 1.1, the latter is hard to find
> - there's liftweb.net (a little bit out-dated)
> - there's the Wiki
> - there's David's Blog (that has some unique information)
>
> What did I forget?
>
> thanks.
>
>
>
> > Why not improve the existing wiki on github?
>
> > Or fork the book and make improvements that way?
>
> > I'm not opposed to additional resources, but why create another place
> > where docs may or not be out of date?
>
> > I think that Lift is still at the point where one location of docs is
> > better.
>
> > My opinion.
>
> > On Dec 19, 6:37 am, Hannes  wrote:
>
> >> Hi Lifters,
>
> >> I'm thinking about setting up a site that takes together all available
> >> information about Lift (Links, News, ...).
>
> >> I would like to know, if this would be appreciated or not. I still think
> >> that all the available information is to much spread out - specially for
> >> people who get started with Lift. In case of positive responds, I would
> >> like to setup a Plone (CMS) site. I think its a really good tool, to
> >> organize content.
>
> >> thanks for listening.
>
> > --
>
> > 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=en.

--

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=en.




[Lift] Re: Documentation Site

2009-12-19 Thread TylerWeir
Why not improve the existing wiki on github?

Or fork the book and make improvements that way?

I'm not opposed to additional resources, but why create another place
where docs may or not be out of date?

I think that Lift is still at the point where one location of docs is
better.

My opinion.

On Dec 19, 6:37 am, Hannes  wrote:
> Hi Lifters,
>
> I'm thinking about setting up a site that takes together all available
> information about Lift (Links, News, ...).
>
> I would like to know, if this would be appreciated or not. I still think
> that all the available information is to much spread out - specially for
> people who get started with Lift. In case of positive responds, I would
> like to setup a Plone (CMS) site. I think its a really good tool, to
> organize content.
>
> thanks for listening.

--

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=en.




[Lift] Re: Fwd: Watch Foursquare Lift talk live from NY

2009-12-08 Thread TylerWeir
N8han upped it a while ago: http://www.vimeo.com/8057986

On Dec 8, 4:08 pm, Timothy Perrett  wrote:
> Im sure n8han will put it on blip.tv when he gets a chance. Be patient, im 
> sure it'll come soon :-)
>
> Cheers, Tim
>
> On 8 Dec 2009, at 20:50, Mateo Barraza wrote:
>
>
>
> > Anyone still looking into uploading the video version of this prezo?
>
> > M>
>
> > On Tue, Dec 8, 2009 at 12:38 PM, Peter Robinett  
> > wrote:
> >> On Dec 7, 7:36 pm, David Pollak  wrote:
> >>> On Mon, Dec 7, 2009 at 6:59 PM, Peter Robinett 
> >>> wrote:
>
>  One thing mentioned briefly in the talk that I'd like to know more
>  about is oAuth Server code. Is anyone working on that?
>
> >>> It's on my to-do list.
>
> >> This is something we'll need at EQUAL Networks within a month or two.
> >> Do you think you'll get to it within that time period? I'm happy to
> >> take a stab at it first, though I know it's not trivial (I've only
> >> written oAuth clients, not servers).
>
> >> Peter
>
> >> --
>
> >> 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=en.
>
> > --
>
> > 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=en.

--

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=en.




[Lift] Re: Documentation for 1.1

2009-12-07 Thread TylerWeir
Something like "This Week in Lift master" would help.
http://suitmymind.com/blog/2009/01/22/this-week-in-edge-cappuccino/

On Dec 7, 5:55 am, Timothy Perrett  wrote:
> Randinn,
>
> This is already slated for 1.1/2.0 release... dont worry we are getting to it 
> :-)
>
> Cheers, Tim
>
> On 7 Dec 2009, at 08:09, Randinn wrote:
>
>
>
> > I am writing here to get a dialog going about the changes from 1.0 to
> > 1.1. I mistakenly filed a ticket on the subject but was wondering if
> > there could be some documentation done with all of the new/changed
> > features in 1.1. Most of the time the changes and additions are
> > mentioned here but there are times that a feature is added and it's
> > only talked about when someone asks about it. I was wondering if a
> > current commiter or possibly bring one on board with the idea of
> > fleshing out the documentation.
>
> > --
>
> > 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=en.

--

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=en.




[Lift] Re: Please welcome Jon Hoffman to the Lift committers

2009-12-02 Thread TylerWeir
Welcome Jon!

On Dec 2, 6:25 pm, David Pollak  wrote:
> Folks,
>
> It may or may not be true that for Jon Hoffman that "Martin Odersky praises
> [his] valuable contributions. [He] can read APIs in the
> dark."But Jon's made a valuable
> contribution to Lift as part of the community.
> Now, he's a committer.
>
> Please join me in welcoming Jon.  I'm looking forward to his S3-related
> additions to Lift and any other goodies he wants to toss into Lift.
>
> Jon, welcome and I'm looking forward to the grandeur of your contributions!
>
> Thanks,
>
> David
>
> PS -- Derek please add Jon to the review board.
>
> PPS -- My wife loves the Udorse jobs page.
>
> --
> 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=en.




[Lift] Re: newbie question about record

2009-11-30 Thread TylerWeir
I think there is a general interest for a non-trivial Record
example.

Maybe kill two birds with one stone and connect to a NoSQL store.



On Nov 30, 5:26 am, Timothy Perrett  wrote:
> That depends on the semantic of your backend does it not? What backend
> are you talking to? Can you provide more information?
>
> Cheers, Tim
>
> On Nov 30, 2:58 am, Jarod Liu  wrote:
>
>
>
> > how to setup table/column names of a record entity.(like override
> > dbTableName field in mapper)

--

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=en.




[Lift] Lift and LDAP

2009-11-27 Thread TylerWeir
http://jgoday.wordpress.com/2009/11/27/lift-ldap/
"One of the requisites to start using Lift at my work, was to use LDAP
authentification.
So i wrote a little module lift-ldap for that and a sample app, it was
damn simple!"

http://github.com/jgoday/lift-ldap
http://github.com/jgoday/sample_lift_ldap

--

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=en.




[Lift] Re: simple database question

2009-11-26 Thread TylerWeir
Take a look at the User class example:
http://github.com/dpp/liftweb/blob/master/lift-examples/hellolift/src/main/scala/com/hellolift/model/User.scala

On Nov 26, 1:39 pm, jack  wrote:
> wow. thats impressive. But for this, what does the Person class have
> to look like? Suppose I have the table but I don't have the Person
> class written. What does it need to look like?
>
> On Nov 26, 1:32 pm, harryh  wrote:
>
>
>
> > val people = Person.findAll()
>
> > On Nov 26, 1:22 pm, jack  wrote:
>
> > > I have my database configured properly in Boot.scala and in my
> > > pom.xml. Suppose I have a table name person with a field called name.
> > > What is the simple code to return all rows of this table using Mapper.
> > > I want to understand the essence of how lift ties tables to objects
> > > with a simple example.

--

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=en.




[Lift] Re: Welcome Ross Mellgren to the Lift Committers

2009-11-19 Thread TylerWeir
Welcome Ross!

On Nov 19, 7:38 pm, David Pollak 
wrote:
> Folks,
>
> I'm pleased to announce that Ross Mellgren has joined the Lift committers.
> He's been a very helpful voice on the list for a while now and he's decided
> to help out with code as well... woo hoo and welcome.
>
> 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 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: intro to lift-json?

2009-11-19 Thread TylerWeir
You may find the Extraction tests helpful:

http://github.com/dpp/liftweb/blob/master/lift-base/lift-json/src/test/scala/net/liftweb/json/ExtractionExamples.scala



On Nov 19, 3:20 pm, harryh  wrote:
> Is there a basic intro to lift-json floating around anywhere?  I'm
> having a bit of trouble getting started with a couple basic things.
> For example if a have a JObject that corresponds to:
>
> {
>   "foo" : {
>     "bar" : 999
>   }
>
> }
>
> How do I get the 999 (as an int) out of the JObject?  I'm sure this is
> simple, just a bit confused on the basics.
>
> -harryh

--

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: foursquare.com now basically all on Lift

2009-11-17 Thread TylerWeir
Great to hear Harry!

When you get a chance, maybe write up your experience doing the port.

Tyler

On Nov 17, 3:16 pm, harryh  wrote:
> I've been a bit coy about it on the list, but three months ago when I
> joined the team at foursquare.com I made the final decision that we
> would port our webservers to Scala/Lift.  It took about 3 months, but
> foursquare.com is now basically running only on Lift(1).  This
> includes the website, a mobile website (m.foursquare.com) and a simple
> (but growing!) REST api (api.foursquare.com).
>
> I'd like the send a huge thank you to dpp and the rest of the Lift
> team. You've built a really great framework here, and I look forward
> to using it and seeing it grow for many years to come. An additional
> thanks goes out to all those who have answered my many random
> questions over the past couple of months.
>
> For those who haven't yet found out about foursquare, you can read
> more about it here:http://foursquare.com/learn_more
>
> Anyways, that's about enough self promotion, but I did want to
> officially let the community know about what I hope will be a fairly
> high profile site that is using Lift.
>
> -harryh
>
> (1) Haven't quite ported feeds.foursquare.com, and there is a legacy
> PHP based REST api that will live on for a bit longer as it supports
> current versions of our iPhone app.

--

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: Hosting problem, could PHP hosting front end the Liftweb? or is there cheap Liftweb hosting?

2009-11-17 Thread TylerWeir
If you just need a box to run a test app, pick one from 
http://www.lowendbox.com/.

I'm about to pull the trigger on a tinyvps.ca slice.
They're based in Toronto, as I am.

On Nov 17, 8:55 am, Jim Barrows  wrote:
> I use rackspace cloud servers (rackspacecloud.com) for my hosting.  runs me
> about 55/month for a medium sized server.  They have an API etc for
> autostarting servers, and shutting them down.
> Then you have the spring source
> stuffthat runs on
> Amazon, but gives you pushbutton deployment and autoscaling
> etc.
>
>
>
>
>
> On Mon, Nov 16, 2009 at 9:45 PM, philip  wrote:
> > Hi,
>
> > I will explain my problem, generally it is easy and cheap to get a PHP
> > hosting account, often my new customers for websites have a PHP
> > hosting as they are on the cheaper end of websites.
> > My real server is using dyndns and is located "at home".
>
> > Although I have one server, I cannot host many domains on it. So my
> > thought is that if I could write a PHP script I could use that to
> > "mirror" my real server, also conbined with a .htaccess. So a request
> > going to the PHP server hosting the domain would be re-directed to my
> > real server and the content sent back to the client.
> > I guess a iframe would work, but thats ugly. There's a few ways to do
> > this.
>
> > What about the Javascript and Ajax, could that work cross-domain? For
> > example, going directly to server rather than proxy by the PHP
> > hosting?
>
> > Well I'll try it out some time soon and put some followup info on
> > here.
>
> > This is all because its not so easy to get cheap Liftweb hosting! ...
> > or does anyone have a solution for that?
>
> > Thanks, Philip
>
> > --
>
> > 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=.
>
> --
> James A Barrows

--

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: Novell Pulse, front end by Lift

2009-11-11 Thread TylerWeir

I'm a little late to the party, but Pulse is really quite amazing.
Well done all.

David LaP, I eagerly await anything you have to share.

Tyler

On Nov 11, 1:14 am, David LaPalomento  wrote:
> I'm glad to hear you like what you've seen so far with Pulse!  I don't
> think we could do half the stuff we're doing without Lift backing us
> up.  Stay tuned, we'll have more than a video to share with the group
> soon :)
>
> David
>
> On Nov 8, 3:54 pm, Timothy Perrett  wrote:
>
>
>
> > Kudos everyone - the fact that organisations are building saleable  
> > products on Lift is a testament to the quality of the platform so  
> > early on in its life; as a team we should take real pride in this :-)
>
> > Cheers, Tim
>
> > On 8 Nov 2009, at 18:06, David Pollak wrote:
>
> > > Folks,
>
> > > Last week, Novell announced their new groupware product, 
> > > Pulse:http://www.novell.com/products/pulse/
>
> > > Pulse's UI was built with Lift.  If you have time to watch the demo,  
> > > it's very impressive... quite frankly, I was blown away... I didn't  
> > > think web browsers could do that, Lift or no.
>
> > > So, congrats to the Pulse team and congrats to the Lift community  
> > > for giving feedback that made Lift a platform that could build such  
> > > an app and congrats to the Lift committers to listening to community  
> > > feedback and building the Lift platform.
>
> > > 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: Proposal : Lift ticketing system

2009-10-24 Thread TylerWeir

I think it's a great idea.

I'm not sure if this would work, but if it appeared on github, we
could use it as an example app that new Lifters could study.  Like
what we hoped PocketChange would be, but we have more of a need for a
ticket system, than a budget app.



On Oct 24, 10:21 am, Marius  wrote:
> I'd LOVE TO SEE a ticketing system built in lift even though there are
> so many other solutions out there.
>
> The things that I'd like to see are:
>
> 1. When opening a Ticket I'd like to see fields like:
>   - Summary
>   - Description
>   - Severity
>   - Priority
>   - Assign to
>   - Followers. Submitter would add himself/herself as a follower
>   - Tester
>   - area/module
>   - ability to upload content logs, screenshots etc
>   - ability to specify code snippets that will then be rendered with
> syntax highlight. Also links specified in free text to be rendered as
> real links.
>   - Found in version & build
>   - Seen on branch
>
> 2. A commiter can:
>
>   - Specify Internal and external dependencies. Such as a defect
> depends on a known Scala compiler ticket.
>   - Mark the ticket as fixed, unreproducible, not a bug, 3-rd party,
> deferred etc. and other statuses that can be managed by an admin.
>   - Ask more questions etc.
>   - Upload content
>   - Change priority and even severity ?
>   - Close a defect ... usually QA closes the defect so in this case
> the persons in the Terster section would be able to close it ...
>   - Build & version when the fix will appear
>
> 3. General
>
>   - Query defects by owner, severity, priority etc.
>   - Ability for users to create queries and save those queries.
>   - Stats & charts about the defect, fix rate etc. Would be nice to
> put a link to this stats when we do a release.
>   - Separate feature requests than actual defects ... to have a visual
> distinction.
>   - Admin site.
>   - Email notifications.
>
> This I guess would be a minimum from my perspective.
>
> Br's,
> Marius
>
> On Oct 24, 4:56 pm, Derek Chen-Becker  wrote:
>
> > Hi,
> >     I feel like I need to take a break from working *on* Lift for a little
> > while, but I'd like to do something with my time that would still benefit
> > Lift. Since we had a recent discussion on ticketing systems, and we had
> > talked a long time ago about dogfooding a ticket system, I thought that this
> > might make a good project to work on. I like the simplicity of the GitHub
> > issue tracking, but I think it's missing some important things:
>
> >    1. Email notifications
> >    2. Duplicate tracking
> >    3. Release planning fields like milestones, etc
>
> > I do like the integration with Git commit hashes and other intelligent
> > hyperlinking in the comment space, but I'm on the fence as to whether I like
> > using tags as a generic tool for things like ownership and component
> > classification. I could probably be persuaded either way. In any case, does
> > this seem like a good project, and if so, do people have requirements,
> > suggestions, comments, etc. on the functionality that should be in it?
>
> > Thanks,
>
> > Derek
>
>
--~--~-~--~~~---~--~~
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: In the spirit of Friday, anyone want to see this ruby rack ported to lift?

2009-10-24 Thread TylerWeir

looks cool. And if you're volunteering, then have at it.
:)

On Oct 23, 6:55 pm, Jim Barrows  wrote:
> http://coderack.org/users/MetaSkills/entries/15-zombie-shotgun
>
> and yes, I'm volunteering. :)
>
> --
> James A Barrows
--~--~-~--~~~---~--~~
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: **Important** Migration guide Scala Actors -> Lift Actors

2009-10-22 Thread TylerWeir

Stickied for now, until we think it's no longer an issue.

On Oct 22, 2:57 pm, David Pollak 
wrote:
> Folks,
>
> I wrote a quick blog piece about migrating from Scala Actors to Lift Actors
> athttp://blog.lostlake.org/index.php?/archives/96-Migrating-from-Scala-...
>
> I hope this addresses questions that folks on the list have about the
> affirmative steps they need to take to make the migration.
>
> 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: New update changed something?

2009-10-22 Thread TylerWeir

Sorry, just saw this, stickied.

On Oct 22, 12:14 pm, David Pollak 
wrote:
> On Thu, Oct 22, 2009 at 8:29 AM, Timothy Perrett 
> wrote:
>
> > Sure, just go to "options" on the web interface at the top of the thread
> > and as moderator you should see a whole bunch of options.
>
> I'm not seeing a "make sticky" option.  I may be blind or stupid or both.
>  Maybe Tyler can have a look.
>
>
>
>
>
> > Cheers, Tim
>
> > On 22 Oct 2009, at 16:22, David Pollak wrote:
>
> > On Thu, Oct 22, 2009 at 7:03 AM, TylerWeir  wrote:
>
> >> Umm,http://groups.google.com/group/liftweb/t/824f14038bedf425?hl=en
>
> > Any way to make this sticky?
>
> --
> 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: New update changed something?

2009-10-22 Thread TylerWeir

Umm, http://groups.google.com/group/liftweb/t/824f14038bedf425?hl=en

On Oct 22, 9:55 am, caw1461  wrote:
> So I was running everything for my program fine last night.  Got on
> this morning, updated scala when compiling and I am getting a lot of:
>
> error: not found: value Box
> error: value map is not a member
> error: value openOr is not a member of Nothing
> etc.
>
> Was there a big update changing a bunch of these things, or did I
> change some code to break all of this? I'm pretty sure I haven't made
> any significant changes.
--~--~-~--~~~---~--~~
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 Critique On Lift

2009-10-21 Thread TylerWeir



On Oct 22, 2:02 am, ngocdaothanh  wrote:
> jlist9,
> This is a Lift group, but I have to say I feel the same about Scala.
>
> I had to ask for advice 
> here:http://groups.google.com/group/liftweb/browse_thread/thread/a588f997a...
>
> Scala may help me to get my work done for the day. But I don't feel
> happy with Scala. Scala makes me feel I'm a slave all the day to
> machines (or Scala itself!).

If it makes you feel like a slave, why are you using Scala at all
then?

>
> On Oct 22, 2:13 pm, jlist9  wrote:
>
>
>
> > override def validations = validPriority _ :: super.validations
>
> > This is a more of a comment about Scala than one about Lift - this does
> > look cryptic to me. And this is just one of the simpler syntax that confuses
> > people, who are new to the language. And I'm one of them.
>
> > I understand that you don't have to learn all the tricks/syntax to start
> > coding in Scala but you do have to understand it when you read
> > source code of libraries written by someone with much more advanced
> > language skills.
>
> > In David's book he says "After more than two years of coding Scala, ...
> > My brain has finally stopped hurting." This sounds like a very high
> > barrier to entry.
>
> > I'm just wondering why Scala has to be so complicated. I'm sure a lot
> > of things in Scala have their reasons but at the mean time I also
> > suspect that many of the odd things are there to reduce
> > typing, which is advertised as one of the advantages of this language -
> > conciseness. (I could be very wrong due to my lack of understanding.)
> > If the latter is true, I feel that I'd rather type a little more to make the
> > code easier to read.
>
> > Just feeling a little frustrated learning Scala. I think it's much
> > easier learning
> > Java. Not much surprise. Not sure if anyone shares my experience
> > (and opinion, if there is one.)
>
> > On Wed, Oct 21, 2009 at 3:56 PM, Randinn  wrote:
>
> > >http://localhost3000.de/2009/10/a-quick-glance-at-lift/
>
> > > The site above is a blog post from a Rails developer, he had some good
> > > and bad things to say about Lift and since I do not know enough to
> > > debate with him I thought I'd post it here.
--~--~-~--~~~---~--~~
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: Where is the default User table's definition ?

2009-10-21 Thread TylerWeir

Hi Neil,

Many of your recent questions can be answered by looking at Lift's
source.

Have you cloned the GitHub repository?
http://www.github.com/dpp/liftweb

Exploring the source will only assist you in further development.

Tyler

On Oct 21, 5:45 am, "Neil.Lv"  wrote:
> Hi all,
>
>    I have a question about the lift's default definition.
>
>    Where is the source file that i can find the details about the
> MetaMegaProtoUser, MegaProtoUser ?
>
>    Thanks very much !
>
> Cheers,
>   Neil
--~--~-~--~~~---~--~~
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: functionality similar to Rails ActiveRecordHelper

2009-10-17 Thread TylerWeir

Like CRUDify?

http://www.scala-tools.org/mvnsites-snapshots/liftweb/lift-mapper/scaladocs/net/liftweb/mapper/CRUDify.html
[+]

On Oct 17, 2:42 pm, opyate  wrote:
> Hey guys,
>
> I'm aware Lift does not aim to be a scaffolding tool like Rails, but I
> was wondering if there some sort of functionality tucked away
> somewhere similar to Rails' ActiveRecordHelper, particularly to
> generate an HTML form from a SQL table (or 'record').
>
> Thanks,
> Juan
>
> semi-related:http://groups.google.com/group/liftweb/browse_thread/thread/53dad3929...
--~--~-~--~~~---~--~~
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: Don't shoot the non-XML messenger ...

2009-10-13 Thread TylerWeir

I feel we should all just step away from this discussion, it's not
getting us anywhere.

Tyler

On Oct 13, 9:24 pm, Aule  wrote:
> Bryan
>
> Been there, tried that.
> Oh - the mime type is "text/vnd.curl"
>
> Btw, actually a threat has been conveyed to me at mail.google.com and
> I have protested to Google
>
> I can't imagine Dave Hansen or MArtin Odersky or Bill Venners or Lex
> Spoon sending me a threat, but so it goes ...
>
> At least I will not get 4 years in an Egyptian prison for insulting
> Randy's Alma Mater (Madison).
>
> Oh Randy.  I read my Paul Valéry in the original.  www.hsinfosystems.com
> is missing the accent on his surname.
>
> Lift is not Scala; I will continue to recommend Scala.
>
> For me, the jury on Lift is not yet in.  When some sycophants of
> Seaside got, nasty, I did not walk away from Seaside, warts and all.
>
> R
>
> On Oct 13, 8:10 pm, Bryan  wrote:
>
>
>
> > Hi Aule,
>
> > > I am still looking to see if I over-looked somewhere on the web where
> > > there is a 1.0.2 Boot.scala
>
> > >   1) showing unambiguously how to flip the default Content-Type
> > >   2) and having, in fact, the intended effect
>
> > >  as I now know from a few trials over a few hours that this is not as
> > > simple as some web posts present.
>
> > I have not had a need for this, so I had to search some "web posts" to
> > find the answer.  Quckly, I found the following snippet:
>
> > LiftRules.determineContentType = {
> >   case _ => "text/curl"
>
> > }
>
> > I have not verified this, so please let us know if it does not help.
>
> > > Were it trivial, I had not mocked a framework, and you, Mr. Pollock,
> > > had not raged.
>
> > From my readings, Mr. Pollak has yet to show any rage.
>
> > --Bryan
--~--~-~--~~~---~--~~
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: lift nearly inaccessible for newby

2009-10-06 Thread TylerWeir



On Oct 6, 12:31 pm, David Pollak 
wrote:
> We try to make Lift accessible to a wide range of folks who want to build
> web sites.  However, there are lower-bounds on what we can do.  By and
> large, PHP is a great place to start in terms of mapping simple HTTP

I was going to suggest CakePHP as I've got non-dev friends to use with
with reasonable success.
http://cakephp.org/

> requests into simple web pages with a little RDBMS storage.
> Personally, I don't think Lift is materially more complex than Rails,
> although Rails' documentation and examples are worlds better than Lift's

In volume or in quality? Both?

Given how busy everyone is, I'll put this out there and maybe some
with time/energy will pick it up.

Mike Ash is an excellent Cocoa/ObjC dev and has a series of articles
he posts on Fridays, "Friday Q&A."
http://www.mikeash.com/?page=pyblog/

I see something like this being an enormous benefit to Lift devs.  And
in addition to Q&A, maybe a Recipe day, "Recipe for CRUD" "Recipe for
Comet" "Recipe for X"

I would really like to do this, but I don't have the time to make it
be of any quality and I'd prefer not to put out something that is
merely one step up from junk.

Maybe a thread where people get to guide us to an example app.

Personal Opinion:
To be fair to Lift commit team, there is quite a bit of example code
online for people to check out, but I'm not convinced they are
actually looking at it.  Given the number of questions that come in
that are easily solved with a Google Search, I don't know how pumping
out more and more docs and examples will help, as it seems largely
ignored.

We went through the same issue with Cocos2d-iPhone:
http://www.cocos2d-iphone.org/forum/topic/1564
The source code people must download to build a game comes with about
100 examples and people still ignore it.

So we're not dealing with a Lift-specific issue I don't think, but we
are dealing with a difficult one.

Ty



> (this is not a put-down of the excellent work done by the whole community
> and Marius, Derek, and Tyler specifically, but a simple indication of being
> 4-5 years behind Rails in terms of adoption.)
>
> So, Lift may not be the right thing for the original poster.  Maybe it will
> be in two years.
>
> Sorry.
>
> On Tue, Oct 6, 2009 at 12:52 AM, Stefan Langer
> wrote:
>
>
>
> > Not ment as a offence but you are in way over your head!
> > A couple of things:
> > 1. You say you are a non-programmer but I assume you do understand Scala?
> > Or else it is pointless to use Lift as it is based on the Scala language and
> > relies heavily on its features. Knowledge of Java is also a plus cause some
> > of the libs are not available in Scala but only in Java and it is better to
> > know Java in order to understand the libraries.
> > 2. You do have experience with websites? Complex web applications? If not
> > then I suggest you start by doing a simple static page for your design to
> > get to know the technics you are trying to use or you get yourself a
> > programmer/webdesinger to do it for you. If you are not willing to learn
> > about the technical details you will get in big trouble later on and I mean
> > trouble that can actually cost you money.
> > 3. If the above points do not seem valid for you then please get
> > professional help
> > 4. If you are not scared by the above points and you are willing to invest
> > then I suggest getting some example code and starting to disect that.
> > Take a look athttp://github.com/tjweir/pocketchangeappwhich is a
> > complete demo app in lift
> > and take a look athttp://github.com/tjweir/liftbookfor a liftbook that
> > is available freely.
>
> > Regards and good luck on your project
>
> > Stefan
>
> > 2009/10/5 koveen 
>
> >> hi Naftoli,
>
> >> thanks for your interest.
>
> >> On Oct 5, 10:50 pm, Naftoli Gugenheim  wrote:
> >> > Being a non-programmer, and additionally not having a Java background,
> >> > which framework are you comparing Lift to when you say it's not easy?
> >> > :)
>
> >> First I read a book about rails, explaining things from the start, I
> >> did watch quite a lot of nice video's on the web explaining some basic
> >> tricks with Rails. I think it is a system that is easy to start with
> >> but I became nervous about recurring issues about scaling, the
> >> integration of Rails and Merb and had the idea, maybe wrong, that it
> >> was a system too much in transition.
>
> >> I read part of the tutorial of Lift, installed it on my computer using
> >> Maven, but in a way I got lost.
>
> >> Then I partially read a book about Wicket. I like the system very
> >> much, especially one trick exited me: the Ajaxfallbacklink in which a
> >> link worked in a simple way when javasript is disabled , but at the
> >> same time has some Ajax functionality when Javascript is enabled on
> >> the users system. I liked this feature very much, but the integration
> >> with a database is not an integral part of the Wicket-system and can
> >> be acquired via a

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread TylerWeir

On Oct 6, 3:52 am, Stefan Langer  wrote:
> Not ment as a offence but you are in way over your head!

This is a case of running before walking I think.

Ko, web app development encompasses *many* aspects, and jumping in
with a Functional/OO hybrid language based framework may not be the
best idea if you're looking to hit the ground running.

Tyler

> A couple of things:
> 1. You say you are a non-programmer but I assume you do understand Scala? Or
> else it is pointless to use Lift as it is based on the Scala language and
> relies heavily on its features. Knowledge of Java is also a plus cause some
> of the libs are not available in Scala but only in Java and it is better to
> know Java in order to understand the libraries.
> 2. You do have experience with websites? Complex web applications? If not
> then I suggest you start by doing a simple static page for your design to
> get to know the technics you are trying to use or you get yourself a
> programmer/webdesinger to do it for you. If you are not willing to learn
> about the technical details you will get in big trouble later on and I mean
> trouble that can actually cost you money.
> 3. If the above points do not seem valid for you then please get
> professional help
> 4. If you are not scared by the above points and you are willing to invest
> then I suggest getting some example code and starting to disect that.
> Take a look athttp://github.com/tjweir/pocketchangeappwhich is a complete
> demo app in lift
> and take a look athttp://github.com/tjweir/liftbookfor a liftbook that is
> available freely.
>
> Regards and good luck on your project
>
> Stefan
>
> 2009/10/5 koveen 
>
>
>
> > hi Naftoli,
>
> > thanks for your interest.
>
> > On Oct 5, 10:50 pm, Naftoli Gugenheim  wrote:
> > > Being a non-programmer, and additionally not having a Java background,
> > > which framework are you comparing Lift to when you say it's not easy?
> > > :)
>
> > First I read a book about rails, explaining things from the start, I
> > did watch quite a lot of nice video's on the web explaining some basic
> > tricks with Rails. I think it is a system that is easy to start with
> > but I became nervous about recurring issues about scaling, the
> > integration of Rails and Merb and had the idea, maybe wrong, that it
> > was a system too much in transition.
>
> > I read part of the tutorial of Lift, installed it on my computer using
> > Maven, but in a way I got lost.
>
> > Then I partially read a book about Wicket. I like the system very
> > much, especially one trick exited me: the Ajaxfallbacklink in which a
> > link worked in a simple way when javasript is disabled , but at the
> > same time has some Ajax functionality when Javascript is enabled on
> > the users system. I liked this feature very much, but the integration
> > with a database is not an integral part of the Wicket-system and can
> > be acquired via a Wicket-Spring-Hibernate combination. This seemed too
> > much for me to get into as a starter.
>
> > That's how I came back to Lift. I need a stable database-connection.
> > You need one when you hope that people will be paying some, even
> > small, amount of money for your service.
>
> > > Can you clarify: Is this going to be a site, or a back end to a mobile
> > > app that sits on the phone?
>
> > I just want to make a site
>
> > But I hope it is clear I am not here to criticise anybody, it is just
> > that often I feel this system is way over my head. Maybe that will
> > change.
>
> > thanks
>
> > Ko
>
> > > On Mon, Oct 5, 2009 at 2:32 PM, koveen  wrote:
>
> > > > Hi,
>
> > > > Being a no-programmer and having no Java-background
> > > > I'd like to have mentioned that Lift really isn't an easy framework.
> > > > Having said that, I will try to read my way into this system and try
> > > > to solve the problems I encounter.
>
> > > > I have one question.
>
> > > > I would like to establish a login method where a visitor of my site
> > > > (to be) could be accepted as a valid user, based on the info the
> > > > server receives when the visitor enters the site.
>
> > > > In my case it will be a site for mobile phones and some mobile phone
> > > > operators will provide me with the telephone-number of the user once
> > > > she enters. Once a user has paid for the service,  this number alone
> > > > should be enough to make the visitior into a valid user. Without
> > > > needing to log in.
>
> > > > I have read the following on:http://demo.liftweb.net/ws
>
> > > > t's easy to "dispatch" incoming HTTP requests.
> > > > In your "Boot" class create a PartialFunction
> > > > that matches a pattern related to the incoming request and
> > > > then create a short-lived controller to service the request.
>
> > > > This code matches all the requests to "/webservices/" and
> > > > assigns the stuff in '' to the variable c.  Then
> > > > the code attempts to find a public method with that name on
> > > > the controller.  If the method exists, it's invoked and Lift
> > 

[Lift] Re: Can we deploy lift webapp on Google App Engine?

2009-09-29 Thread TylerWeir

google for "lift appengine" there a few out there.

On Sep 29, 11:05 am, justss  wrote:
> Great TylerWeir!!! Thanks a lot... Can you please suggest any kind of
> documentation for this... sorry to be bothering you for that. Any
> tutorial would be of great help.
>
> Cheers.
>
> On Sep 29, 2:08 pm, TylerWeir  wrote:
>
> >http://lift-example.appspot.com
>
> > There are caveats though, the major one is the lack of actors.
>
> > On Sep 29, 8:53 am, justss  wrote:
>
> > > Hi All,
>
> > > I'm brand new to Scala and lift framework. I have created a very
> > > simple hello world web app in lift framework and deployed it
> > > successfully on tomcat.
> > > Now I want to know whether I can deploy the same lift application on
> > > Google app engine or not? I have the war ready, so in I thought that
> > > it should have been as simple as deploying any war on tomcat or
> > > websphere!!! But I see it is not ;-(
> > > Can anyone please guide me as to how I can deploy my mini lift app on
> > > GAE?
>
> > > Thanks in advance.
> > > A Newbie
>
>
--~--~-~--~~~---~--~~
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: Can we deploy lift webapp on Google App Engine?

2009-09-29 Thread TylerWeir

http://lift-example.appspot.com

There are caveats though, the major one is the lack of actors.

On Sep 29, 8:53 am, justss  wrote:
> Hi All,
>
> I'm brand new to Scala and lift framework. I have created a very
> simple hello world web app in lift framework and deployed it
> successfully on tomcat.
> Now I want to know whether I can deploy the same lift application on
> Google app engine or not? I have the war ready, so in I thought that
> it should have been as simple as deploying any war on tomcat or
> websphere!!! But I see it is not ;-(
> Can anyone please guide me as to how I can deploy my mini lift app on
> GAE?
>
> Thanks in advance.
> A Newbie
--~--~-~--~~~---~--~~
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: You are not banned from this group!!

2009-09-21 Thread TylerWeir

I accidentally banned two people. I checked the list and thought I had
corrected it.
It appears I missed someone.

Sorry for the mistake.


On Sep 21, 5:21 pm, David Pollak 
wrote:
> Folks,
> Google Groups has apparently sent messages to a number of folks posting to
> the Lift group telling them that they were banned.  This is simply wrong and
> sucks for the people who received the messages.
>
> There has been one substantive poster who was so abusive on the Lift list
> that he was banned (this was after a number of private emails to the party).
>  We ban spammers (people posting links to adult sites, cheap knock-off Nike
> shoes, etc.)  I accidentally banned a person once because I mis-read his
> mail and it sounded like he was selling sneakers.
>
> So, if you've received email stating you were banned, please forward the
> email to me (yes, this is an exception to the rule of not contacting me
> personally).  If you have a screen shot of being banned, please send it to
> me.
>
> I will gladly buy beer/coffee/food for anyone who gets such a notice.  I
> sincerely apologize for any problems this is causing.
>
> And, *YOU ARE NOT BANNED!!*
>
> Thanks,
>
> David
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread TylerWeir

Given the on again/off again nature of the issue, I'm voting for
adding your change.
We can rely on your code working until the issue is sorted with the
Scala team.

So, +1 to dpp's code.

On Sep 16, 9:14 am, David Pollak 
wrote:
> Guys,
> The Scala Actor issue has raised its head again.
>
> From November 2008 - June 2009, I did an epic battle with Scala actors and
> their memory retention issues.
>
> I finally wrote a Lift Actor library that made all the Scala Actor-related
> issues go away for the short-lived Actors that Lift uses as listeners for
> comet long-polling.
>
> It seems that the Actor issue is not gone.  I'm not sure it will be gone in
> Scala 2.8.
>
> I can make a change in Lift to move to Lift Actors in CometActor code.  It
> means that if you're using Scala Actors beyond !, !! and !? methods, you
> will have to change your code, otherwise it will just be a recompile.
>
> What do people think?
>
> Thanks,
>
> David
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: FacebookRestApi examples?

2009-09-15 Thread TylerWeir

I believe Jorge did the original implementation.

I'm not sure if anyone else is using it.

I'd suggest starting on your own app and post when you hit a stumbling
block.  Someone on the list will take a look.



On Sep 15, 4:46 pm, Keith K  wrote:
> Hello,
>
> Are there any code examples that use the Lift Facebook package?  I
> encountered one in the Lift Book, but it is incomplete.  I have spent
> a lot of time searching, but am only able to find the implementation
> of it, not any unit test or some sample code to set up a session,
> facebook client, etc.  Thanks,
>
> -Keith
--~--~-~--~~~---~--~~
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: what the difference between :: and :::

2009-09-09 Thread TylerWeir

http://www.scala-lang.org/docu/files/api/scala/List.html#%3A%3A%28B%29

On Sep 9, 11:15 pm, surfman  wrote:
> I am confused by :: and :::,it seems they are doing concatenation job.
> but what they differ from each other? 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] Re: Milestone 5 now available!

2009-09-09 Thread TylerWeir

"You must be talking about those other guys. All I did was make an
hour-long job into a six-hour job"

:)

On Sep 9, 5:02 am, "Charles F. Munat"  wrote:
> You must be talking about those other guys. All I did was make an
> hour-long job into a six-hour job (after having to delay several days
> because I accidentally deleted my password). But thanks for the thought!
>
> Chas.
>
> Randinn wrote:
> > I know it's been said, but it's never said enough. All of you are
> > doing a great job, we appreciate it and thank you for all the work you
> > do to make it easier to code for the rest of us.
>
> > On Sep 9, 2:57 pm, "Charles F. Munat"  wrote:
> >> The Lift team proudly announces Milestone 5! Some text here that I
> >> forgot to copy and paste.
>
> >> Go get it!
>
> >> Chas. Munat
>
>
--~--~-~--~~~---~--~~
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: Mastering SiteMap

2009-09-05 Thread TylerWeir

On Sep 4, 3:53 pm, Peter Robinett  wrote:
> Thanks, Charles. I had totally forgotten about the book and only
> looked at it after I wrote the post only to discover that they cover
> all these topics quite well.

:)

>
> Peter
>
> On Sep 4, 11:29 am, "Charles F. Munat"  wrote:
>
> > I've never used Views, but they are Scala code (.scala), whereas what
> > goes into your webapps folder is typically XHTML (.html). I don't
> > remember it, but I'm sure Views are discussed somewhere in the Lift book.
>
> > Chas.
>
> > Bjarte Stien Karlsen wrote:
> > > I think this is a very nice post Peter. Some other issues that would
> > > be nice to discuss related to menus are
>
> > >  - submenus that are shown when you open the parent menu element
> > >  - example on how to only see some items when logged in
> > >  - example on how to only see some items if you are a admin level user
> > > ( Lift afaik does not have role level authentication but checking on a
> > > role flag in the user table should not be that hard? )
>
> > > mvh
> > > Bjarte
>
> > > On Fri, Sep 4, 2009 at 12:53 AM, Peter Robinett 
> > > wrote:
> > >> Hi all,
>
> > >> I haven't been able to find many detailed explanations about how use
> > >> SiteMap, so I went through and tried write up a decent walkthrough:
> > >>http://www.bubblefoundry.com/blog/2009/09/understanding-lifts-sitemap/
>
> > >> My knowledge is still pretty basic, so I'd appreciate any comments and
> > >> corrections.
>
> > >> One question I still have is what is the use of the views folder under
> > >> the src/main/myapp/ in the standard directory configuration? As I
> > >> understand it, you don't put XHTML view files there – they need to be
> > >> in src/main/myapp/webroot/. Am I misunderstanding the terminology and
> > >> something else is a View with goes in that directory?
>
> > >> Thanks,
> > >> Peter Robinett
>
>
--~--~-~--~~~---~--~~
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: Lift and Cappuccino integration... a first step

2009-09-03 Thread TylerWeir

Stupendous stuff Dave!

On Sep 3, 6:10 pm, David Pollak  wrote:
> Folks,
>
> Hearkening back to my NextStep days, I took a dive into Cappuccino today.
> Yep... Obj-J is just like Obj-C and Cappuccino faithfully captures AppKit
> goodness.
>
> I've integrated Lift with Cappuccino.  The integration points are as
> follows:
>
>    1. A Lift application serves the Cappuccino application.  This means that
>    one could mix a "web style" Lift based app with a could of "app style"
>    Cappuccino-based application pages.
>    2. Cappuccino can initiate calls to Lift via Ajax.  The call from Cap
>    looks like: performAjaxCall([input stringValue]); where there's been a
>    binding a Lift JSON message handler to the performAjaxCall function.  The
>    binding looks like:
>    Script(
>        Function("performAjaxCall", List("param"), JsonVar.is._1("hello",
>    JsVar("param"))) &
>        JsonVar.is._2)
>    3. Lift can initiate calls into a Cappuccino app via Lift's Comet
>    support.  Here's the Lift code that's necessary to create a clock that 
> ticks
>    every 3 seconds in the Cap app:
>      override def highPriority = {
>        case 'Ping =>
>          partialUpdate(currentTime)
>          ActorPing.schedule(this, 'Ping , 3 seconds)
>      }
>
>      def currentTime: JsCmd = JsRaw("clockCallback("+(""+now).encJs+");")
>    Plus the following line that must appear in the page that contains the
>    Cap app:
>    
>
> A running version of the Lift/Cappuccino integrated app can be found 
> athttp://frothy.liftweb.net/
>
> The source can be found athttp://github.com/dpp/Frothy/tree/master (please
> don't laugh at/vomit on my ObjJ code... it's been 15 years since I did
> ObjC).
>
> Thanks,
>
> David
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: GAE (google apps engine) Lift Eclipse Setup

2009-09-03 Thread TylerWeir

> test .. can't see previous post

New members are moderated.
--~--~-~--~~~---~--~~
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: Question about Lift/Scala & Lift Discussion Board

2009-08-29 Thread TylerWeir

I'm not really sure how splintering the community is going to help.
I feel the google group has been fine.

On Aug 29, 6:59 pm, Artem  wrote:
> Hey!
>
> I stumbled on Lift a couple weeks ago and have been messing around
> with it a lot!  I am a Ruby on Rails programmer and it seems like Ruby
> is doing a fine job serving the web programmers community.  Recently,
> I read an article about Twitter running RoR and it crashing after a
> while.  They decided to switch to Scala because it's scalable unlike
> Ruby.  I am planning on developing a large website that will require
> lots of CPU/Database usage and I was wondering if Scala/Lift is the
> way to do it?
>
> I'm not a fan of Google Groups, they are not very user friendly, so I
> created a forum specially for Lift developers that like to discuss
> topics about the Scala/Lift programming language.  If you want to help
> start the forum and post a couple topics I would greatly appreciate
> it.  The link ishttp://www.liftforum.com.  It's a new forum so there
> isn't much content on it yet.
>
> 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] Re: Wiki down?

2009-08-25 Thread TylerWeir

We're transitioning to the Wiki hosted on GitHub.

http://wiki.github.com/dpp/liftweb

On Aug 25, 6:33 pm, _rogerio_  wrote:
> Hi!
>
> Is wiki offline?
--~--~-~--~~~---~--~~
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: Git dumbitude

2009-08-19 Thread TylerWeir

GitHub's Front End has been crawling for a while now.

Still, it's easier to blame you.  :)

On Aug 19, 6:25 pm, Derek Chen-Becker  wrote:
> Well, I pushed the new Oracle/Mapper code to Git and then I realized that
> somehow I merged the code twice. The logs are going to look a little
> confusing but I've at least confirmed that everything is correct and
> working. Apologies for the mistake. In other news, I can't get into GitHub's
> web interface (although the backend is still working). I hope that I didn't
> cause this ;)
>
> Derek
--~--~-~--~~~---~--~~
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: CMS for Lift?

2009-08-19 Thread TylerWeir

Wonderful!

On Aug 19, 11:03 am, David Pollak 
wrote:
> FWIW... I got roped into hosting a CMS by the PTA of my kids' school.  I may
> knock something together in Lift or leverage off the work Glenn has done.
>
> On Tue, Aug 18, 2009 at 3:26 PM, Timothy Perrett 
> wrote:
>
>
>
>
>
> > Just my two cents, but I wouldn't use the lift namespace... If you use the
> > lift tags OOTB, you risk designers shoving lots of comet actors on a single
> > page. You would get more granular control if you created a special set of
> > tags:
>
> > 
>
> > Cheers, Tim
>
> > On 18/08/2009 23:00, "Ewan"  wrote:
>
> > > I've been scratching my head about that one too.  I have used both
> > > Alfresco and opencms to produce both dynamic and static and in the
> > > case of dynamic they have their own servlet/filter to render the
> > > content - I've not yet spent enough time working out how and if they
> > > can be fitted together.
>
> > > For me, having used Hybris (J2EE ecommerce engine with some CMS built
> > > in), I'd like to be able to have page fragments in a template served
> > > from "the CMS" (lift snippets presumably) that would be created/
> > > maintained with some aspect of workflow by CMS user(s) in an
> > > associated CMS lift webapp with funky (X)HTML editor support.  My web
> > > guys, non-lift devs, can then sprinkle cms tags where appropriate.  A
> > > tag might be 
> > > which would render the last five news items in ascending order.
>
> > > Just some thoughts
>
> > > -- Ewan
>
> > > On Aug 18, 10:09 pm, "Terry J. Leach"  wrote:
> > >> I would like to know how the Lift/Scala can leveraged to with Alfresco
> > >> or any other open source Java based CMS.
>
> > >> Terry J. Leach
>
> > >> On Aug 17, 2:09 pm, Stefan Scott  wrote:
>
> > >>> I'll chime in here since I've been evaluating several CMSs lately.
>
> > >>> I previously used Drupal and WordPress as my CMSs - now however I'm
> > >>> moving everything to MODx because of the increased flexibility and
> > >>> more-logical organization, and I'm also impressed with the demos of
> > >>> SilverStripe, TypoLight Typo3 - and LifeRay, which is written in Java
> > >>> instead of PHP. (LifeRay seems to be much more than a CMS - it claims
> > >>> to offer collaboration and social networking.)
>
> > >>> Some on-line demos here:
>
> > >>> MODx -http://trymodx.com/
> > >>> SilverStripe -http://demo.silverstripe.com/
> > >>> TypoLight -http://www.typolight.org/demo.html
> > >>> Typo3 -http://testsite.punkt.de/
> > >>> LifeRay -http://demo.liferay.net/web/guest/home
>
> > >>> It would be good to take a look at these additional CMSs as they offer
> > >>> some capabilities beyond WordPress and Drupal.
>
> > >>> Drupal in particular is wildly popular but it may no longer be the
> > >>> best candidate to imitate, as it is less well-organized and less
> > >>> flexible/customizable (compared say to MODx, which lets you take CSS
> > >>> from an existing site and use it for your site, and which lets you
> > >>> apply a template to a single document, unlike Drupal where a theme
> > >>> applies to the entire site). To keep up with advanced CMSs, Drupal has
> > >>> evolved to use a bunch of (often redundant or competing) modules which
> > >>> are not always compatible with current releases. Examples of things
> > >>> that Drupal treats as "add-ons" (modules) are: custom content (the
> > >>> "CCK/Views" modules, with their confusing albeit AJAX-y interface),
> > >>> multi-language, and photo galleries (I gave up on Drupal after a few
> > >>> days of trying out various photo gallery modules, none of which I
> > >>> could understand). Finally, it seems odd that Drupal, as a "content
> > >>> management system", lacks something all advanced CMSs have: a
> > >>> *treeview* of the overall site content. Instead, it only has a jumbled
> > >>> *list* of content, sorted by not by location but by last edited (!),
> > >>> with all translations also scattered through the list based on last-
> > >>> edited date, and this list is buried several levels deep in the admin
> > >>> navigation system, unlike the site content treeview navigator which is
> > >>> prominently displayed (usually on the left) in advanced CMSs. (Of
> > >>> course, I don't want to veer off-topic here and start a CMS flame war
> > >>> here in this liftweb discussion. :-)
>
> > >>> Regarding "dynamic site map" creation - I do know that MODx has
> > >>> something like this, using WayFinder to create a menu from selected
> > >>> branches of the site's document tree, automatically including any
> > >>> updated sub-branches, and I believe most other advanced CMSs have
> > >>> something like this too.
>
> > >>> LifeRay seems very intriguing - it claims to do a lot beyond just CMS.
> > >>> Since it's written in Java (not PHP), who knows if some of its code
> > >>> could be leveraged in Scala.
>
> > >>> So these might be some additional interesting CMSs to keep in mind
> > >>> (beyond Drupal and WordPress) when building a new CMS using liftw

[Lift] Re: CMS for Lift?

2009-08-16 Thread TylerWeir

> @Glenn - is your project public?

Seconded, toss it up on github and let the community start helping
out.

--~--~-~--~~~---~--~~
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: Mapper with id=-1

2009-08-11 Thread TylerWeir

I wanted to echo Derek's surprise at some of the omissions in the
paper book.

It was a disappointment for us as well.

Thanks for ordering the book.

On Aug 11, 4:52 pm, Steffen Weißmann
 wrote:
> I was aware of master.pdf before I ordered the book. Somehow I had
> expected that the publisher would do some value-adding for the print
> version, like formatting and indexing.  When I tried to follow a "See
> appendix..." hint in the book for the first time I thought amazon had
> sent me a misprint version... Another thing that I really miss is a
> page header telling the current chapter. Just in case you publish a
> second edition ;-)
>
> Nonetheless thanks for writing the book!
>
> Steffen.
>
> > We're also disappointed that the book had neither an index or the
> > appendices. Their omission was due to some issues with the way that APress
> > handles FirstPress books. The index was definitely not possible for them,
> > and the removal of the appendices was done so that the book would be printed
> > in time (their printing workflow supposedly didn't allow for > X chapters
> > and would have had to been rewritten). The appendices are available in PDF
> > here:
>
> >http://www.apress.com/book/downloadfile/4390
>
> > If you want a full PDF with index and appendices, you can check out the
> > open-source version of the book here:
>
> >http://groups.google.com/group/the-lift-book
>
> > The master.pdf under "Files" is the most up-to-date version, and as I have
> > time I update it with feedback. The two versions aren't 100% identical but
> > they are very similar.
>
> > Derek
>
> > On Tue, Aug 11, 2009 at 1:01 PM, Steffen Weißmann
> >  wrote:
>
> >> Sorry, it was a "beginning scala" problem: Instead of
>
> >> val prod = Product.create i had
> >> def prod = Product.create...
>
> >> then prod.save returned true and prod.id=-1...
>
> >> Also sorry for posting this twice, but for some reason it took several
> >> hours until the mails showed up on the list, I didn't expect that...
>
> >> BTW: I have bought your Lift book (the paper version...), and I am a
> >> little disappointed that it has neither an appendix nor an index. What
> >> was the reason for that?
>
> >> Cheers, Steffen.
>
> >> On Tue, Aug 11, 2009 at 8:34 PM, Derek Chen-Becker
> >> wrote:
> >> > Is it always the same one that gets a correct ID, and if you comment out
> >> > that save does the other one get a correct ID? I'm just wondering if
> >> > there's
> >> > something sequential related to retrieving the generated IDs.
>
> >> > Derek
>
> >> > On Tue, Aug 11, 2009 at 6:25 AM, Steffen Weißmann
> >> >  wrote:
>
> >> >> Hi,
>
> >> >> i am using two Mapper classes, both extend LongKeyedMapper[..] with
> >> >> IdPK. After saving (returns true for both) one class always has id=-1,
> >> >> the id of the other class counts up as expected. The id is however
> >> >> correct when i list the table from another snippet. Any hints?
>
> >> >> Thanks, Steffen.
>
> >> --
> >> Steffen Weissmann
>
> >> Technische Universitaet Berlin - Math. Department - MA 3-2
>
> >> Str. des 17. Juni 136
> >> 10623 Berlin - Germany
>
> >> Phone: +49 30 314-29278
> >> Mail: weissm...@math.tu-berlin.de
> >> Web:www.math.tu-berlin.de/~weissman
>
>
--~--~-~--~~~---~--~~
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: SiteMap gives "No Navigation Defined."

2009-08-06 Thread TylerWeir

No Nav Defined typically shows up for me, when I've got my DB
connection messed up.



On Aug 6, 3:51 pm, pabraham  wrote:
> Same thing happens, i.e. I get "No Navigation Defined." and no title.
>
> On 6 Aug, 20:38, Naftoli Gugenheim  wrote:
>
>
>
> > Not sure why you're getting no nav, but I think you want to change the 
> > other Home - the first string is the id of the link.
>
> > -
>
> > pabraham wrote:
>
> > Hello there,
>
> > I've been looking at SiteMap and trying to get it to give me a page
> > title, based on the SiteMap section in the Lift book (PDF version).
> > Here's how I've tried.
>
> > Boot.scala
>
> >     // Build SiteMap
> >     val entries = Menu(Loc("Home", "index"::Nil, "Home")) :: Nil
> >     LiftRules.setSiteMap(SiteMap(entries:_*))
>
> > default.html
>
> >     
> >         ...
> >         
> >         ...
> >     
> >     
> >         ...
> >         
>
> > This works fine, and gives me "Home" as the title of my page.
>
> > Now I actually want a different title, so I change the Loc bit to Loc
> > ("abcdefg", "index"::Nil, "Home") and get "No Navigation Defined."
>
> > What am I doing wrong here?
>
> > Paul.
--~--~-~--~~~---~--~~
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: Getting started not starting.

2009-08-01 Thread TylerWeir

This is probably the best way to do it:

mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/

Tim has been updating the GitHub wiki, and there is a maven page here:

http://wiki.github.com/dpp/liftweb/about-maven-mini-guide


On Aug 1, 6:01 pm, Jeff McKenna  wrote:
> I have been trying the getting started tutorial.  I have gotten it to
> work in the past but not for a while.
>
> Currently my error message is
>  The desired archetype does not exist (net.lifweb:lift-archetype-blank:
> 1.0)
>
> My maven (2.0.9) command is
>
> mvn archetype:generate -U \
> -DarchetypeGroupId=net.lifweb \
> -DarchetypeArtifactId=lift-archetype-blank \
> -DarchetypeVersion=1.0 \
> -DremoteRepositories=http://scala-tools.org/repo-releases\
> -DgroupId=demo.helloworld \
> -DartifactId=helloworld \
> -Dversion=1.0-SNAPSHOT
>
> Any suggestions?
--~--~-~--~~~---~--~~
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: Help on "Build from source"

2009-07-28 Thread TylerWeir

"why i cann't see my post at group?"

All new members are moderated to start with.


On Jul 27, 11:56 pm, nile black  wrote:
> why i cann't see my post at group?
>
>
>
> On Tue, Jul 28, 2009 at 11:48 AM, Nile Black  wrote:
> > [INFO] Building Lift Utils
> > [INFO]    task-segment: [install]
> > [INFO]
> > 
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [yuicompressor:compress {execution: default}]
> > [INFO] nb warnings: 0, nb errors: 0
> > [INFO] [compiler:compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [scala:compile {execution: default}]
> > [INFO] Checking for multiple versions of scala
> > [INFO] Compiling 37 source files to D:\user\liftweb\lift-util\target
> > \classes
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \ConcurrentLock.scala:16: error: value util is not a member of package
> > net.java
> > [WARNING] import java.util.concurrent.locks._
> > [WARNING]             ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \CurrencyZone.scala:69: error: value lang is not a member of package
> > net.java
> > [WARNING]         } catch { case e: java.lang.NumberFormatException =>
> > {
> > [WARNING]                                ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \CurrencyZone.scala:72: error: value text is not a member of package
> > net.java
> > [WARNING]                     } catch { case e:
> > java.text.ParseException => {
> > [WARNING]                                            ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \CurrencyZone.scala:103: error: value math is not a member of package
> > net.java
> > [WARNING]         make(new BigDecimal(this.amount.bigDecimal.divide
> > (that.amount.bigDecimal, scale, java.math.BigDecimal.ROUND_HALF_UP)) )
> > [WARNING]
> > ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \IOHelpers.scala:104: error: value io is not a member of package
> > net.java
> > [WARNING]   def doClose[T](is: java.io.Closeable*)(f : => T): T = {
> > [WARNING]                           ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \Mailer.scala:84: error: value util is not a member of package
> > net.java
> > [WARNING]   import java.util.Properties
> > [WARNING]               ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \PCDataMarkupParser.scala:187: error: value io is not a member of
> > package net.java
> > [WARNING]     import java.io.ByteArrayInputStream
> > [WARNING]                 ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \Props.scala:178: error: value io is not a member of package net.java
> > [WARNING]     import java.io.{ByteArrayInputStream}
> > [WARNING]                 ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \Props.scala:179: error: value util is not a member of package
> > net.java
> > [WARNING]     import java.util.InvalidPropertiesFormatException
> > [WARNING]                 ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \SoftReferenceCache.scala:3: error: value lang is not a member of
> > package net.java
> > [WARNING] import java.lang.ref.{ReferenceQueue,SoftReference};
> > [WARNING]             ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \SoftReferenceCache.scala:4: error: value util is not a member of
> > package net.java
> > [WARNING] import java.util._
> > [WARNING]             ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \SoftReferenceCache.scala:147: error: wrong number of arguments for
> > constructor Object: ()jav
> > a.lang.Object
> > [WARNING]                       queue: ReferenceQueue[Any]) extends
> > SoftReference[V](v, queue) {
> > [WARNING]                                                           ^
> > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
> > \TemplateCache.scala:17: error: value util is not a member of package
> > net.java
> > [WARNING] import java.util.{Locale}
> > [WARNING]             ^
> > [WARNING] 13 errors found
> > [INFO]
> > 
> > [ERROR] BUILD FAILURE
> > [INFO]
> > 
> > [INFO] command line returned non-zero value:1
> > [INFO]
> > 
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > 
> > [INFO] Total time: 1 minute 15 seconds
> > [INFO] Finished at: Tue Jul 28 11:47:44 CST 2009
> > [INFO] Final Memory: 22M/39M
> > [INFO]
> > --

[Lift] Re: CircleShare Blog where?

2009-07-27 Thread TylerWeir

dpp's blog is here: http://blog.lostlake.org/

On Jul 27, 7:15 am, Jon  wrote:
> At the bottom of this page  Contribute> it says:
> "When you see an article on Lift, help spread the word by submitting
> it to digg, reddit, or hacknews. If you're looking for articles, a
> great place is to start is The CircleShare Blog where user:dpp blogs
> about Lift."
>
> When I click at "The CircleShare Blog", I get this:
> "Services for this domain have been discontinued"
>
> Has CircleShare moved, or have they cashed in?
>
> /Jon
--~--~-~--~~~---~--~~
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: JavaRebel has expired

2009-07-24 Thread TylerWeir

http://groups.google.com/group/liftweb/browse_thread/thread/ca49bc9657726c36/535b8db8c794f6ac?hl=en&lnk=gst&q=javarebel#535b8db8c794f6ac

On Jul 24, 11:04 am, ess  wrote:
> Well, if I start maven, I get the following
> expired-message
>
> mvn archetype:create -U  \
>  -DarchetypeGroupId=net.liftweb                             \
>  -DarchetypeArtifactId=lift-archetype-basic                 \
>  -DarchetypeVersion=1.0                            \
>  -DremoteRepositories=http://scala-tools.org/repo-releases \
>  -DgroupId=net.liftweb.hello -DartifactId=hello-lift
> ##
>
>  ZeroTurnaround JavaRebel 1.2.2 (200812021546)
>  (c) Copyright Webmedia, Ltd, 2007, 2008. All rights reserved.
>
>  YOUR JAVAREBEL LIMITED LICENSE HAS EXPIRED!
>  This product is licensed to Scala Community
>  until July 1, 2009
>  for unlimited number of developer seats on site.
>  With the following restrictions:
>  For use with Scala only
>
> ##
--~--~-~--~~~---~--~~
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: Jersey + Lift, whats the story?

2009-07-17 Thread TylerWeir

>>Wait a few days, and I think there'll be some very good news on this front.

Tease! :)

On Jul 17, 10:51 am, David Pollak 
wrote:
> There are benefits to both approaches.  I prefer the partial function
> composition, but annotations on Pojos have their place.
> Wait a few days, and I think there'll be some very good news on this front.
>
> On Fri, Jul 17, 2009 at 7:28 AM, Timothy Perrett 
> wrote:
>
>
>
>
>
> > Hey guys,
>
> > I've been taking a look at Jersey and how it operates with Lift by way
> > of the recent integration that cropped up on dev.java.net...
>
> > From my perspective, I see how having a standard RS service framework
> > could be helpful, but it appears to bypass important lift concepts
> > like SiteMap etc so I'm just wondering what the benefit of using such
> > a layer would be over using DispatchPF etc to create REST services or
> > serving xml fragments for templates? (I have no idea about Jersey
> > apart from the basic docs ive read, so if im missing a major benefit
> > id love to hear discuss)
>
> > Cheers for any thoughts
>
> > Tim
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: ANN: Akka Actor Kernel: RESTful Distributed Persistent Transactional Actors

2009-07-12 Thread TylerWeir

Jonas,

How do you see Akka integrating with Lift and/or GoatRodeo?

On first impression there seem to be a few overlaps that could fit
together nicely.

Or maybe a bit of code sharing.

Tyler


On Jul 12, 6:58 pm, Jonas Bonér  wrote:
> Hi guys.
>
> I just released the first iteration of the Akka Actor Kernel (or
> whatever it is).
> It is still early days and there is a lot still to do.
>
> I would be grateful for any kind of feedback, both on the code as well
> as the APIs, semantics or vision.
>
> Here is a short overview of what it currently does:
>
> * The Actor model and supervisor hierarchies
> Actors with Erlang OTP-style supervisors and “embrace
> failure/let-it-crash” semantics to allow implementation of
> asynchronous, non-blocking and highly fault-tolerant systems. Sort of
> SEDA in a box with highly configurable and monitorable (JMX and w3c)
> thread pools and message queues.
>
> * Software Transactional Memory (STM)
> Software Transactional Memory for composable message flows.
> Distributed transactions will come very soon, backed up by ZooKeeper.
> The STM works with both persistent datastructures and in-memory
> datastructures (see below).
>
> * BASE: Eventually Consistent Distributed persistence
> Akka provides a Eventually Consistent Transactional Persistent Map,
> Vector and Ref. Backed up by the Cassandra highly scalable, eventually
> consistent, distributed, structured key-value store. Akka will add
> support for Terracotta, Redis, Memcached, Voldemort, Tokyo
> Cabinet/Tyrant and Hazelcast shortly.
> New nodes can be added and removed on the fly to support true scaling
> of cluster. The addition of Terracotta and Hazelcast will allow for
> atomic (ACID) transactions (non-BASE).
>
> * REST
> Actors can be exposed as REST services through JAX-RS.
>
> * Remoting
> Actors can be defined and started on remote nodes, supporting both
> remote failures and supervision/linking. Enabling another dimension of
> fault-tolerance.
>
> * Java and Scala API
> Both a Java API through Active Objects and annotations as well as a
> Scala API with Erlang-style Actors with pattern matching etc.
>
> * Microkernel
> Akka has a microkernel that embeds the Actor management, Persistence
> service, REST integration, JMX management and Remote service. Simply
> drop your application in the /deploy directory and start up the kernel
> and you should be able to access your Actors through REST.
>
> Start with reading the docs and play with the samples.
>
> Docs:https://github.com/jboner/akka/wikis/
> Downloads:https://github.com/jboner/akka/downloads
> Code:https://github.com/jboner/akka/tree/master
>
> Some of the stuff we are planning on adding are listed at the bottom
> of the docs page.
>
> Thanks.
> --
> Jonas Bonér
>
> twitter: @jboner
> blog:    http://jonasboner.com
> work:  http://crisp.se
> work:  http://scalablesolutions.se
> code:  http://github.com/jboner
--~--~-~--~~~---~--~~
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: toForm on a MappedLongForeignKey

2009-07-11 Thread TylerWeir

It's older code, so it may be out of date. :(

On Jul 11, 1:15 pm, Josh Suereth  wrote:
> actually, do you need the _toForm in there? If I remove it, it makes a nice
> combo box.  I think I was just missing the validSelectValues override.
>
> Thanks again.
>
> - Josh
>
> On Sat, Jul 11, 2009 at 11:54 AM, TylerWeir  wrote:
>
> > Something like this?
>
> >  object reportsTo extends MappedLongForeignKey(this, User) {
> >    override def displayName = "Reports To"
> >    override def asHtml = {
> >                        {User.find(By(User.id, this)).map(u =>
> > (u.firstName + " " +
> > u.lastName)).openOr(Text("PM"))}
> >  }
> >                override def validSelectValues: Box[List[(Long, String)]] =
> >      Full(User.findAll(OrderBy(User.lastName, Ascending)).map(c =>
> > (c.id.is, c.niceName)))
>
> >                override def _toForm = {
> >                        Full({User.find(By(User.id, this)).map(u =>
> > (u.firstName + "
> > " + u.lastName)).openOr(Text("No Reports To"))})
> >                 }
> >  }
>
> > On Jul 11, 11:20 am, Josh Suereth  wrote:
> > > Hey all,
>
> > > This is my first venture into lift's ORM and I'm upgrading an existing
> > > codebase, so I'm not sure how all the pieces fit together, but I've
> > figured
> > > out enough to patch in my features.   I was wondering if someone can help
> > me
> > > out with this issue:
>
> > > The code is using the "toForm" method on the objects inside a
> > > KeyedMetaMapper.   What I want to see for the foriegn key relationship is
> > a
> > > combo box with a drop-down of the possible values (perhaps with a
> > > user-specified toString on those foreign key objects).   toForm simply
> > > displays: "Can't change" on the MappedLongForeignKey.   What/where should
> > I
> > > look to change this?
>
> > > Thanks!!!
> > > - Josh
>
>
--~--~-~--~~~---~--~~
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: Mapper or Record

2009-07-11 Thread TylerWeir

1.1 is the target for record.

http://groups.google.com/group/liftweb/browse_thread/thread/aca84784b81a6a2c/5539edffc1c874d1?lnk=gst&q=1.1#5539edffc1c874d1

On Jul 10, 10:53 am, Naftoli Gugenhem  wrote:
> Any estimate/guess when record will be usable/complete?
>
> -
>
> marius d. wrote:
>
> Mapper as Record is not yet complete.
>
> Br's,
> Marius
>
> On Jul 10, 4:21 pm, czerwonka  wrote:
>
> > If I'm starting today, should I use Mapper or Record?
>
>
--~--~-~--~~~---~--~~
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: toForm on a MappedLongForeignKey

2009-07-11 Thread TylerWeir

Something like this?

  object reportsTo extends MappedLongForeignKey(this, User) {
override def displayName = "Reports To"
override def asHtml = {
{User.find(By(User.id, this)).map(u => 
(u.firstName + " " +
u.lastName)).openOr(Text("PM"))}
  }
override def validSelectValues: Box[List[(Long, String)]] =
  Full(User.findAll(OrderBy(User.lastName, Ascending)).map(c =>
(c.id.is, c.niceName)))

override def _toForm = {
Full({User.find(By(User.id, this)).map(u => 
(u.firstName + "
" + u.lastName)).openOr(Text("No Reports To"))})
}
  }

On Jul 11, 11:20 am, Josh Suereth  wrote:
> Hey all,
>
> This is my first venture into lift's ORM and I'm upgrading an existing
> codebase, so I'm not sure how all the pieces fit together, but I've figured
> out enough to patch in my features.   I was wondering if someone can help me
> out with this issue:
>
> The code is using the "toForm" method on the objects inside a
> KeyedMetaMapper.   What I want to see for the foriegn key relationship is a
> combo box with a drop-down of the possible values (perhaps with a
> user-specified toString on those foreign key objects).   toForm simply
> displays: "Can't change" on the MappedLongForeignKey.   What/where should I
> look to change this?
>
> Thanks!!!
> - Josh
--~--~-~--~~~---~--~~
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: This is the official support channel for Lift

2009-07-09 Thread TylerWeir

I think we should "sticky" this thread.

On Jul 9, 1:28 pm, David Pollak  wrote:
> Folks,
>
> This mailing list is the official support channel for Lift.  The IRC channel
> is a popular, but unofficial, support channel for Lift.
>
> The following are not ways to get support for Lift (or my positive
> attention):
>
>    - Personal email unless we know each other (if you have a question about
>    whether we know each other, we probably don't)
>    - Personal IM unless we know each other very well
>    - Twitter... don't @message me, don't direct message me for Lift related
>    support.  At the best I'll ignore you.
>    - GitHub... don't message me on GitHub.  None of the Lift committer will
>    pull from your repository.  The Lift IP is clean which means that unless 
> you
>    are a committer and you have written the code yourself, it doesn't get into
>    Lift.  This allows businesses to use Lift knowing what the provenance of 
> the
>    code is.
>
> So, if you need support, please post a message on this list.  If you need a
> new feature, please request it on the list and we'll work on it.
>
> Why am I being a bit harsh here?  Well, I get many direct communications
> from Lift users every day over mediums that are not the Lift list.  I am not
> Lift.  Lift is a community that has lots of folks in it who can help you.  I
> do not know everything about Lift.  There are other people who know more
> than I do about parts of Lift.  If you and I have a private communication,
> the rest of the people in the community lose the benefit of the knowledge
> that we've exchanged.
>
> Thanks,
>
> David
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: Scala resources

2009-07-07 Thread TylerWeir

http://planetscala.com/

On Jul 7, 12:03 pm, Timothy Perrett  wrote:
> http://blog.getintheloop.eu/
>
> Im writing a *lot* about scala and lift - especially how-to type tutorials.
>
> Cheers, Tim
>
> On 07/07/2009 16:48, "Kevin Wright"  wrote:
>
> > I'm trying to compile a catalogue of online resources: websites, blogs, 
> > wikis,
> > open source projects, articles, etc. relating to scala
>
> > If anyone has any links for suitable content, especially material that may 
> > not
> > be well known, then please share!
>
>
--~--~-~--~~~---~--~~
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: Anyone out there using SBT?

2009-07-06 Thread TylerWeir

n8's dispatch uses it nicely:
http://databinder.net/dispatch/About

On Jul 6, 10:09 am, David Pollak 
wrote:
> On Mon, Jul 6, 2009 at 2:07 AM, Timothy Perrett 
> wrote:
>
>
>
> > Hey Guys,
>
> > Is anyone out there using SBT for their lift projects? if so, how are
> > you finding it?
>
> I plan to play with an SBT based project later this week.
>
>
>
> > Cheers, Tim
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: Scala job site written in Lift + a newcomer's experience

2009-07-06 Thread TylerWeir

@spencer:

Add a comment to this thread:
http://www.nabble.com/Scala-programmers-in-US--td24331451.html

I registered scala-jobs.com (it appears someone is basically squating
on scalajobs.com) thinking that I would put together a job board as
well.

If you don't mind, I'll point scala-jobs.com to your site.

Ty


On Jul 6, 5:17 am, Ellis  wrote:
> Nice. :)
>
> On Jul 6, 6:36 am, Spencer Uresk  wrote:
>
> > Hey all,
>
> > I hope this isn't considered spammy, but I wanted to send out a link  
> > to a new website I built using Lift and share my experiences as a  
> > Scala and Lift newbie.
>
> > I've played around with Scala off and on for over a year now, and also  
> > looked at Lift once or twice during that time. After going to David  
> > Pollak's session at JavaOne about Lift, I decided to buckle down and  
> > actually create something with Scala and Lift, as I usually learn new  
> > things best by trying to create something useful. Looking around, I  
> > noticed there weren't any Scala-specific job sites and thought it  
> > might be nice to create one.
>
> > Going into it, I was a little concerned about HTML being embedded in  
> > Scala code, as the workflow (in both my day job and for my side work)  
> > is typically a designer cutting HTML and handing it to me to  
> > implement. I made sure my designer gave me valid XHTML and was  
> > pleasantly surprised at how easy it was to make my HTML code work in  
> > Lift. Even the user signup and login forms, which I got from the  
> > Mapper library, were easy to override with my HTML.
>
> > On the other hand, I sort of underestimated the time investment  
> > required to get a simple site working. Lift really does require a good  
> > understanding of Scala, and I found myself frustrated by stupid things  
> > because of it. In the past, when learning Groovy and Ruby, I've used  
> > their respective frameworks to learn the language itself, and I found  
> > that didn't work quite as well with Lift. I'm not really complaining -  
> > I know that the time invested will pay off handsomely in the future -  
> > just making an observation.
>
> > Really, I can't complain too much about the time it took to get up to  
> > speed - I was able to get a functioning, albeit simple, site developed  
> > in basically a long weekend, without having prior experience with Lift  
> > outside of messing with the examples for a few minutes. Here is the  
> > site I made:
>
> >http://www.scalacareers.com/
>
> > Obviously it is pretty simple, but I hope it is useful. I have a bunch  
> > of other features I want to add to it as I continue to learn Lift, but  
> > if any of you have suggestions for me, please feel free to send them  
> > on over.
>
> > Thank you for creating such a useful framework and for being such a  
> > friendly and helpful community - that really does make a big  
> > difference when first approaching a new language and framework!
>
> > - Spencer
>
>
--~--~-~--~~~---~--~~
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: Creating a project

2009-07-05 Thread TylerWeir

> Your email did not meet this standard.

dpp, I'm glad you addressed this.  My initial response, which I
deleted, would not have helped the situation.  Yours was measured and
mature.

Ty



On Jul 5, 4:32 pm, David Pollak  wrote:
> On Fri, Jul 3, 2009 at 4:00 PM, Douglas Quaid  wrote:
>
> > I heard some good vibes about Lift and then I saw this gem in the
> > "Getting Started" documentation for creating a project:
>
> >  From a command prompt, type:
>
> > mvn archetype:generate -U \
> > -DarchetypeGroupId=net.liftweb \
> > -DarchetypeArtifactId=lift-archetype-basic \
> > -DarchetypeVersion=1.0 \
> > -DremoteRepositories=http://scala-tools.org/repo-releases\
> > -DgroupId=com.liftworkshop \
> > -DartifactId=todo \
> > -Dversion=0.1-SNAPSHOT
>
> > Perhaps you guys could "innovate" and wrap this crap (rhyme!) in a
> > shell script.
>
> Howdy,
>
> I'll address your post in two parts.  First the form, and then the
> substance.
>
> This community is a welcoming (especially to newbies), kind, and generally
> cool place to hang out.  People in this community are here to help each
> other and to grow the knowledge, skills, and code around Lift.  We welcome
> feedback and comments and ways to improve Lift.  But we ask that people are
> polite and helpful.  Your email did not meet this standard.  So, in the
> future, please treat this community the way that you would like to be
> treated.  Approach this community the way you would like to be approached by
> a stranger.
>
> In terms of the substance of the issue, we've have a fair number of
> discussions about this over the years.  The first problem is a bootstrap
> problem.  Even if we have a shell script to wrap the maven command, how do
> we get it into users' hands?  The second problem is an OS support issue.
> Such a script is easy to write for Linux/Unix/OS X.  It's not so simple to
> make sure it works on Windows as a separate .bat file as well as a shell
> script that works under Cygwin.  We did do some testing of such a script as
> part of the installer and it always led to problems and we never found a
> person or collection of people who were willing to write, test and maintain
> such a script.  So, we decided that the cost of copy/paste of a copy of
> lines of Maven invocation was less of a priority than other Lift-related
> development.
>
> And as a practical matter, I probably create more Lift projects than anyone
> else.  It was only a few weeks ago that I made a script out of the above
> command rather than copy/pasting it.  I'm hardcore lazy and into making my
> life easier (I would be using other frameworks if it wasn't faster and
> easier for me to build a framework to do dynamic stuff rather than work
> around the suboptimal decisions made in other frameworks) and in the case of
> the Maven command to create a new Lift project, it just wasn't that hard.
>
> So, if you would like to write up some scripts and post them in a public
> place, that'd be great.  If you're the guy who is going to step up to the
> task of maintaining a complex cross-section of scripts, we'll link to your
> work and reference it in any way we can.
>
> Thanks,
>
> David
>
>
>
> > Good day!
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: Maven License Expired

2009-07-01 Thread TylerWeir

You're using an old version, grab 2.0.1 and try that.

1.X may have expired.

On Jul 1, 3:46 am, Timothy Perrett  wrote:
> Hey Peter,
>
> That is odd! I'll speak with the folk at javarebel and get them to  
> give us a new license file for the comunity.
>
> Cheers
>
> Tim
>
> Sent from my iPhone
>
> On 1 Jul 2009, at 08:28, Peter Robinett  wrote:
>
>
>
> > Hi all,
>
> > I just launched Maven and got the following error:
> > $ mvn jetty:run
>
> > ##
>
> > ZeroTurnaround JavaRebel 1.2.2 (200812021546)
> > (c) Copyright Webmedia, Ltd, 2007, 2008. All rights reserved.
>
> > YOUR JAVAREBEL LIMITED LICENSE HAS EXPIRED!
> > This product is licensed to Scala Community
> > until June 30, 2009
> > for unlimited number of developer seats on site.
> > With the following restrictions:
> > For use with Scala only
>
> > ##
>
> > I got Maven via the Lift Mac OS X .dmg installer. Any idea how I can
> > address this licensing issue and continue developing?
>
> > Thanks!
>
> > Peter Robinett
>
>
--~--~-~--~~~---~--~~
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: grabbing rss or other type of feeds within lift

2009-06-30 Thread TylerWeir

I remembered this came up a long time ago as well:

http://groups.google.com/group/liftweb/browse_frm/thread/e58ba45f7c0a111d/20344ff205393ec7?lnk=gst&q=twitter+front#20344ff205393ec7




On Jun 30, 10:09 am, David Pollak 
wrote:
> Personally, I'd use Scala's XML parsing to parse the feed... skip the
> external library.
> You may also want to look at the ESME 
> codehttp://incubator.apache.org/esme/There's an RSS reader and a Twitter
> poller in there.  The code is Apache
> 2.0 license, so you can use it without any license-related concerns.
>
>
>
> On Tue, Jun 30, 2009 at 6:37 AM, Mark Essel  wrote:
>
> > Thanks Tim. will definitely check out the lib (not sure of licensing
> > issues, plan on developing a product with it)
>
> > On Jun 30, 4:16 am, Timothy Perrett  wrote:
> > > mark,
>
> > > take a look at:http://is.gd/1iUJN
>
> > > That should provide you some guidance. I notice from your example your
> > > trying to parse the twitter feed? Perhaps if you want to do something
> > > with twitter you should consider a proper twitter api lib:
> >http://code.google.com/p/java-twitter/
>
> > > Cheers, Tim
>
> > > On Jun 30, 3:33 am, Mark Essel  wrote:
>
> > > > trying to conjure up a similar functioning piece of code in scala to
> > > > grab my status from twitter.
>
> > > > (php)
> > > > $username = "victusfate";
> > > > $feed = "http://search.twitter.com/search.atom?q=from:"; . $username .
> > > > "&rpp=1";
> > > > //echo $feed;
> > > > function parse_feed($feed) {
> > > >     $stepOne = explode("", $feed);
> > > >     $stepTwo = explode("",$stepOne[1]);
> > > >     $tweet = $stepTwo[0];
> > > >     $tweet = str_replace("<", "<", $tweet);
> > > >     $tweet = str_replace(">", ">", $tweet);
> > > >     return $tweet;}
>
> > > > $twitterFeed = file_get_contents($feed);
> > > > echo stripslashes($prefix) . parse_feed($twitterFeed) . stripslashes
> > > > ($suffix);
>
> > > > (.scala file)
> > > >       var username = "victusfate"
> > > >       var feed = "http://search.twitter.com/search.atom?q=from:"; +
> > > > username + "&rpp=1"
> > > >       { feed }
>
> > > > stuck here tried Rome, and various other feed fetching libraries
> > > > without much luck (very new to the language and setup)
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: [scala] preso on monadic design patterns for the web

2009-06-29 Thread TylerWeir

You can find the avi link on the bottom right of the vimeo page.  It's
about 600 megs.

On Jun 29, 9:33 am, Kevin Wright 
wrote:
> Is this going to be made available as a download somewhere?
> I have an IPod touch and a long daily commute...
>
> On Mon, Jun 29, 2009 at 2:10 PM, Viktor Klang wrote:
>
>
>
> > On Mon, Jun 29, 2009 at 2:48 PM, Christos KK Loverdos 
> > wrote:
>
> >> This is one of the presentations after (or during) which one may easily
> >> wonder "What was (is) he talking about?" and then wake up 20 years later 
> >> and
> >> recall that some guy Greg Meredith already did that.
>
> > I still have yet to experience the moment where the shape of the
> > paradoxical combinator suddenly unravels to me :)
>
> >> So pay attention everyone! At least, let those stuff stack at the back of
> >> your head. You never know...
>
> >> Greg is peaking...
>
> >> Christos
>
> >> On Jun 29, 2009, at 2:05 AM, Meredith Gregory wrote:
>
> >> All,
>
> >> The talk i recently gave on this topic is now available 
> >> online
> >> .
>
> >> Best wishes,
>
> >> --greg
>
> >> --
> >> L.G. Meredith
> >> Managing Partner
> >> Biosimilarity LLC
> >> 1219 NW 83rd St
> >> Seattle, WA 98117
>
> >> +1 206.650.3740
>
> >>http://biosimilarity.blogspot.com
>
> >>   --
> >>  __~O
> >> -\ <,       Christos KK Loverdos
> >> (*)/ (*)      http://ckkloverdos.com
>
> > --
> > Viktor Klang
> > Scala Loudmouth
>
>
--~--~-~--~~~---~--~~
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: So, how to get from "format" to hosting a lift app?

2009-06-29 Thread TylerWeir

There was a thread about hosting a while ago, in summary, give
http://prgmr.com/xen/ a shot.

On Jun 29, 3:10 am, DFectuoso  wrote:
> I'm having a lot of trouble getting some code into production in my
> wiredtree VPS where i use apache and other stuff; so I decided to
> leave that host alone. I started playing with comet and some dispatch
> hacks that dont work on the GAE; so I decided to leave GAE alone.
>
> So I need a new hosting to run a couple of lift apps that I will be
> creating in the next weeks!
>
> I checked out SliceHost and it seems pretty cool, cheap and hard to
> configure, so...
>
> David said he prefers to use nginx and then jetty. I have no idea how
> to install, configure and deploy multiple apps in multiple domains in
> a webserver that only haves the OS installed(which I think is the case
> of slicehost).
>
> So, my first question would be if you know of a better hosting than
> slicehost.
> Anyway if I go with slicehost, what OS should I use?
> What do i need to install to have nginx and jetty running all the time
> with multiple apps and domains?
> How do I deploy? (ssh?, ftp? what?)
>
> Thank you very much guys!
--~--~-~--~~~---~--~~
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: date management

2009-06-25 Thread TylerWeir

The code Derek included:
// Set the up the RequstVar to initialize a new MyUserClass by default
object userVar extends RequestVar[MyUserClass](MyUserClass.create)

By default creates a MyUserClass instance.
Maybe you want to init the RequestVar as an Empty Box and then
conditionally modify it.

object userVar extends RequestVar[Box[MyUserClass]](Empty)

Then after you save, you can set the RequestVar to Empty again.

Without looking at your code, this is a guess, I could be/probably am
wrong.



On Jun 25, 12:10 am, g-man  wrote:
> OK, things are working well with RequestVar, but now I need to know
> how to kill it!
>
> After I create and save my record, if I refresh the browser, I get
> another record created. I did a temporary hack-fix with:
>
> if(! myRecord.saved_?)
>
> but I would just like to kill the RequestVar after the first round of
> record creation-saving.
>
> In terms of your example above, how would I do that?
>
> On Jun 8, 7:18 am, Derek Chen-Becker  wrote:
>
> > Generally you can either use RequestVars or a StatefulSnippet class to keep
> > the values around on form resubmission. If you're using a Mapper class, you
> > really just need one RequestVar to hold your Mapper instance. For example,
> > if I had a Mapper class for a person with first name, last name and email, I
> > could do something like this in my snippet class:
>
> > ...
> >   // Set the up the RequstVar to initialize a new MyUserClass by default
> >   object userVar extends RequestVar[MyUserClass](MyUserClass.create)
>
> >   def editMyUser (xhtml : NodeSeq) : NodeSeq = {
> >     // We define a val to capture the current value of the userVar. This
> > will be used to reinject later, as well
> >     // as for current access
> >     val current = userVar.is
> >     ...
> >     def saveMyUser () {
> >       current.validate match { ...
> >         ...
> >         current.save
> >       }
> >     }
>
> >     bind("user", xhtml,
> >            // First we re-inject the current MyUserClass instance using a
> > hidden field
> >            "current" -> SHtml.hidden(() => userVar(current))
> >            // normal fields follow, e.g.
> >            "name" -> SHtml.text(current.name.is, current.name(_))
> >            // alternatively, you could do both steps in the first form
> > field:
> >            "name" -> SHtml.text(current.name.is, { in => userVar(current);
> > current.name(in) })
> >            ...
> >     )
> >   }
> > ...
>
> > Let me know if you have any questions on that.
>
> > Derek
>
> > On Fri, Jun 5, 2009 at 9:47 PM, g-man  wrote:
>
> > > I now have the due date arriving OK from the jQuery datepicker, and I
> > > cobbled together some ugliness to give days left until the ToDo due
> > > date, so that is good.
>
> > > My problem now is since we are not using the 'magic' of the _toForm
> > > methods for the form elements, I have to set each var value for the
> > > model field from the input SHtml data, as was done in the PocketChange
> > > app AddEntry.scala file.
>
> > > What is happening is that the initialization for each var is resetting
> > > the form if validation fails, so I guess I need to institute some
> > > RequestVars to remember the form values for resubmission, right?
>
> > > All my questions will take take the form of 'how to' recipes of
> > > foundational webapp elements, as you can see. My plan is to develop
> > > them for a 'cookbook' section of the wiki, so that's why I am asking
> > > one simple conceptual thing at a time.
>
> > > Therefore, what I have to learn now is all about form binding and
> > > recalling form value state if validation fails, so please break that
> > > down for me.
>
> > > Thanks as always!
>
> > > On Jun 3, 10:25 pm, Derek Chen-Becker  wrote:
> > > > Box is the base class. What you want is Full("2").
>
> > > > Derek
>
> > > > On Wed, Jun 3, 2009 at 8:53 PM, g-man  wrote:
>
> > > > > Very good!
>
> > > > > I did a little homework, rearranged some things, and am getting some
> > > > > nice results with the 'manual method'...
>
> > > > > Since I am following the PocketChange app now rather than the ToDo
> > > > > example, there is no 'todo' val in scope to bind, so the
> > > > > todo.priority.toForm method will not work.
>
> > > > > I have SHtml.select working with a mapping for my choices, and I can
> > > > > use Empty for my default, but how do I get a Box["2"] as my default?
>
> > > > > On Jun 3, 7:21 am, Derek Chen-Becker  wrote:
> > > > > > The only issue I would mention is that there's currently an open
> > > ticket
> > > > > > because MappedDateTime won't save the time portion when you use
> > > Derby. I
> > > > > > haven't had time to triage this yet.
>
> > > > > > Derek
>
> > > > > > On Wed, Jun 3, 2009 at 3:01 AM, Timothy Perrett
> > >  > > > > >wrote:
>
> > > > > > > Greg,
>
> > > > > > > I dont really use toForm; have you explored "doing it manually"? 
> > > > > > > It
> > > > > > > seems like that would be able to tell you if there is a problem
> > > with
> > > > > > >

[Lift] Re: New hosting for demo.liftweb.net

2009-06-18 Thread TylerWeir

Is it just the basic slice? 128 Megatrons of RAM?

On Jun 18, 1:45 am, David Pollak 
wrote:
> Folks,
> I'm trying a Xen slice on prgrm.com I'm currently 
> runninghttp://demo.liftweb.netthere.  Woo Hoo!
>
> David
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: file upload

2009-06-16 Thread TylerWeir

Take a look at:
http://github.com/dpp/liftweb/blob/dcc7b064a42832b06e4523d1a35351967d7a46b2/sites/example/src/main/scala/net/liftweb/example/snippet/Misc.scala#L119

It should cast some light on your issue.

On Jun 16, 9:54 am, DavidV  wrote:
> I'm still stuck on this problem.
> Just bringing it to the top of the list again so it's not forgotten...
>
> On Jun 15, 4:04 pm, DavidV  wrote:
>
> > I was able to find the code and have a program ready to parse the
> > files as soon as I can upload them.  I tried writing my own version of
> > the code found 
> > here:http://github.com/dpp/liftweb/blob/dcc7b064a42832b06e4523d1a35351967d...
> > but I got the following error when I tried to load the page on my
> > browser:
>
> > XML Parsing Error: prefix not bound to a namespace
> > Location:http://localhost:8080/analysis/inprocess
> > Line Number 78, Column 1:
> > 
> > ^
>
> > I am not sure what "choose" is or where to find it and am having
> > trouble finding documentation online.  I am still working with
> > Lift-1.0, could this be the problem?
>
> > Thanks,
> > David
>
> > On Jun 12, 6:35 am, wapgui  wrote:
>
> > > I do similar things.
>
> > > First there is a snippet using the bind functionality.
> > > var image : FileParamHolder = _
>
> > > bind("widget", xhtml,
> > >   "image" -> fileUpload(image = _)
>
> > > }
>
> > > Now write out:
>
> > > val wbos : ByteArrayOutputStream = build(image)
> > > val fout = new File(outputFilename)
> > > if (fout.exists()) {
> > >    Log.error("Tried to overwrite existing file")
> > >    return "Error: Filename already exists"}
>
> > > val foStream = new FileOutputStream(fout)
> > > foStream.write(wbos.toByteArray())
> > > foStream.close()
>
> > > def build(image : FileParamHolder) : ByteArrayOutputStream = {
> > >   val bout = new ByteArrayOutputStream()
> > >   val zipout : ZipOutputStream = new ZipOutputStream(bout)
> > >   zipout.setMethod(ZipOutputStream.DEFLATED);
> > >   zipout.setLevel(Deflater.DEFAULT_COMPRESSION);
>
> > >   writeImage(zos, image)
>
> > > }
>
> > > private def writeImage(zos: ZipOutputStream,
> > > image:FileParamHolder):Unit = {
> > >     if (image.fileName == "") {
> > >       Log.info("Provided image file is null")
> > >       return
> > >     }
> > >     if (image.fileName.lastIndexOf("\\") != -1) //this is needed if
> > > upload is from a windows system
> > >       zos.putNextEntry(new ZipEntry("res/" + image.fileName.substring
> > > (image.fileName.lastIndexOf("\\")+1)))
> > >     else
> > >       zos.putNextEntry(new ZipEntry("res/" + image.fileName))
> > >     zos.write(image.file, 0, image.file.length) //make here a loop on
> > > very large files
> > >     zos.closeEntry()
>
> > > }
>
> > > Cheers
> > > Torsten
>
> > > On Jun 11, 10:24 pm, DavidV  wrote:
>
> > > > I would like to upload a .csv file onto the web server so I can then
> > > > parse it in my webapp, and put certain fields into my database.  I
> > > > would like a "Browse..." button, much like the one shown on this Lift
> > > > example page:http://demo.liftweb.net/file_upload
> > > > Can anyone point me in the right direction as to how to get started
> > > > doing this, or tell me where I can find the example code for the link
> > > > I provided?  I can't seem to locate it in liftweb in github
> > > > thanks,
> > > > David
>
>
--~--~-~--~~~---~--~~
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: Wolfram Alpha integration for Lift

2009-06-11 Thread TylerWeir

Sounds cool, I agree that there is much awesome in Alpha.

How do you see this integration planning out?

On Jun 11, 12:02 pm, Timothy Perrett  wrote:
> Hey chaps,
>
> Im going to start work on integration with the wolfram alpha engine
> that i've of late become most obsessed with as its the coolest thing
> since sliced bread...http://www.wolframalpha.com/
>
> New branch here:http://github.com/dpp/liftweb/tree/wip-tim-wolframalpha
>
> Anyone else in the commit team interested in working on this with me?
>
> Cheers, Tim
--~--~-~--~~~---~--~~
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: Programming in Scala #5, Lift Book #8, Beginning Scala #9

2009-06-10 Thread TylerWeir

I have a feeling that we'll have to do a 2nd edition.

On Jun 10, 9:26 am, Derek Chen-Becker  wrote:
> We'd love to do a second edition down the road. Lift is still evolving very
> quickly, so I have no doubt that there will be lots of new info to cover.
>
> Derek
>
> On Wed, Jun 10, 2009 at 2:41 AM, Charles F. Munat  wrote:
>
>
>
> > 2nd edition?
>
> > Derek Chen-Becker wrote:
> > > No, the book ended up being much larger than they anticipated and if I
> > > understand it correctly, their workflow process could not handle that
> > > many chapters/sections. We had two options: wait for APress to fix the
> > > workflow and miss having the book out for JavaOne, or make the
> > > appendices available as a free PDF online and have a book ready in June.
> > > We opted for the latter, since we felt there was already a lot of
> > > interest around Lift and we wanted to have something for people to get
> > > their hands on. It's not an ideal situation, and I'm sure some people
> > > will disagree with our decision, but it is what it is at this point.
>
> > > Derek
>
> > > On Mon, Jun 8, 2009 at 9:03 AM, Peter Bliznak  > > <mailto:bliz...@rogers.com>> wrote:
>
> > >     Excellent!
> > >     Just curious - publisher forgot to include it in the print? That
> > >     would be quite a no no .
>
> > 
> > >     *From:* TylerWeir mailto:tyler.w...@gmail.com
>
> > >     *To:* Lift  > liftweb@googlegroups.com>>
> > >     *Sent:* Monday, June 8, 2009 10:59:15 AM
> > >     *Subject:* [Lift] Re: Programming in Scala #5, Lift Book #8,
> > >     Beginning Scala #9
>
> > >     Hey Pete, you can grab the appendices online:
> > >    http://apress.com/book/view/1430224215
>
> > >     Bottom left of the page.
>
> > >     On Jun 8, 10:49 am, Peter Bliznak  > >     <mailto:bliz...@rogers.com>> wrote:
> > >      > As an loyalist to the cause I already have 3 of them . (yes =
> > >     2*scala + lift)
>
> > >      > Now for " The Definitive Guide to Lift" - where is numerously
> > >     mentioned "Appendix A..G .."
> > >      > I could not find it anywhere.
>
> > >      > P.
>
> > >      > 
> > >      > From: TylerWeir  > tyler.w...@gmail.com>>
> > >      > To: Lift  > liftweb@googlegroups.com>>
> > >      > Sent: Monday, June 8, 2009 10:34:13 AM
> > >      > Subject: [Lift] Programming in Scala #5, Lift Book #8, Beginning
> > >     Scala #9
>
> > >      >http://www.theserverside.com/news/thread.tss?thread_id=54862
>
> > >      > Quote:
> > >      > Here are the top 10 selling books at the JavaOne Bookstore. Are
> > these
> > >      > a trend? You decide.
>
> > >      > 1. JavaFX: Building Rich Internet Applications - Addison Wesley
> > ISBN:
> > >      > 013701287X
> > >      > 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795
> > >      > 3. Effective Java 2nd ed. - PTR ISBN: 0321356683
> > >      > 4. Java Puzzlers - Addison Wesley ISBN: 032133678X
> > >      > 5. Programming in Scala - Artima ISBN: 0981531601
> > >      > 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601
> > >      > 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN:
> > >      > 1590594703
> > >      > 8. The Definitive Guide to Lift - Apress ISBN: 1430224215
> > >      > 9. Beginning Scala - Apress ISBN: 1430219890
> > >      > 10. OpenSolaris Bible - Wiley ISBN: 0470385480
>
> > >      > Another chance for me to thank everyone involved.
> > >      > - dpp for building the framework and being more helpful than any
> > >      > person should be expected to be.
> > >      > - Derek and Marius for being excellent co-authors and about 8
> > times
> > >      > smarter than me.
>
> > >      > Huzza!
>
>
--~--~-~--~~~---~--~~
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: Great pictures from the Scala Lift Off

2009-06-08 Thread TylerWeir

> Washington, DC area in October 2009.

Road trip!

I plan on attending LiftOffEast.

On Jun 8, 4:06 pm, Dean Wampler  wrote:
> Is the date set for the Washington, DC meeting?
>
> On Mon, Jun 8, 2009 at 12:43 PM, David Pollak 
>
>
> > wrote:
>
> > On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker 
> > wrote:
>
> >> I'm still pushing for a "Scala on Skis" conference out here in Colorado ;)
>
> > It's looking like Scala on Skis will be held in Lausanne, Switzerland in
> > Spring 2010.  We'll also have a Scala Lift Off in the Washington, DC area in
> > October 2009.
>
> > Maybe we'll have a Denver-based conference in 2010.
>
> >> Derek
>
> >> On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett  >> > wrote:
>
> >>> Sweet! So jeleous of you guys cant wait to have a EMEA scala geek
> >>> meet! Then myself, Viktor and Heiko can really hit the beers ;-)
>
> >>> Cheers, Tim
>
> >>> On Jun 8, 5:53 pm, David Pollak  wrote:
> >>> > Folks,
> >>> > Ilya not only writes great IDE plugins, he takes good pictures:
> >>>http://picasaweb.google.com/ilyas239/Scalaliftoff09#
>
> >>> > Thanks,
>
> >>> > David
>
> >>> > --
> >>> > Lift, the simply functional web frameworkhttp://liftweb.net
> >>> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> >>> > Follow me:http://twitter.com/dpp
> >>> > Git some:http://github.com/dpp
>
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
>
> > Follow me:http://twitter.com/dpp
> > Git some:http://github.com/dpp
>
> --
> Dean Wampler
> coauthor of "Programming Scala" (O'Reilly)
> twitter: @deanwampler, @chicagoscala
> Chicago-Area Scala Enthusiasts (CASE):
> -  http://groups.google.com/group/chicagoscala
> -  
> http://www.meetup.com/chicagoscala/(Meetings)http://www.objectmentor.comhttp://www.polyglotprogramming.comhttp://www.aspectprogramming.comhttp://aquarium.rubyforge.orghttp://www.contract4j.org
--~--~-~--~~~---~--~~
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: Programming in Scala #5, Lift Book #8, Beginning Scala #9

2009-06-08 Thread TylerWeir

Hey Pete, you can grab the appendices online:
http://apress.com/book/view/1430224215

Bottom left of the page.

On Jun 8, 10:49 am, Peter Bliznak  wrote:
> As an loyalist to the cause I already have 3 of them . (yes = 2*scala + lift)
>
> Now for " The Definitive Guide to Lift" - where is numerously mentioned 
> "Appendix A..G .."
> I could not find it anywhere.
>
> P.
>
> ____
> From: TylerWeir 
> To: Lift 
> Sent: Monday, June 8, 2009 10:34:13 AM
> Subject: [Lift] Programming in Scala #5, Lift Book #8, Beginning Scala #9
>
> http://www.theserverside.com/news/thread.tss?thread_id=54862
>
> Quote:
> Here are the top 10 selling books at the JavaOne Bookstore. Are these
> a trend? You decide.
>
> 1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN:
> 013701287X
> 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795
> 3. Effective Java 2nd ed. - PTR ISBN: 0321356683
> 4. Java Puzzlers - Addison Wesley ISBN: 032133678X
> 5. Programming in Scala - Artima ISBN: 0981531601
> 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601
> 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN:
> 1590594703
> 8. The Definitive Guide to Lift - Apress ISBN: 1430224215
> 9. Beginning Scala - Apress ISBN: 1430219890
> 10. OpenSolaris Bible - Wiley ISBN: 0470385480
>
> Another chance for me to thank everyone involved.
> - dpp for building the framework and being more helpful than any
> person should be expected to be.
> - Derek and Marius for being excellent co-authors and about 8 times
> smarter than me.
>
> Huzza!
--~--~-~--~~~---~--~~
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] Programming in Scala #5, Lift Book #8, Beginning Scala #9

2009-06-08 Thread TylerWeir

http://www.theserverside.com/news/thread.tss?thread_id=54862

Quote:
Here are the top 10 selling books at the JavaOne Bookstore. Are these
a trend? You decide.

1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN:
013701287X
2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795
3. Effective Java 2nd ed. - PTR ISBN: 0321356683
4. Java Puzzlers - Addison Wesley ISBN: 032133678X
5. Programming in Scala - Artima ISBN: 0981531601
6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601
7. Beginning Java EE 5: From Novice to Professional - Apress ISBN:
1590594703
8. The Definitive Guide to Lift - Apress ISBN: 1430224215
9. Beginning Scala - Apress ISBN: 1430219890
10. OpenSolaris Bible - Wiley ISBN: 0470385480

Another chance for me to thank everyone involved.
- dpp for building the framework and being more helpful than any
person should be expected to be.
- Derek and Marius for being excellent co-authors and about 8 times
smarter than me.

Huzza!
--~--~-~--~~~---~--~~
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: Fading out notices

2009-06-07 Thread TylerWeir

Nice stuff.

On Jun 6, 6:30 am, Marius  wrote:
> Hi there,
>
> I just committed a simple support to fade out notices. For instance
> sometimes we just want to render a notice somewhere in the page but we
> want it to disappear after a few seconds. Say we have a form that
> saves a record and then was want to say to the user that the item was
> saved and we want this message to vanish after a little while.
>
> This code is dependent on JQuery hence we have 3 functions in
> net.liftweb.http.jquery.JqSHtml
>
> A few examples:
>
> fadeOutErrors(5 seconds, 1 second)
> fadeOutWarnings(5 seconds, 1 second)
> fadeOutNotices(5 seconds, 1 second)
>
> All these functions return a JsCmd. This means that you can use this
> as well for Ajax & Comet. But for Non Ajax here is a dummy example:
>
> Assume a simple snippet:
>
>   def howdy = {
>     S.error("howdy error")
>     Hello there ++
>     {Script(OnLoad(fadeOutErrors(5 seconds, 1 second)))}
>     
>   }
>
> So we set an error, return whatever the snippet returns (in this case
> a simple span) and then concatenate the head tag where on load tell
> lift to hide all errors after 5 seconds and the fade out time to be 1
> second.
>
> Br's,
> Marius
--~--~-~--~~~---~--~~
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: Odd Jetty failure during ToDo tutorial

2009-05-19 Thread TylerWeir

As a quick follow-up, I just jump to mvn 2.1.0 and two builds resulted
in no "138" errors.  Can you give that a shot?

Below are my Java, Scala and Maven versions.

~/g/liftweb [master]
]> java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-
b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
~/g/liftweb [master]
]> scala -version
Scala code runner version 2.7.4.final -- Copyright 2002-2009, LAMP/
EPFL
~/g/liftweb [master]
]> mvn -version
Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400)
Java version: 1.5.0_16
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.7" arch: "i386" Family: "unix"


On May 19, 10:28 am, TylerWeir  wrote:
> Are you running on OS X by any chance?
>
> I sometimes get "138" and from what I've found it appears to be a
> combo of Apple's Java and Maven 2.0.9.
>
> The solution, albeit ham-fisted, is to simply run the command again.
>
> I have not tested 2.0.10 or SoyLatte, but I will as soon as I have
> time.
>
> On May 19, 5:49 am, Paul Caton  wrote:
>
>
>
> > I have been following the "Starting with Lift" tutorial, on a MacBook
> > Pro with MacOs 10.5, Java 1.5, and Maven 2.0.9.  I am working on the
> > ToDo application, and the initial build went fine. I then got to
> > Section 2.8, the second time for issuing mvn jetty:run. This time I
> > got the following error:
>
> >    [ERROR] BUILD FAILURE
> >    [INFO]
> > 
> >    [INFO] command line returned non-zero value:138
>
> > I took the offered advice and ran the command again with the -e
> > switch, but instead of getting the error again with more info, Jetty
> > went ahead and created the "todo" table in the database and started
> > the server as normal.
>
> > I haven't used Jetty much so this behaviour is new to me. Does this
> > have anything at all to do with the Lift code, or is it just a
> > wierdness unrelated to the tutorial?
>
> > Thanks,
>
> > Paul.
--~--~-~--~~~---~--~~
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: Odd Jetty failure during ToDo tutorial

2009-05-19 Thread TylerWeir

Are you running on OS X by any chance?

I sometimes get "138" and from what I've found it appears to be a
combo of Apple's Java and Maven 2.0.9.

The solution, albeit ham-fisted, is to simply run the command again.

I have not tested 2.0.10 or SoyLatte, but I will as soon as I have
time.



On May 19, 5:49 am, Paul Caton  wrote:
> I have been following the "Starting with Lift" tutorial, on a MacBook
> Pro with MacOs 10.5, Java 1.5, and Maven 2.0.9.  I am working on the
> ToDo application, and the initial build went fine. I then got to
> Section 2.8, the second time for issuing mvn jetty:run. This time I
> got the following error:
>
>    [ERROR] BUILD FAILURE
>    [INFO]
> 
>    [INFO] command line returned non-zero value:138
>
> I took the offered advice and ran the command again with the -e
> switch, but instead of getting the error again with more info, Jetty
> went ahead and created the "todo" table in the database and started
> the server as normal.
>
> I haven't used Jetty much so this behaviour is new to me. Does this
> have anything at all to do with the Lift code, or is it just a
> wierdness unrelated to the tutorial?
>
> Thanks,
>
> Paul.
--~--~-~--~~~---~--~~
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: Why do geeks like to use the language of ancient Ashdod instead of koine Greek or simple English?

2009-05-18 Thread TylerWeir

+1 oddest thread on the lift group so far.

On May 18, 7:42 pm, "Charles F. Munat"  wrote:
> I don't know what your Ph.D. is in, but I hope it's not poetry.
>
> Chas.
>
>
>
> johnnie wrote:
> > On May 17, 5:28 pm, Timothy Perrett  wrote:
> >> Johnie,
>
> >> What on earth are you going on about? You qoute me there from a
> >> convesation on-list with Heiko about OSGi... out of context it makes
> >> no sense of course...
>
> > ...
> > Yes, Funky makes no sense if it means "very good" to one person and
> > "very bad" to another person.  So why not just say very good or very
> > bad if that is what you mean?  I see no reason for Geeks to make
> > things more confusing by using local slang instead of simple
> > language.
>
> > I have notices as I lived in several countries where various
> > languages
> > were spoken that the two groups of people who misuse language most
> > are Geeks and lowest class such as druggies and criminals.  The
> > people
> > of ancient Ashdod were condemned for making Babel even worse.  Only
> > twice since then has the world enjoyed a near lingua franka.  I would
> > hate to see simple English die like koine Greek because certain
> > classes
> > want to communicate in ways that are confusing.
>
> > A group of linguists were eating together at the University of
> > Michigan
> > years ago.  I started a conversation by inviting everyone to proclaim
> > why their language should be adopted by the rest of us.  One person
> > proposed that Arabic should be preferred because it was one of the
> > most difficult.  My vote went for koine Greek because the affixes
> > make
> > it so easy to understand.  In fact it is still so easy that most new
> > pharmacituals are a combination of Greek roots because the meaning
> > of new words can be ascertained the combination of simple roots.
> > So why would anybody who wants other people with other native
> > languages and cultures use words which mean very good in one
> > context and very bad in another context?  Do you want to play the
> > difficult game of writing a computer program which explains
> > context?  I believe I can write that program for a lot of koine Greek.
> > I do not believe you or anyone else can write it for the class of
> > modern English which includes funky.
> > Johnnie
--~--~-~--~~~---~--~~
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: Lift-amqp diagram - sense check?

2009-05-16 Thread TylerWeir

Dig it!

Nice nice.

On May 16, 9:20 am, Timothy Perrett  wrote:
> Hey man,
>
> Wayy ahead of you ;-) already made a sample app! Going to be  
> publishing it on my blog with source code and an accompanying screen  
> cast :-)
>
> Cheers, Tim
>
> Sent from my iPhone
>
> On 16 May 2009, at 12:46, TylerWeir  wrote:
>
>
>
>
>
> > Timmy,
>
> > I'm being a bit selfish, but I'd love to see an example app with AMQP.
>
> > I'd be happy to help out however I can.
>
> > Ty
>
> > On May 15, 8:08 pm, Timothy Perrett  wrote:
> >> Sorry for answering my own question here, but just decided to jump
> >> right in and see if this was correct - finding that it is so im just
> >> writing up my findings and posting a sample application to github.
>
> >> Will share when I have more.
>
> >> Cheers, Tim
>
> >> On May 15, 7:04 pm, Timothy Perrett  wrote:
>
> >>> Guys,
>
> >>> Im just trying to make sense of Steve¹s lift-amqp implementation
> >>> . With a
> >>> view to improving the documentation, can someone who understands  
> >>> AMQP in
> >>> general just sense check the attached diagram before I start  
> >>> improving the
> >>> code documentation?
>
> >>> Thanks
>
> >>> Tim
>
> >>>  lift-amqp.pdf
> >>> 119KViewDownload
--~--~-~--~~~---~--~~
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: Lift-amqp diagram - sense check?

2009-05-16 Thread TylerWeir

Timmy,

I'm being a bit selfish, but I'd love to see an example app with AMQP.

I'd be happy to help out however I can.

Ty

On May 15, 8:08 pm, Timothy Perrett  wrote:
> Sorry for answering my own question here, but just decided to jump
> right in and see if this was correct - finding that it is so im just
> writing up my findings and posting a sample application to github.
>
> Will share when I have more.
>
> Cheers, Tim
>
> On May 15, 7:04 pm, Timothy Perrett  wrote:
>
>
>
> > Guys,
>
> > Im just trying to make sense of Steve¹s lift-amqp implementation. With a
> > view to improving the documentation, can someone who understands AMQP in
> > general just sense check the attached diagram before I start improving the
> > code documentation?
>
> > Thanks
>
> > Tim
>
> >  lift-amqp.pdf
> > 119KViewDownload
--~--~-~--~~~---~--~~
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: How about a lift + sling marriage

2009-05-07 Thread TylerWeir

> that's about it. Don't I need a REST server
> that can handle the GET, POST, DELETE, etc. commands and work with the
> the mapper objects?

I think that's any good idea for a sample app.  I'll try to make time
for it soon.

On May 7, 4:29 pm, glenn  wrote:
> You are probably correct about Sling's overall usefullness. I was
> thinking in terms
> of Slings native restful capabilities more so than Jackrabbit, without
> fully realizing that lift can do REST as well.
> Is there documentation, or a sample, that can show me how to use it?
> Here, the lift book is only
> partially helpful. There is an example of JSON form handling, but
> that's about it. Don't I need a REST server
> that can handle the GET, POST, DELETE, etc. commands and work with the
> the mapper objects?
>
> Glenn Silverman
>
> On May 7, 12:56 pm, David Pollak 
> wrote:
>
>
>
> > On Thu, May 7, 2009 at 12:23 PM, glenn  wrote:
>
> > > Are there any thoughts about integrating lift with Apache Sling? There
> > > is suppose to be a scala bundle that can be used in Sling, but I
> > > haven't seen it. Does anyone know where to get it, or if it even
> > > exists.
>
> > I took a look at Sling and see very little value in integration.  Lift has
> > the best REST handling out there.  Multiple languages is a lose rather than
> > a win.  And anything that advertises itself as "fun" has an instance yellow
> > flag from me.
>
> > > There would be a couple of reasons for wanting an integration - using
> > > the Jackrabbit repository for all your lift-enabled html
>
> > Jackrabbit might be an interesting backing store for Lift and/or Lift
> > content.  It's pretty trivial to do this now with Lift.  It's about 100
> > lines of code to use an external backing store for Lift content.
>
> > > and as an
> > > alternative to a relational db for model persistence. In addition,
> > > think of the mashups and gadgetization that would be possible with
> > > lift OSGi bundles.
>
> > And we have an ongoing OSGi project within Lift, so an external one is not
> > necessary.
>
> > > Obviously, a full integration would require changes to resource
> > > management, but nothing that seems insurmountable.
>
> > If there was a compelling use case, I'd consider it more, but reviewing
> > Sling, I can't seem to find one.  I'm open to hearing thoughts on actual use
> > cases.
>
> > Sorry.
>
> > David
>
> > > Glenn Silverman
>
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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] Lift picking up momentum

2009-05-06 Thread TylerWeir

Just an FYI: http://www.scala-lang.org/node/1702

"Lift a Web Framework, is receiving more attention, growing a
commercial user base and gaining momentum. In the May/June 2009
Edition of the IEEE Internet Computing journal Steve Vinoski publishes
an article "Scala and Lift - Functional Recipes for the Web" in his
column "The Functional Web""
--~--~-~--~~~---~--~~
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: textarea overrides?

2009-05-03 Thread TylerWeir

If you're using the standard CSS, it's likely blueprint is controlling
the size:
http://blueprintcss.org/blueprint/src/forms.css



On May 3, 6:16 pm, Meredith Gregory  wrote:
> Lifted,
>
> i gave up on trying to understand how to to the brain-dead simple version of
> what i was trying to do and went for a more complex version. This works
> (better, anyways). However, i notice that despite the instructions to render
> the textarea with 1 row, it is rendering it with about 10 rows. Anybody have
> any clues as to why?
>
> 
>     R-E-P-L
>     
>       
>       
>     Parse term
>     Evaluate term
>     Type term
>       
>       
>       lambda x.x>
>       
>       Go
>       
>       
>     
> 
>
> Best wishes,
>
> --greg
>
> --
> L.G. Meredith
> Managing Partner
> Biosimilarity LLC
> 1219 NW 83rd St
> Seattle, WA 98117
>
> +1 206.650.3740
>
> http://biosimilarity.blogspot.com
--~--~-~--~~~---~--~~
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: jQuery datePicker?

2009-04-28 Thread TylerWeir

And by "just" I mean "use"

What an odd typo.

On Apr 28, 1:44 pm, TylerWeir  wrote:
> Grab the git repo for PocketChange, we just the UI 
> Datepicker:http://github.com/tjweir/pocketchangeapp/tree
>
> On Apr 28, 12:06 pm, Andrew Scherpbier  wrote:
>
>
>
> > Scala, Javascript, and Lift newbie question:
>
> > How do I integrate the jQuery datepicker?
>
> > I'd like to enforce some standard date format that a user must enter for
> > a database field.  I'm use CRUDify on a model object with a date field
> > and I'd like to have it use a datepicker instead of just a text field
> > when entering a date.
>
> > I'm using lift-1.1-SNAPSHOT
>
> > --Andrew
--~--~-~--~~~---~--~~
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: jQuery datePicker?

2009-04-28 Thread TylerWeir

Grab the git repo for PocketChange, we just the UI Datepicker:
http://github.com/tjweir/pocketchangeapp/tree


On Apr 28, 12:06 pm, Andrew Scherpbier  wrote:
> Scala, Javascript, and Lift newbie question:
>
> How do I integrate the jQuery datepicker?
>
> I'd like to enforce some standard date format that a user must enter for
> a database field.  I'm use CRUDify on a model object with a date field
> and I'd like to have it use a datepicker instead of just a text field
> when entering a date.
>
> I'm using lift-1.1-SNAPSHOT
>
> --Andrew
--~--~-~--~~~---~--~~
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: Feedback on screen cast, please

2009-04-24 Thread TylerWeir

The fact it's real-time is excellent.

It's the right amount of info/code to whet someone's appetite to dive
into Lift a bit more.  And since the amount of code is small, someone
would be able to follow along easily.

The areas of improvement would be upping to production levels a bit.
The PeepCode screencasts are what come to mind as a standard to aspire
to.

Nice stuff.  I've been knocking the idea around with Derek and Marius
for screencasts.  I think it's a logical extension of the book.

Ty

(I've never used Vista, so that's what it looks like :)


On Apr 24, 1:53 pm, bradford  wrote:
> I prefer QuickTime.
>
> Thanks,
> Bradford
>
> On Apr 24, 12:21 pm, "marius d."  wrote:
>
> > Very very nice ... and that is something that would probably keep
> > audience with the mouth open for a few minutes. However it's just like
> > showing  the dog a bone :) ... people would inherently wonder so maybe
> > a bit of more explanations on the wiring between the "global" chat
> > actor and the Comet actor would be helpful. I know it's trivial stuff
> > but still I think it worth it.
>
> > On a slightly different topic ... ListenerManager model ... I wonder
> > if we can do it simpler then call updateMessages and then have lift
> > call the createUpdate. For really simple case perhaps a publishMessage
> > (a_message) would be easier and would avoid keeping the private state
> > in the actor.I know it's pretty much classical pattern in the way it
> > is right now ... but maybe ... just maybe we can simplify it a bit
> > more.
>
> > Br's,
> > Marius
>
> > On Apr 24, 6:50 pm, David Pollak 
> > wrote:
>
> > > Folks,
>
> > > I did a draft of a screencast for a real-time chat app.  It's 
> > > athttp://tunaforcats.com/LiftScreenCast.avi
>
> > > I'd like to get some critical feedback on it so I can improve it.
>
> > > Thanks,
>
> > > David
>
> > > PS -- What's the best output format?  AVI, QuickTime, Flash?
>
> > > --
> > > Lift, the simply functional web frameworkhttp://liftweb.net
> > > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > > Follow me:http://twitter.com/dpp
> > > Git some:http://github.com/dpp
>
>
--~--~-~--~~~---~--~~
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: Giving a presentation: ideas?

2009-04-23 Thread TylerWeir

You may consider showing:
- comet coolness - either the chat or the tic tac toe app, get someone
to play against you
- the cleanliness of the templates
- the scalability, high bang for buck
- the cleanliness of the language
- the simplicity of adding an API with the rewrites

HTH

On Apr 23, 3:07 pm, Derek Chen-Becker  wrote:
> I'm tentatively slated to give a presentation on Lift at the Boulder JUG on
> August 11th. I'm looking for some ideas for how/what to present to get
> people interested in Lift. I know that there are some presentations that
> have been posted on the list, but for anyone out there that's new to Lift,
> what kinds of questions do you have? What would you like to see in an intro?
>
> Derek
--~--~-~--~~~---~--~~
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: lift-amqp, RabbitMQ and Subscriptions?

2009-04-22 Thread TylerWeir

You may want to talk to Steve Jenson (aka @stevej) about your app
needs.

I'm not sure he still visits the list, so twitter may be the best
avenue.

On Apr 22, 6:48 pm, Tim Perrett  wrote:
> Guys,
>
> Im just starting to look at RabbitMQ and lift-amqp. I have a situation
> where by I have a central pot of information and a bunch of different
> consumers that want to keep up to date with changes to things they are
> interested in (specifically, we'll call the things they are interested
> in "jobs").
>
> Im thinking that the central application will probably use some kind
> of actor schedule to constantly update its information about all jobs
> (as it in turn will be getting it through some SOAP services),
> however, what I would then like it to do is notify any other consumers
> (which will  be other applications) that have opted to subscribe to
> information / updates about that job via AMQP. Consumers will also be
> able to hand messages to the central service and effectively say "deal
> with this job and notify me about any changes".
>
> Now then, excuse my complete ignorance as im new to AMQP but its
> possible to build such a workflow, right? Any pro's / con's in doing
> this?
>
> Just looking for a bit of a sounding board right now so any
> information / feedback would be greatly appreciated
>
> Cheers, Tim
--~--~-~--~~~---~--~~
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: scala-tools.org is down

2009-04-22 Thread TylerWeir

Seems fine to me.  Can you try again?

On Apr 22, 9:45 am, smlz  wrote:
> Hi list
>
> scala-tools.org seems to be down. Is there a backup somewhere with the
> liftweb documentation?
>
> Thanks,
>
> Marco
--~--~-~--~~~---~--~~
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: CRUDifying a model

2009-04-22 Thread TylerWeir

> Can you give a short code sample how to override, please.
>

There are many examples, please take a look at the source on github.


On Apr 22, 4:00 am, Tobias Daub  wrote:
> Hi Dave,
>
> First, is this 1.1 version already in the repository, will maven
> automatically get it?
>
> Second, where do I have to override those methods, in the class that
> extends Mapper or in the companion object?
>
> Can you give a short code sample how to override, please.
>
> thanks.
>
>
>
> > I've added new CRUDify stuff for 1.1 (Hudson is building right now).
>
> > There are 4 methods that you can override:
> >   def showAllMenuLocParams: List[Loc.LocParam] = Nil
> >   def createMenuLocParams: List[Loc.LocParam] = Nil
> >   def viewMenuLocParams: List[Loc.LocParam] = Nil
> >   def editMenuLocParams: List[Loc.LocParam] = Nil
>
> > Just put additional LocParams in these lists (e.g., If(), Unless())
> > and you can set access control.
>
> > Thanks,
>
> > David
>
> > On Thu, Apr 16, 2009 at 5:51 AM, Tobias Daub  > > wrote:
>
> >     Hi Dave,
>
> >     Can you please give a short example, how to hide those List/Create
> >     entries from the sitemap, when a user is not logged in? I already
> >     had a
> >     glimpse at the chapter about the sitemap from the book, but I'm
> >     missing
> >     some more detailed sample code...
>
> >     thanks
> >     Tobias
> >     > In Boot.scala, when you're constructing the menu, put MyModel.menu
> >     > (which returns a List[Menu]) in the list of menu items.
>
> >     > On Sun, Apr 12, 2009 at 3:16 PM, ari  >     
> >     > >> wrote:
>
> >     >     I have a model defined with the CRUDify trait.  I'm under the
> >     >     impression that I need to add something to the sitemap for the
> >     >     crudified pages to be available, and that defining my model with
> >     >     CRUDify should create some basic UI and addition pages for
> >     my model.
> >     >     Basically, given a model x with crudify, what do I have to
> >     do to get
> >     >     the model accessible over the web with a minimum of fuss?
>
> >     >     Thanks.
>
> >     > --
> >     > Lift, the simply functional web frameworkhttp://liftweb.net
> >     > Beginning Scalahttp://www.apress.com/book/view/1430219890
> >     > Follow me:http://twitter.com/dpp
> >     > Git some:http://github.com/dpp
>
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: Lift and Bespin... a new way to develop web apps...

2009-04-21 Thread TylerWeir

o m g.

This is going to be sick!

On Apr 21, 7:07 pm, David Pollak 
wrote:
> Folks,
>
> I spent an hour with Dion Almaer  yesterday.  Dion
> is one of the guys behind Bespin .
>
> Dion and I blocked out how Lift, when running in developer mode, could
> expose data via JSON giving Bespin information about the Lift app and
> read/write capabilities on the Lift app source files.  Combined with the
> scala:cc Maven command and JavaRebel, we can get code updated without a full
> build cycle.  Further, I've got some ideas about how to dynamically bind
> JSON requests that should intersect nicely with the dynamic nature of
> things.
>
> The Bespin folks are working on a GUI builder called Thunderclap.  Dion and
> I want to make it so that building GUI apps with Bespin and Lift is as
> simple as wiring up applications in OS X's Interface Builder.  The initial
> goal is to be able to build a chat application and then collaborate with
> another developer on expanding the chat application while chatting with the
> other developer in the already running chat application.
>
> More news as it becomes available.
>
> Thanks,
>
> David
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: Scala Exception

2009-04-20 Thread TylerWeir

Did you clean first?

Is this new code?

Can you copy the code in that it's complaining about?

In the future, include more information in the original message.
You'll get more help if you make it easy to help you.


On Apr 20, 1:26 am, "sailormoo...@gmail.com" 
wrote:
> Hi :
>
>    need help for the following again. Thanks ^.^
>
> [WARNING] Exception in thread "main" java.lang.RuntimeException:
> malformed Scala
>  signature of Room at 12608; reference type _1 of  refers to
> nonexisting s
> ymbol.
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.errorBadS
> ignature(UnPickler.scala:762)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol(UnPickler.scala:
> 172)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef
> $1.apply(UnPic
> kler.scala:714)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef
> $1.apply(UnPic
> kler.scala:714)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:139)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef
> (UnPickler.scala:714)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:
> 254)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
> $1.apply(UnPickl
> er.scala:715)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
> $1.apply(UnPickl
> er.scala:715)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:139)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
> (UnPickler.scala:715)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> 3.apply(UnPickler.scala:255)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> 3.apply(UnPickler.scala:255)
> [WARNING]       at scala.tools.nsc.symtab.classfile.PickleBuffer.until
> (PickleBuf
> fer.scala:127)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:
> 255)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
> $1.apply(UnPickl
> er.scala:715)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
> $1.apply(UnPickl
> er.scala:715)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:139)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
> (UnPickler.scala:715)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:
> 286)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
> $1.apply(UnPickl
> er.scala:715)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
> $1.apply(UnPickl
> er.scala:715)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:139)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
> (UnPickler.scala:715)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> 3.apply(UnPickler.scala:255)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
> $anonfun$
> 3.apply(UnPickler.scala:255)
> [WARNING]       at scala.tools.nsc.symtab.classfile.PickleBuffer.until
> (PickleBuf
> fer.scala:127)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
> $UnPickle.scala$too
> ls$nsc$symtab$classfile$UnPickler$UnPickle$$readType(UnPickler.scala:
> 255)
> [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPi

[Lift] Re: Welcome Atsuhiko Yamanaka to the Lift Committers

2009-04-18 Thread TylerWeir

Welcome sir!

On Apr 18, 1:19 am, "marius d."  wrote:
> Welcome,welcome,welcome !
>
> On Apr 18, 1:42 am, David Pollak 
> wrote:
>
>
>
> > Folks,
>
> > I am pleased at announce that Atsuhiko Yamanaka has joined the Lift
> > committers.  He did some great Google App Engine work with Lift and has been
> > making other enhancements to the Lift code base.  Now he can roll his
> > changes in at will.
>
> > Welcome Yamanaka-san.
>
> > Thanks,
>
> > David
>
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: Road Map of Lift

2009-04-17 Thread TylerWeir

1.1 thread:
http://groups.google.com/group/liftweb/browse_thread/thread/aca84784b81a6a2c/5539edffc1c874d1?lnk=gst&q=1.1#5539edffc1c874d1

On Apr 17, 5:27 am, Amit Kumar Verma  wrote:
> Hi David,
>
> We are using the lift-scala framework for our development and thinking
> about it even more seriously. Can you please give some information on
> Roadmap of development of Lift framework. It will be more useful if it
> will give a brief description on areas on which framework is working
> on.
>
> Thanks
> Amit Kumar Verma
--~--~-~--~~~---~--~~
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: CRUDifying a model

2009-04-16 Thread TylerWeir

Excellent!

On Apr 16, 7:53 pm, David Pollak 
wrote:
> I've added new CRUDify stuff for 1.1 (Hudson is building right now).
>
> There are 4 methods that you can override:
>   def showAllMenuLocParams: List[Loc.LocParam] = Nil
>   def createMenuLocParams: List[Loc.LocParam] = Nil
>   def viewMenuLocParams: List[Loc.LocParam] = Nil
>   def editMenuLocParams: List[Loc.LocParam] = Nil
>
> Just put additional LocParams in these lists (e.g., If(), Unless()) and you
> can set access control.
>
> Thanks,
>
> David
>
>
>
>
>
> On Thu, Apr 16, 2009 at 5:51 AM, Tobias Daub  wrote:
>
> > Hi Dave,
>
> > Can you please give a short example, how to hide those List/Create
> > entries from the sitemap, when a user is not logged in? I already had a
> > glimpse at the chapter about the sitemap from the book, but I'm missing
> > some more detailed sample code...
>
> > thanks
> > Tobias
> > > In Boot.scala, when you're constructing the menu, put MyModel.menu
> > > (which returns a List[Menu]) in the list of menu items.
>
> > > On Sun, Apr 12, 2009 at 3:16 PM, ari  > > > wrote:
>
> > >     I have a model defined with the CRUDify trait.  I'm under the
> > >     impression that I need to add something to the sitemap for the
> > >     crudified pages to be available, and that defining my model with
> > >     CRUDify should create some basic UI and addition pages for my model.
> > >     Basically, given a model x with crudify, what do I have to do to get
> > >     the model accessible over the web with a minimum of fuss?
>
> > >     Thanks.
>
> > > --
> > > Lift, the simply functional web frameworkhttp://liftweb.net
> > > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > > Follow me:http://twitter.com/dpp
> > > Git some:http://github.com/dpp
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: Getting Lift and Eclipse to make sweet sweet love.

2009-04-16 Thread TylerWeir

Ok, I grabbed the right version.

I also added the Lift .jars from my .m2 repository to my Build Path.

That seems to be it.  All is happy happy.

Thanks Miles, great stuff.

On Apr 16, 10:55 am, Miles Sabin  wrote:
> On Thu, Apr 16, 2009 at 3:51 PM, TylerWeir  wrote:
> > I grabbed the latest from here:http://www.scala-lang.org/node/94
>
> Err ... that's 2.7.3.final!
>
> You want,
>
>  http://www.scala-lang.org/node/1493
>
> Make sure you use the rc update site URL to install from,
>
>  http://www.scala-lang.org/scala-eclipse-plugin-rc
>
> > I created a new empty project named LiftTest.
>
> > I ran "Import..." and selected the Lift source tree which is the git
> > repo.
>
> > I wanted to test it out, so I jumped to Entry.scala in HelloLift and
> > added an attribute to the model.
>
> > I was hoping that as I typed "Mapp" that Content Assist would give me
> > options for completion.  But it did not appear.
>
> You hit ctrl-Space, right?
>
> Cheers,
>
> Miles
>
> --
> Miles Sabin
> tel: +44 (0)7813 944 528
> skype:  milessabinhttp://twitter.com/milessabin
--~--~-~--~~~---~--~~
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: Using Jx classes to output HTML

2009-04-16 Thread TylerWeir

There is an odd issue with quotes getting stripped from the book
during Lyx -> pdf.

This looks to be a case of that.

On Apr 16, 11:32 am, glenn  wrote:
> Marius,
>
> You asked about the Java version I'm using and why I couldn't run the
> Liftbook
> example as-is.
>
> My development environment is Eclipse with the scala plugin running
> Java 1.6.
> I assume I'm always compiling with the latest scala/lift libraries, as
> I use maven to
> package and run.
>
> I get the following compiler error:
>
> "overloaded method value ajaxButton with alternatives (String,() =>
> net.liftweb.http.js.JsCmd,(String, String)*)scala.xml.Elem 
> (scala.xml.NodeSeq,() => net.liftweb.http.js.JsCmd,(String, String)*)
> scala.xml.Elem cannot be applied to
> (scala.xml.Text,net.liftweb.http.js.JsCmd)      TabMenu.scala   sample/src/
> main/scala/com/exmbly/scala/sample/snippet      Unknown Scala Problem"
>
> Changing the call to
>
> bind("ex", xhtml,
>   "button" -> SHtml.ajaxButton(Text(Press me), () => ajaxFunc)
>
> does work, however (Press me needs to be quoted. It's not in the
> book).
>
> Glenn Silverman
>
> On Apr 16, 6:49 am, David Pollak 
> wrote:
>
>
>
> > On Wed, Apr 15, 2009 at 3:19 PM, glenn  wrote:
>
> > > Actually, the json example code in the Liftbook works, as long
> > > as you change it to read:
>
> > > bind("ex", xhtml,
> > > "button" -> SHtml.ajaxButton(Text(Press me), () => ajaxFunc)
>
> > > But this example uses a simple function, alert, and emits it using
> > > JsRaw.
>
> > > I would like to see a similar example, but using Jx to emit a
> > > javascript function and have it called.
>
> > Jx is for generating functions that generate XML on the client side.  It's
> > for building rich client-side applications.
>
> > In the button example, the code being called is on the server side, so the
> > client-side code is less relevant.
>
> > If you could talk about what you're trying to build, it might be easier to
> > discuss things in concrete terms rather than in abstract terms.
>
> > Thanks,
>
> > David
>
> > > Glenn Silverman
>
> > > On Apr 15, 2:58 pm, glenn  wrote:
> > > > Marius,
>
> > > > I appreciate the reply. Not sure if it helps, though. What's with
> > > > (JsVar("items") and why did you use that?
>
> > > > The Liftbook is very cryptic on the use of Jx classes. It just says,
>
> > > > " If we send this generated JavaScript function to client and calling
> > > > it by pass the list variable
> > > > above It will create the following document fragment:..."
>
> > > > Nothing in the book about how to actually do this.
>
> > > > I tried the json example in the book (sec 8.4) and all I got emitted
> > > > on the client was:
> > > >   Press me
>
> > > > That doesn't do any good. Generated variable names in emitted
> > > > javascript aren't much good for referencing in scala classes.
>
> > > > The book is wrong by the way. This won't compile.
>
> > > > bind("ex", xhtml,
> > > > "button" -> SHtml.ajaxButton(Text(Press me), ajaxFunc)
>
> > > > You need to do something like this:
>
> > > > bind("ex", xhtml,
> > > > "button" -> SHtml.ajaxButton(Text(Press me), () => ajaxFunc)
>
> > > > Maybe that's why I'm getting 'F560600551708Y4K=true' emitted.
>
> > > > I'm beginning to think nobody has actually written code using the Jx
> > > > classes
> > > > that works.
>
> > > > Glenn Silverman
>
> > > > On Apr 15, 12:30 pm, "marius d."  wrote:
>
> > > > > How about
>
> > > > > 1. Use a decalred variable
>
> > > > > JsCrVar("func", Jx({
> > > > >                                     JxMap(JsVar("it"), Jx( > > > > href="">{JsVar("it")}))
> > > > >                                    }
> > > > >                                    ).toJs) & Call("func", JsVar
> > > > > ("items"))
>
> > > > > 2.
>
> > > > >  Jx({
> > > > >      JxMap(JsVar("it"), Jx({JsVar("it")}))
> > > > >  }).toJs asInstanceOf[AnonFunc].applied(JsVar("items"))
>
> > > > > ... that should just call the anonymous function constructed by Jx
>
> > > > > Note that I haven't actaully tested the code but is should work unless
> > > > > I'm missing some parentheses etc.
>
> > > > > Also Jx is discussed in the LiftBook
>
> > > > > Br's,
> > > > > Marius
>
> > > > > On Apr 15, 9:25 pm, glenn  wrote:
>
> > > > > > I'm a novice at this, and I've seen discussions of using Jx classes
> > > to
> > > > > > output HTML on the client, but how exactly is this done?  Are there
> > > > > > any complete examples of sending JavaScript functions produced by 
> > > > > > the
> > > > > > Jx classes to the client and running them?
>
> > > > > > Suppose, for example, I have a json object:
>
> > > > > > var list = {
> > > > > >             tabs: [
> > > > > >               {class: posts selected},
> > > > > >               {class: comments},
> > > > > >               {class: category},
> > > > > >               {class: famous},
> > > > > >               {class: random}
> > > > > >             ]
> > > > > >           }
>
> > > > > > and a function defined so:
>
> > > > > > def renderTabs =

[Lift] Getting Lift and Eclipse to make sweet sweet love.

2009-04-16 Thread TylerWeir

I was messaging back and forth with Miles on twitter about getting
Content Assist working with Eclipse.

I'm in no way educated about Eclipse, Miles thought it better to
create a thread.

To recap:

I grabbed the latest from here: http://www.scala-lang.org/node/94

I created a new empty project named LiftTest.

I ran "Import..." and selected the Lift source tree which is the git
repo.

I wanted to test it out, so I jumped to Entry.scala in HelloLift and
added an attribute to the model.

I was hoping that as I typed "Mapp" that Content Assist would give me
options for completion.  But it did not appear.

@miles - What step am I missing to enable Content Assist?
--~--~-~--~~~---~--~~
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: CRUDifying a model

2009-04-16 Thread TylerWeir

Look at the definition of Loc in Loc.scala

And look at Entry.scala in HelloLift:

 val sitemap = List(Menu(Loc("CreateEntry", List("entry"),
  "Create An Entry",
  If(User.loggedIn_? _, "Please login"))),
 Menu(Loc("ViewEntry", List("view"),
  "View An Entry", Hidden)),
 Menu(Loc("ViewBlog", List("blog"), "View Blog")))



On Apr 16, 8:51 am, Tobias Daub  wrote:
> Hi Dave,
>
> Can you please give a short example, how to hide those List/Create
> entries from the sitemap, when a user is not logged in? I already had a
> glimpse at the chapter about the sitemap from the book, but I'm missing
> some more detailed sample code...
>
> thanks
> Tobias
>
>
>
> > In Boot.scala, when you're constructing the menu, put MyModel.menu
> > (which returns a List[Menu]) in the list of menu items.
>
> > On Sun, Apr 12, 2009 at 3:16 PM, ari  > > wrote:
>
> >     I have a model defined with the CRUDify trait.  I'm under the
> >     impression that I need to add something to the sitemap for the
> >     crudified pages to be available, and that defining my model with
> >     CRUDify should create some basic UI and addition pages for my model.
> >     Basically, given a model x with crudify, what do I have to do to get
> >     the model accessible over the web with a minimum of fuss?
>
> >     Thanks.
>
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
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: lift plugins/extensibility?

2009-04-14 Thread TylerWeir

>Btw, is there a good CMS module???

Not currently.  I would *love* to rewrite Wordpress+WordpressMU
+Buddypress.

I have been talking about it for more than a year though.  :(

On Apr 14, 11:23 am, Mick  Delaney  wrote:
> sorry guys. i didnt realise it was moderated (doh!!).
> it's been almost 5 years since i did any java at all but i know how
> JAR's work
> and i've looked into maven. i think i'll probably just go and create a
> sample app
> fully, i was going to create a personal task manager website in lift
> so perhaps that will be a good start.
>
> Btw, is there a good CMS module???
>
> On Apr 14, 3:50 pm, Timothy Perrett  wrote:
>
>
>
> > Mick,
>
> > The list is moderated - please be patient for your messages to come through
> > rather than repeat posting :-)
>
> > Using your openID example - we already have modules for that which work out
> > of the box! So you can just drop that in by adding a maven dependency and
> > hooking up in Lifts boot process. In the same way we have modules for AMQP,
> > PayPal etc etc etc. Anything we don't have, you can write with little
> > problem provided you know enough about lift.
>
> > I have modules that hook lift into our internal enterprise systems via
> > dispatching (LiftRules.DispatchPF etc) - you could build anything you wanted
> > really and just distribute that as a pluggable JAR. If you familiar with
> > gems, its kind of like that, but it works properly ;-)
>
> > Are you familiar with maven?
>
> > Cheers, Tim
>
> > On 14/04/2009 15:02, "Mick Delaney"  wrote:
>
> > > i cant seem to reply to my previous post for some reason :-(
> > > so i'll reply here:
>
> > > i was evaluating lift versus rails plugins/gems mainly.
> > > for example, lets say i want to drop in openid authentication or
> > > something.
> > > or if i wanted to make a class versionable (although that's scala
> > > really not lift).
> > > what about a pluggable CMS, e.g. comatose or browsercms in rails,
> > > in djanjo for example its architected in such a way that allows u to
> > > compose an app from smaller apps.
--~--~-~--~~~---~--~~
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: Liftweb without Maven?

2009-04-14 Thread TylerWeir

> expected output. I don't want to bother with Maven at this time. Can

You'll have a better experience if you take the time to learn how
maven works.

On Apr 14, 7:11 am, tk050305cnx  wrote:
> I am new to Liftweb. Unfortunately, the example app in the "getting
> started" doc did not work. That is... Maven did not produce the
> expected output. I don't want to bother with Maven at this time. Can
> you point me to a source that describes how to set up a helloworld
> type of application manually and deploy it on Tomcat? Is there any
> Eclipse automation for that?
>
> Cheers, CNX
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



  1   2   3   >