seaside by example RPN example
Nicolai Hess <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CAPED3ST3gEdBJ_xTW+SfuA7iuWqa9wOG8DeE582aHLRb+RknfQ@mail.gmail.com> |
Hi,
anyone knows the seaside example from the pharo by example book:
SBE2-SeasideRPN-on.1
MCSqueaksourceRepository
location: 'http://www.squeaksource.com/SqueakByExample'
user: ''
password: ''
I can not get it to work. On Seaside 3.0 you need to change the class
initialization,
because the application registration had changed.
But despite that, the calculator does not work. Everytime I push on a number
I get a empty-collection-error.
I don't understand why, because the rendering of the calculator stack
calls a method ensureStackMachineNotEmpty, that puts a 0 onto the stack.
Now, pushing a keypad button for a number, will pop this element and
convert both
the existing number and the new number to a new number.
But somehow the stack is empty, eventhough we call
ensureStackMachineNotEmpty.
Anyone has experience with this example or can find out what is wrong ?
I don't have much experience with seaside.
thanks in advance.
_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside