Aida "Message Boxes"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Aida "Message Boxes"

Rob Rothwell
How do you typically handle simple yes/no verification in your applications such as "Are you sure you want to delete the selected [fill in the blank]?"

I can see the JavaScript alert example; is there a simple way to get an an answer from an alert?

It seems like overkill to take the user to another page...

Thanks,

Rob

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Aida "Message Boxes"

Nicolas Petton

Le mardi 27 mai 2008 à 11:15 -0400, Rob Rothwell a écrit :
> How do you typically handle simple yes/no verification in your
> applications such as "Are you sure you want to delete the selected
> [fill in the blank]?"
>
> I can see the JavaScript alert example; is there a simple way to get
> an an answer from an alert?
>
> It seems like overkill to take the user to another page...

Not really, a #viewDelete and a corresponding #actionDelete make sense
to me. Actually, that's what we do with Scribo.

Cheers!

Nico
--
Nicolas Petton
http://nico.bioskop.fr
            ___
          ooooooo
         OOOOOOOOO
        |Smalltalk|
         OOOOOOOOO
          ooooooo
           \   /
            [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.bioskop.fr/pgp-key.html

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Aida "Message Boxes"

Rob Rothwell
Ok...thanks!

Rob

On Wed, May 28, 2008 at 9:13 AM, Nicolas Petton <[hidden email]> wrote:

Le mardi 27 mai 2008 à 11:15 -0400, Rob Rothwell a écrit :
> How do you typically handle simple yes/no verification in your
> applications such as "Are you sure you want to delete the selected
> [fill in the blank]?"
>
> I can see the JavaScript alert example; is there a simple way to get
> an an answer from an alert?
>
> It seems like overkill to take the user to another page...

Not really, a #viewDelete and a corresponding #actionDelete make sense
to me. Actually, that's what we do with Scribo.

Cheers!

Nico
--
Nicolas Petton
http://nico.bioskop.fr
           ___
         ooooooo
        OOOOOOOOO
       |Smalltalk|
        OOOOOOOOO
         ooooooo
          \   /
           [|]
--------------------------------
Ma clé PGP est disponible ici :
http://nico.bioskop.fr/pgp-key.html


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida