Howto tell Browser that the model has changed

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

Howto tell Browser that the model has changed

Alex Schenkman
Hi list,

I'd like to tell a browser to refresh, but keeping the selections.
Is this possible?
Where should I look?

This is to be able to show a live feed of events.

Thanks in advance!




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Howto tell Browser that the model has changed

Tudor Girba-2
Hi,

You can update a browser in two ways:
- by explicitly calling "update" on a presentation / browser. This typically happens in an action.
- by listening to an announcement from a model

There are some details here:
http://www.themoosebook.org/book/internals/glamour/update

An example is available here:
GLMBasicExamples new updateableBrowser

Cheers,
Doru


On 18 Jul 2011, at 16:34, Alex Schenkman wrote:

> Hi list,
>
> I'd like to tell a browser to refresh, but keeping the selections.
> Is this possible?
> Where should I look?
>
> This is to be able to show a live feed of events.
>
> Thanks in advance!
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Be rather willing to give than demanding to get."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev