Smalltalk Daily 08/06/10: WebVelocity 1.1 TimeTracker
Today's Smalltalk Daily walks through a simple TimeTracker application in WebVelocity 1.1. There are three methods I needed to create to get the basic behavior I wanted; Click here to jump to the video:
ProjectViewUI
renderActionsOn: html | record | super renderActionsOn: html. html button class: #record; callback: (record := Record new. (self call: (RecordEditUI on: record)) ifTrue: [record bePersistent. object records add: record. object commitUnitOfWork]); with: 'Add Record'
Project
printOn: stream stream nextPutAll: self name
Record
printOn: stream
stream nextPutAll: self activity
Click on the viewer below to watch it now, or go directly to the YouTube page:
You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.
You can download the video directly here. If you need the video in a Windows Media format, then download that here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?
Technorati Tags: smalltalk, seaside, webvelocity