[Lift] Lift and Lift Ticket

2010-01-03 Thread Derek Chen-Becker
I don't know if anyone has noticed but I've basically been absent for a while now. My personal and day job commitments have simply become too much for me to spend much time on Lift or Lift Ticket. I can barely keep up with my email (currently 350+ unread messages! ), let alone tickets or coding.

Re: [Lift] Date/Time/DateTime formatters and parsers

2009-12-30 Thread Derek Chen-Becker
It got stuck in the debate concerning whether or not to use Joda Time. I might have some time next week to work on it. This ticket kind of covers the issue: http://github.com/dpp/liftweb/issues#issue/89 Derek On Tue, Dec 22, 2009 at 5:05 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: What

Re: [Lift] re: How do I get the stacktrace when EntityManager fails to be instantiated

2009-12-30 Thread Derek Chen-Becker
Are you using ScalaJPA? It shouldn't be absorbing any exceptions. Perhaps you have the log4j threshold at INFO instead of DEBUG? Derek On Tue, Dec 22, 2009 at 8:54 PM, James Black planiturth...@gmail.comwrote: I am having a problem with one entity trying to use @OneToMany, and I would like to

Re: [Lift] re: user_id has value, but get constraint exception of it being null, using JPA and Lift 1.1

2009-12-28 Thread Derek Chen-Becker
OK, I see something really odd here. The exception is complaining about a missing USER_ID column, but there's no such column in either insert statement: Hibernate: insert into users (firstName, lastName, username, id) values (?, ?, ?, ?) Hibernate: insert into address (addressLineOne, city,

Re: [Lift] How to reRender the page via js in Chat demo of the lift ?

2009-12-28 Thread Derek Chen-Becker
If you never want to show more than 5 chats, you need to move the logic for trimming to 5 chats into the line where you calculate the update. It looks like you're trying to just update the difference between the incoming updates and your current chats. Derek On Sat, Dec 19, 2009 at 3:47 AM,

Re: [Lift] Externalizing log4j configuration

2009-12-28 Thread Derek Chen-Becker
That's probably the simplest way to do it. You can also use a system property (can't remember off the top of my head) to tell log4j where to get its props from, and then just disable Lift's config of log4j by setting LogBoot.logSetup = () = false in your bootstrap. Derek On Mon, Dec 21, 2009

Re: [Lift] re: trying to get minimum needed for unit test to work using LIFT 1.1 and JPA

2009-12-23 Thread Derek Chen-Becker
This line is troubling: [PersistenceUnit: jpaweb] Unable to build EntityManagerFactory But I'm not sure why that would be happening and not throwing some sort of exception or logging. I'm not going to be around much over the holidays, but I can definitely help next week if you're still running

Re: [Lift] DB connection fail after upgrade from 1.1M7 to 1.1M8

2009-12-17 Thread Derek Chen-Becker
I've been fixing quite a few mapper bugs lately, but nothing that should have anything to do with connection handling... On Thu, Dec 17, 2009 at 5:16 PM, Timothy Perrett timo...@getintheloop.euwrote: This is funny - I actually recently started getting a strange drop in connection on one of my

Re: [Lift] Foreign Key constraints are not created by schemify

2009-12-15 Thread Derek Chen-Becker
/09, Derek Chen-Becker dchenbec...@gmail.com wrote: OK, I've run into a snag. Schemifier does support foreign key creation, as do most of the database vendors. The ManyToMany Mapper support, however, seems to expect no foreign key constraints, since it's explicitly testing

Re: [Lift] Foreign Key constraints are not created by schemify

2009-12-13 Thread Derek Chen-Becker
keys would conflict with mapper? See a recent (few weeks ago) thread discussing how many-to-many should deal with broken joins. Why would one not want them to be created by default? P.S. Sorry I never made that ticket for H2 FK support. On 12/8/09, Derek Chen-Becker dchenbec...@gmail.com

Re: [Lift] Multi-Ćolumn MappedField

2009-12-10 Thread Derek Chen-Becker
IMHO this doesn't sound like an ideal way to do this. At a high level what are you trying to do? Is this a legacy DB or starting from scratch? If I had to do something like this I would instead use something like MappedLongForeignKey so that you have a direct reference to the other tables instead

Re: [Lift] Foreign Key constraints are not created by schemify

2009-12-10 Thread Derek Chen-Becker
a recent (few weeks ago) thread discussing how many-to-many should deal with broken joins. Why would one not want them to be created by default? P.S. Sorry I never made that ticket for H2 FK support. On 12/8/09, Derek Chen-Becker dchenbec...@gmail.com wrote: OK, I've run into a snag. Schemifier

Re: [Lift] LiftConsole and JPA

2009-12-09 Thread Derek Chen-Becker
, but not in the console? So long Janico On Tue, Dec 8, 2009 at 9:59 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: It looks like the JTA jar isn't being added to the classpath for the LiftConsole runner. I've never touched scala:console, so I'm not sure what you would need to do to make it work

Re: [Lift] I was giving a short interview for JavaBooks.org about Lift Scala

2009-12-09 Thread Derek Chen-Becker
Great interview! Your crappy English is better than some Americans I've heard speak, so don't sweat it :) Derek On Mon, Dec 7, 2009 at 12:59 AM, Marius marius.dan...@gmail.com wrote: Hi, After a long day I ended up giving this interview. http://vimeo.com/7986506 Br's, Marius P.S.

Re: [Lift] LiftConsole and JPA

2009-12-09 Thread Derek Chen-Becker
metadata. Derek On Wed, Dec 9, 2009 at 10:21 AM, Janico Greifenberg jgre...@googlemail.comwrote: The stack trace is attached. So long Janico On Wed, Dec 9, 2009 at 4:05 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: I'm not sure why the console would need JTA, especially if you've set

Re: [Lift] Welcome Peter Robinett to the Lift committers

2009-12-09 Thread Derek Chen-Becker
Welcome Peter! On Wed, Dec 9, 2009 at 3:08 PM, David Pollak feeder.of.the.be...@gmail.comwrote: Folks, Please join me in welcoming Peter Robinett to the Lift committers. Peter's been active on the Lift list helping people and asking questions (a great combo.) As Peter's project has

Re: [Lift] A question on radio button

2009-12-08 Thread Derek Chen-Becker
Off the top of my head, I don't think that SHtml.radio supports putting attributes on just one of the items. This seems like a reasonable thing to want, so please open a ticket. Derek On Tue, Dec 1, 2009 at 10:45 PM, sunanda sunanda.pa...@gmail.com wrote: Hi, I have got two radio button

Re: [Lift] Foreign Key constraints are not created by schemify

2009-12-08 Thread Derek Chen-Becker
On Sun, Dec 6, 2009 at 5:40 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Absolutely. I have a PG 8.0, 8.1 and 8.3 instance set up for testing on my home box because of the last time I made a PG-related change. Derek On Thu, Dec 3, 2009 at 2:48 PM, David Pollak feeder.of.the.be

Re: [Lift] how to keep last submited form field value

2009-12-08 Thread Derek Chen-Becker
I think he might just mean the last submitted value for this particular form instance, in which case you want a RequestVar, not a SessionVar. On Tue, Dec 8, 2009 at 8:22 AM, Alex Boisvert alex.boisv...@gmail.comwrote: You should use a SessionVar or a stateful snippet. Here's how you would use

Re: [Lift] LiftConsole and JPA

2009-12-08 Thread Derek Chen-Becker
It looks like the JTA jar isn't being added to the classpath for the LiftConsole runner. I've never touched scala:console, so I'm not sure what you would need to do to make it work. Off the top of my head, you might need to put the dependencies for JPA into the plugin config, but I'm not positive.

Re: [Lift] Foreign Key constraints are not created by schemify

2009-12-06 Thread Derek Chen-Becker
Absolutely. I have a PG 8.0, 8.1 and 8.3 instance set up for testing on my home box because of the last time I made a PG-related change. Derek On Thu, Dec 3, 2009 at 2:48 PM, David Pollak feeder.of.the.be...@gmail.comwrote: On Thu, Dec 3, 2009 at 1:47 PM, Derek Chen-Becker dchenbec

Re: [Lift] Foreign Key constraints are not created by schemify

2009-12-03 Thread Derek Chen-Becker
I agree on both points (foreign keys and documentation). Please open a ticket asking for proper foreign key support and I'll work on it next week. Derek On Wed, Dec 2, 2009 at 6:05 PM, Julian Backes julianbac...@googlemail.comwrote: Hi Derek, It's been a long time since I looked at that

Re: [Lift] Re: Oracle DB connection in 1.1-m7

2009-12-02 Thread Derek Chen-Becker
It should be in place now. Can you verify that it's working for you? On Fri, Nov 27, 2009 at 6:49 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: http://reviewboard.liftweb.net/r/129/ I'll check this in to master in the morning. On Fri, Nov 27, 2009 at 8:53 AM, Derek Chen-Becker

Re: [Lift] Foreign Key constraints are not created by schemify

2009-12-02 Thread Derek Chen-Becker
It's been a long time since I looked at that particular code, so I may have misspoke. Having said that, if it's currently disabled in the driver I'm not sure why and I would want to review it before saying that it works properly in all cases. Derek On Sun, Nov 29, 2009 at 1:11 PM, Julian Backes

Re: [Lift] Re: Oracle DB connection in 1.1-m7

2009-11-27 Thread Derek Chen-Becker
I should have a fix in 30 minutes or so. On Thu, Nov 26, 2009 at 9:56 AM, Mathias Sulser s...@suls.org wrote: I think the MappedBoolean isn't properly done in the OracleDriver: scala User.findAll(By(User.superUser, false)) java.sql.SQLException: Invalid column type at

Re: [Lift] derby

2009-11-27 Thread Derek Chen-Becker
Derby has inferior support for binary data types (32k limit) and has a couple of other issues that I can't remember off the top of my head. On Thu, Nov 26, 2009 at 1:54 PM, jlist9 jli...@gmail.com wrote: Hi David, Would you care to elaborate in what way Derby is inferior? I understand H2 is

Re: [Lift] Re: Oracle DB connection in 1.1-m7

2009-11-27 Thread Derek Chen-Becker
http://reviewboard.liftweb.net/r/129/ I'll check this in to master in the morning. On Fri, Nov 27, 2009 at 8:53 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I should have a fix in 30 minutes or so. On Thu, Nov 26, 2009 at 9:56 AM, Mathias Sulser s...@suls.org wrote: I think

Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes

2009-11-25 Thread Derek Chen-Becker
Was that what was preventing your dispatch from working? On Wed, Nov 25, 2009 at 4:43 AM, Timothy Perrett timo...@getintheloop.euwrote: Guys, I have some major issues with LiftRules.explicitlyParsedSuffixes - I just wasted almost a whole day yesterday chasing around what I thought were bugs

Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes

2009-11-25 Thread Derek Chen-Becker
a custom mime type and extension in my application and upgrading from M6 to SNAPSHOT caused this extremely difficult to debug situation. As below, some warnings or something like that would really really help. Cheers, Tim On 25 Nov 2009, at 13:35, Derek Chen-Becker wrote: Was that what

Re: [Lift] Is there a togglable ajax button in lift?

2009-11-25 Thread Derek Chen-Becker
I haven't tried it, but I'm pretty sure that if you give the button an id you should be able to fire the text change from the AJAX handler. Something like: import net.liftweb.http.js._ import JE._ SHtml.ajaxButton(Click me!, () = { doSomethingServerSide(); JsCmds.SetElemById(myButton, Click me

Re: [Lift] Looking for an example of how to do master detail, on the view side

2009-11-25 Thread Derek Chen-Becker
I don't think that that should be happening, but I would need to see the code for PersonSnippets to really see what's going on. Derek On Wed, Nov 25, 2009 at 4:16 PM, Jim Barrows jim.barr...@gmail.com wrote: I'm using JPA, and need to do a One-Many, or master detail view. So I tried the

Re: [Lift] Looking for an example of how to do master detail, on the view side

2009-11-25 Thread Derek Chen-Becker
That markup should be in a template file somewhere, which would then call the snippets appropriately. I don't see markup for a second form, but I might just be missing it. A couple of other notes: - Generally, on links, omit the suffix and Lift will then do I18N lookup for you as needed.

Re: [Lift] Problem with issue 182

2009-11-24 Thread Derek Chen-Becker
, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Derek Chen-Becker dchenbec...@gmail.com writes: OK, thinking about this a little further, technically it would be a breaking change to remove the menus method from MetaMegaProtoUser. Yes, but is that really an issue here? Would it be better

Re: [Lift] Problem with issue 182

2009-11-24 Thread Derek Chen-Becker
at 9:52 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Derek Chen-Becker dchenbec...@gmail.com writes: I was thinking something along the lines of: override def menus = super[MegaMetaProtoUser].menus ::: super[CRUDify].menus Ahh yes, didn't think of this super syntax if you need both

Re: [Lift] Re: Feature Request: deleteMenuLocParams in CRUDify

2009-11-24 Thread Derek Chen-Becker
Just curious, but what are you using the LocParams for in this case? I'm writing my own CRUDOps trait that takes a different approach to permissions and menus, so I'm trying to figure out the use cases besides my own. Thanks, Derek On Tue, Nov 24, 2009 at 11:01 AM, Peter Robinett

Re: [Lift] Re: Feature Request: deleteMenuLocParams in CRUDify

2009-11-24 Thread Derek Chen-Becker
to enforce whether the current user can access the requested location. Peter On Nov 24, 10:12 am, Derek Chen-Becker dchenbec...@gmail.com wrote: Just curious, but what are you using the LocParams for in this case? I'm writing my own CRUDOps trait that takes a different approach to permissions

Re: [Lift] Re: Page flows in Lift

2009-11-24 Thread Derek Chen-Becker
Rockstar! On Tue, Nov 24, 2009 at 3:25 PM, David Pollak feeder.of.the.be...@gmail.com wrote: See http://demo.liftweb.net/wiz2 The back button is acting hinky... it's not forcing a reload of the page... something's funky with the headers Lift sends back... but that's a separate issue On

Re: [Lift] Lift on Azure

2009-11-23 Thread Derek Chen-Becker
I really thought that you were talking about Azul, which is something I would *love* to run Lift on :) http://www.azulsystems.com/ Derek On Thu, Nov 19, 2009 at 3:20 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Nov 19, 2009 at 1:51 PM, Matt Harrington

Re: [Lift] Problem with issue 182

2009-11-23 Thread Derek Chen-Becker
? On Thu, Nov 19, 2009 at 3:36 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Derek Chen-Becker dchenbec...@gmail.com writes: I hadn't though about mixing in CRUDify with users. I suppose we should just pull it out and leave sitemap as the sole menuing method. Jeppe, can you open

Re: [Lift] Problem with issue 182

2009-11-19 Thread Derek Chen-Becker
I hadn't though about mixing in CRUDify with users. I suppose we should just pull it out and leave sitemap as the sole menuing method. Jeppe, can you open a ticket? On Tue, Nov 17, 2009 at 9:50 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Nov 17, 2009 at 7:01 AM, Jeppe

Re: [Lift] H2 foreign keys

2009-11-19 Thread Derek Chen-Becker
Open a ticket and I'll see if I can get it done. I've been fighting a fire at work pretty much the entire week so far, so needless to say I'm behind on Lift tickets (and LiftTicket :( ) Derek On Wed, Nov 18, 2009 at 7:04 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: I don't think I ended up

Re: [Lift] Re: Lift Mapper support for Oracle Sequences

2009-11-19 Thread Derek Chen-Becker
I think that the change was committed pre-M7, so you should have it. On Thu, Nov 19, 2009 at 12:12 AM, aw anth...@whitford.com wrote: Thank you Derek... Clever trick! I'm not using 1.1-SNAPSHOT -- I am using 1.1-M7... But that shouldn't matter to me since I am not using Schemifier to

Re: [Lift] H2 foreign keys

2009-11-19 Thread Derek Chen-Becker
Great. No pressure now! ;) On Thu, Nov 19, 2009 at 3:17 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Nov 19, 2009 at 2:08 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Open a ticket and I'll see if I can get it done. I've been fighting a fire at work pretty much

Re: [Lift] H2 foreign keys

2009-11-18 Thread Derek Chen-Becker
That's what I've been doing as we have to make changes. For instance, we needed to change how schemifier creates index columns to accomodate Oracle sequences, so I moved that to DriverType. On Sun, Nov 15, 2009 at 10:24 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: The H2 DriverType does

Re: [Lift] Re: Possible lift error in lift:form tag

2009-11-18 Thread Derek Chen-Becker
This was my fault when I added the post-submit ajax handling. It had worked fine on my test app, so I'm not sure what happened here, but I'm sorry for the hassle. On Sun, Nov 15, 2009 at 12:50 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Marius, Thanks for turning this fix around so

[Lift] Re: MegaProtoUser + MappedPassword question

2009-11-13 Thread Derek Chen-Becker
Open a ticket, as this should be configurable. In case you didn't find it, the ** is taken from the MappedPassword object, field blankPw. This should be a var and there should probably be a per-MappedPassword field override as well. Derek On Sun, Nov 8, 2009 at 6:48 AM, george

[Lift] Re: Changes to transaction handling since M6?

2009-11-13 Thread Derek Chen-Becker
That's really odd. As far as I know the only thing JPA related that might have changed is for the JPA Demo site (pom Hibernate version change). The transaction handling code is all in ScalaJPA, which also hasn't changed. JndiEMF explicitly opens a transaction before it even retrieves the EM from

[Lift] Re: Build Broken?

2009-11-13 Thread Derek Chen-Becker
I don't know how others feel, but I would like all bugs, even for unit tests, to go through issue tracking and review board. Mostly this is so that we have good documentation of what is happening to the codebase and why. Derek On Sat, Nov 7, 2009 at 11:45 AM, Joni Freeman

[Lift] Re: How to specify the SELECT statement in the Mapper ?

2009-11-13 Thread Derek Chen-Becker
MetaMapper.findAllFields may work for what you're doing, but with the DAYOFWEEK conversion you may just have to go directly against the DB. Derek On Sun, Nov 8, 2009 at 11:44 PM, Neil.Lv anim...@gmail.com wrote: Hi all, There is some example code: ### SELECT id, name, sex, created_at,

[Lift] Re: S.uri not including query params

2009-11-13 Thread Derek Chen-Becker
, but was wondering if Lift offers something built-in. I'd be happy to forward my code on if this could be a useful extension to the Lift code. Thanks, Juan On Oct 21, 2:18 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: http://github.com/dpp/liftweb/issues/#issue/121 If I have some

[Lift] Re: Lift Mapper support for Oracle Sequences

2009-11-13 Thread Derek Chen-Becker
The code in 1.1-SNAPSHOT already uses sequences for Oracle. Here's the relevant code: override def primaryKeySetup(tableName : String, columnName : String) : List[String] = { /* * This trigger and sequence setup is taken from http://www.databaseanswers.org/sql_scripts/ora_sequence.htm

[Lift] Re: Changes to scala-tools.org Hudson

2009-11-13 Thread Derek Chen-Becker
Josh, ScalaJPA has the following distribution setup: distributionManagement repository idscala-tools.org/id urlhttp://nexus.scala-tools.org/content/repositories/releases/url /repository snapshotRepository idscala-tools.org/id

[Lift] Neat GitHub trick

2009-11-13 Thread Derek Chen-Becker
Sorry if I'm the only one who didn't realize this before, but if you include the text Closes #xxx in your Git commit message, Git will automatically close the xxx ticket using your commit message. --~--~-~--~~~---~--~~ You received this message because you are

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-11-13 Thread Derek Chen-Becker
? On Thu, Nov 12, 2009 at 4:36 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: Have you ever used Dumbster? On Thu, Nov 12, 2009 at 2:59 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: I would like to see an integrated dumbster test. You can pick an arbitrary port to run the test on just

[Lift] Re: Neat GitHub trick

2009-11-13 Thread Derek Chen-Becker
Ah. I hadn't realized that part :( On Fri, Nov 13, 2009 at 9:28 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Nov 13, 2009 at 8:07 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Sorry if I'm the only one who didn't realize this before, but if you include the text

[Lift] Re: Changes to transaction handling since M6?

2009-11-13 Thread Derek Chen-Becker
Looking at 81f1715f671e8b5ee4f6d3ce242cc9da272611d1, maybe the RequestVar needs to be changed to an UnboundRequestVar. It's not clear from the scaladocs on UnboundRequestVar, though, that this is the intent. It looks like those scaladocs were just copied and pasted from RequestVar. If this sounds

[Lift] Re: Changes to transaction handling since M6?

2009-11-13 Thread Derek Chen-Becker
it be protected instead? Kris On Fri, Nov 13, 2009 at 11:22 AM, Kris Nuttycombe kris.nuttyco...@gmail.com wrote: Let me just try it out since I've got a test case, and if need be I'll file the ticket commit. Kris On Fri, Nov 13, 2009 at 10:45 AM, Derek Chen-Becker dchenbec...@gmail.com

[Lift] Re: Changes to scala-tools.org Hudson

2009-11-12 Thread Derek Chen-Becker
Should I make these changes for the ScalaJPA project as well? Do we need to notify all of the people who are hosting projects on scala-tools.org, or is everyone pretty much on this list? Derek On Fri, Nov 6, 2009 at 11:23 AM, Josh Suereth joshua.suer...@gmail.comwrote: Great, Thanks! On

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-11-12 Thread Derek Chen-Becker
, 2009 at 4:20 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: Probably not until next week, unfortunately. If you don't mind looking at it, the main thing to change is in Mailer.scala, around line 156. There should be a check or match to see if info is a List

[Lift] ReviewBoard upgrade

2009-11-11 Thread Derek Chen-Becker
I'll be working in the morning (US Mountain time) on upgrading ReviewBoard, just in case anyone notices any hiccups. Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send

[Lift] Re: Two how-to questions

2009-11-05 Thread Derek Chen-Becker
I'm not sure how much complexity you want, but Quartz might be good for #1: http://www.opensymphony.com/quartz/ Derek On Mon, Nov 2, 2009 at 12:40 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: Could someone give me a quick code sample to get me started on each of the following? 1. A

[Lift] Re: Two how-to questions

2009-11-05 Thread Derek Chen-Becker
That would probably work in the simple case. Derek On Thu, Nov 5, 2009 at 3:19 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: Hi. Thanks for responding. I haven't looked it up, but I don't really need anything very specialized. I didn't mean that the time it runs each day has to be very

[Lift] Re: LiftTicket and AJAX

2009-11-02 Thread Derek Chen-Becker
wrote: I think it would be great to have the editable in SHtml. On Nov 1, 1:43 am, Derek Chen-Becker dchenbec...@gmail.com wrote: I have at least two different pieces of functionality here. The main workhorse is the AjaxUtils.editable method that actually generates the dynamic div. I

[Lift] Re: JPADemo 1.1-SNAPSHOT: id with auto-increment (MySQL or H2)

2009-11-02 Thread Derek Chen-Becker
If updating the pom hibernate version fixes the problem, please file an issue and we'll update the Archetype. Thanks, Derek On Mon, Nov 2, 2009 at 6:23 AM, Chris Lewis burningodzi...@gmail.comwrote: Troy, I ran into the same problem. It seems to be a hibernate issue - that archetype uses

[Lift] Re: regular expression

2009-11-02 Thread Derek Chen-Becker
From the Scaladoc for scala.util.matching.Regex: You can use special pattern syntax construct (?idmsux-idmsux) to switch various regex compilation options like CASE_INSENSITIVE or UNICODE_CASE. See java.util.regex.Pattern javadoc for details. Probably better to ask Scala questions on the Scala

[Lift] Re: LiftTicket and AJAX

2009-10-31 Thread Derek Chen-Becker
PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I just committed some code for AJAX-editable fields that I think might be useful as a part of LiftWeb. Basically, if you've seen how ReviewBoard handles field editing, this is the same thing. It's a trait that can be mixed into any MappedField

[Lift] SHtml.ajaxForm postSubmit addition?

2009-10-30 Thread Derek Chen-Becker
Hi, I'm working on a simple mixin trait that you can add to a MappedField to make it editable AJAX-style (like how Review Board does it). My first approach is to use an ajaxButton to allow the user to edit the field, and then use ajaxForm to handle submission of the data back so that the

[Lift] Re: SHtml.ajaxForm postSubmit addition?

2009-10-30 Thread Derek Chen-Becker
I'll open a ticket and start working on the issue. Derek On Fri, Oct 30, 2009 at 11:46 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Sounds like a good idea. On Fri, Oct 30, 2009 at 10:03 AM, Derek Chen-Becker dchenbec...@gmail.com wrote: Hi, I'm working on a simple mixin

[Lift] Re: SHtml.ajaxForm postSubmit addition?

2009-10-30 Thread Derek Chen-Becker
={onSubmit.toJsCmd}{body}/lift:form) I'm just wondering why it's like this and if we should deprecate one or the other... Thanks, Derek On Fri, Oct 30, 2009 at 1:29 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'll open a ticket and start working on the issue. Derek On Fri, Oct 30, 2009

[Lift] LiftTicket and AJAX

2009-10-30 Thread Derek Chen-Becker
I just committed some code for AJAX-editable fields that I think might be useful as a part of LiftWeb. Basically, if you've seen how ReviewBoard handles field editing, this is the same thing. It's a trait that can be mixed into any MappedField and as soon as M7 is release and I can merge the new

[Lift] Re: Proposal : Lift ticketing system

2009-10-29 Thread Derek Chen-Becker
a severity and priority field on the ticket. This was kind of a code vomit, so I'm going to split the classes out into separate Scala files once I get some feedback and a better idea of what needs to be done. Cheers, Derek On Mon, Oct 26, 2009 at 12:29 AM, Derek Chen-Becker dchenbec

[Lift] Re: Proposal : Lift ticketing system

2009-10-29 Thread Derek Chen-Becker
Thanks, I've never seen that before. I'll take a look at it. If you've used it, are there any features that it has that you really like? On Thu, Oct 29, 2009 at 4:11 AM, george geo...@mattandgeorge.com wrote: It might be worth taking a look at Redmine (http://www.redmine.org) for some

[Lift] Re: Proposal : Lift ticketing system

2009-10-28 Thread Derek Chen-Becker
to split the classes out into separate Scala files once I get some feedback and a better idea of what needs to be done. Cheers, Derek On Mon, Oct 26, 2009 at 12:29 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'm a fan of Trac, which is one incarnation of Wiki+Tracking+Planning

[Lift] Re: Dynamic radio button

2009-10-27 Thread Derek Chen-Becker
Chen-Becker dchenbec...@gmail.com wrote: I don't quite understand what you're trying to do. Could you give some more details? Are you trying to add more radios to an existing radio button set? On Wed, Oct 21, 2009 at 8:45 PM, sunanda sunanda.pa...@gmail.com wrote: Hi, I need

[Lift] Re: Foreign Key Constraints in PostgreSQL through MappedLongForeignKey fields?

2009-10-27 Thread Derek Chen-Becker
At this time we don't support it, but feel free to file an issue. I'll have time at some point to work on it, and I think that it would be useful to generate. Derek On Fri, Oct 23, 2009 at 10:04 AM, yk ying.kwang...@gmail.com wrote: I was running the models of One-To-Many example from WiKi

[Lift] Re: Proposal : Lift ticketing system

2009-10-27 Thread Derek Chen-Becker
on the ticket. This was kind of a code vomit, so I'm going to split the classes out into separate Scala files once I get some feedback and a better idea of what needs to be done. Cheers, Derek On Mon, Oct 26, 2009 at 12:29 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'm a fan of Trac, which

[Lift] Re: Proposal : Lift ticketing system

2009-10-27 Thread Derek Chen-Becker
Makes sense :) On Tue, Oct 27, 2009 at 3:28 PM, Marius marius.dan...@gmail.com wrote: In my mind the severity says the level of impact for the submitter, and priority is the result of comitters' bandwidth. But it's not a big issue. Br's, Marius On Oct 27, 11:23 pm, Derek Chen-Becker

[Lift] Re: Proposal : Lift ticketing system

2009-10-26 Thread Derek Chen-Becker
I'm a fan of Trac, which is one incarnation of Wiki+Tracking+Planning. I've set up a repo here: http://github.com/dchenbecker/LiftTicket My preference is for this to be an issue tracking system first and a Wiki/CMS second, but I'm open to any and all ideas on how this can be fleshed out. I would

[Lift] Proposal : Lift ticketing system

2009-10-24 Thread Derek Chen-Becker
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

[Lift] Re: Testing for SQL Server drivers

2009-10-24 Thread Derek Chen-Becker
with SQL server at work. I can test this no worries. Just let me know what I should try ;-) Cheers, Tim Sent from my iPhone On 23 Oct 2009, at 21:18, Derek Chen-Becker dchenbec...@gmail.com wrote: I'm pretty much 100% linux at home. I can test any other database (Oracle, MySQL, PostgreSQL

[Lift] Re: Proposal : Lift ticketing system

2009-10-24 Thread Derek Chen-Becker
Feel free to suggest other ideas or vote on the ones proposed so far :) On Sat, Oct 24, 2009 at 12:20 PM, jlist9 jli...@gmail.com wrote: CMS, wiki, blog, forum also sound more interesting than bug tracking system to me :-) On Sat, Oct 24, 2009 at 11:13 AM, aw anth...@whitford.com wrote:

[Lift] Re: Testing for SQL Server drivers

2009-10-23 Thread Derek Chen-Becker
, Oct 21, 2009 at 6:02 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Hi, I've made some changes to Mapper to better support SQL Server, particularly with Unicode text. Does anyone out there use SQL Server that would be willing to test the code on the wip-dcb-issue-16-sql-server branch

[Lift] Re: Testing for SQL Server drivers

2009-10-23 Thread Derek Chen-Becker
people from the community to help is encouraged. On Wed, Oct 21, 2009 at 6:02 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: Hi, I've made some changes to Mapper to better support SQL Server, particularly with Unicode text. Does anyone out there use SQL Server that would be willing

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-23 Thread Derek Chen-Becker
isn't OK then I can just do this in my own repo. Thanks, Derek On Fri, Oct 23, 2009 at 2:52 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Oct 21, 2009 at 7:20 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: It sounds like you're pretty set against making separate impl

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-23 Thread Derek Chen-Becker
23, 2009 at 3:37 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Oct 23, 2009 at 2:35 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Well, I had intended to write a JodaHelpers trait that is the same as Helpers except with JodaTimeHelpers and JodaTimeFormats replacing

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-23 Thread Derek Chen-Becker
...@gmail.com wrote: On Fri, Oct 23, 2009 at 2:55 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Period is field-based, and therefore deals with non-linear time changes like daylight savings time. Periods can be converted to millisecond durations based on standard field durations (60 seconds

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-23 Thread Derek Chen-Becker
, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Oct 23, 2009 at 3:53 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I could do that, but I would still have an ambiguous definition of now, today, epoch, etc if I want to use Joda Time and the requirement is that an import Helpers

[Lift] Re: Trouble With JPA Book Example

2009-10-22 Thread Derek Chen-Becker
Are you using OpenJDK by any chance? IIRC the YUI compressor doesn't like it. Derek On Wed, Oct 21, 2009 at 6:58 PM, AndyM andrewdm...@gmail.com wrote: Sorry about the spam. I was using 2.75 not 2.7.5.. Feel free to delete the above posts. More errors though. spa builds fine, web does

[Lift] Re: Dynamic radio button

2009-10-22 Thread Derek Chen-Becker
I don't quite understand what you're trying to do. Could you give some more details? Are you trying to add more radios to an existing radio button set? On Wed, Oct 21, 2009 at 8:45 PM, sunanda sunanda.pa...@gmail.com wrote: Hi, I need to add radio button dynamically with one of the button

[Lift] Re: Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread Derek Chen-Becker
It builds for me locally... On Thu, Oct 22, 2009 at 5:25 AM, Timothy Perrett timo...@getintheloop.euwrote: Hmm how strange - it builds fine locally? Cheers, Tim On Oct 22, 10:56 am, David Pollak feeder.of.the.be...@gmail.com wrote: Anyone have a clue as to why the JTA stuff in Lift is

[Lift] Re: Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread Derek Chen-Becker
and see if that fixes it. Derek On Thu, Oct 22, 2009 at 8:47 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: It builds for me locally... On Thu, Oct 22, 2009 at 5:25 AM, Timothy Perrett timo...@getintheloop.euwrote: Hmm how strange - it builds fine locally? Cheers, Tim On Oct 22, 10

[Lift] Re: lift:bind-at get warnings for every request

2009-10-21 Thread Derek Chen-Becker
No, I think you're remembering something different. Right now I'm working on time formatting, double SQL logging and improved MS SQL server support. Derek On Tue, Oct 20, 2009 at 11:13 AM, Marius marius.dan...@gmail.com wrote: Yup please file a ticket. I think Derek worked on this a while

[Lift] Re: Rolling out the new Lift Actors code

2009-10-21 Thread Derek Chen-Becker
I like making big changes on Wednesdays, so I would say push it now. I suppose tomorrow would work, too, but I would be very reluctant to do it on Friday. Derek On Tue, Oct 20, 2009 at 4:35 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I've just pushed the completed Lift

[Lift] Re: S.uri not including query params

2009-10-21 Thread Derek Chen-Becker
http://github.com/dpp/liftweb/issues/#issue/121 If I have some time this afternoon I'll fix it. On Tue, Oct 20, 2009 at 8:07 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: Then my addition to MetaMegaProtoUser of loginRedirect has a bug, because loginFirst sets it based on S.uri. Since

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-21 Thread Derek Chen-Becker
them. I should be able to delegate a good chunk of the methods to TimeHelpers.jt*, so there shouldn't be any *redundant* code. Is that a reasonable compromise? Derek On Tue, Oct 20, 2009 at 11:35 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I agree that the goal isn't to remove java.util.Date

[Lift] Re: scalajpa - wrong database?

2009-10-21 Thread Derek Chen-Becker
No worries, it happens. On Wed, Oct 21, 2009 at 11:02 AM, TSP tim.pig...@optrak.co.uk wrote: I tried to construct a test case and the problem seems to have mysteriously disappeared. Possibly something to do with clean builds. Sorry to cry wolf. Tim

[Lift] Re: html not being evalutated

2009-10-21 Thread Derek Chen-Becker
Like David said, be very careful about using NodeSeqs if you're taking user-generated content, since that can lead directly to cross-site scripting attacks and other nastiness. Derek On Wed, Oct 21, 2009 at 7:41 AM, Jack Widman jack.wid...@gmail.com wrote: Oops. I just noticed I made

[Lift] Re: multiple datasources and/or JNDI definitions

2009-10-21 Thread Derek Chen-Becker
I think that you're making this more complicated that it needs to be, although I may be misunderstanding the question. The ConnectionIdentifier trait has a jndiName val on it. If you specify a valid JNDI name for that val, then you don't need to wire up a connection manager for it. You can simply

[Lift] Re: multiple datasources and/or JNDI definitions

2009-10-21 Thread Derek Chen-Becker
://groups.google.com/group/liftweb/browse_thread/thread/e75046eaf215e97/259da9d9ef22ca7a?lnk=gstq=%22extends+connectionmanager%22# On Oct 21, 9:15 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: I think that you're making this more complicated that it needs to be, although I may be misunderstanding

[Lift] Testing for SQL Server drivers

2009-10-21 Thread Derek Chen-Becker
Hi, I've made some changes to Mapper to better support SQL Server, particularly with Unicode text. Does anyone out there use SQL Server that would be willing to test the code on the wip-dcb-issue-16-sql-server branch to make sure nothing breaks? Thanks, Derek

  1   2   3   4   5   6   7   8   9   >