Hi Lukas,
Normally you should be able just to visit the other structure:
renderComponentOn: html
html rendererInstance
continue: (context structure lookupPath:
'/system/components/cloud')
in: self on: html
Thanks works perfectly - I was sure there'd be a much neater method.
Presumably though I still need to handle #children. Here's my first attempt:
onChangeContext: aContext
aContext command isView ifTrue: [
| componentContext |
componentContext := aContext structure: (aContext structure
lookupPath: '/system/components/cloud').
component := componentContext command asComponent
]
children
^ Array with: component
Is there a neater way of implementing #children ?
Cheers
Nick