Magritte Chapter in Seaside Book - Missing Method

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Magritte Chapter in Seaside Book - Missing Method

bprior
Further to my previous posts on this subject, I looked into a Seaside-2.8.4 image
 to find that:

1. The method, asComponent, is in the class Object.

   Object >> asComponent
    ^self description asComponentOn: self

2. The method, asComponentOn:, is in the class MAContainer.

   MAContainer >> asComponentOn:
    ^self componentClass
       memento: (anObject mementoClass
                 model: anObject
                 description: self)

I haven't found these methods in Pharo3/Seaside3/Magritte3.

How are components created from descriptions without them?

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Magritte Chapter in Seaside Book - Missing Method

Esteban A. Maringolo
Do you have the Magritte-Seaside package installed?

With Pharo2, Seaside3.1, Magritte3.1 the method #asComponent is in
Object under the category '*magritte-seaside-converting'

Regards!



Esteban A. Maringolo


2014-02-20 15:36 GMT-03:00 Bruce Prior <[hidden email]>:

> Further to my previous posts on this subject, I looked into a Seaside-2.8.4
> image
>  to find that:
>
> 1. The method, asComponent, is in the class Object.
>
>    Object >> asComponent
>     ^self description asComponentOn: self
>
> 2. The method, asComponentOn:, is in the class MAContainer.
>
>    MAContainer >> asComponentOn:
>     ^self componentClass
>        memento: (anObject mementoClass
>                  model: anObject
>                  description: self)
>
> I haven't found these methods in Pharo3/Seaside3/Magritte3.
>
> How are components created from descriptions without them?
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside