[Lift] Re: Submitting a form and returning results

2009-10-25 Thread ben
I worked around this in the end with a stateful snippet, not sure it feels right though ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To

[Lift] Re: Submitting a form and returning results

2009-10-22 Thread Thiébaut Champenier
Hi ben, def doBind(form: NodeSeq) = { bind(peopleSearch, form, nameToSearchFor - search.nameToSearchFor.toForm, submit - submit(Search For People, performSearch), searchResults - renderResults(search) ) } You’re relying on the order of execution in