I like that you like my trick, roel showed me this trick for UI.
The inspect button :)
I will publish my small work for now. Template will need names.
I started to play with the templateEditor and added comments everytimes
I understood something.
I want to have a templateRepository (with templates with name) so that
I can create, load, delete template....this will be cool. and I guess
that in less than one hour we can
have something really working.
Stef
Good night
On Wednesday, June 4, 2003, at 10:55 PM, Lukas Renggli wrote:
Just add a
button in your page with a inspect message :)
html submit: 'Inspect' callback: #inspect
Now when you press the button you got an inspector.
This is very cool, I was not aware about such things. I like the idea
so much, that I added this example and some others to the
callback-demo action in the bundle 'SmallWiki Examples'.
html anchor: 'Inspector' to: self url callback: #inspect.
html anchor: 'Browser' to: self url callback: #browse.
html anchor: 'Debugger' to: self url callback: #halt.
One could also create a template-component for developer (only) to
have those commands always at their fingertip.
I also changed the semantics of the callback slightly: A callback is
now removed from the cache, after being executed. I think this solves
some problems with blocks getting executed twice, when refreshing a
page or going back and forward with the browser. As we do not have
continuations (yet), it makes no sense to keep them cached.
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org