Hi, I'm making some progress here... but now I need another feature. As I'm using glamour and magritte to present some data who is persistent, I need to being able to react to a #save call on a magritte presentation. For instance... in my browser:
... browser transmit to: #detail; from: #list; andShow: [ :presenter | presenter magritte title: [ :anItem | anItem asString ]; act: [ :presentation :anItem | self removeItem: anItem ] icon: LWUIIcons / #userTrash entitled: 'Borrar' ]. ...
how can I know if user pressed #save and there is a modified object there? (to update persistent repository) working with plain magritte, I'd do:
... anObject asMorph onAnswer: [ :value | blah, blah ]; morph. ...
...so... is there a way in glamour to react to updated objects?
cheers, Esteban