[Seaside] Dynamically adding children

Philippe Marschall philippe.marschall at gmail.com
Thu Oct 5 06:18:36 UTC 2006


Hi

Well without further information it is hard to tell more. See the
attached minimal demo.

Philippe

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
> http://blog.teksol.info/
> http://piston.rubyforge.org/
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Children-pmm.1.mcz
Type: application/octet-stream
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 mailing list