[Seaside] Pop up request window

Bob Arning arning at charm.net
Tue Nov 9 18:39:41 UTC 2010


Hmm..

for me, this

renderInformOn: html

html form: [
     html button
         callback: [self inform: 'Hello, World!'.];
         with: 'add folder'.
]

when clicked will replace the contents of the current page with



When Ok is clicked, the original page is re-rendered.

Cheers,
Bob

On 11/9/10 1:21 PM, Alexandre BP wrote:
> Unfortunately nothing appears... I just move up to the top of my 
> webpage... no pop up even with the button in  a canvas form:
> :'(
>
> ------------------------------------------------------------------------
> Date: Tue, 9 Nov 2010 13:15:16 -0500
> From: arning at charm.net
> To: seaside at lists.squeakfoundation.org
> Subject: Re: [Seaside] Pop up request window
>
> You'll get something (but perhaps not quite what you want) if you wrap 
> this code in
>
> canvas form: [
> ...
> ].
>
> Cheers,
> Bob
>
> On 11/9/10 11:48 AM, Alexandre BP wrote:
>
>     Hi,
>
>     I'm trying to pop up a window when clicking on a button. (very
>     simple thing)
>     I tried this:
>     renderSubmitNewFolderOn: canvas
>
>     canvas div
>     id:'button';
>     with: [
>     canvas button
>     callback: [self inform: 'Hello, World!'.];
>     with: 'add folder'.
>     ].
>
>     this method is called within the renderContentOn:canvas like this:
>
>     self renderSubmitNewFolderOn:canvas.
>
>     It doesn't work at all. Nothing appears when I click on the button...
>
>     Thx in advance.
>
>     alex
>
>
>     _______________________________________________
>     seaside mailing list
>     seaside at lists.squeakfoundation.org  <mailto:seaside at lists.squeakfoundation.org>
>     http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> _______________________________________________ seaside mailing list 
> seaside at lists.squeakfoundation.org 
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
Skipped content of type multipart/related


More information about the seaside mailing list