[Lift] Re: Lift deal breakers

2009-09-11 Thread Andrew Scherpbier
Dustin Whitney wrote: Hey, I like Lift so in an effort to improve it I am submitting some criticism. Obtrusive _javascript_: when I create an ajaxButton I get this html: button onclick="liftAjax.lift_ajaxHandler(quot;F1029758482780OTA=truequot;, null, null, null); return false;"Press

[Lift] Re: organizing views of synchronous streams

2009-07-07 Thread Andrew Scherpbier
Maybe you should take a look at this: http://www.simile-widgets.org/timeline/ Ever since I discovered that widget I've wanted to use it for something... Cheers! --Andrew Meredith Gregory wrote: All, Here's a blog post outlining a way to organize synchronous streams of information. i

[Lift] Re: Thoughts on file streaming

2009-07-01 Thread Andrew Scherpbier
It would also be nice to be able to provide progress feedback. The page returned after the form submission can then use comet to display a progress bar or something like that. (The media upload at Vimeo comes to mind as a good example of this!) Also, I would suggest some smarts when

[Lift] Re: Thoughts on file streaming

2009-07-01 Thread Andrew Scherpbier
, 2009 at 9:05 AM, Andrew Scherpbier and...@scherpbier.org wrote: It would also be nice to be able to provide progress feedback. The page returned after the form submission can then use comet to display a progress bar or something like that. (The media upload at Vimeo comes to mind as a good example

[Lift] Re: Trouble with menus and CRUDify

2009-06-23 Thread Andrew Scherpbier
Hi Nolan, I had the same requirements. What I ended up doing is something along these lines: // // For the brand maintenance, we'll use the standard CRUDify stuff from the Brand model. // The menus created by CRUDify will be plucked apart. The view menu will be the main brand

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-17 Thread Andrew Scherpbier
Isn't this just the result of JIT development? Don't need something right now, don't implement it. If you need it later, refactor. I'm probably looking at this too much from a low level grunt developer. I understand that when developing a framework or anything with a public API these are

[Lift] Re: Speed of Jetty start-up

2009-05-26 Thread Andrew Scherpbier
Hi Joe, I may be out on a limb here, but could this be a DNS issue with your VM setup? For me, a 120 second timeout makes me look at network trouble first. I too run VirtualBox on a mac for some stuff, but have found its networking support just different enough from VMWare (my normal vm

[Lift] select() and selectObj() vs just ajaxSelect()

2009-05-18 Thread Andrew Scherpbier
Lifted, Is there any reason why SHtml doesn't have ajaxSelectObj()? Is it hard to implement something like that outside of the SHtml object? (I looked at the source, but my Scala knowledge is not up to this quite yet. :-() --Andrew --~--~-~--~~~---~--~~ You

[Lift] MappedDecimal question

2009-05-18 Thread Andrew Scherpbier
How does one format a BigDecimal? I don't want to .toString()... I'm using a MappedDecimal and I would to format its value. I've tried using java.lang.String.format() but it doesn't know what a scala.BigDecimal is... Help! BTW, I'm using 1.1-SNAPSHOT --Andrew

[Lift] Re: MappedDecimal question

2009-05-18 Thread Andrew Scherpbier
Derek On Mon, May 18, 2009 at 6:19 PM, Andrew Scherpbier and...@scherpbier.org wrote: How does one format a BigDecimal?  I don't want to .toString()... I'm using a MappedDecimal and I would to format its value.  I've tried using java.lang.String.format() but it doesn't know wha

[Lift] Re: how to add object into session scope in lift

2009-05-03 Thread Andrew Scherpbier
David Pollak wrote: On Thu, Apr 30, 2009 at 10:48 PM, Andrew Scherpbier and...@scherpbier.org mailto:and...@scherpbier.org wrote: The Getting Started document got me hooked on Lift. :-) I guess I'll report my struggles from there. I don't know if what I did is typical

[Lift] Re: Article about URL rewriting in Lift

2009-05-03 Thread Andrew Scherpbier
Wow, this is awesome! Can a link to this be provided from the wiki/getting started guide/api docs? --Andrew Timothy Perrett wrote: Guys, Thought people might find this an interesting article about lift's URL rewriting system and help out some newbies :-) http://is.gd/wq4K Cheers, Tim

[Lift] Re: how to add object into session scope in lift

2009-05-01 Thread Andrew Scherpbier
better in the Getting Started document on the web site. If you want to read through that and provide feedback here on the list that would be great. Derek On Thu, Apr 30, 2009 at 12:20 PM, Andrew Scherpbier and...@scherpbier.org mailto:and...@scherpbier.org wrote: Derek, That's

Static imports considered evil? (was: Re: [Lift] Re: how to add object into session scope in lift)

2009-05-01 Thread Andrew Scherpbier
I just realized another issue I keep running into... Since I don't have the full liftweb API in my head, yet, I am having trouble with some of the examples because of the use of ._ for imports (and this is why I never let my developers use static or wildcard imports in our own java code) For

[Lift] Re: how to add object into session scope in lift

2009-04-30 Thread Andrew Scherpbier
docs to the API. Derek On Wed, Apr 29, 2009 at 12:57 PM, Andrew Scherpbier and...@scherpbier.org mailto:and...@scherpbier.org wrote: I totally concur on the awesome explanation. As a matter of fact, can a committer add some of this stuff (maybe not the scala stuff

[Lift] Re: how to add object into session scope in lift

2009-04-29 Thread Andrew Scherpbier
I totally concur on the awesome explanation. As a matter of fact, can a committer add some of this stuff (maybe not the scala stuff but the actual explanation of the SessionVar) to the scaladocs of the SessionVar class/object? That would be a great place for this kind of documentation. rant

[Lift] jQuery datePicker?

2009-04-28 Thread Andrew Scherpbier
Scala, Javascript, and Lift newbie question: How do I integrate the jQuery datepicker? I'd like to enforce some standard date format that a user must enter for a database field. I'm use CRUDify on a model object with a date field and I'd like to have it use a datepicker instead of just a

[Lift] 1.1-SNAPSHOT API docs

2009-04-28 Thread Andrew Scherpbier
Are the 1.1-SNAPSHOT API docs online somewhere? If not, can I generate them myself using maven2? (As an aside, I'm new to maven... How the !#$#$ do you figure out what commands are available in maven? I'm used to ant -projecthelp to give me a hint as to what is available) --Andrew

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread Andrew Scherpbier
Hi kkarad, I'm a fellow newbie to lift (and scala) and ran into the same issue. I believe the solution is simple: You need to create entries in your SiteMap for every page. You'll need to do that in your Boot.scala. Make them Hidden if you don't want them displayed in the menu; you still

[Lift] Re: CRUDify and hidden fields?

2009-04-22 Thread Andrew Scherpbier
On Apr 21, 1:29 pm, David Pollak feeder.of.the.be...@gmail.com wrote: I just added dbIncludeInForm_? If you set that to false, the field will be included in display, but not in input forms. I think I found a small bug with your recent change: when I set this to false for a field, the list of