lightbox question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

lightbox question

Brian Brown-2
... Is there any way to trigger an update after a self lightbox: ...;  
when I come back from working with the form in the lightbox, I'll  
like to refresh a div on the page, but since I'm a newbie with  
respect to Scriptaculous, I don't see how I can do that.

Any thoughts?

Thank you,

Brian

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: lightbox question

Brian Brown-2
I still haven't figured out how to do this, but have tried working  
with #evaluator and friends, which can be used to apply multiple  
actions at one time.. is that correct? Is that what I should be using  
to do this?

Thanks!

Brian

On May 10, 2007, at 1:14 PM, Brian Brown wrote:

> ... Is there any way to trigger an update after a self  
> lightbox: ...; when I come back from working with the form in the  
> lightbox, I'll like to refresh a div on the page, but since I'm a  
> newbie with respect to Scriptaculous, I don't see how I can do that.
>
> Any thoughts?
>
> Thank you,
>
> Brian
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: lightbox question

Lukas Renggli
> I still haven't figured out how to do this, but have tried working
> with #evaluator and friends, which can be used to apply multiple
> actions at one time.. is that correct? Is that what I should be using
> to do this?

#lightbox: doesn't use AJAX, it is exactly the same as #call:. When
you #answer: from the lightbox you get a full page refresh anyway,
therefor I don't see why you want to use AJAX to update the page
afterwards?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: lightbox question

Brian Brown-2

On May 11, 2007, at 10:47 AM, Lukas Renggli wrote:

>> I still haven't figured out how to do this, but have tried working
>> with #evaluator and friends, which can be used to apply multiple
>> actions at one time.. is that correct? Is that what I should be using
>> to do this?
>
> #lightbox: doesn't use AJAX, it is exactly the same as #call:. When
> you #answer: from the lightbox you get a full page refresh anyway,
> therefor I don't see why you want to use AJAX to update the page
> afterwards?

Yes, my problem was actually quite a bit different than I thought! I  
am using an MAReport on the page, and my "add" link was using the  
lightbox. The MAReport wasn't refreshing because I wasn't sending  
asDynamicObject to my report collection. Once I did that, the report  
refreshed as I expected ;-)

Cheers!

Brian



>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside