OK, so I got it running now, thanks!
But I hit the next hurdles:
- the updatableBrowser example is too complex for the glamour newbees
like me. Can you make a simple example, like using a plain old
OrderedCollection {1 2 3} that is shown in a list and a button where
hitting the button adds the next number to the collection?
- there is no menu in the mondrian presentations of updatableBrowser
(and neither in the root of AspectMaps) :-(
On 18 Jan 2010, at 18:26, Tudor Girba wrote:
Hi,
It's done in two ways :).
1. The actions defined on the Mondrian presentations now appear as a
menu on the root in the view. With this you can trigger update. See:
GLMBasicExamples new updatableBrowser
(execute "self add: 4" in the inspector and then see what happens in
the views)
2. The painting block now gets after the entity variables an entry
to the mondrian presentation. So, you can use it for manipulating
the presentation from inside the mondrian script:
a mondrian
painting: [:view :entity :mondrianPresentation | ... ]
Cheers,
Doru
--
Johan Fabry
jfabry(a)dcc.uchile.cl -
http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile