class OpenStudyEvent(event:String, data:JObject = JObject(List())) extends JsCmd {override val toJsCmd = {if (data.obj.length == 0)Call("openstudy.event", event).cmd.toJsCmdelseCall("openstudy.event", event, data).cmd.toJsCmd}}class BasicOpenStudyEvent(event:String) extends JsCmd {import Serialization._implicit val formats = Serialization.formats(NoTypeHints)override val toJsCmd = {Call("openstudy.event", event, decompose(this)).cmd.toJsCmd}}
SHtml.ajaxInvoke(() => {ShowEditMessageModal(event.id, messageInfo.subject, messageInfo.body)}).guid
liftAjaxCall = function(functionName, functionValue) {functionValue = functionValue || 'true';liftAjax.lift_ajaxHandler(functionName + '=' + functionValue, null, null, null);}
def functionIdForStringField(fn:(String)=>Any) : String = {S.fmapFunc(S.SFuncHolder(string => fn(string)))((name:String) => name)}
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Please see http://blog.goodstuff.im/roundtrip_promises
A lot of the across address space stuff is handled with streaming promises.