[Seaside] lightbox: inside child components

Esteban Lorenzano estebanlm at gmail.com
Fri Apr 18 16:07:49 UTC 2008

Hi all,
I'm having this problem:  I have component C inside compoent B inside 
component A (C is child of B who is child of A)

Component C has a form, who has to make some validations and, if 
something is wrong, show a popup with the error message.

Something like this:

	[ self subasta addOferta: (SIOferta new owner: self session user; 
valor: valor) ]
	on: Error
	do: [ :e| self lightbox: (WAFormDialog new addMessage: e messageText; 
yourself) ].

Well, the problem is that it does not work, lightbox is not showed and 
nothing happens (no error on squeak either)

Of course, If I do: self grandParent lightbox: blah, everithing works 
fine (#grandParent does not exist, is just an example... I know is not 
the correct design).
So, #lightbox: does not work in child components with two levels of 

My doubt is this: Should it work? if not... Shouldn't throw an exception?

Ah!, I'm using Seaside2.8a1-pmm.539 and Scriptaculous-lr.240, in Squeak 
3.10 (7159)


More information about the seaside mailing list