Hi,
On Thu, Mar 1, 2012 at 3:07 PM, Ben Coman <btc(a)openinworld.com> wrote:
#formatAsWords - what does this have to do with
composites protocol?
I do not understand the question. This example simply shows how you can use
format to customize how each item gets displayed.
The third pane of System Browser shows 'protocols.' GLMBasicExamples has a
'composite' protocol which includes the formatAsWords method, but I don't
see what formatAsWords has to do with composites.
Oh, I see now :). It's just a mistake.
#magritte - This was one a was I was REALLY interested
to see regarding the
update to Magritte 3. However the code is identical to 4.5. Both 4.5 and
4.6 produce the same error....
[Save] ==> error MAWriteError: Not supposed to write to something.
[Cancel] ==> no change. Now without knowing anything about Magritte, I would
expect the text box to revert to the original text.
What would actually be a fantastic example here would be a small address
book of a few entries that browsed a list in one pane and in another the
magritte detail could be edited.
Thanks. At the moment, I just improved a bit the existing magritte example.
I will try to enhance it a bit if I get some time.
Where do I find this?
Very much looking forward to a further Glamour-Magritte example.
It's in the repository. You can also find it in the latest Moose dev
build, although this will be on Pharo 1.4:
http://ci.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/arti…
#validator [*6]
#validatorDynamic [*6] - but I don't actually see any difference to
operation of #validator method - what am I missing ?
The validatorDynamic example uses a DynamicPresentation, while the simple
validator uses a regular presentation.
So this shows two ways of doing the same thing? Thats okay - but what
advantage does DynamicPresentation have over a regular presentation, and is
there an example demonstrating this?
It's not about the advantage. It was simply to show that the validator
can handle dynamic presentations as well.
The dynamic presentation is covered briefly here:
http://www.themoosebook.org/book/internals/glamour/presentations/dynamic
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"