norbert at hartl.name
Fri Feb 12 14:37:09 UTC 2010
You are pretty close. Just have a look at
self addForm: #( save cancel )
self addForm; addValidation
YourClass new asComponent addForm: #( new save cancel); addValidation
should do the trick
On 12.02.2010, at 15:21, Tony Giaccone wrote:
> I'm working my way through portions of the seaside pdf ( really makes it so much more approachable for me).
> I suffered through one of my cognitive dissonance moments while working with this project. Most of it lingering ideas of what is expensive to do in java, vs the way to do it in smalltalk. Here's my current problem.
> I've got an object which has a Margritte set of descriptions and I can call asComponent and get an editor.
> I currently am wrapping that editor with a form and buttons by using WAComponent>>addValidatedForm however, what I really want to do is add a third button to that form. I want new, save, cancel.
> I thought I saw a way to do this, but for the life of me now, i can't find it.
> Any sugesstions?
> Tony Giaccone
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside