Re: MVP design question
Posted by Ian Bartholomew-19 on Jan 14, 2005; 9:43am
URL: https://forum.world.st/MVP-design-question-tp3372678p3372684.html
Bill,
What does the Now button do? I'm not quite sure from your description - does
it set or get the current timestamp.
> Obviously[*], the Now button needs to set the date when it is part of a
> time stamp presenter. The question is how to do it. Options include
> triggering an event and command routing. Any preferences?
I think I'd trigger an event in the #now method and register for that event
in the time stamp presenters #createSchematicWiring method. That would seem
to be the "normal" way to do it and avoids any complication that could occur
when trying to adjust the command routing.
--
Ian
Use the Reply-To address to contact me.
Mail sent to the From address is ignored.