[Seaside] Problem with calling owner from decoration
M. Polák
nigol at nigol.cz
Mon Oct 27 09:46:32 UTC 2008
Hi there,
I have a component with method editAction like this:
| ar |
ar := self
call: ((self article descriptionEdit asComponentOn: self article)
addValidatedForm.
ar
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?
Thanks,
Martin
More information about the seaside
mailing list