[Seaside] seaside by example RPN example

Nicolai Hess nicolaihess at gmail.com
Thu Dec 15 13:46:44 UTC 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20161215/f905121c/attachment.html>


More information about the seaside mailing list