Derek Chen-Becker | 1 Mar 2011 01:14
Picon
Gravatar

Re: [Lift] Re: Trying to get Lift running on WebLogic

Looks great, thanks!

On Sun, Feb 27, 2011 at 7:33 AM, earthling_paul <paul.bernet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi Derek,

Well, I'm not a WebSphere guy though, but I added some issues about
WLS 10.3.3 deployment to the wiki:

https://www.assembla.com/wiki/show/liftweb/WLS_Deployment_Issues

I wanted to do that after going into production, since we are still in
pre-production stage the wiki post is without any warranty ;-)

Hope that it is of use to anyone
Regards,
Paul

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To unsubscribe from this group, send email to liftweb+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit this group at http://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 liftweb-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Shark.Z | 1 Mar 2011 02:56
Picon
Gravatar

[Lift] Can Lift resolve snippet location with wildcard notion?

When my code base grows, I have defined many custom packages for snippets.
And I have to write things like:

LiftRules.addToPackages("your.groupId")
LiftRules.addToPackages("your.groupId.foo")
LiftRules.addToPackages("your.groupId.bar")
...
Can I just write things like: LiftRules.addToPackages("your.groupId._") or similar?

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Shark.Z | 1 Mar 2011 03:07
Picon
Gravatar

Re: [Lift] Redirect to a Loc?

There's a "calcHref" on Loc.  You could add others if you want.
I know Lift's Menu and Loc design approach are powerful and thoughtful,
but compare to others, like string URL regex definition,  it's much more complicated.
I really like to see some live code examples that demonstrate the most of the Menu and Loc API usages,
so users won't stuck at menus and links when they're exploring Lift.



--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
David Pollak | 1 Mar 2011 04:39
Picon
Gravatar

Re: [Lift] Can Lift resolve snippet location with wildcard notion?



On Mon, Feb 28, 2011 at 5:56 PM, Shark.Z <evolye-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
When my code base grows, I have defined many custom packages for snippets.
And I have to write things like:
LiftRules.addToPackages("your.groupId")
LiftRules.addToPackages("your.groupId.foo")
LiftRules.addToPackages("your.groupId.bar")
...
Can I just write things like: LiftRules.addToPackages("your.groupId._") or similar?

No.
 

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



--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Naftoli Gugenheim | 1 Mar 2011 04:54
Picon
Gravatar

Re: [Lift] Can Lift resolve snippet location with wildcard notion?

You could write List("your.groupId", "your.groupId.foo", "your.groupId.bar") foreach LiftRules.addToPackages


On Mon, Feb 28, 2011 at 8:56 PM, Shark.Z <evolye <at> gmail.com> wrote:
When my code base grows, I have defined many custom packages for snippets.
And I have to write things like:
LiftRules.addToPackages("your.groupId")
LiftRules.addToPackages("your.groupId.foo")
LiftRules.addToPackages("your.groupId.bar")
...
Can I just write things like: LiftRules.addToPackages("your.groupId._") or similar?

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://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 liftweb-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Joni Freeman | 1 Mar 2011 07:25
Picon
Favicon

Re: [Lift] Re: parsing json with lift-json

Hi,

The README you look probably documents forthcoming 2.3 version. The
README for 2.1 is here:

https://github.com/lift/lift/tree/Lift-2.1-2.8-release/framework/lift-base/lift-json

All examples should work (most of them are part of test suite too). But
there's one exception. Serialization and extraction features use
paranamer to query parameter names of constructors. Paranamer does not
work with Scala REPL, so case classes for those examples must be
compiled outside of the REPL.

Cheers Joni

On Mon, 2011-02-28 at 15:09 -0800, Randall Schulz wrote:
> Hi,
> 
> I went through the examples shown there a few months ago (using the
> Lift 2.1 version of the Lift-JSON library) and I recall only one
> example that didn't work as shown there (I forget which one, but it
> was toward the bottom...).
> 
> Now the very first one (and the 2nd and larger "Lotto" Example under
> the "Producing JSON" section) don't work. Has the library changed in
> such a way to invalidate those examples? So far what I've seen is
> mostly a need for more imports than the existing sample code includes
> (or the use of qualified names instead).
> 
> Randall Schulz
> 
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Lift" group.
> To post to this group, send email to liftweb@...
> To unsubscribe from this group, send email to liftweb
> +unsubscribe@...
> For more options, visit this group at
> http://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 liftweb@...
To unsubscribe from this group, send email to liftweb+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

Maarten Koopmans | 1 Mar 2011 08:37
Picon
Gravatar

Re: [Lift] Re: One file deploy(including jetty)

So, ticket 909, http://www.assembla.com/spaces/liftweb/tickets/909-one-file-deploy-(including-jetty) now comes down to resolving this?


--Maarten

On Sun, Feb 27, 2011 at 11:18 PM, Glen <glen.a.ford-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hi David,

Same behaviour using jetty-distribution-7.3.0.v20110203


Regards,


Glen

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://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 liftweb-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Maarten Koopmans | 1 Mar 2011 08:38
Picon
Gravatar

Re: [Lift] Re: Happy 4th Birthday Lift

And thanks to all the people that have worked on it, be it on code, Wikis or kindly providing answers on mailing lists!

On Mon, Feb 28, 2011 at 10:39 PM, elversatile <elversatile-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Happy birthday, Lift!

Great framework that has gone a long way in 4 years!

On Feb 27, 6:06 pm, David Pollak <feeder.of.the.be...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> http://lift.la/happy-4th-birthday-lift
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Blog:http://goodstuff.im
> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To unsubscribe from this group, send email to liftweb+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit this group at http://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 liftweb-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Dave Briccetti | 1 Mar 2011 10:44
Favicon
Gravatar

[Lift] Lazy loading and TableSorter: table doesn’t get processed

I have some working code that produces a nice TableSorter table:
http://www.flickr.com/photos/dcbriccetti/5488483096/

When I wrap it in lazy loading, the table appears, but doesn’t get
turned into a TableSorter table. Perhaps this is because the generated
JavaScript hooks into document ready, and the document is already
ready when the lazy loading finishes? What can I do? Thanks.

--

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

Peter Robinett | 1 Mar 2011 11:34
Gravatar

Re: [Lift] Re: Testing Extended Sessions

Tim and Richard, thanks for your help.

Here's a sample app with some example usage in the commit message: https://github.com/pr1001/lift-testing/tree/extendedsessions

Session.logUserIdIn calls User.logUserIdIn (yes, I know, kind of silly but I was following the wiki). In turn, User's onLogIn is List(Session.userDidLogin(_)). userDidLogin is defined in MetaProtoExtendedSession and as part of its actions it creates a database entry:
val inst = create.userId(uid.userIdAsString).saveMe

However, manually creating a Session within DB.use does work:
scala> DB.use(DefaultConnectionIdentifier){ connection =>                
     | val johnDoe = User.create.firstName("John").lastName("Doe").saveMe
     | Session.logUserIdIn(johnDoe.userIdAsString)                       
     | println(johnDoe)                                                  
     | println(Session.find(By(Session.userId, johnDoe.userIdAsString))) 
     | val rawSession = Session.create.saveMe
     | println(Session.findAll)
     | }
11:29:02.032 [run-main] DEBUG net.liftweb.mapper.MetaMapper - Saving dbName=User, entity=com.bubblefoundry.liftdebug.model.User={id=-1,firstName=John,lastName=Doe,email=,locale=en_US,timezone=Europe/Amsterdam,password=*******,textArea=,uniqueId=AWYO5S2ENJJKNMSVOIXAORPTCZIPMD22,validated=false,superUser=false}
com.bubblefoundry.liftdebug.model.User={id=1,firstName=John,lastName=Doe,email=,locale=en_US,timezone=Europe/Amsterdam,password=*******,textArea=,uniqueId=AWYO5S2ENJJKNMSVOIXAORPTCZIPMD22,validated=false,superUser=false}
Empty
11:29:02.182 [run-main] DEBUG net.liftweb.mapper.MetaMapper - Saving dbName=Session, entity=com.bubblefoundry.liftdebug.model.Session={id=-1,expiration=1314527342182,cookieId=3RLXANKD4CA1LDAGF1PTVATULIODOARF,userId=}
List(com.bubblefoundry.liftdebug.model.Session={id=1,expiration=1314527342182,cookieId=3RLXANKD4CA1LDAGF1PTVATULIODOARF,userId=})
11:29:02.202 [run-main] DEBUG net.liftweb.db.ProtoDBVendor - Released connection. poolSize=1

You'll notice, though, that there is still just the raw session I created and not a second one from the user logging in.

One final thought is that in Boot.scala I have:
// Make a transaction span the whole HTTP request
S.addAround(DB.buildLoanWrapper)
// Use extended sessions
S.addAround(Session.requestLoans)

Perhaps I need some sort of similar thing with requestLoans in my tests?

Again, thanks for your help!

Peter

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

Gmane