[Lift] Re: [request] update lift-openid 's dependency of openid4java to a newer version

2009-10-18 Thread Indrajit Raychaudhuri
Could you please file a ticket? http://github.com/dpp/liftweb/issues Cheers, Indrajit On 18/10/09 11:19 AM, night_stalker wrote: Currently lift-openid is using openid4java 0.9.3, which is a little old and is difficult to find a maven repository to download. I think changing lift-openid's

[Lift] The scala-2.7.5.final.zip can't downlaod, the lift1.1 can work with scala-2.7.6 well ?

2009-10-18 Thread Neil.Lv
Hi all, The scala-2.7.5.final.zip can't downlaod, if anyone knows another link that can download ? scala-2.7.5.final.zip http://www.scala-lang.org/downloads/distrib/files/scala-2.7.5.final.zip So I want to know that the scala-2.7.6 whether works with lift1.1 well ? Thanks very

[Lift] Having trouble understanding SessionVar[Box[MyClass]] and how to use it.

2009-10-18 Thread Jim Barrows
Here's a snippet: object parentOrganization extends SessionVar[Box[Organization]](Empty) def create(xhtml: NodeSeq): NodeSeq = { var name: String = def processAdd() = { if (name.isEmpty) S.error(Please provide a name) else { val organization = new

[Lift] Re: Scala and Eclipse

2009-10-18 Thread johncch
We have a large multi-module project that includes scala in a few key artifacts and things are going somewhat smoothly.  However, I think most of the devs are bailing out of eclipse for intellij. I just downloaded IntelliJ IDEA CE with the scala plugin and it's really very nice. I think the

[Lift] Re: The scala-2.7.5.final.zip can't downlaod, the lift1.1 can work with scala-2.7.6 well ?

2009-10-18 Thread Timothy Perrett
Neil, You do not need to download the scala distro ahead of time - maven will automatically download the right jars for you if they don't exist in your local repo. Lift does not and will not work with 2.7.6 - that was a broken scala release. Cheers, Tim Sent from my iPhone On 18 Oct

[Lift] Friendly url parameter for PaginateSnippet?

2009-10-18 Thread night_stalker
Hi all, I've just tried the PaginatedSnippet and is willing to make some query pages with it, but the url parameter looks not very good (I got a /post?F1054255562605UD5=_ ). So —— how to make paginated page's url more friendly? I'd prefer something like /posts?page=2.

[Lift] Re: [request] update lift-openid 's dependency of openid4java to a newer version

2009-10-18 Thread night_stalker
done. thanks for you concern. http://github.com/dpp/liftweb/issues#issue/109 On Oct 18, 2:27 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: Could you please file a ticket?http://github.com/dpp/liftweb/issues Cheers, Indrajit On 18/10/09 11:19 AM, night_stalker wrote: Currently

[Lift] Re: Friendly url parameter for PaginateSnippet?

2009-10-18 Thread Marius
F1054255562605UD5 means that a function on server side will be invoked when this is sent. I believe these is a function that the Paginator is binding automatically. Is there a more specific reason why you want this ? Br's, Marius On Oct 18, 11:12 am, night_stalker usur...@gmail.com wrote: Hi

[Lift] Re: The scala-2.7.5.final.zip can't downlaod, the lift1.1 can work with scala-2.7.6 well ?

2009-10-18 Thread Neil.Lv
That means i can't use scala-2.7.6 with lift1.1 ? Now my scala version is 2.7.4 whether it work with lift1.1 ? Thank you very much. Cheers, Neil On Oct 18, 4:01 pm, Timothy Perrett timo...@getintheloop.eu wrote: Neil, You do not need to download the scala distro ahead of time - maven  

[Lift] Re: Newbee question Datamapper

2009-10-18 Thread hyperion
Then I would have two tables I suggest. But thank you nevertheless, it is not so important, I can live with fields mapping single columns ;). I only wanted to reduce some redundancy and was interested if it is possible to build such types. On Oct 18, 12:23 am, David Pollak

[Lift] Re: Friendly url parameter for PaginateSnippet?

2009-10-18 Thread night_stalker
Thank you for your explanation. The reason is users don't get the same page with the same url, and, they can't read the url. Just wondering if I can use existing classes or should write my own. It seems I shouldn't use stateful snippet for this, stateless requirement. Best regards. On Oct 18,

[Lift] Re: Friendly url parameter for PaginateSnippet?

2009-10-18 Thread Naftoli Gugenheim
Two points. 1. Could you explain in more detail the advantage of a friendly URL? 2. Keep in mind that it's safer for MVC frameworks to implement such a scheme, because you only use pagination on a page which is designed with pagination in mind. In Lift, with View First, pagination

[Lift] Re: does this look ok?

2009-10-18 Thread Jack Widman
yes. I think I found the problem elsewhere in the logic. thanks. On Sun, Oct 18, 2009 at 11:07 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: I think so... Does it compile? On Sun, Oct 18, 2009 at 7:13 PM, jack jack.wid...@gmail.com wrote: Does this code look ok? def

[Lift] How to set uniqueFieldId

2009-10-18 Thread sunanda
Hi, How to set the uniqueFieldId for a mapper. Following is the sample code how I set the uniqueFieldId. object colpos extends MappedInt(this){ override def validations = checkForColPos _ :: super.validations override def uniqueFieldId=Full(abc) def checkForColPos(pos:Int) = {

[Lift] Re: How to set uniqueFieldId

2009-10-18 Thread Naftoli Gugenheim
Try fld.uniqueFieldId openOr n/a On Sun, Oct 18, 2009 at 11:19 PM, sunanda sunanda.pa...@gmail.com wrote: Hi, How to set the uniqueFieldId for a mapper. Following is the sample code how I set the uniqueFieldId. object colpos extends MappedInt(this){ override def validations =

[Lift] Re: How to set uniqueFieldId

2009-10-18 Thread sunanda
Hi Naftoli, Thank you so much. It works now. Sunanda On Oct 19, 2:28 pm, Naftoli Gugenheim naftoli...@gmail.com wrote: Try fld.uniqueFieldId openOr n/a On Sun, Oct 18, 2009 at 11:19 PM, sunanda sunanda.pa...@gmail.com wrote: Hi, How to set the uniqueFieldId for a mapper. Following

[Lift] Re: Scala and Eclipse

2009-10-18 Thread Naftoli Gugenheim
I use Lift in Eclipse with m2eclipse. I create the projects from within Eclipse. On Sun, Oct 18, 2009 at 12:01 AM, johncch john...@gmail.com wrote: We have a large multi-module project that includes scala in a few key artifacts and things are going somewhat smoothly. However, I think most