Hi all,
I've been having trouble with the Pier Adaptive Forms example in the thesis titled
"Magritte — Meta-Described Web Application Development".
In particular, I've typed all the necessary code in my browser, prefixing
"PR" and "MA" where I think should be appropriate. I can add the
Form, but the "Edit Form" command that I created will not work. I get the
following output when clicking on the "Edit Form" link:
(In HTML format)
PREditFormCommand(Object)>>doesNotUnderstand: #labelselfa
PREditFormCommandtempsaMessagelabelinst varspropertiesnilcontexta PRContext stucture:
'Test Form' command: 'Edit Form'answernilmetamodela MAContainer label:
'' comment: nilMASelectorAccessor>>read:self(MASelectorAccessor read: #label
write: #label:)tempsaModela PREditFormCommandinst
varspropertiesnilreadSelector#labelwriteSelector#label:PREditFormCommand(Object)>>readUsing:selfa
PREditFormCommandtempsaDescriptiona MAStringDescription label: 'Label' comment:
nilinst varspropertiesnilcontexta PRContext stucture: 'Test Form' command:
'Edit Form'answernilmetamodela MAContainer label: '' comment: nil[] in
MACheckedMemento(MAMemento)>>pullRaw {[:each | result at: each put: (self model
readUsing: each)]}selfa MACheckedMemento model: a PREditFormCommandtempsresulta
Dictionary(a MAStringDescription label: 'Kind' comment: nil->'Edit
Form' )eacha MAStringDescription label: 'Label' comment: nilinst
varspropertiesnilmodela
PREditFormCommanddescriptiona MAPriorityContainer label: 'Container' comment:
nilcacheniloriginalnil(snipped)
Also, there seems to be a missing closing parenthesis on page 41 in the
Form>>description method definition.
The Pier setup is obtained by installing the Pier Unix Security 1.0.3-alpha from SqueakMap
Package Loader. In this version of Pier, clicking on the "Environment" command
link will also crash Pier, is this expected?
Note: I am new to Smalltalk and Squeak.
Thanks,
-Bill