Hi Eros, Thanks for your reply!
> I ran into the same problem. The Alert case class takes only a string. > |case class Alert(val text : String > <http://java.sun.com/javase/6/docs/api/java/lang/String.html>)| | > > |I.e. the result of getWidth is quoted such that it remains a plain > string when it is evaluated on client side. Best thing would be if Alert > was changed to accept a JsExp as parameter, then your code would work. I will try your workaround, but I still don't understand how "Javascript" expressions are evaluated. From what you say, the result of getWidth would be converted to "getAvailableWidth ()" and never actually run. But then "Alert (Run (what))" should work, shouldn't it? But the results are exactly the same! Do you know of any comprehensive description of how such expressions are evaluated by Lift? Job -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=.
