Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Callback if Datasource is updated

    Hi,

    I am working on some kind of “mash up” component that displays Data from multiple Datasources. It fetches the data from them (critiera query) once it gets instantiated. I’d like to keep its state current, i.e. if new data is added to the Datasource (client side only) the “mash up” component should update its state.
    I don’t like the idea of extending DataBoundComponent as it seems to be a bit overkill and I would also have no idea how to incorporate several data sources into one DataBoundComponent.
    So what other options are there to get notified by a datasource that gets its client side data updated?

    I imagine some kind of listener registration API on Datasources that accepts criteria, is there something like this?

    Thanks,
    fatzopilot

    #2
    You can create a ResultSet and attach a DataChanged handler.

    Comment

    Working...
    X