|
From: Nathan D. <na...@ch...> - 2002-11-01 19:16:42
|
So, myorg.post would have to extend the objectCollection field?
If that is what you are suggesting, I'm not sure I like that a contentObject
needs to know that it could end up as a field. That's why I am thinking
that making a field type objectCollection and then passing the configuration
data from the descriptor of the contentObject type that wants to make the
link makes sense.
Or, am I missing your point?
-----Original Message-----
From: mod...@li...
[mailto:mod...@li...]On Behalf Of Jeremy
Firsenbaum
Sent: Friday, November 01, 2002 11:08 AM
To: mod...@li...
Subject: Re: [Modus-devs] XML descriptor of linked contentObjects, WAS:
Collections of content objects and performance
While we're on this topic, I am not sure how Jeremy's suggestion would
work:
<field name="posts"
label="Posts"
type="org.bacfug.modus.fields.objectcollection"
key="postid"/>
I do not understand how it knows it is dealing with the post component.
Please explain.
Sorry for the confusion. I got hung up on the objectcollection idea. It's
supposed to read type="myorg.post" which extends
"org.bacfug.modus.fields.objectcollection" in it's descriptor. Hope that
clarifies things.
-Jeremy
|