Bootstrap for Seaside question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bootstrap for Seaside question

jfabry
Hi all,

I'm using Bootstrap for Seaside to make a small web app for managing the hardware resources (Lego Mindstorms! :-) ) of a course I am giving next semester. Bootstrap for Seaside is really cool, it allows to quickly build something that looks very polished. Thanks Torsten!

But now I have a question: I am using buttons at some place in the app (to remove a registered inventory), but I cannot get the callback to work, the examples do not show how to do it. The code I have is below:

html tbsButton
        beDanger;
        callback: [inv inspect];
        with: 'Delete!'.

How do I make this work? It seems strange to need to to place an anchor in the button for it to work.

---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile