Hi David,
thank you for your quick reply.
I'm using the latest 0.10-SNAPSHOT.

Here's the code I'm using. The line in the backtrace is 
<tr> <td> {text(title, t => title = t)} </td> </tr>

protected def renderChannelActions(): NodeSeq = {
    var title = ""
    var message = ""
    def sendNew(): Unit = {} //snipped 

    val body = <table>
    <tr> <td>Title:</td> </tr>
    <tr> <td> {text(title, t => title = t)} </td> </tr>
    <tr> <td>Message:</td> </tr>
    <tr> <td> {textarea(message, m => message = m)} </td> </tr>
    <tr> <td> {submit("New message", () => sendNew)} </td> </tr> </table>

    ajaxForm(JsCmds.Noop, body)
  }

This method creates the reply of a actor message. It's called in the act() 
implementation by:
        case RenderChannelActions => reply(renderChannelActions)

> Are you using Lift 0.10-SNAPSHOT or 0.9?
>
> If it's 0.10-SNAPSHOT, it should work.  If it doesn't, please post sample
> code and I'll fix the bug.

Joachim



--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to