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 Pier-seaside-lr.79.
Not too old then, I think it should be easily possible to update.
With some precaution of course ... ;-)
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
it.
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 guess the thing you are taking about is what's in the package Pier-
Forms provides. You can find the package in the official repository:
http://mc.lukas-renggli.ch/pier
There is some documentation in my thesis:
http://www.iam.unibe.ch/~scg/Archive/Diploma/Reng06a.pdf
(3.6.3 Adaptive Forms, Page 39)
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. :)
The example I am giving above needs some work. It is a bit too
complex for people not being familiar with the underlying model. If
you want to improve, feel free to do so ...
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch