[Lift] Re: has anyone seen this exception?

2009-08-27 Thread Ross Mellgren
That error sounds like it's probably that the remote server is disconnecting prematurely, or is not handling Transfer-Encoding: Chunked as HttpURLConnection expects. Have you tried getting whatever URL it's trying with wget or curl? -Ross On Aug 27, 2009, at 7:28 PM, Jack Widman wrote: > He

[Lift] Re: Scope issues with CometActors

2009-08-27 Thread Spencer Uresk
That did the trick, and I understand what is going on much better now. Thank you! For some reason my brain is having trouble adjusting to the idea that you can generate more sophisticated markup in Scala code. I'm still used to the world of JSF and the like where all the markup is in a separate (n

[Lift] Re: weirdness with stateful snippets and multiple forms on the page

2009-08-27 Thread David Pollak
Lift's multi-step wizard support is less than optimal. I'm working with some folks to improve the situation and it's part of the 1.1 roadmap. On Thu, Aug 27, 2009 at 1:40 PM, harryh wrote: > > Are stateful snippets considered a good way to do multi-step "wizard" > like interfaces? They seem li

[Lift] Re: has anyone seen this exception?

2009-08-27 Thread Jack Widman
Great. Thanks David. I'll try that. On Fri, Aug 28, 2009 at 12:27 AM, David Pollak < feeder.of.the.be...@gmail.com> wrote: > I'd suggest that you use > import net.liftweb.util.Helpers._ > > def streamToString(stream: InputStream) = new > String(readWholeStream(stream), "UTF-8") > > See if that ma

[Lift] Re: Ajax in ToDo application hanging

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 6:24 PM, Dorinel wrote: > > Is there a way to update ToDo application to use 1.1-SNAPSHOT? Edit your pom.xml file. Change the Scala version to 2.7.5. Change the net.liftweb dependencies to 1.1-SNAPSHOT and make sure the tag contains: scala-tools.org.snapsh

[Lift] Re: has anyone seen this exception?

2009-08-27 Thread David Pollak
I'd suggest that you use import net.liftweb.util.Helpers._ def streamToString(stream: InputStream) = new String(readWholeStream(stream), "UTF-8") See if that makes things better. On Thu, Aug 27, 2009 at 4:28 PM, Jack Widman wrote: > Here is the code I am using. The exception is happening at li

[Lift] Re: Ajax in ToDo application hanging

2009-08-27 Thread Dorinel
Is there a way to update ToDo application to use 1.1-SNAPSHOT? On Aug 28, 1:38 am, David Pollak wrote: > On Thu, Aug 27, 2009 at 3:19 PM, Dorinel wrote: > > > It's great! > > By the way, by default ToDo application runs on 1.1-SNAPSHOT? > > I think it uses 1.0 by default... but I prefer 1.1-SNA

[Lift] Re: has anyone seen this exception?

2009-08-27 Thread Jack Widman
Here is the code I am using. The exception is happening at line 12, the line that goes line = br.readLine() The exception is happening alot. Any ideas? package com.authoritude.snippet import java.io.{InputStreamReader, BufferedInputStream, BufferedRea

[Lift] Using Lift to build a Web Service and the PUT HTTP method??

2009-08-27 Thread Alan M
I'm trying to use PUT with Lift and it seems to be working, except I can't find the content I put. I'm using jQuery on the front end (a custom front-end) and firebug seems to think the data gets sent. Although it doesn't show me the raw request, it adds a PUT tab that shows the key and value(I co

[Lift] authentication and access control

2009-08-27 Thread Chris Lewis
Lift users, I'm curious what you all are using for user access control (Mapper users excluded). I'm seriously evaluating lift for a project that will use JPA. My full time job uses Spring Security, which while nice in that it stays out of the way, is too clunky for my tastes. I haven't disse

[Lift] Re: Newbie Question design pattern for ORM in Lift

2009-08-27 Thread rstradling
git clone git://github.com/rstradling/DDLtoLiftORM.git is the location of the git code. http://github.com/rstradling/DDLtoLiftORM is the web address I hope this is helpful to others. On Aug 27, 3:13 pm, rstradling wrote: > Thanks for the answers everyone.  What David hit upon about wanting >

[Lift] Re: Scope issues with CometActors

2009-08-27 Thread David Pollak
The optional name attribute allows you to have different comet actor names (e.g., one per person). You can retrieve the CometActor's name via the name method, which returns a Box[String]. In your CometActor, make sure to: override def lifespan = Full(5 minutes) This will make the particular Co

[Lift] Fwd: [dpp/liftweb] 4bc64d: Stateful snippets work correctly with empty result...

2009-08-27 Thread David Pollak
Fix to the empty stateful snippet form issue. -- Forwarded message -- From: Date: Thu, Aug 27, 2009 at 8:06 PM Subject: [dpp/liftweb] 4bc64d: Stateful snippets work correctly with empty result... To: feeder.of.the.be...@gmail.com Branch: refs/heads/master Home: http://github.c

[Lift] Re: Modularization of Lift code

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 2:00 PM, glenn wrote: > > David, > > Besides the very detailed discussion here about the problems of Boot > initialization > and the immutability of sitemap and liftrules, that strikes me as a > sufficient > barrier to real modularization. Are you talking about modulariz

[Lift] Scope issues with CometActors

2009-08-27 Thread Spencer Uresk
Hey all, I'm trying to build an app that takes advantage of the Comet support in Lift. This is a simple app that displays all messages from a given person and shows new messages as they are added. At first, I struggled with trying to pull the request parameter (the url looks like this - /person/1)

[Lift] Re: Small wiki contribution for log4j configuration

2009-08-27 Thread Richard Dallaway
Thanks David, Thanks Tim I've added the page, and also copied over what appears to be relevant from the old wiki page. http://wiki.github.com/dpp/liftweb/how-to-configure-logging Right: back to some coding now... Cheers Richard On Thu, Aug 27, 2009 at 5:34 PM, Timothy Perrett wrote: > > > Look

[Lift] Re: Ajax in ToDo application hanging

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 3:19 PM, Dorinel wrote: > > It's great! > By the way, by default ToDo application runs on 1.1-SNAPSHOT? I think it uses 1.0 by default... but I prefer 1.1-SNAPSHOT because it's got the most developer-friend features. > > > On Aug 27, 9:45 pm, David Pollak > wrote: > >

[Lift] Re: Contributing to Lift

2009-08-27 Thread Timothy Perrett
Without doubt the most accesible way would be with writing wiki articles... We really lack documentation. Provided you have a github account you can get cracking straight away :-) Cheers, Tim Sent from my iPhone On 27 Aug 2009, at 17:41, Tim Dion wrote: > > Hi all, > > I am a Smalltal

[Lift] weirdness with stateful snippets and multiple forms on the page

2009-08-27 Thread harryh
Are stateful snippets considered a good way to do multi-step "wizard" like interfaces? They seem like a good fit, but I'm running into 1 annoying problem. I'm seeting things up so in my .html file I have something like this: // HTML for step 1 // HTML for step 2 Then in the MyPage Stat

[Lift] Re: Modularization of Lift code

2009-08-27 Thread glenn
David, Besides the very detailed discussion here about the problems of Boot initialization and the immutability of sitemap and liftrules, that strikes me as a sufficient barrier to real modularization. I hadn't thought about turning reuseable code into traits and assigning those around in jar fil

[Lift] Re: Contributing to Lift

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 9:41 AM, Tim Dion wrote: > > Hi all, > > I am a Smalltalker, looking to transition into Scala and Lift. Welcome. > How can > I contribute to Lift? Initially by asking questions and then helping to document the answers on the wiki. Then by answering the questions of

[Lift] Re: Lift Record Documentation

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 11:48 AM, inca wrote: > > Ok, thanks. Another question then. As far as I can see from sources, > basic KeyedRecord trait depends on some Mapper classes. Does Record > use Mapper for JDBC operations under the covers? Yes. > > > On 27 авг, 01:25, Timothy Perrett wrote: >

[Lift] Re: Newbie Question design pattern for ORM in Lift

2009-08-27 Thread Naftoli Gugenheim
How do you auto-generate them? On Thu, Aug 27, 2009 at 1:03 PM, rstradling wrote: > > I am using Lift 1.0 with the Mapper ORM module from Lift. I am a > newbie to Scala and Lift. I have auto-generated my ORM classes from > a .sql file. Given that these classes are auto-generated I would > pref

[Lift] Re: Newbie Question design pattern for ORM in Lift

2009-08-27 Thread Naftoli Gugenheim
You could try making StatGenerated a trait and either extending LongKeyedMapper or using a self type, and experiment with the fields as objects in the trait or just defs that you override either with the object (the actual field), or with an implementation that points to the field.Subclassing Mappe

[Lift] Re: Ajax in ToDo application hanging

2009-08-27 Thread Dorinel
It's great! By the way, by default ToDo application runs on 1.1-SNAPSHOT? On Aug 27, 9:45 pm, David Pollak wrote: > I've reproduced and fixed this issue. > > Thanks for reporting it. > > On Thu, Aug 27, 2009 at 9:13 AM, David Pollak > > > > wrote: > > I'm running tests from Firefox running loca

[Lift] lift request param

2009-08-27 Thread DavidV
For the laboratory website I am building I need to keep track of batches of samples as they are being processed, and would like to do so with a request parameter in the URL. Right now, I am manually adding this parameter to every link: object batch extends MappedLong(this) { override def dis

[Lift] Re: (beginner question) Liftweb View folder

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 9:49 AM, Daniel Nelson wrote: > Hello, > > *Problem* > I'm new to Lift/Scala and trying to understand/experiment with Lift's View > folder. I've not gotten past a 404 error on the browser (as it relates to > the View folder; templates render fine). I'd suggest using Lif

[Lift] Re: Multiple sites, same login

2009-08-27 Thread Charles F. Munat
This is good to know about. Thanks! Marc Boschma wrote: > Maybe https://opensso.dev.java.net/ might be of interest? Might also > be a bit of work... > > Marc > > On 26/08/2009, at 2:53 AM, Charles F. Munat wrote: > >> Now this is an interesting idea. I'll think about it... >> >> Thanks! >> >

[Lift] Re: Ext.Direct

2009-08-27 Thread Charles F. Munat
I haven't used Ext.Direct yet, but I am currently building a site (three sites, really) that uses Ext JS 3.0 for the front end. One site is essentially a CRUD app. The back end is a PostgreSQL database. The middle layer is a Lift app that uses JPA/Hibernate to access the database. It provides

[Lift] Re: Something you might find useful: easy lazy loading of page sections

2009-08-27 Thread Charles F. Munat
Nice! David Pollak wrote: > This is nifty... I think it's worthy of inclusion in Lift. Thanks for > the suggestion! > > On Wed, Aug 26, 2009 at 2:44 PM, harryh > wrote: > > > Let's say you have a bit of a page like so: > > > > > > Now, let'

[Lift] Re: has anyone seen this exception?

2009-08-27 Thread David Pollak
This happens sometimes when the client disconnects before the communications with the server is complete. I see them from time to time and they indicate to me that the Internet is a random place. On Thu, Aug 27, 2009 at 12:06 PM, jack wrote: > > Has anyone seen this error? I get it while transf

[Lift] Contributing to Lift

2009-08-27 Thread Tim Dion
Hi all, I am a Smalltalker, looking to transition into Scala and Lift. How can I contribute to Lift? Thanks, Tim Dion http://www.linkedin.com/pub/tim-dion-csdp/1/785/208 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[Lift] Re: Lift Record Documentation

2009-08-27 Thread inca
Ok, thanks. Another question then. As far as I can see from sources, basic KeyedRecord trait depends on some Mapper classes. Does Record use Mapper for JDBC operations under the covers? On 27 авг, 01:25, Timothy Perrett wrote: > Its not the primary ORM at the moment. Although, its developing, an

[Lift] Re: Lift & transactions

2009-08-27 Thread David Pollak
On Wed, Aug 26, 2009 at 4:03 AM, Jeppe Nejsum Madsen wrote: > > Hi, > > I'm using POJT (plain old JDBC transactions :-) with a single db. I > would like to: > > 1) Manually rollback changes if some validations fail > 2) Have the tx rolled back if an error happens > > > > I think 1) can be achiev

[Lift] Re: Newbie Question design pattern for ORM in Lift

2009-08-27 Thread rstradling
Thanks for the answers everyone. What David hit upon about wanting objects to be subclassible is the conclusion I came to that would work..if it existed. I was hoping there was a way. :(. Well, I guess Naftoli has provided a possible solution but seems more involved than I have the experience f

[Lift] has anyone seen this exception?

2009-08-27 Thread jack
Has anyone seen this error? I get it while transforming a Stream into a String. The stream is from an http request I just made. Message: java.io.IOException: Premature EOF sun.net.www.http.ChunkedInputStream.readAheadBlocking (ChunkedInputStream.java:556) sun.net.www.http.ChunkedI

[Lift] Re: Modularization of Lift code

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 11:22 AM, glenn wrote: > > David, > > Returning menu items from your init function is OK, but forces the > user > of your module to guess on function-call order I don't understand... what function call order are you talking about? The order in which the modules are init

[Lift] Re: Ajax in ToDo application hanging

2009-08-27 Thread David Pollak
I've reproduced and fixed this issue. Thanks for reporting it. On Thu, Aug 27, 2009 at 9:13 AM, David Pollak wrote: > I'm running tests from Firefox running locally, Chrome running locally and > Safari running remotely to see if I can reproduce the issue (I'm running > against Lift 1.1-SNAPSHOT

[Lift] Re: Small wiki contribution for log4j configuration

2009-08-27 Thread Timothy Perrett
Looks great to me! Add it to the lift wiki with the prefix "How To:" as that follows our convention. Cheers, Tim On 27/08/2009 15:56, "Richard Dallaway" wrote: > > What's the protocol for making a Wiki contribution: just go in and do it? > > Turns out I'm not that brave. I've pulled togeth

[Lift] Re: Small wiki contribution for log4j configuration

2009-08-27 Thread David Pollak
Richard, Our new wiki is at http://wiki.github.com/dpp/liftweb You're encouraged to copy stuff from the old wiki to the new wiki and update content that's out of date and enhance any content. Thanks, David On Thu, Aug 27, 2009 at 7:56 AM, Richard Dallaway wrote: > > What's the protocol for ma

[Lift] Re: Modularization of Lift code

2009-08-27 Thread glenn
Pardon, This may be more of an issue with Scala, not Lift. So, I apologize for polluting this group. I suppose I will have to live with imperfect modularization capabilities, and be sure to include the source with anything meant to be reused. Glenn... On Aug 27, 11:22 am, glenn wrote: > David,

[Lift] Re: Modularization of Lift code

2009-08-27 Thread glenn
David, Returning menu items from your init function is OK, but forces the user of your module to guess on function-call order, or be forced to glean it from the source, which he should not be required to do. Putting code such as this, instead, in your init function helps, but does not eliminate

[Lift] Re: 1.1-SNAPSHOT issue?

2009-08-27 Thread E. Biggs
Many 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

[Lift] Overriding widgets stylesheets

2009-08-27 Thread Marius
Someone encountered the problem where he couldn't override the stylesheet used by some widget. Damn I can't find any more that thread ... Anyways here it is: 1. Include the widget in your application say monthview. 2. The url to the stylesheet is: /classpath/calendars/monthview/ style.css 3. In

[Lift] Re: SparkLines broken in 1.1-SNAPSHOT

2009-08-27 Thread David Pollak
Fixed. Thanks! On Wed, Aug 26, 2009 at 10:28 PM, jon wrote: > > Hi, > > Looks like the JS is being double escaped. > > Changed following methods to fix: > > def onLoad(id: String, graphStyle: SparklineStyle.Value, data: > JsArray, opts: JsObj) : NodeSeq = { > >

[Lift] Re: Ajax in ToDo application hanging

2009-08-27 Thread David Pollak
I'm running tests from Firefox running locally, Chrome running locally and Safari running remotely to see if I can reproduce the issue (I'm running against Lift 1.1-SNAPSHOT) On Thu, Aug 27, 2009 at 4:38 AM, Dorinel wrote: > > I was implementing application from > http://liftweb.net/docs/getting

[Lift] Re: Newbie Question design pattern for ORM in Lift

2009-08-27 Thread rstradling
With a parser combinator I wrote to parse .sql and it outputs scala orm files. Please note it is very specific to my needs (i.e. only works with certain grammars (INSERTS) but that particular grammar is all I needed to process at the time) but is written in a way that could be extended to the ful

[Lift] Newbie Question design pattern for ORM in Lift

2009-08-27 Thread rstradling
I am using Lift 1.0 with the Mapper ORM module from Lift. I am a newbie to Scala and Lift. I have auto-generated my ORM classes from a .sql file. Given that these classes are auto-generated I would prefer not to edit them directly and provide additional functionality via inheritance. Say I have

[Lift] (beginner question) Liftweb View folder

2009-08-27 Thread Daniel Nelson
Hello, *Problem* I'm new to Lift/Scala and trying to understand/experiment with Lift's View folder. I've not gotten past a 404 error on the browser (as it relates to the View folder; templates render fine). *Background/Environment* I've been reading "Exploring Lift" (~Section 3.7) along with "Wh

[Lift] Re: Props.userName minor minor minor suggestion

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 7:07 AM, Richard Dallaway wrote: > > As Props.userName is public, it would be good if it didn't include a > trailing "." in the return value. I see why it does for use in toTry > but as a user of Lift it was a surprise to ask for Props.userName and > see the "." on the end

[Lift] Re: GAE (google apps engine) Lift Eclipse Setup

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 7:49 AM, Andreas wrote: > > Hi, > > I have a working GAE Scala Eclipse setup based on: > > http://penguinparens.blogspot.com/2009/04/further-steps-scalagwtapp-engineeclipse.html > > How do I integrate the Lift framework from: > http://github.com/ymnk/liftweb/tree/master >

[Lift] Re: some questions on lift

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 6:08 AM, surfman wrote: > > I am totally new and interested in scala & lift. what I have is a > little Java knowledge. Aftering reading to-do application at the > website, I got the following questions: > > 1) where and how to setup database? the tutorial never mentions >

[Lift] Small wiki contribution for log4j configuration

2009-08-27 Thread Richard Dallaway
What's the protocol for making a Wiki contribution: just go in and do it? Turns out I'm not that brave. I've pulled together the start of a logging wiki entry, just covering what is (for me) the common case. I've put it here for the moment... http://github.com/d6y/brightontide/wikis/configuring

[Lift] Re: some questions on lift

2009-08-27 Thread Timothy Perrett
HAHA - indeed I do... I've written so many articles on lift now I forget what stuff is in the bag ;-) Perhaps this will also be helpful: http://is.gd/sfyT To be honest, ive not done a great deal with Mapper so someone else will have to help you there (I usually use JPA) Cheers, Tim On 27/08

[Lift] GAE (google apps engine) Lift Eclipse Setup

2009-08-27 Thread Andreas
Hi, I have a working GAE Scala Eclipse setup based on: http://penguinparens.blogspot.com/2009/04/further-steps-scalagwtapp-engineeclipse.html How do I integrate the Lift framework from: http://github.com/ymnk/liftweb/tree/master thanks Andreas --~--~-~--~~~---~--~--

[Lift] Props.userName minor minor minor suggestion

2009-08-27 Thread Richard Dallaway
As Props.userName is public, it would be good if it didn't include a trailing "." in the return value. I see why it does for use in toTry but as a user of Lift it was a surprise to ask for Props.userName and see the "." on the end. The same applies for Props.hostName (even though there's S.hostN

[Lift] Re: some questions on lift

2009-08-27 Thread surfman
Wow! so quick reply. Thanks Tim!. I am going to look at it. How about other concerns? --~--~-~--~~~---~--~~ 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

[Lift] Re: 1.1-SNAPSHOT issue?

2009-08-27 Thread David Pollak
Thanks. Added a test. Lift failed the test. Fixed Lift. Pushed the source to GitHub. On Thu, Aug 27, 2009 at 12:15 AM, E. Biggs wrote: > > Ok here's the problem stripped down. The merge happens but the > node isn't being removed from the body > Let me know if you'd like it in some other for

[Lift] Re: some questions on lift

2009-08-27 Thread Timothy Perrett
Checkout my article here on how to localize with Lift: http://is.gd/1NXGN Cheers, Tim On 27/08/2009 14:08, "surfman" wrote: > 3) internationalization support. how does lift support this? --~--~-~--~~~---~--~~ You received this message because you are subscri

[Lift] Re: some questions on lift

2009-08-27 Thread marius d.
Tim has a magic articles bag :) On Aug 27, 4:20 pm, Timothy Perrett wrote: > Checkout my article here on how to localize with Lift:  http://is.gd/1NXGN > > Cheers, Tim > > On 27/08/2009 14:08, "surfman" wrote: > > > 3) internationalization support. how does lift support this? --~--~-~--

[Lift] Re: about QueryParams

2009-08-27 Thread David Pollak
On Thu, Aug 27, 2009 at 2:12 AM, XiaomingZheng wrote: > > there are two kinds of QueryParams in Lift, one uses raw sql clauses > and the other not. My question is, when using the raw sql clauses, the > security must be checked by programmer self, and declare safety by > IHaveValidatedThisSQL, but

[Lift] some questions on lift

2009-08-27 Thread surfman
I am totally new and interested in scala & lift. what I have is a little Java knowledge. Aftering reading to-do application at the website, I got the following questions: 1) where and how to setup database? the tutorial never mentions database setup, 2) how does lift support database migration?

[Lift] Ajax in ToDo application hanging

2009-08-27 Thread Dorinel
I was implementing application from http://liftweb.net/docs/getting_started/mod_master.html By the way,it's a great tutorial for lift much better than those which were before and it explains a lot of things in comments clearly, thank you for creating it. But when I left the todo application for

[Lift] Re: Bug in MappedEmail: emailPattern is wrong

2009-08-27 Thread Marc Boschma
Your right... I've been thinking about that and how the current mapper only does the regex check.. could always override the validate method... Marc On 27/08/2009, at 6:39 PM, Viktor Klang wrote: > > > On Thu, Aug 27, 2009 at 10:27 AM, Marc Boschma > wrote: > Personally I use: > > "^(?:[a-z0-9

[Lift] Re: error in http authetication and openid

2009-08-27 Thread Timothy Perrett
Please check: http://is.gd/2BwGf Can you check your code looks like that and if your still getting the problem? Cheers, Tim On 27/08/2009 11:34, "iboy" wrote: > > Hi all > i am new to scala and lift. > while trying to do a sample project i tried to use httpauthentication > code given in li

[Lift] error in http authetication and openid

2009-08-27 Thread iboy
Hi all i am new to scala and lift. while trying to do a sample project i tried to use httpauthentication code given in liftbook (7.14 authentication example) and i am getting following errors a) while using import auth._ error: value auth not found if i try using _root_.net.liftweb.http.auth._

[Lift] about QueryParams

2009-08-27 Thread XiaomingZheng
there are two kinds of QueryParams in Lift, one uses raw sql clauses and the other not. My question is, when using the raw sql clauses, the security must be checked by programmer self, and declare safety by IHaveValidatedThisSQL, but when using the now raw methods, does Lift framework checks safet

[Lift] Re: Bug in MappedEmail: emailPattern is wrong

2009-08-27 Thread Viktor Klang
On Thu, Aug 27, 2009 at 10:27 AM, Marc Boschma > wrote: > Personally I use: > > > "^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9

[Lift] Re: Tomcat css access problem

2009-08-27 Thread Jefken De Vleesetenden Boterham
Hi, I see... I use url rewriting as well, but I didn't know about the CSSHelper function! I just constructed my own link using the S.hostAndPath function to dynamically create an absolute path. I'll try out the CSSHelper function and see what I can find! Thanks, Philippe On Thu, Aug 27, 200

[Lift] Re: Bug in MappedEmail: emailPattern is wrong

2009-08-27 Thread Marc Boschma
Personally I use: "^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-] +)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01- \x09\x0b\x0c\x0e-\x7f])*")@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a- z0-9](?:[a-z0-9-]*[a-z0-9])?$" Marc On 27/08/2009, at 9:32 AM, David Pol

[Lift] Re: Ext.Direct

2009-08-27 Thread Timothy Perrett
I think Chas is working with Ext.JS However, because of licensing with ExtJS we cannot "integrate" it into lift. Cheers, Tim On 27/08/2009 03:56, "Naftoli Gugenheim" wrote: > > Has anyone used lift with Ext.JS forms/Ext.Direct? > > > P.S. It would be neat if it could interact with Lift

[Lift] Re: 1.1-SNAPSHOT issue?

2009-08-27 Thread E. Biggs
Ok here's the problem stripped down. The merge happens but the node isn't being removed from the body Let me know if you'd like it in some other format. templates-hidden/outer.html: inner.html: Inner renders: Inner Inner

[Lift] Re: Multiple sites, same login

2009-08-27 Thread Marc Boschma
Maybe https://opensso.dev.java.net/ might be of interest? Might also be a bit of work... Marc On 26/08/2009, at 2:53 AM, Charles F. Munat wrote: > > Now this is an interesting idea. I'll think about it... > > Thanks! > > Chas. > > David Pollak wrote: >> >> >> On Mon, Aug 24, 2009 at 3:23 PM,

[Lift] Re: 1.1-SNAPSHOT issue?

2009-08-27 Thread Jeppe Nejsum Madsen
David Pollak writes: > I've just pushed a new version live that will behave more gracefully if the > xsd cannot be loaded. I haven't looked at the new validation code, but if it fetches the DTD directly from the URL, we might consider using a local copy for a number of reasons: 1) It doesn't c

[Lift] Re: Tomcat css access problem

2009-08-27 Thread Yousry Abdallah
Hi, your suggestion didn't work for me because I'm using url-rewrite in my application. Something like http://...application/parameterA/ http://...application/parameterA/parameterB/ Therefore the relative path wouldn't match. The CSSHelper function fixes the absolute path. This is importan