Today's Smalltalk Daily looks at loading the network clients support (http, ftp, etc) into Cincom Smalltalk - VW 7.7.1 and OS 8.2.1. If you can't see the embedded video directly, you can go directly to YouTube for it. To watch now, click on the viewer below:
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"?
Today's Smalltalk Daily looks at how debugging works in WebVelocity 1.1 It's a bit different than it was in WebVelocity 1.0. If you can't see the embedded video directly, you can go directly to YouTube for it. To watch now, click on the viewer below:
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"?
Today's Smalltalk Daily looks at using File Libraries in WebVelocity 1.1. To jump straight to the video, click here. If you can't see the embedded video directly, you can go directly to YouTube for it. To jump straight to the video, click here.
NoteListUI class
renderPageHeaderOn: html
" Render page header on html. Subclasses may override to render nothing. "
self renderPageImageOn: html.
html space.
self renderPageTitleOn: html
renderPageImageOn: html
html image url: NotesFileLibrary / #notesPng
renderPageTitleOn: html
html heading
level: 3;
with: self title
To watch now, click on the viewer below:
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"?
Today's Smalltalk Daily looks at how to add cookies to a WebVelocity 1.1 web component. Since WebVelocity 1.1 is built on Seaside 3.0, this is a whole lot easier than it used to be. If you're using WebVelocity 1.0 (or Seaside 2.8 outside of WebVelocity), then have a look at this screencast in order to see how it used to work. You can go directly to YouTube if you can't see the embedded video below. The code to add a cookie is really simple - here's the trivial example from the screencast:
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"?
Today's Smalltalk Daily looks some of the simple scaffolding customizations you can make in WebVelocity 1.1 - and shows you how to find out more. To jump straight to the video, click here. If you can't see the embedded video directly, you can go directly to YouTube for it.
Note class
variableNames
^#('title' 'created' 'description')
NoteListUI
shouldRenderDescription
^false
renderObjectCreated: anObject on: html
html text: anObject asDate printString
To watch now, click on the viewer below:
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"?
Today's Smalltalk Daily looks at how you can customize a query for one of the standard scaffolding UIs in WebVelocity. The code added is all in class NoteListUI. To jump to the video, Click here If you can't see the embedded video directly, you can go directly to YouTube for it.
First, add a variable, searchText
renderActionsOn: html
super renderActionsOn: html.
html text: 'Search'.
html space.
html textInput on: #searchText of: self.
html button
callback: [self applySearch];
value: 'Search'.
html button
callback: [self returnToAll];
value: 'All'
applySearch
"do the search"
| query newSearchText |
query := Glorp.ActiveRecords.Query read: Note.
newSearchText := '%', self searchText asLowercase, '%'.
query where: [:each | each title asLowercase like: newSearchText].
paginator query: query.
returnToAll
| query |
query := Glorp.ActiveRecords.Query read: Note.
paginator query: query.
Click on the viewer below to watch it now:
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"?
Today's Smalltalk Daily creates a new WebVelocity application, and has that application generate the database tables it needs. If you can't see the embedded video directly, you can go directly to YouTube for it. Click on the viewer below to watch it now:
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"?
renderActionsOn: html
super renderActionsOn: html.
html button
class: #comment;
callback: [self addComment];
with: 'Comment'.
addComment
| comment |
comment := Comment new.
(self call: (CommentEditUI on: comment)) ifTrue:
[comment bePersistent.
object comments add: comment.
object commitUnitOfWork]
PostListUI
renderDetailsOn: html
| sorted |
sorted := SortedCollection sortBlock: [:a :b | a created >= b created].
sorted addAll: self objects.
sorted do: [:each |
html anchor
callback: [self call: (PostViewUI on: each)];
with: each title.
html text: ' -- ', each created printString.
html paragraph: [html text: each content].
html horizontalRule]
Click on the viewer below to watch it now:
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"?
Today's Smalltalk Daily looks at a simple one table application in WebVelocity 1.1. If you can't see the embedded video directly, you can go directly to YouTube for it. Click on the viewer below to watch it now:
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"?
Today's Smalltalk Daily looks at how you save code to a source code repository in WebVelocity 1.1. If you can't see the embedded video directly, you can go directly to YouTube for it. Click on the viewer below to watch it now:
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"?