[Lift] Re: in a heap o' trouble

2009-03-23 Thread Josh Suereth
http://scala-tools.org/mvnsites/maven-scala-plugin/plugin-info.html Click on any particular goal and you'll get a list of its configuration options. A union of all those is the complete list for the plugin. Those are generated from the annotations in the source code, so they should be *way*

[Lift] Re: in a heap o' trouble

2009-03-23 Thread Josh Suereth
I just noticed that some of those documented configuration options aren't very enlightening. I may take a pass at providing more in-depth descriptions so one isn't left to guess what things mean. If anyone want to help de-mavenize the descriptions, feel free to contribute! (The goals

[Lift] Re: in a heap o' trouble

2009-03-23 Thread Charles F. Munat
Thanks! Josh Suereth wrote: http://scala-tools.org/mvnsites/maven-scala-plugin/plugin-info.html Click on any particular goal and you'll get a list of its configuration options. A union of all those is the complete list for the plugin. Those are generated from the annotations in the

[Lift] Re: Menu widget

2009-03-23 Thread Derek Chen-Becker
OK, I've pushed the new code on the wip-dcb-dropdown branch. I made some minor mods to the builtin Menu snippet (and changes to the Menu widget to match): 1. Added an expandAll attribute that renders the entire SiteMap. 2. Added a new top prefix to the builder snippet to allow for

[Lift] Re: Where are the lift jars?

2009-03-23 Thread Derek Chen-Becker
It should be functional (as in, no errors). The XML parsing error is an issue with Firefox and Lift, and is fixed in 1.1, but not 1.0, which is what PocketChange currently uses (to match the book). I think we're working on backporting the fix to 1.0. If you see other errors, please let us know

[Lift] Re: Getting Started HTML Has Rogue Tildas

2009-03-23 Thread Derek Chen-Becker
Convert the PDF to HTML? The PDF is already on the site. If you're talking about converting the LaTeX to HTML, let me know and I can send you a dump of the current LaTeX. Derek On Sat, Mar 21, 2009 at 11:39 PM, lmorroni la...@morroni.com wrote: I see it on some inline text too: The

[Lift] Re: Menu widget

2009-03-23 Thread marius d.
Cool ... if you tested it and the MenuWidget, from my perspective it is good to go into master. And it's really great that you added the ScalaDocs !!! Br's, Marius On Mar 23, 6:07 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: OK, I've pushed the new code on the wip-dcb-dropdown branch. I

[Lift] Portable components of logic?

2009-03-23 Thread Tim Perrett
Guys, Has anyone got a good strategy for packaging up components of logic within lift? At our company we have a particular application that im writing some really nice logic for inside lift and im wondering how I can package that up and re-use it (short of copy and paste snippet files and the

[Lift] Re: Lift as a UI in server side OSGi

2009-03-23 Thread Chad Skinner
I'm working with a couple of the OSGi gurus on this issue. They're in town for EclipseCon this week and I'll be meeting with them on Thursday. Don't worry about doing anything... we'll get OSGi support into Lift. David and everyone, Thanks for all of your help on this and your effort on

[Lift] Re: Portable components of logic?

2009-03-23 Thread David Pollak
Tim, Look in LiftRules for SnippetDispatchPF Yes, you can dispatch snippets to objects defined in other JARs. Thanks, David On Mon, Mar 23, 2009 at 11:03 AM, Tim Perrett timo...@getintheloop.euwrote: Guys, Has anyone got a good strategy for packaging up components of logic within lift?

[Lift] Re: Portable components of logic?

2009-03-23 Thread Timothy Perrett
Sure, I know this :) But what about CSS etc, how can they then become resolvable / includable in html (and/or scala view) code? Thanks Tim On 23/03/2009 18:08, David Pollak feeder.of.the.be...@gmail.com wrote: Tim, Look in LiftRules for SnippetDispatchPF Yes, you can dispatch snippets

[Lift] Re: Portable components of logic?

2009-03-23 Thread David Pollak
On Mon, Mar 23, 2009 at 11:12 AM, Timothy Perrett timo...@getintheloop.euwrote: Sure, I know this :) But what about CSS etc, how can they then become resolvable / includable in html (and/or scala view) code? You could have the CSS reference generated in the Snippet. You can also have

[Lift] Re: Portable components of logic?

2009-03-23 Thread Timothy Perrett
You could have the CSS reference generated in the Snippet. When you say reference, are you referring to a style-sheet link or the *actual* CSS itself? You can also have views in code (see ViewDispatchPF) and do lift:embed / in your code to refer to the Scala-based view code. I've seen

[Lift] Re: Portable components of logic?

2009-03-23 Thread David Pollak
On Mon, Mar 23, 2009 at 11:57 AM, Timothy Perrett timo...@getintheloop.euwrote: You could have the CSS reference generated in the Snippet. When you say reference, are you referring to a style-sheet link or the *actual* CSS itself? Either. You can also have views in code (see

[Lift] Re: Schema management with JPA

2009-03-23 Thread saem
I suggest checking out http://www.liquibase.org/ It's the best open source database change management tool I've come across to date. On Mar 20, 11:18 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Well. I think it depends. I know that if you use the hibernate provider that you can set a

[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: [scala-user] [ANN] Exploring Lift: a Book for the Scala-based Web Framework

2009-03-23 Thread David Pollak
On Mon, Mar 23, 2009 at 2:14 PM, Viktor Klang viktor.kl...@gmail.comwrote: Guys, I'm expecting a signed copy... ;) Who's the father? :-) On Mon, Mar 23, 2009 at 7:24 PM, TylerWeir tyler.w...@gmail.com wrote: Dave Griffith wrote: Garrett Rowe-2 wrote: I'll be buying the

[Lift] Re: [scala-user] [ANN] Exploring Lift: a Book for the Scala-based Web Framework

2009-03-23 Thread Viktor Klang
On Mon, Mar 23, 2009 at 10:16 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Mar 23, 2009 at 2:14 PM, Viktor Klang viktor.kl...@gmail.comwrote: Guys, I'm expecting a signed copy... ;) Who's the father? :-) You are the daddy. ;) On Mon, Mar 23, 2009 at 7:24 PM,

[Lift] Re: [ANN] Exploring Lift: a Book for the Scala-based Web Framework

2009-03-23 Thread marius d.
LOL ... but damn right. At this point I can only wholeheartedly thanks David and each and every committer for Lift's existence. Br's, Marius On Mar 23, 11:22 pm, Viktor Klang viktor.kl...@gmail.com wrote: On Mon, Mar 23, 2009 at 10:16 PM, David Pollak feeder.of.the.be...@gmail.com wrote:

[Lift] Re: Portable components of logic?

2009-03-23 Thread Timothy Perrett
Perhaps tomorrow.  I will be whipped into a mass of jello if I don't get Ch08D2 done today... along with the front matter. lol! No worries at all David. Tomorrow would be great :-) Thanks, Tim --~--~-~--~~~---~--~~ You received this message because you are

[Lift] Re: How to correctly use MappedDateTime

2009-03-23 Thread tclendenen
That would make sense but the format string is MM/dd/, hh:mm a. My initial question, although not asked correctly, came from looking through the code and seeing the DateExtension class in TimeHelpers. It states This class adds a noTime method the Date class, in order to get at Date object

[Lift] Re: How to correctly use MappedDateTime

2009-03-23 Thread Derek Chen-Becker
Ah, sorry, I misread. The parse should be working fine, then. The MappdeDateTime really should be saving the full Date instance that's passed to it, so please let me know if the Date that you're setting as the value is losing the time info. Also, what DB engine are you running against? Derek On

[Lift] Re: Slash and burn

2009-03-23 Thread bradford
Hi Guys, I too would like to access /foo and /foo/. Any updates on this? Second, I have /foo.html that surrounds default at content. I have a situation where / should look exactly like /foo. I don't want to redirect to foo. How else can I achieve this without copying the contents of

[Lift] Re: Slash and burn

2009-03-23 Thread David Pollak
On Mon, Mar 23, 2009 at 5:03 PM, bradford fingerm...@gmail.com wrote: Hi Guys, I too would like to access /foo and /foo/. Any updates on this? /foo maps to /foo.html /foo/ maps to /foo/index.html This has not and will not change. If you are using SiteMap, make sure there are SiteMap

[Lift] lift:Menu.group

2009-03-23 Thread bradford
The idea of LocGroup is great. I have a few Menu's with LocGroup (group1). I want to generate: ul class=menu lia href=/foo1spanFoo1/span/foo lia href=/foo1spanFoo1/span/foo lia href=/foo1spanFoo1/span/foo /ul for just group1. It appears that lift:Menu.group / does not print ul and li, and

[Lift] Re: How to correctly use MappedDateTime

2009-03-23 Thread tclendenen
I overrode the save method of the ToDo class and placed println (toString) before and after the getSingleton.save(this) call. Both print the correctly formatted date, but it still shows up on the page and in the database as 12:00. I am using the Derby 10.4.2.0 On Mar 23, 6:42 pm, Derek

[Lift] Re: lift:Menu.group

2009-03-23 Thread bradford
Also, I'm using 1.1-snapshot and lift:Menu.item name=foo1 / will always show except when i am on /foo1. For this case it doesn't even render. On Mar 23, 8:41 pm, bradford fingerm...@gmail.com wrote: The idea of LocGroup is great.  I have a few Menu's with LocGroup (group1).  I want to

[Lift] Re: lift:Menu.group

2009-03-23 Thread bradford
I apologize for all of the messages. I got a little hasty with this email. This is what I'm looking for: ul class=menu lia href=/foo1spanFoo1/span/foo lia href=/foo2spanFoo2/span/foo lia href=/foo3spanFoo3/span/foo /ul On Mar 23, 8:41 pm, bradford fingerm...@gmail.com wrote: The idea of