[Lift] Re: Embedding comet actor in ModalDialog

2010-01-21 Thread Marius
Right ... building progress bars should be quite easy but just have your page contain the comet actor.So roughly the steps would be: 1. Include your comet in the page. In this state it renders nothing visible 2. hen you open the dialog, send an ajax response 3. From your ajax scal function send a

[Lift] Re: Embedding comet actor in ModalDialog

2010-01-20 Thread ced
@David: Thanks. Now the approach is clear. > Is that your use-case ? so see async intems coming from server > only when the dialog is opened? @Marius: Yes, it is. I'd like to display a progressbar in the dialog. It seemed to me quite natural to deliver it (the comet component) along with the

[Lift] Re: Embedding comet actor in ModalDialog

2010-01-20 Thread Marius
I really don't see the need for such use-case. I mean if one wants to see async stuff in a dialog only when the dialog is opened this could be easily done via Ajax requests that will "activate"/"deactivate" async messages to client by sending from the ajax functions messages to the comet actor. Is