Design Element
Comment on "WebObjects Could Learn From Rails"
by hitoro — May 31
Oh, I forgot to tell you one last thing.

The code behind the delete: method sent to self is:

TodoListComponent>>delete: aTodoItem
(self confirm: 'Do you really want to delete ', aTodoItem description, '?') ifTrue: [ model removeItem: aTodoItem ]

Back to "WebObjects Could Learn From Rails"
Design Element

Copyright © Scott Stevenson 2004-2015