A simpler solution:
PRContentsWidget-buildComponent: aContext
^ aContext command asComponent
onAnswer: [ :value | self onAnswerCommand: (aContext command
onReturn: value) ];
yourself
PRCommand-onReturn: value
^ value
This gives commands an opportunity to handle the form's reply, returning
a command for the PRContents widget to #execute.
I think this is a better solution.
Keith