[Lift] Re: How to correctly use MappedDateTime

2009-03-23 Thread Derek Chen-Becker
I think the reason that it's set to midnight is because when the date parser parses a date with only the MM/dd/ format string, it sets HMS to zeros. Derek On Sun, Mar 22, 2009 at 8:52 AM, tclendenen tim...@hotmail.com wrote: Except for the todo:deadline I added to index.html, I believe

[Lift] Re: scalajpa not in maven repo

2009-03-23 Thread Derek Chen-Becker
My apologies. I should have cleaned out my local Maven repo before building the demo app. I'll fix that in source and push a new version. Also, you're correct that it should probably be labeled as a demo archetype rather than a basic archetype. In the interest of making it useful for everyone I'll

[Lift] What does everyone want in a basic JPA archetype?

2009-03-23 Thread Derek Chen-Becker
As was recently pointed out, the current JPA archetype is really more of a demo site (built on the JPA demo site under liftweb/sites, actually), so it might be nice to provide a more bare-bones version. What would people like to see for a basic, hit-the-ground-running archetype for JPA? Derek

[Lift] Re: How to correctly use MappedDateTime

2009-03-23 Thread Derek Chen-Becker
on the Java side of things is not causing the issue, so I will look into that further. On Mar 23, 4:30 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: I think the reason that it's set to midnight is because when the date parser parses a date with only the MM/dd/ format string, it sets HMS

[Lift] Re: Schema management with JPA

2009-03-21 Thread Derek Chen-Becker
Well. I think it depends. I know that if you use the hibernate provider that you can set a property to automatically create/update the schema when it runs. You can look at the JPA Demo site in the Lift repo:

[Lift] Re: Menu widget

2009-03-21 Thread Derek Chen-Becker
Awesome! It looks like you did end up having to essentially duplicate the code in the builtin Menu.builder snippet method to get this working. When I was looking at it I thought that it might be nice to have a general way of making the builtin Menu snippet just render the whole tree in case anyone

[Lift] Re: Menu widget

2009-03-21 Thread Derek Chen-Becker
this as being necessary. Nonetheless if there are compelling reasons to do so I'd like to know them. ... I like things do be decoupled and SIteMap is expressive enough to represent it in so many ways, Br's, Marius On Mar 21, 3:51 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Awesome

[Lift] Re: Menu widget

2009-03-21 Thread Derek Chen-Becker
application context whereas SiteMap is typically only one. But by all means don't let me stay in your way:) If you are implementing this in SIteMap then perhaps you should make both Menu built in snippet and MenuWidget to use it? Br's, Marius On Mar 21, 5:41 pm, Derek Chen-Becker dchenbec

[Lift] Re: Mapper to Record ORM

2009-03-20 Thread Derek Chen-Becker
There's no real reason to make it go away even when we have Record, so you can safely use it. Derek 2009/3/20 Mateusz Fiołka mateusz.fio...@gmail.com As far as I remember David said once, that Mapper will be anyway a part of Lift and it will be not deprecated. Regards, Mateusz On Thu,

[Lift] Re: horizontal navbar drop-downs

2009-03-20 Thread Derek Chen-Becker
. Derek Chen-Becker wrote: That's awesome. Are there restrictions that would prevent us from just including the superfish script file (and CSS) as part of a widget? It looks like it wants ULs anyways, which is what Lift already outputs. From what DPP said, it should be easy to dump the entire

[Lift] Re: Book Announcement: Exploring Lift: Scala-based Web Framework

2009-03-20 Thread Derek Chen-Becker
the Scala programming language to offer an innovative approach to creating web applications. Lift provides enormous flexibility and functionality while keeping your code simple. Exploring Lift is brought to you by Derek Chen-Becker, Marius Danciu, and Tyler Weir, three committers on the Lift

[Lift] Re: [Lift committers] Welcome Charles Munat to the Lift committers

2009-03-20 Thread Derek Chen-Becker
Glad to have you aboard! Derek On Fri, Mar 20, 2009 at 1:49 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I am pleased to welcome Charles Munat to the list of Lift committers. Now, many of you, including some other Lift committers, look at Charles' contribution to Lift and

[Lift] Re: Getting Started HTML Has Rogue Tildas

2009-03-20 Thread Derek Chen-Becker
Wow. I totally missed that. Unfortunately, I'm not very familiar with tex4ht, so I really need to dig into that to figure out what the heck is going on there. From what I can tell, it's only doing it for code listings. Are you seeing it anywhere else? Derek On Fri, Mar 20, 2009 at 2:59 PM,

[Lift] Re: Redirecting a user from Comet Actor

2009-03-19 Thread Derek Chen-Becker
This is off the top of my head (no code test), but could you return a net.liftweb.http.js.JsCmds.RedirectTo To the client via the partialRender or render methods on the CometActor? That would fire a client-side window.location=... IIRC. Derek On Thu, Mar 19, 2009 at 3:20 AM, Timothy Perrett

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
This is something that has been asked before, but I don't think there was anything out there. I think that this would be a really nice feature, particularly if it could leverage the existing jQuery stuff. IIRC, the built-in Menu snippet doesn't render children at all unless the parent is the

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
wondering if we shouldn't provide this by the means of a Lift widget. Looks like a needed feature ... WDYT ? Sounds good to me. Br's, Marius On Mar 19, 6:43 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Mar 19, 2009 at 9:30 AM, Derek Chen-Becker dchenbec

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
Added a ticket for the enhancement: http://liftweb.lighthouseapp.com/projects/26102/tickets/24-create-lift-widget-for-drop-down-menus Derek On Thu, Mar 19, 2009 at 11:59 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Cool! If Dan can share some code that would help, but in any case I don't

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
, Derek Chen-Becker dchenbec...@gmail.com wrote: Added a ticket for the enhancement: http://liftweb.lighthouseapp.com/projects/26102/tickets/24-create-lif... Derek On Thu, Mar 19, 2009 at 11:59 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Cool! If Dan can share some code

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Derek Chen-Becker
. Br's, Marius On Mar 19, 6:43 pm, David Pollak feeder.of.the.be...@gmail.com mailto:feeder.of.the.be...@gmail.com wrote: On Thu, Mar 19, 2009 at 9:30 AM, Derek Chen-Becker dchenbec...@gmail.com mailto:dchenbec...@gmail.comwrote

[Lift] Re: SQL Server Errors

2009-03-18 Thread Derek Chen-Becker
: class MappedText[T:Mapper[T]](val fieldOwner: T) extends MappedField[String, T] Derek On Tue, Mar 17, 2009 at 2:08 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: OK, check out the wip-dcb-datetime branch and test that. It looks like the CLOB object that jTDS returns doesn't override

[Lift] Re: SQL Server Errors

2009-03-18 Thread Derek Chen-Becker
! Doing m.description.is.getClass gives me class java.lang.String. I mean, wtf, which are you? Clob or String! HAHA Thoughts? Tim On Mar 18, 2:05 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Yeah, I saw the varchar(max) definition. I searched around and it looks like TEXT

[Lift] Re: SQL Server Errors

2009-03-18 Thread Derek Chen-Becker
FYI, the datetime fix is merged to master. Derek On Wed, Mar 18, 2009 at 9:16 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Also, as Tim pointed out we may need to change the varchar defs on the SQL Server Driver to nvarchar. There's also the issue of VARCHAR(MAX) (SQL Server 2005 and up

[Lift] Re: Ticket #19 (mail and character encoding)

2009-03-18 Thread Derek Chen-Becker
OK, I tested locally and it works for me. I just pushed to master and it should show up in Hudson soon. Derek On Tue, Mar 17, 2009 at 1:52 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: OK, new code is checked in on wip-dcb-mailer-charset branch. Does anyone have time to test? Derek

[Lift] Re: Where to continue after Getting Started?

2009-03-18 Thread Derek Chen-Becker
your feedback, it's really exciting to get into this new language. I will stick around and let you know how I progress. Anyways, you guys are an amazing help. I really appreciate that. Erik On Mar 17, 4:45 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Over the years I've written a fair

[Lift] Re: XML unescaping

2009-03-17 Thread Derek Chen-Becker
Glad someone caught it :) On Tue, Mar 17, 2009 at 2:32 AM, TylerWeir tyler.w...@gmail.com wrote: scala val title = Catsby amp; Twisp +1 for the Penny Arcade reference. On Mar 16, 8:51 am, Derek Chen-Becker dchenbec...@gmail.com wrote: Well, it may be that the XML output portion of Scala

[Lift] Re: Google Analytics

2009-03-17 Thread Derek Chen-Becker
Can you send the beginning of the XHTML output, up to and including the GA script? Derek On Tue, Mar 17, 2009 at 6:31 AM, Charles F. Munat c...@munat.com wrote: Is anyone else using Google Analytics? I am getting this strange JavaScript error: operation is not supported code: 9 var

[Lift] Ticket #19 (mail and character encoding)

2009-03-17 Thread Derek Chen-Becker
I'm looking at ticket #19: http://liftweb.lighthouseapp.com/projects/26102/tickets/19-mailer-doesnt-handle-plain-text-encoding The setText method is essentially a shortcut for setContent(..., text/plain), but it also allows you to specify the character encoding. Would anyone be opposed to

[Lift] Re: SQL Server Errors

2009-03-17 Thread Derek Chen-Becker
I think the DateTime issue should be fixed pretty easily in MappedDateTime itself. Let me make a new branch and make a minor change. Derek On Tue, Mar 17, 2009 at 12:09 PM, Timothy Perrett timo...@getintheloop.euwrote: *bump* Al, any progress on these? Cheers, Tim On Mar 10, 11:04 am,

[Lift] Re: SQL Server Errors

2009-03-17 Thread Derek Chen-Becker
OK, actually, the change is in SqlServerDriver. I've made the change and I'm running a build before committing. Once I push the branch could you check it out and test? I'm looking at #17 right now, too. Derek On Tue, Mar 17, 2009 at 12:44 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I

[Lift] Re: SQL Server Errors

2009-03-17 Thread Derek Chen-Becker
...@getintheloop.euwrote: Hey Derek, Awesome - thanks. I knew the DataTime one would be a simple fix - I just don't know enough about mapper. #17 is the one thats really hurting me right now... if you could fix that I would be sooo grateful! Cheers, Tim On Mar 17, 6:02 pm, Derek Chen-Becker dchenbec

[Lift] Re: SQL Server Errors

2009-03-17 Thread Derek Chen-Becker
fieldOwner: T) extends MappedField[String, T] Derek On Tue, Mar 17, 2009 at 2:08 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: OK, check out the wip-dcb-datetime branch and test that. It looks like the CLOB object that jTDS returns doesn't override toString to return the contents of the CLOB

[Lift] Re: Ticket #19 (mail and character encoding)

2009-03-17 Thread Derek Chen-Becker
then it should be easy to specify alternatives that can be interpreted. What is the treatment of character encoding in the interface? ie. can I specify base64 or quoted-printable, etc? Marc On 18/03/2009, at 1:23 AM, Derek Chen-Becker wrote: I'm looking at ticket #19: http

[Lift] Re: Ticket #19 (mail and character encoding)

2009-03-17 Thread Derek Chen-Becker
OK, new code is checked in on wip-dcb-mailer-charset branch. Does anyone have time to test? Derek On Tue, Mar 17, 2009 at 2:39 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: This is strictly MIME, so the plain text part of the message will have an explicit charset associated with the text

[Lift] Re: Welcome Lee Mighdoll to the Lift committers

2009-03-17 Thread Derek Chen-Becker
Great to have you along, Lee :) Derek On Tue, Mar 17, 2009 at 9:11 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I'm pleased to welcome Lee Mighdoll to the Lift committers. Lee wrote the brilliant line: Lift is an expressive and elegant framework for writing web

[Lift] Re: Where to continue after Getting Started?

2009-03-16 Thread Derek Chen-Becker
/Message RequestIdC87ED4585A9C1779/RequestId - HostId x0HS/frEu0GSF1QKQJDV0LpKWWhpp7azNbX3V3fYLLWLsMM9yGHAnqocYvh7YBCx /HostId /Error Could you fix this, please TIA Martin Derek Chen-Becker wrote: Tyler, Marius and I are writing a book on Lift. You can access the LyX source (as well

[Lift] Re: XML unescaping

2009-03-16 Thread Derek Chen-Becker
Well, it may be that the XML output portion of Scala is escaping your ampersands a second time. For instance, check out this session in the interpreter: scala val title = Catsby amp; Twisp title: java.lang.String = Catsby amp; Twisp scala val escaped = span{title}/span escaped: scala.xml.Elem =

[Lift] Re: Objections to merging jpa archetype?

2009-03-16 Thread Derek Chen-Becker
the templates-hidden directory still missing from http://github.com/dpp/liftweb/tree/master/lift-archetype-jpa-basic/src/main/resources/archetype-resources/web/src/main/webapp ? Best regards, Silvestre On 16 Mrz., 05:37, Derek Chen-Becker dchenbec...@gmail.com wrote: Darnit. I had

[Lift] Re: Custom Boot Class

2009-03-16 Thread Derek Chen-Becker
I wonder if this is something that broke when we moved to a Filter... Derek On Mon, Mar 16, 2009 at 7:02 AM, Jorge Ortiz jorge.or...@gmail.com wrote: I get the same error, unfortunately. --j On Mon, Mar 16, 2009 at 4:48 AM, Sergey Andreev andser...@gmail.comwrote: Jorge, I am using a

[Lift] Re: why is the lift web framework scalable?

2009-03-16 Thread Derek Chen-Becker
Depending on what your workload and goals are, Lift can scale quite nicely by just adding more boxes as long as you have session affinity (and a load balancer). Derek On Sun, Mar 15, 2009 at 7:34 PM, parag978978 parag978...@gmail.com wrote: I want to know the technical reasons why the lift

[Lift] Re: Starting with Lift on the wiki

2009-03-16 Thread Derek Chen-Becker
Doh. Fixed, but give it a minute to push out to the site. Thanks, Derek On Mon, Mar 16, 2009 at 7:06 AM, Xavi Ramirez xavi@gmail.com wrote: Thanks. The link on liftweb.net under the Jump right in! section should probably be updated. On Mon, Mar 16, 2009 at 12:39 AM, Derek Chen

[Lift] Re: Custom Boot Class

2009-03-16 Thread Derek Chen-Becker
to the filter. :/ On Mon, Mar 16, 2009 at 2:58 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I wonder if this is something that broke when we moved to a Filter... Derek On Mon, Mar 16, 2009 at 7:02 AM, Jorge Ortiz jorge.or...@gmail.comwrote: I get the same error, unfortunately. --j

[Lift] Re: Custom Boot Class

2009-03-16 Thread Derek Chen-Becker
/*/url-pattern /filter-mapping /web-app Fixes it. I'll fix the book. Derek On Mon, Mar 16, 2009 at 9:19 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I think we might have an error in the book. The example you give uses context-param, but I think it needs to be an init-param within

[Lift] Re: !...@#$% Hibernate!

2009-03-16 Thread Derek Chen-Becker
At first glance, you're not operating on the merged object. Merge takes an instance as an argument and returns a *new* copy of that instance that is attached. Model.merge(member) is essentially a NOOP in your code because you're not using the returned, attached instance. In other words, your

[Lift] Re: Where to continue after Getting Started?

2009-03-16 Thread Derek Chen-Becker
Over the years I've written a fair amount of PHP code for in-house applications (enterprise ticket tracking system, network equipment management, etc) and the experience has generally not been great. I think PHP functions very well for compact, well-defined apps, but the lack of structure in the

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Derek Chen-Becker
with this. Thanks. Chas. Derek Chen-Becker wrote: Oops, forgot scala.xml.Unparsed, too: scala val m = spana{ scala.xml.Unparsed(ccedil;) }b/span m: scala.xml.Elem = spanaccedil;b/span That one might be what you're looking for. Derek On Sat, Mar 14, 2009 at 9:57 PM, Derek Chen

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Derek Chen-Becker
May be related? On Sun, Mar 15, 2009 at 7:26 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: OK, I can replicate this in our PocketChange app (also going against a PostgreSQL DB). Let me dig a bit. Derek On Sun, Mar 15, 2009 at 3:58 AM, Charles F. Munat c...@munat.com wrote

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Derek Chen-Becker
I'm not going to have much time to work on this today, so I opened a ticket: http://liftweb.lighthouseapp.com/projects/26102/tickets/20-utf-8-form-submission-broken in case anyone else wants to look at it. Derek On Sun, Mar 15, 2009 at 8:08 AM, Derek Chen-Becker dchenbec...@gmail.comwrote

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Derek Chen-Becker
to Latin 1 going on. Hopefully that helps some what... Regards, Marc On 16/03/2009, at 1:08 AM, Derek Chen-Becker wrote: This is really interesting. I've narrowed it down to something on form submission. The database shows gibberish, too, and if I manually enter the correct value

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Derek Chen-Becker
and have it come out the same way it went in. I have no idea how to accomplish this, however, as I don't know how that part of Lift works. Chas. Derek Chen-Becker wrote: The scala XML syntax automatically converts any in embedded strings to amp;. You have to put the string inside

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Derek Chen-Becker
E7 00 E7 C3 A7 ç à is C38C, § is C2 A7 à is C383 So it appears that somewhere there is a translation to Latin 1 going on. Hopefully that helps some what... Regards, Marc On 16/03/2009, at 1:08 AM, Derek Chen-Becker wrote: This is really interesting

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Derek Chen-Becker
On Sun, Mar 15, 2009 at 2:57 PM, Charles F. Munat c...@munat.com wrote: Oh, sorry, Derek. My bad. I didn't mean to imply that you were saying that the situation was optimal. I understood where you were coming from. Actually, I wasn't really addressing your comment after my first sentence. I

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Derek Chen-Becker
Crapola: http://jira.codehaus.org/browse/JETTY-958 I think I've confirmed that this is not lift. I added a non-lift input text element to an existing lift form: input name=testthis type=text / Then I use the following code, which I believe should be getting direct access to Jetty's

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Derek Chen-Becker
that a try and let me know if it works. Thanks, David On Sun, Mar 15, 2009 at 1:26 PM, Derek Chen-Becker dchenbec...@gmail.com mailto:dchenbec...@gmail.com wrote: OK, I can replicate this in our PocketChange app (also going against a PostgreSQL DB). Let me dig a bit

[Lift] Re: Where to continue after Getting Started?

2009-03-15 Thread Derek Chen-Becker
Tyler, Marius and I are writing a book on Lift. You can access the LyX source (as well as a few builds of the PDF) here: http://github.com/tjweir/liftbook/tree/master We hope to have something more formal soon. Derek On Sun, Mar 15, 2009 at 6:29 AM, erik.fris...@googlemail.com

[Lift] Re: Archetype Compile Problems

2009-03-15 Thread Derek Chen-Becker
jar i got CRC-Errors. The maven-compiler.jar was corrupted so i got the error messages. No idea where this corrupted file was downloaded, but I deleted it, recompiled and everything works perfect. Now I can start :) On 13 Mrz., 15:11, Derek Chen-Becker dchenbec...@gmail.com wrote: Yes

[Lift] Re: Objections to merging jpa archetype?

2009-03-15 Thread Derek Chen-Becker
the default.html is cribbed from the basic archetype anyway. Cheers, Derek On Sun, Mar 15, 2009 at 10:24 AM, Silvestre Zabala silves...@zabala.namewrote: Derek Chen-Becker wrote: OK, it built and deployed. I just confirmed that you can create it with: mvn archetype:generate

[Lift] Re: Starting with Lift on the wiki

2009-03-15 Thread Derek Chen-Becker
Maybe, but in any case that's the old link. The newest version is at http://liftweb.net/docs/getting_started.html In both PDF and HTML. Derek On Sun, Mar 15, 2009 at 1:51 PM, Xavi Ramirez xavi@gmail.com wrote: Hello, Would you guys be amenable to adding Starting with Lift

[Lift] Re: Upgrading from lift 0.8 to lift 1.0

2009-03-14 Thread Derek Chen-Becker
In out PocketChange app: http://github.com/tjweir/pocketchangeapp/tree/master The only thing we do in Boot is append the user Menus (User.siteMap) for SiteMap: LiftRules.setSiteMap(SiteMap(MenuInfo.menu :_*)) ... object MenuInfo { import Loc._ val IfLoggedIn = If(() =

[Lift] Re: Slash and burn

2009-03-13 Thread Derek Chen-Becker
Hmmm. I thought that this was what normally happened with most web servers (Jetty included). Are you using SiteMap, by any chance? What is the difference that you see between a response for /page and /page/ ? Derek On Fri, Mar 13, 2009 at 4:33 AM, Charles F. Munat c...@munat.com wrote: It

[Lift] Objections to merging jpa archetype?

2009-03-13 Thread Derek Chen-Becker
Would anyone like to look at the jpaarchetype branch before I merge it? 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

[Lift] Re: Objections to merging jpa archetype?

2009-03-13 Thread Derek Chen-Becker
] : org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Failed to generate project from the old archetype Failed to generate project from the old archetype On Fri, Mar 13, 2009 at 9:09 AM, Derek Chen-Becker dchenbec...@gmail.com wrote: Would anyone like to look at the jpaarchetype branch before I merge

[Lift] Re: Objections to merging jpa archetype?

2009-03-13 Thread Derek Chen-Becker
archetypeGroupId${project.groupId}/archetypeGroupId After that, the archetype installed and I was able to generate it correctly. I have not yet tested the resulting application, though. Kris On Fri, Mar 13, 2009 at 9:46 AM, Derek Chen-Becker dchenbec...@gmail.com wrote: de...@rocky:/home

[Lift] Re: Objections to merging jpa archetype?

2009-03-13 Thread Derek Chen-Becker
Actually, I see that you did that against git. Can you commit your changes? Thanks, Derek On Fri, Mar 13, 2009 at 11:40 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Ah, I think I missed that part of the POM. Let me fix that and commit the changes and then we can re-test. Thanks

[Lift] Re: Slash and burn

2009-03-13 Thread Derek Chen-Becker
that help? Cheers, Tim Sent from my iPhone On 13 Mar 2009, at 14:27, Derek Chen-Becker dchenbec...@gmail.com wrote: Hmmm. I thought that this was what normally happened with most web servers (Jetty included). Are you using SiteMap, by any chance? What is the difference that you see between

[Lift] Re: Objections to merging jpa archetype?

2009-03-13 Thread Derek Chen-Becker
generate, correct? Derek On Fri, Mar 13, 2009 at 12:01 PM, Kris Nuttycombe kris.nuttyco...@gmail.com wrote: Done. On Fri, Mar 13, 2009 at 10:41 AM, Derek Chen-Becker dchenbec...@gmail.com wrote: Actually, I see that you did that against git. Can you commit your changes? Thanks

[Lift] Re: Slash and burn

2009-03-13 Thread Derek Chen-Becker
that should all be cool? Cant think of a good reason why this wouldnt work anyway :-) Cheers, Tim On Mar 13, 4:57 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: I think I was confusing this with some other behavior of SiteMap, hence my question. I think it would be good to allow some really

[Lift] Re: Objections to merging jpa archetype?

2009-03-13 Thread Derek Chen-Becker
Darnit. It helps if I make the jpa archetype a module of the master lift project. Fixing now. Derek On Fri, Mar 13, 2009 at 12:52 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: 1.0, baby! http://scala-tools.org/mvnsites/scalajpa/ I've been too busy to put up a nice blog entry

[Lift] Re: Objections to merging jpa archetype?

2009-03-13 Thread Derek Chen-Becker
On Fri, Mar 13, 2009 at 12:54 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Darnit. It helps if I make the jpa archetype a module of the master lift project. Fixing now. Derek On Fri, Mar 13, 2009 at 12:52 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: 1.0, baby! http://scala

[Lift] Re: Bookmarkable never-expiring dynamic pages

2009-03-13 Thread Derek Chen-Becker
I think it may be helpful to use a guard: case RewriteRequest(path @ ParsePath(bios :: id :: _, _, _,_), _, _) if id != index = RewriteResponse( ParsePath(bio :: index :: Nil, , true, false),

[Lift] Re: Why does HelloWorld index.html contain a snippet rather than a complete XHTML page?

2009-03-13 Thread Derek Chen-Becker
I think David could better answer this (I haven't looked at this part of the code for a while), but I think that anything outside of the lift:surround tag is tossed, so you could have a fully compliant XML file that will only have a portion used. Derek On Fri, Mar 13, 2009 at 5:40 PM, Marc

[Lift] Re: Why does HelloWorld index.html contain a snippet rather than a complete XHTML page?

2009-03-13 Thread Derek Chen-Becker
Well, I just tested and this seems to not be the case :( On Fri, Mar 13, 2009 at 5:47 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I think David could better answer this (I haven't looked at this part of the code for a while), but I think that anything outside of the lift:surround tag

[Lift] Re: Why does HelloWorld index.html contain a snippet rather than a complete XHTML page?

2009-03-13 Thread Derek Chen-Becker
I think I was confusing lift:ignore in there... On Fri, Mar 13, 2009 at 6:12 PM, Jorge Ortiz jorge.or...@gmail.com wrote: Yes, if index.xhtml is a compliant XML (preferably XHTML) document, it will just be served up as-is. The lift:... / tags define transformations that are applied to your

[Lift] Re: Why does HelloWorld index.html contain a snippet rather than a complete XHTML page?

2009-03-13 Thread Derek Chen-Becker
have pages that are generated entirely in the snippet. I also have URLS that respond with pure XML, some of which are generated in the snippet code, and others which are bound to a simple template in the webapp directory. Did I miss something? Chas. Derek Chen-Becker wrote: Well, I just

[Lift] Re: Fwd: Official Siemens SIS Press Release about ESME released

2009-03-12 Thread Derek Chen-Becker
Awesome ! On Thu, Mar 12, 2009 at 10:03 AM, David Pollak feeder.of.the.be...@gmail.com wrote: ESME is Scala and Lift based and is in production @ Siemens. -- Forwarded message -- From: Hirsch, Richard richard.hir...@siemens.com Date: Mon, Mar 9, 2009 at 7:45 AM Subject:

[Lift] JPA archetype

2009-03-12 Thread Derek Chen-Becker
I've checked it into the jpaarchetype branch. I need to work with DavidB to get the ScalaJPA 1.0 release properly deployed on scala-tools.org before it can really be used, but it does work at this point if you do a local install of ScalaJPA 1.0. I'm going to wait to merge into master until that's

[Lift] Re: mvn compile logging level

2009-03-11 Thread Derek Chen-Becker
Add arg-nowarn/arg The the plugin config section. The whole plugin would look like: plugin groupIdorg.scala-tools/groupId artifactIdmaven-scala-plugin/artifactId executions execution goals goalcompile/goal

[Lift] Re: Bug in LiftRules defaultLocaleCalculator

2009-03-11 Thread Derek Chen-Becker
The git diff makes it hard to see what happened (it looks like Req was replaced wholesale). What did it end up being? Thanks, Derek On Wed, Mar 11, 2009 at 9:15 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Fixed in the 1.1 branch. It might make sense to back-port to the 1.0 branch

[Lift] Re: Adding MappedDecimal to Mapper?

2009-03-10 Thread Derek Chen-Becker
feeder.of.the.be...@gmail.com wrote: Go for it. On Tue, Mar 10, 2009 at 12:26 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Any objections? The current code is on the wip-dcb-decimal-maprec branch. Derek -- Lift, the simply functional web frameworkhttp://liftweb.net

[Lift] Re: Bug in LiftRules defaultLocaleCalculator

2009-03-10 Thread Derek Chen-Becker
into a Full. Derek On Tue, Mar 10, 2009 at 12:02 PM, Timothy Perrett timo...@getintheloop.euwrote: Good question I hadn’t thought about it like that. IMO, they need something – as if you want to localize it makes it nearly impossible otherwise... Cheers, Tim On 10/03/2009 16:58, Derek Chen

[Lift] Re: Lift's documentation

2009-03-09 Thread Derek Chen-Becker
I've added an HTML version of the getting started book to the site repo. As soon as Tim can deploy it you should have both. I also fixed some issues with URLs running off of the page in the PDF version. Derek On Mon, Mar 9, 2009 at 6:48 AM, James Matlik james.mat...@gmail.com wrote: That

[Lift] Re: Lift's documentation

2009-03-09 Thread Derek Chen-Becker
Just another quick note: CRUDify (and Mapper in general) doesn't have great support for foreign keys, so a lot of that may end up being manual labor. Obviously this is something we'd like to address moving forward (with Record, hopefully). Derek On Mon, Mar 9, 2009 at 7:36 AM, Derek Chen-Becker

[Lift] Re: Eclipse or Netbeans

2009-03-09 Thread Derek Chen-Becker
Same here. I have a few squiggly errors from time to time but I don't have the time to really dig into it (sorry Miles). Otherwise it's been very, very stable for me. Derek On Mon, Mar 9, 2009 at 3:29 PM, Alex Boisvert boisv...@intalio.com wrote: I've recently switched back into Eclipse (from

[Lift] Re: Lift's documentation

2009-03-08 Thread Derek Chen-Becker
I'm addressing some of your notes/questions below On Sat, Mar 7, 2009 at 6:18 PM, Matlik james.mat...@gmail.com wrote: - Simply copying and pasting the commands into the command line can be problematic. For example, when I tried to start the 'todo' tutorial, I ended up with the following.

[Lift] Re: Record and JSON

2009-03-07 Thread Derek Chen-Becker
As long as we're talking about parsers for JSON, is there some problem or something missing from the Scala library's JSON parser that keeps us from using that in Lift? http://www.scala-lang.org/docu/files/api/scala/util/parsing/json/JSON$object.html I maintain that one, so if there's some issue

[Lift] Re: Record and JSON

2009-03-07 Thread Derek Chen-Becker
though you maintain Scala's JSON and can fix problems when they come up, we also have to wait for the Scala release cycle. I'd rather keep the JSON stuff in Lift, but you're encouraged to maintain it. - Show quoted text - On Sat, Mar 7, 2009 at 12:47 PM, Derek Chen-Becker dchenbec

[Lift] Re: Proposed localization change to S

2009-03-06 Thread Derek Chen-Becker
I think this is a reasonable addition, but I would use def ?(key : String, defaultKey : String) = ... That way changing the default text just doesn't require changes to code. Derek On Fri, Mar 6, 2009 at 6:29 AM, Tim Perrett timo...@getintheloop.eu wrote: Guys, I have a situation where I

[Lift] Re: reporting snippet instantiation errors

2009-03-06 Thread Derek Chen-Becker
Let me create a branch for this and test it out. Also, could you tell me what the error was with your snippet so I can compare current behavior with what the patch provides? Derek On Thu, Mar 5, 2009 at 10:59 PM, Lee Mighdoll leemighd...@gmail.com wrote: When I had a bug which threw an

[Lift] Re: reporting snippet instantiation errors

2009-03-06 Thread Derek Chen-Becker
Sorry, to clarify, it was the snippet class constructor that threw, correct? On Fri, Mar 6, 2009 at 8:20 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Let me create a branch for this and test it out. Also, could you tell me what the error was with your snippet so I can compare current

[Lift] Re: reporting snippet instantiation errors

2009-03-06 Thread Derek Chen-Becker
log messages in this case. I couldn't figure out a small patch to make it just one message.) Lee On Fri, Mar 6, 2009 at 7:20 AM, Derek Chen-Becker dchenbec...@gmail.com wrote: Let me create a branch for this and test it out. Also, could you tell me what the error was with your snippet so I

[Lift] Re: Proposed localization change to S

2009-03-06 Thread Derek Chen-Becker
it. Cheers, Tim On 06/03/2009 16:56, marius d. marius.dan...@gmail.com wrote: +1 for overloading '? ' On Mar 6, 4:52 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: I think this is a reasonable addition, but I would use def ?(key : String, defaultKey : String) = ... That way

[Lift] Re: reporting snippet instantiation errors

2009-03-06 Thread Derek Chen-Becker
or is there some more savvy git trick? Lee On Fri, Mar 6, 2009 at 8:47 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I agree that it's an iffy pattern, but I also think that it's important to make error messages as clear as possible. I'm testing the patch right now (made a minor mod) and I'll

[Lift] Re: reporting snippet instantiation errors

2009-03-06 Thread Derek Chen-Becker
branch. Any objections before I merge it? Derek On Fri, Mar 6, 2009 at 10:47 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I agree that it's an iffy pattern, but I also think that it's important to make error messages as clear as possible. I'm testing the patch right now (made a minor mod

[Lift] Re: Proposed localization change to S

2009-03-06 Thread Derek Chen-Becker
just a though. You can always add null testing. - Show quoted text - Cheers, Tim Sent from my iPhone On 6 Mar 2009, at 18:32, Derek Chen-Becker dchenbec...@gmail.com wrote: It would be a little cleaner if there was a helper overload: def loc (key : String, default : String) = loc(key

[Lift] Re: How do you get Jorge's LinkShare Comet example to work?

2009-03-05 Thread Derek Chen-Becker
Anyone for registering IEateMyhtml.com ? On Thu, Mar 5, 2009 at 6:26 AM, David Pollak feeder.of.the.be...@gmail.comwrote: - Show quoted text - On Wed, Mar 4, 2009 at 10:17 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi there, Please allow me to continue this thread, which

[Lift] Re: Tutorial No Schemify in Boot.scala

2009-03-05 Thread Derek Chen-Becker
I fixed the typo in the PDF. Tim, can you deploy it? Derek On Thu, Mar 5, 2009 at 8:35 AM, Jeff Chen jeff.chen.gr...@gmail.com wrote: Eric and Tyler, That is indeed the problem (using lift-archetype-blank rather than lift-archetype-basic)! Now I am able to follow through the todo tutorial,

[Lift] Re: Is there a reason why the getting started PDF is for version 0.1.0?

2009-03-04 Thread Derek Chen-Becker
FYI, it's fixed on the site. On Tue, Mar 3, 2009 at 8:21 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Attached is an updated version. Can someone please put this up on static.liftweb.net? Derek- Show quoted text - On Tue, Mar 3, 2009 at 8:05 AM, Derek Chen-Becker dchenbec

[Lift] Re: Testing Help for Oracle?

2009-03-04 Thread Derek Chen-Becker
radoslaw.hol...@gmail.comwrote: On 2 Mar, 18:42, Derek Chen-Becker dchenbec...@gmail.com wrote: This sounds like a bug. I'm guessing that you mean the object's primary key field isn't updated after save, correct? According to the docs: http://download-east.oracle.com/docs/cd/B19306_01/java.102

[Lift] Re: Is there a reason why the getting started PDF is for version 0.1.0?

2009-03-03 Thread Derek Chen-Becker
I've already opened a ticket on this: http://liftweb.lighthouseapp.com/projects/26102/tickets/12-getting-started-pdf-needs-updated David, do you have the source for that chapter, or is that in our repo now? Either way, let me know where it is and I'll fix it. Derek On Tue, Mar 3, 2009 at 2:33

[Lift] Re: Is there a reason why the getting started PDF is for version 0.1.0?

2009-03-03 Thread Derek Chen-Becker
-DarchetypeVersion=1.0, not 0.10 Derek On Tue, Mar 3, 2009 at 2:32 AM, Ikai Lan ikai@gmail.com wrote: Paul, I am also a newbie, so take what I say with a grain of salt. The archetype is 0.10. This means that the skeleton application you generate is in its 0.10 versioning. Scala Lift is

[Lift] Re: MappedTextarea problem

2009-03-03 Thread Derek Chen-Becker
I agree with Joachim, this is most likely a CSS issue since we're seeing explicit rows and cols attributes on the element. If you get firebug and inspect the page with it, you should be able to see what is controlling the textarea size. Derek On Tue, Mar 3, 2009 at 3:29 PM, DavidV

<    2   3   4   5   6   7   8   9   >