Using Magritte objects in pier
norbert at hartl.name
Wed Feb 25 09:43:01 MET 2009
last week I did a new start on pier (ok, I do this every
couple of months :) ). I did an application in the late
2006 I'm now trying to ressurect. I developed myself an
external component tree that has a configuration for the
whole site. It has several display modi and makes heavily
use of Announcements to switch/show stuff.
Now I'm thinking that I could benefit by exchanging my
component tree with pier. This way it would be more
flexible and a lot of decorating html stuff could be
managed by pier.
In the project I also use magritte. I'm not very familiar
with pier so my questions might be very stupid.
- How do I embedded any magritte object on a page? In my
code I just do anObject asComponent. Is there an easy
way to just integrate objects on a page. It needs some
tricks in order not to display all the time the same
object. I think yo know what I mean
- If there is a good solution for the above is there a
solution for displaying individual slots of an object?
I mean to have access to an individual component class
for an instance variable. The most difficult thing
(while developing the project) was to layout the
magritte forms. I would like to see something like
to display the component classes of the object and
dealing with the rest of the html the pier way.
There are more questions to come :)
More information about the smallwiki