[Seaside] Re: I am sure that experts would know wby the browser's format does not work

Tobias Pape Das.Linux at gmx.de
Mon May 27 20:35:34 UTC 2013


Am 27.05.2013 um 19:23 schrieb intrader <intrader at aol.com>:

> intrader <intrader <at> aol.com> writes:
> 
>> ... 
>> What I know changed is Magritte.
>> 
> 
> Indeed, on 3.0.6 and Squeak 4.3, Monticello shows that Magritte2 is running.
> On 3.0.8 and Squeak 4.4, Monticello shows Magritte3. 
> 
> I am continuing to investigate, as probably I need to migrate the
> application to Magritte3.
> 
> What a bummer; a major tutorial broken by Magritte3.
> 


I think a quick-fix for you to continue:

1) Create the description methods on the _instance_ side and not on the _class_ side
   (eg, StTask>>#descriptionCompleted instead of StTask class>>#descriptionCompleted)
2) Add a <magritteDescription> method property (aka pragma) like this:

descriptionCompleted
 <magritteDescription>
 ^ MABooleanDescription new
  selectorAccessor: #completed;
  label: 'Completed?';
  priority: 30;
  default: false;
  yourself

3) replace the send to #description in "Dynamic Descriptions" and "Create a Report"
   with a send to  #magritteDescription

Hope that helps

Best
	-Tobias



More information about the seaside mailing list