Hi all,
I'm trying to create some sort of progress notification for a long
lasting request. The idea is to answer an ajax request with a
JqJsCmds.ModalDialog which embeds a comet actor like so:
ajaxButton("Start process", () => ModalDialog(<div><div>Progress</
div><lift:comet type="Progress"/></div>))
Unfortunately this doesn't work, the dialog doesn't get displayed.
Embedding a "normal" snippet works just fine though.
The code returned in the response to the button click seems ok also.
As a workaround I place the comet actor in the page enclosed in a
hidden <div id="progress-actor"><lift:comet type="Progress"/></div>.
Then I return the ModalDialog(<div><div>Progress</div><div id="actor-
goes-here"></div>) along with some JS-code that takes the "progress-
actor" div, moves it into the "actor-goes-here" div and makes it
visible.
Does anyone tried something similar? Any help is appreciated...
Chris
--
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=en.