Lukas Renggli schrieb:
trying to
browse the Magritte examples in examplebrowser I found the
following
issues:
One is with
WAComponent class >>
headerForExampleBrowser
^self name = self description
ifTrue: [ self name ]
ifFalse: [ self description , ' (' , self name , ')' ]
The 'Comma' op is defined in MADescription and #, tries to send
#asContainer to
the following ByteStrings. An DNU Error is thrown.
I am unable to reproduce? How did you trigger this DNU? What is the
stack trace?
Starting with Magritte-Seaside 248
(MAReport demo was dropped in the meantime :251 ??)
opening
http://localhost:8080/seaside/examples/examplebrowser
First needs fixes in MADescriptionEditor>>buildReport to open without an error
MADescriptionEditor>>buildReport
^ (MAReport rows: self description children "added children here"
description: MAElementDescription description)
more fixes changing 'report refresh' in add/edit/remove/Description
MADescriptionEditor example works in latest version of Magritte-Seaside (251) !
Then choosing MAReport from the dropdown list gives me:
Stack Trace
1.
thisContext
ByteString(Object)>>doesNotUnderstand: #asContainer
self
' ('
aMessage
asContainer
2.
thisContext
MAPriorityContainer(MADescription)>>,
self
a MAPriorityContainer label: 'Report' comment: nil
aDescription
' ('
3.
thisContext
MAReport class(WAComponent class)>>headerForExampleBrowser
self
MAReport
4.
thisContext
WAExampleBrowser>>renderComponentOn:
self
a WAExampleBrowser
html
a WARenderCanvas
5.
thisContext
WAExampleBrowser>>renderContentOn:
self
a WAExampleBrowser
html
a WARenderCanvas
THanks a lot for your tutorial! I'm squeak
newbie and learned a lot!
Christoph
> ------------------------------------------------------------------------
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki