[Seaside] Magritte

Norbert Hartl 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

So a

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
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100212/7174908e/attachment.htm

More information about the seaside mailing list