Yes the PRForms work perfectly in the newest Pier. The main cause was indeed the missing readUsing: and write:using: methods.
Here's my attempt at understanding what went wrong:
In my case, the missing readUsing: method caused the readUsing: method in Object to respond instead, which read the description of a PREditFormCommand instance rather than the description from the metamodel of the PRForm instance, which was missing a bunch of
descriptions.
I'm not quite sure how does Pier knows what descriptions it needs to look for when I fed it the wrong descriptions. Can anyone shed some light?
Thanks,
-Bill
----- Original
Message ----
From: Damien Cassou <damien.cassou@laposte.net>
To: Bill Sun <billksun@yahoo.com>
Sent: Tuesday, July 25, 2006 11:02:46 AM
Subject: Re: Trouble Following Pier Example in Master Thesis
Bill Sun wrote:
> Damien,
>
> Ah, I see, the example from the thesis was integrated into the latest
> Pier. That's probably why you already have it.
>
> The main difference that I see from the newest Pier and the code that I
> entered manually is that the PREditFormCommand class has both readUsing:
> and write:using: methods in the latest Pier while the code that I
> entered from the master thesis did not.
Does it work on the new version ? Do you understand why it doesn't on
the old one ? More questions ?
Bye