I think your example is similar to what I was proposing for my future
example explaining how to add an Item to the existhing detail view. I
think it introduces more than basic CPIA concepts not appropriate for a
trivial hello world example -- which I had hoped would only introduce a
new Kind, instance and a trivial tree of blocks viewer for it:
#A new Kind
class MP3(Note):
audio = schema.One (schema.Lob)
#An instance
song = MP3.update(parcel, "French Rock",
about = "French Rock")
#A viewer
blocks.Trunk.ViewableKind(MP3.getKind(repositoryView)).detailView = view
#blocks making up the view:
view = blocks.BoxContainer.update( .... )
attributeEditorBlock = blocks.ControlBlocks.AEBlock.update( .... )
button = blocks.ControlBlocks.Button.update( .... )
Bryan Stearns wrote:
I've attached a simpler version of the sample to the bug - no other
changes required, and it shows the normal way to add a detail view.
https://bugzilla.osafoundation.org/attachment.cgi?id=1259
...Bryan
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev