Login  Register

Re: Magritte and in general - missing methods

Posted by Sean P. DeNigris on Jan 23, 2021; 4:15pm
URL: https://forum.world.st/Magritte-and-in-general-missing-methods-tp5126421p5126428.html

Sanjay Minni wrote
> Hi I loaded Magritte... from GitHub

Just to make sure we're talking about the same thing, what's the repo URL?


Sanjay Minni wrote
> asComponent, addValidatedForm are not available... it seems they in the
> other packages which have not been not loaded

Yes, Magritte doesn't load Seaside support by default.


Sanjay Minni wrote
> Magritte Ques: which packages should I load for the whole gamut if I am
> working in
> Pharo + Seaside.

Off the top of my head, try:
Metacello new
        baseline: 'Magritte';
        repository: 'github://magritte-metamodel/Magritte';
        load: #('Seaside').


Sanjay Minni wrote
> General pharo question: in a situation like this how do i figure out
> which package contains the required methods

Can be a bit tricky for unloaded code, but for GH you can use the web UI by
typing e.g. `asComponent` into the search bar and choosing "In this
repository"




-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Cheers,
Sean