[Seaside] Modal dialogs and Updating/closing
Gastón Dall' Oglio
gaston.dalloglio at gmail.com
Thu Mar 12 13:24:59 UTC 2015
I do guess that it isn't a good practice, but see here for an simple
Here I have an abstract class where I render the page with a hidden dialog
(PIComponent>>renderModalOn:) containing ids to show messages and errors.
Later when I want to show an error I use PIComponent>>showError:on:
You can see this in the concrete class PIExploreComponent.
I can share the image within that I use those classes if you want. This was
an experiment for a project that right now is dead.
2015-03-12 7:22 GMT-03:00 Torsten Bergmann <astares at gmx.de>:
> I have a modal dialog in Seaside like the Bootstrap one demonstrated
> When I click on "Save Changes" I would like the server to verify
> data (for instance check credentials for a login) and possibly
> display a message in the dialog when the input was wrong.
> In such a case I only want to refresh the contents of the dialog
> and not a full page refresh, because with a full page refresh the
> dialog would not be open again but also I want the updated info
> to look smooth without flickering of a full page reload.
> Also when the data is fine after checking on the server the
> dialog should close.
> What options do I have/whats the best way to implement this?
> Any best practices or simple examples ideally with Bootstrap?
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside