[Seaside] Problem with calling owner from decoration

M. Polák nigol at nigol.cz
Mon Oct 27 10:27:46 UTC 2008

I must apolgize myself, I replied for Dario's mail, but I wanted new  
thread. So once again. Thanks.

Hi there,
I have a component with method editAction like this:

| ar |
	ar := self
				call: ((self article descriptionEdit asComponentOn: self article)
		ifNotNil: [self article copyFrom: ar]

When I call this method directly from this component, editor is  
rendered succesfully. But when i wrap component with decoration,  
where renderContentOn looks like:

html anchor
		callback: [self owner editAction];
		 with: 'edit'.
	self renderOwnerOn: html

after clicking on 'edit', nothing happens. Except reloading page, of  
course. Any suggestions here?


More information about the seaside mailing list