[Seaside] Popup
Philippe Marschall
philippe.marschall at gmail.com
Mon Nov 29 05:56:29 UTC 2010
2010/11/27 alexandre bp <abalonpe at ulb.ac.be>:
> Hi,
>
> I'm trying to do the following: self request:'Folder Name: ' in a new window.
> I have tried this:
>
> canvas popupAnchor
> extent: 300 at 300;
> position:200 at 200;
> resizable: false;
> menubar:false;
> toolbar: false;
> dependent: true;
> name:'New Friend Group';
> callback: [ self renderWindowOn: canvas.];
> with: 'Popup'.
>
> renderWindowOn: canvas
> | folderName |
> self session presenter
> show: PopupComponent new
> onAnswer: [ :answer | self requestContext closeThisPopup. folderName
> := answer. ].
>
> First, the options resizable, menubar,toolbar and dependent don't work.
> Second, I don't really know what to do in the PopupComponent, I
> created a form with a button but how do I get the text from the field
> back?
>
> Is there an easier way to do that?--> it should just be a self
> request: ... in a new window.
See WAPopupFunctionalTest, different browsers behave differently.
Cheers
Philippe
More information about the seaside
mailing list