[Seaside] Dynamically adding children
philippe.marschall at gmail.com
Thu Oct 5 06:18:36 UTC 2006
Well without further information it is hard to tell more. See the
attached minimal demo.
2006/10/5, Francois Beausoleil <francois.beausoleil at gmail.com>:
> Hello Philippe,
> 2006/10/3, Philippe Marschall <philippe.marschall at gmail.com>:
> > self session registerObjectForBacktracking: self
> Thanks for your help. I finally had time to try it again, with
> backtracking. Unfortunately, it doesn't work either. After I click
> the submit button to add a new address, the view redisplays, but I
> don't get the expected address editor.
> If I start a new session and visit the contact, the new address IS added.
> For reference, here is part of my #renderContentOn again:
> html label: 'New address named' input: [
> html textInputWithCallback: [:name |
> self model addressAt: name put: Address new.
> subcomponents add: (self addressEditorFor: (self model addressAt:
> name) named: name)].
> html submitButton.
> I am really at a loss as to what I should do here.
> Thanks !
> François Beausoleil
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1331 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20061005/41537503/Children-pmm.1.obj
More information about the Seaside