From: Lukas Renggli <renggli(a)iam.unibe.ch>
Reply-To: "Magritte, Pier and Related Tools ..." <smallwiki(a)iam.unibe.ch>
To: "Magritte, Pier and Related Tools ..." <smallwiki(a)iam.unibe.ch>
Subject: Re: PRModel
Date: Mon, 22 Jan 2007 07:47:03 +0100
What package? There are several packages with version 79, some of
them even have multiple branches with a 79 version. Pier-All-lr.79?
Well, the point is, it's old now. It is Pier-model-lr.79 I think and
> But it occurs to me that this is a more general problem. I have
> which may be image only, or it may actually live in the database.
> I want to
> do a "PRModelPage" add, have the edit let me select the model and
> then after
> the model is known the Edit command will edit the object directly.
I am a bit confused. First you talk about Components, I guess you
Now you talk about models, what is a "PRModelPage"?
Then you talk about the addition of a structure. And about the fact
the user has to choose the type (Page, File, Component) before adding
Well, I guess at 4am it seemed clear enough. :) What I was basically
thinking was (as clearly as I can remember it) if I have some class that was
previously in the image (for example) that happens to be a domain object,
then maybe we could have a generic class that has a member variable "model".
The initial "Edit" command in pier would let you point this model variable
at a given class, database table or whatever. After that, the class would
have the meta-descriptions so that the pier "Edit" command would let you
edit an instance of the actual domain object, etc. :)
I realize you can do this from Magritte by adding the meta information
directly, but I was just trying to think of a way to make it more automatic.
Maybe it's a bad idea, which is why I wanted to ask before I go writing
misguided code. :)
Isn't this already the default behavior? Adding lets you select
type, then an editor on the selected type is displayed. Two-phases,
the first one always looks the same, the second one is different
depending on the type selected and its user customizable settings.
It is. I was just thinking of one more layer between. Thanks for the quick
Laugh, share and connect with Windows Live Messenger