[Lift] Re: Swampland

2009-01-12 Thread David Bernard
Do you try to do a bug tracker or a generic issue tracker/task planner ? Quick note about bug tracker ? * I like id like JIRA, projectPrefix-projectNum and not a global Num (cross project) * supporting part of the JIRA remote API will simplify integration with third-party tool (hudson,

[Lift] Re: Replacing a NodeSeq (further explanation)

2009-01-12 Thread David Pollak
On Sun, Jan 11, 2009 at 5:19 PM, Charles F. Munat c...@munat.com wrote: Essentially, the problem I am having, I think, is that SetHtml hard codes the HTML that will replace the current HTML. SetHtml does what you want: span id=fooNothing here, yet/span { ajexButton(Press me, () =

[Lift] Re: Replacing a NodeSeq

2009-01-12 Thread David Pollak
On Sun, Jan 11, 2009 at 4:58 PM, Charles F. Munat c...@munat.com wrote: Yeah, I found this and have been playing with it, but am sort of stuck. What I'm doing looks something like this (but is much more complicated): def getForm: NodeSeq = { val widgets = [List(id,name) of unused widgets]

[Lift] Re: Replacing a NodeSeq (further explanation)

2009-01-12 Thread Derek Chen-Becker
It's a little hard for me to wrap my head around this, but it seems like it should work as long as you're properly updating the widgets val on each call. Have you tried putting in some simple logging statements to ensure that the intended flow of your processing is being honored? Derek On Sun,

[Lift] Re: Replacing a NodeSeq

2009-01-12 Thread Charles F. Munat
Here is the actual code (only the names have been shortened): def getWidgetsBlock: NodeSeq = { val widgets = Model.createNamedQuery[Widget](findAllWidgets) .findAll .toList.map((x: Widget) = {(x.id.toString, x.name)}) val currentWidgets = JPA.setToWrapper(thing.widgets)

[Lift] Re: Replacing a NodeSeq

2009-01-12 Thread David Pollak
Charles, Without any more understanding of JPA than I have gleaned based on the messages on this list, I'm guessing that you have a transaction open on the thread for the first request and each of subsequent requests are going against different DB transactions and thus the changes that one makes

[Lift] Urgent call for testing IE against Lift apps

2009-01-12 Thread David Pollak
Folks, We're getting close to shipping Lift 0.10. I've recently made some changes to how Lift renders XHTML into HTML for IE. I'd like to get 2 to 5 folks to do some serious testing of their Lift apps against IE 6 and 7 over the next few days. Who will be kind enough to volunteer? Thanks,

[Lift] Re: Urgent call for testing IE against Lift apps

2009-01-12 Thread Charles F. Munat
I have IE6 and IE7 running in VMWare on one of my Linux boxes. I'd planned to test my various Lift sites (five so far) against both soon. I can move this up and try to do it this week. That said, most of my apps are pretty straightforward CRUD and basic AJAX, so I'm not sure how helpful that

[Lift] Re: Urgent call for testing IE against Lift apps

2009-01-12 Thread David Pollak
On Mon, Jan 12, 2009 at 12:48 PM, Charles F. Munat c...@munat.com wrote: I have IE6 and IE7 running in VMWare on one of my Linux boxes. I'd planned to test my various Lift sites (five so far) against both soon. I can move this up and try to do it this week. That said, most of my apps are

[Lift] Re: Urgent call for testing IE against Lift apps

2009-01-12 Thread Charles F. Munat
Will do. David Pollak wrote: On Mon, Jan 12, 2009 at 12:48 PM, Charles F. Munat c...@munat.com mailto:c...@munat.com wrote: I have IE6 and IE7 running in VMWare on one of my Linux boxes. I'd planned to test my various Lift sites (five so far) against both soon. I can

[Lift] neophyte lift ajax question

2009-01-12 Thread Meredith Gregory
Lifted, i have been using the AJAXForm example from the hellodarwin sample as a template for my simple little experiments with lift. Occasionally, i have gotten XML Parsing Error: prefix not bound to a namespace Location: http://localhost:8080/AJAXREPLForm Line Number 72, Column 46:label

[Lift] Re: neophyte lift ajax question

2009-01-12 Thread Charles F. Munat
Greg, The hello namespace is set up in the call to bind in HelloForm2.scala: class HelloForm2 { object who extends RequestVar(Full(world)) def show(xhtml: NodeSeq): NodeSeq = { bind(hello, xhtml, whoField - text(who.openOr(), v = who(Full(v))) % (size - 10) % (id -

[Lift] Re: neophyte lift ajax question

2009-01-12 Thread Meredith Gregory
Chas, That's exactly what i thought. But, that would be a bug -- unless i've misunderstood something -- because, then the effect of the bind is bleeding over into the behavior of the ajax form. Best wishes, --greg On Mon, Jan 12, 2009 at 1:19 PM, Charles F. Munat c...@munat.com wrote: Greg,

[Lift] Re: neophyte lift ajax question

2009-01-12 Thread Meredith Gregory
Chas, et al, To clarify - Suppose you only had the ajax form in the site menu. You would never call the bind. So, the namespace would not be set up and the form should/would not work. - Additionally, in the given sample application the behavior associated to the widgets in

[Lift] Re: neophyte lift ajax question

2009-01-12 Thread David Pollak
On Mon, Jan 12, 2009 at 1:58 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Chas, et al, To clarify - Suppose you only had the ajax form in the site menu. You would never call the bind. So, the namespace would not be set up and the form should/would not work. As long as

[Lift] Re: neophyte lift ajax question

2009-01-12 Thread David Pollak
On Mon, Jan 12, 2009 at 3:24 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: David, Thanks for the follow up. i found what i believe to be the problem. i'll try to post a reasonable analysis in the next few days. No worries. I'll take help from you any way I can get it. i'm sort of

[Lift] dynamic page content

2009-01-12 Thread Charles F. Munat
I currently have several sites where I permit users to update page content using Markdown, saving the code in the database. I use a Page object tied to the url of the page, and a PageOps snippet. Then I surround the template thus: lift:PageOps.public div id=main page:blockOne/ /div

[Lift] Scala 2.7.3 and Lift testing

2009-01-12 Thread David Pollak
Folks, I've been running tests all day long creating and destroying Lift sessions (Lift sessions have Actors and the 2.7.2 reference retention was causing Out of Memory Errors.) So far, the session/Actor creation and destruction process has been working perfectly and there's no memory use

[Lift] Re: Scala 2.7.3 and Lift testing

2009-01-12 Thread TylerWeir
That's good news, or at least the precursor to good news. On Jan 12, 8:21 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I've been running tests all day long creating and destroying Lift sessions (Lift sessions have Actors and the 2.7.2 reference retention was causing Out of

[Lift] Re: Swampland

2009-01-12 Thread dwischusen
I've always been a fan of Redmine (http://www.redmine.org/). Primarily because it's (1) Easy to set up. (2) Has a clean, simple UI that uses AJAX in a number of places to make things a bit more responsive. (3) Provide a good interface for filtering issues. (4) Has a good plug-in architecture.