[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. It

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 wrote: > I am having a problem with one entity trying to use @OneToMany, and I > would like to see what the actual e

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 wrote: > What ever happened to havi

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 a

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, Neil.

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, stat

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 in

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 wrote: > This is funny - I actually recently started getting a strange drop in > connection on one of my applications. Others t

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

2009-12-15 Thread Derek Chen-Becker
anyToMany delete anything not in the join table? If you > mean the spec feel free to change it or comment out the whole thing and ask > me to fix it. By the way it's hardcoded to use H2MemoryProvider. > Is OneToMany doing anything bad? > Thanks. > > ---

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

2009-12-13 Thread Derek Chen-Becker
-Many without first deleting the join table entry. Derek On Sun, Dec 13, 2009 at 5:45 PM, Naftoli Gugenheim wrote: > Are FKs not created using a Driver that supports it? schemify calls > ensureConstraints which seems to do it, no? > > --------- > Derek Chen-

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 wrote: > > OK, I've run int

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 o

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 wrote: > 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 progressed, he's developed arti

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 wrote: > The stack trace is attached. > > So long > Janico > > On Wed, Dec 9, 2009 at 4:05 PM, Derek Chen-Becker > wrote: > > I'm not sure why the console would need JTA, especially if you've set &

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 wrote: > Hi, > > After a long day I ended up giving this interview. > > http://vimeo.com/7986506 > > Br's, > Marius > > P.S. Please forgive m

Re: [Lift] LiftConsole and JPA

2009-12-09 Thread Derek Chen-Becker
etty, > but not in the console? > > So long > Janico > > On Tue, Dec 8, 2009 at 9:59 PM, Derek Chen-Becker > 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 no

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] 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 wrote: > You should use a SessionVar or a stateful snippet. > > Here's how you would use a SessionVar, > > ob

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

2009-12-08 Thread Derek Chen-Becker
if they want. Thoughts? Derek On Sun, Dec 6, 2009 at 5:40 PM, Derek Chen-Becker wrote: > 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

Re: [Lift] Please welcome Jon Hoffman to the Lift committers

2009-12-08 Thread Derek Chen-Becker
Welcome Jon! Sorry it took so long, but you have a RB account now (sent in a separate email) Derek On Thu, Dec 3, 2009 at 12:10 AM, Heiko Seeberger < heiko.seeber...@googlemail.com> wrote: > Welcome, Jon! > > 2009/12/3 David Pollak > > Folks, >> >> It may or may not be true that for Jon Hoffman

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 wrote: > Hi, > > I have got two radio button fields("Yes","No") > > >

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 wrote: > > > On Thu, Dec 3, 2009 at 1:47 PM, Derek Chen-Becker > wrote: > >> I

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 wrote: > Hi Derek, > > > It's been a long time since I looked at that particular code, so I may >

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 w

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 wrote: > 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-Be

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 wrote: > I should have a fix in 30 minutes or so. > > > On Thu, Nov 26, 2009 at 9:56 AM, Mathias Sulser wrote: > >> I think the Ma

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 wrote: > Hi David, > > Would you care to elaborate in what way Derby is inferior? > I understand H2 is probably fast

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 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 oracle.jdbc.driver.Data

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. T

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 wrote: > I'm using JPA, and need to do a One->Many, or master detail view. So I > tried the obvious: > > > > >

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

Re: [Lift] Beef with LiftRules.explicitlyParsedSuffixes

2009-11-25 Thread Derek Chen-Becker
lly have 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:3

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 wrote: > Guys, > > I have some major issues with LiftRules.explicitlyParsedSuffixes - I > just wasted almost a whole day yesterday chasing around what I thought > were bugs in my code but wer

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 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 Tue, Nov 24, 2009 at 9:

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

2009-11-24 Thread Derek Chen-Becker
; enforce whether the current user can access the requested location. > > Peter > > On Nov 24, 10:12 am, Derek Chen-Becker 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 approac

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 wrote: > I had

Re: [Lift] Problem with issue 182

2009-11-24 Thread Derek Chen-Becker
erek On Tue, Nov 24, 2009 at 9:52 AM, Jeppe Nejsum Madsen wrote: > Derek Chen-Becker writes: > > > I was thinking something along the lines of: > > > > override def menus = super[MegaMetaProtoUser].menus ::: > super[CRUDify].menus > > Ahh yes, didn't think of t

Re: [Lift] Problem with issue 182

2009-11-24 Thread Derek Chen-Becker
at 2:15 AM, Jeppe Nejsum Madsen wrote: > Derek Chen-Becker 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? > >

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 wrote: > Derek Chen-Becker 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 > &g

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 wrote: > > > On Thu, Nov 19, 2009 at 1:51 PM, Matt Harrington wrote: > >> Java apps have gotten a lot easier 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 wrote: > > > On Thu, Nov 19, 2009 at 2:08 PM, Derek Chen-Becker > wrote: > >> Open a ticket and I'll see if I can get it done. I've been fighting a fire >> at work pretty much the e

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 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 create and manage the

Re: [Lift] H2 foreign keys

2009-11-19 Thread Derek Chen-Becker
I ended up creating the ticket, but do you want to volunteer > to fix this? > IIRC the H2 syntax was like the currently used syntax but without the firsy > to words or so. Search the H2 SQL Grammar page. > Thanks. > P.S. I wonder which other DBs use H2's syntax. > > ----

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 wrote: > > > On Tue, Nov 17, 2009 at 7:01 AM, Jeppe Nejsum Madsen wrote: > >> Hi, >>

Re: [Lift] Re: Possible lift error in 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 aroun

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 wrote: > > The H2 DriverType does not indicate H2 suppo

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

2009-11-13 Thread Derek Chen-Becker
e protected instead? > > Kris > > On Fri, Nov 13, 2009 at 11:22 AM, Kris Nuttycombe > 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 > > >

[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 l

[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 wrote: > > > On Fri, Nov 13, 2009 at 8:07 AM, Derek Chen-Becker > wrote: > >> Sorry if I'm the only one who didn't realize this before, but if you >> include the text &qu

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-11-13 Thread Derek Chen-Becker
t; On Thu, Nov 12, 2009 at 4:36 PM, Naftoli Gugenheim > wrote: > >> Have you ever used Dumbster? >> >> >> On Thu, Nov 12, 2009 at 2:59 PM, Derek Chen-Becker > > wrote: >> >>> I would like to see an integrated dumbster test. You can pick an >>&g

[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 sub

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

2009-11-13 Thread Derek Chen-Becker
Josh, ScalaJPA has the following distribution setup: scala-tools.org http://nexus.scala-tools.org/content/repositories/releases scala-tools.org http://nexus.scala-tools.org/content/repositories/snapshots true scala-tools.org http://nexus.sc

[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: S.uri not including query params

2009-11-13 Thread Derek Chen-Becker
ypted with a public key). I > have all the code written using BouncyCastle, 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

[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 wrote: > > Hi all, > > There is some example code: > ### > SELECT id, name, sex, created_at, DAYOFWEEK(cr

[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 wrote: > > Thanks for t

[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 JN

[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 wrote: > >

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-11-12 Thread Derek Chen-Becker
of us that has to do >>> the >>> > > work. >>> > > >>> > > >>> > > > As I mentioned on review board, I did test it manually though and >>> it >>> > > works >>> > > > fine. Do most commits include

[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 wrote: > Great, Thanks! > > > On Fri, Nov 6, 2009 at 11:2

[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 ema

[Lift] Re: Two how-to questions

2009-11-05 Thread Derek Chen-Becker
has to be very precise. The > point is just to back up the database daily. > Should I use java.util.Timer.scheduleAtFixedRate? > > --------- > Derek Chen-Becker wrote: > > I'm not sure how much complexity you want, but Quartz might be good for #1: >

[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 wrote: > > Could someone give me a quick code sample to get me started on each of the > following? > 1. A task that should run

[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 l

[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 wrote: > > Troy, > > I ran into the same problem. It seems to be a hibernate issue - that > archetype uses an older version of

[Lift] Re: LiftTicket and AJAX

2009-11-02 Thread Derek Chen-Becker
I think it would be great to have the editable in SHtml. > > On Nov 1, 1:43 am, Derek Chen-Becker 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 was

[Lift] Re: LiftTicket and AJAX

2009-10-31 Thread Derek Chen-Becker
parameter that lets you control whether the field becomes editable or not, so that you could easily tie it to a Loc.If or some other access control mechanism. Thoughts? Derek On Sat, Oct 31, 2009 at 8:08 AM, David Pollak wrote: > Very cool! > > > > > On Fri, Oct 30, 2009 at 4:44 PM,

[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 aj

[Lift] Re: URL in PlainMailBodyType to BlackBerry

2009-10-30 Thread Derek Chen-Becker
xt on the contents of the PlainMailBodyType instead. Derek On Fri, Oct 30, 2009 at 1:29 PM, Naftoli Gugenheim wrote: > I guess you didn't get around to it yet. Any idea when? Thanks. > http://github.com/dpp/liftweb/issues/#issue/110 > > > On Thu, Oct 15, 2009 at 3:03 PM, D

[Lift] Re: SHtml.ajaxForm postSubmit addition?

2009-10-30 Thread Derek Chen-Becker
we should deprecate one or the other... Thanks, Derek On Fri, Oct 30, 2009 at 1:29 PM, Derek Chen-Becker wrote: > 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:

[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 > wrote: > >> Hi, >>

[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 Mapper

[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 wrote: > > It might be worth taking a look at Redmine (http://www.redmine.org) > for some inspiration. > > I think it h

[Lift] Re: Proposal : Lift ticketing system

2009-10-28 Thread Derek Chen-Becker
editable. So lookup fields specify a lookup table. There can be number > > fields, etc. This way plugins can add fields. For example Trac has a > plugin > > that tracks hours. Of course you could just include every single possible > > field hard coded. It all depends what you're aiming for. > > > > > > > >

[Lift] Re: Proposal : Lift ticketing system

2009-10-28 Thread Derek Chen-Becker
e. There can be number > fields, etc. This way plugins can add fields. For example Trac has a plugin > that tracks hours. Of course you could just include every single possible > field hard coded. It all depends what you're aiming for. > > > > ---

[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 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:

[Lift] Re: Proposal : Lift ticketing system

2009-10-27 Thread Derek Chen-Becker
n 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 wrote: > I'm a fan of Trac, which is

[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 wrote: > > I was running the models of One-To-Many example from WiKi (http:// > wiki.github.c

[Lift] Re: Dynamic radio button

2009-10-27 Thread Derek Chen-Becker
button checked based on the value of coldef.requirecookies) . I was > able to insert using Shtml.radio > But I need to do ajax call on click of the button to modify the value > of requirecookies field. > > Could you please suggest me how to achieve this. > Thanks > Sunanda > >

[Lift] Re: Proposal : Lift ticketing system

2009-10-25 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] 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 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 wrote: > > > > I don't mean to be negative

[Lift] Re: Testing for SQL Server drivers

2009-10-24 Thread Derek Chen-Becker
L 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 wrote: > > I'm pretty much 100% linux at home. I can test any other database (Oracl

[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 th

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

2009-10-23 Thread Derek Chen-Becker
2009 at 5:05 PM, David Pollak wrote: > > > On Fri, Oct 23, 2009 at 3:53 PM, Derek Chen-Becker > wrote: > >> 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 t

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

2009-10-23 Thread Derek Chen-Becker
4:00 PM, David Pollak wrote: > > > On Fri, Oct 23, 2009 at 2:55 PM, Derek Chen-Becker > wrote: > >> 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

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

2009-10-23 Thread Derek Chen-Becker
meSpan. On Fri, Oct 23, 2009 at 3:37 PM, David Pollak wrote: > > > On Fri, Oct 23, 2009 at 2:35 PM, Derek Chen-Becker > wrote: > >> Well, I had intended to write a JodaHelpers trait that is the same as >> Helpers except with JodaTimeHelpers and JodaTimeFormat

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

2009-10-23 Thread Derek Chen-Becker
mport 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 wrote: > > > On Wed, Oct 21, 2009 at 7:20 AM, Derek Chen-Becker > wrote: > >> It sounds like you're pretty set against making separate impl tra

[Lift] Re: Testing for SQL Server drivers

2009-10-23 Thread Derek Chen-Becker
k does have such a machine, he's been doing an awful lot of >> work on Lift. Recruiting people from the community to help is encouraged. >> >> >>> >>> >>> On Wed, Oct 21, 2009 at 6:02 PM, Derek Chen-Becker < >>> dchenbec...@gmail.com>

[Lift] Re: Testing for SQL Server drivers

2009-10-23 Thread Derek Chen-Becker
; On Wed, Oct 21, 2009 at 6:02 PM, Derek Chen-Becker > 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 to test the code on th

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

2009-10-22 Thread Derek Chen-Becker
> On Thu, Oct 22, 2009 at 7:47 AM, Derek Chen-Becker > wrote: > >> It builds for me locally... >> >> > I randomly get that failure locally. > > >> >> On Thu, Oct 22, 2009 at 5:25 AM, Timothy Perrett > > wrote: >> >>> >>

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

2009-10-22 Thread Derek Chen-Becker
ry on lion and see if that fixes it. Derek On Thu, Oct 22, 2009 at 8:47 AM, Derek Chen-Becker wrote: > It builds for me locally... > > > On Thu, Oct 22, 2009 at 5:25 AM, Timothy Perrett > wrote: > >> >> Hmm how strange - it builds fine locally? >> >>

[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 wrote: > > Hmm how strange - it builds fine locally? > > Cheers, Tim > > On Oct 22, 10:56 am, David Pollak > wrote: > > Anyone have a clue as to why the JTA stuff in Lift is unstable on Hudson? > > > > > > > > -

[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 wrote: > > Hi, > I need to add radio button dynamically with one of the button checked > and I need to

[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 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 not... > > INFO] null

[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 --~--~-~--~~

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

2009-10-21 Thread Derek Chen-Becker
gt; http://groups.google.com/group/liftweb/browse_thread/thread/e75046eaf215e97/259da9d9ef22ca7a?lnk=gst&q=%22extends+connectionmanager%22# > > > > On Oct 21, 9:15 pm, Derek Chen-Becker wrote: > > I think that you're making this more complicated that it needs to be, &

[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 d

[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 wrote: > Oops. I just noticed I made source.body a String and not a

[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 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: Are we willing to make a breaking change for Joda Time?

2009-10-21 Thread Derek Chen-Becker
ike to use 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 wrote: > I agree that the goal isn't to remove java.util

  1   2   3   4   5   6   7   8   9   10   >