Yes, this is how GMail handles cancellation & discarding.

On Wed, Mar 9, 2011 at 5:30 PM, Anjana Fernando <[email protected]> wrote:

> Hi,
>
> Actually, as I see, the cancellation confirmation depends on the
> context the user is in. For example, it should only come if the user
> has filled some fields in the page already. And the user hitting
> cancel willingly now is improbable, so we confirm it from the user. If
> there isn't any data in the page/form, the cancel should happen
> immediately, since there's nothing to lose.
>
> Cheers,
> Anjana.
>
> On Wed, Mar 9, 2011 at 9:49 AM, Samisa Abeysinghe <[email protected]> wrote:
> > In a Wizard, it is not usual practice to confirm when exiting. Because,
> the
> > use click on cancel with conscious mind. But, it is challenging with the
> > browser back button. Still, the user moved the mouse so far,
> > with continuousness.
> > We need to confirm when in the XML edit mode though. Because, in that
> case,
> > we might have changed stuff and unlike in case of a Wizard, the mind can
> > easily wonder around with loads of XML in the editor.
> > So the approach should be different in guided and un-guided modes.
> >
> > On Sat, Feb 5, 2011 at 7:34 AM, Afkham Azeez <[email protected]> wrote:
> >>
> >> Just like GMail asks whether we'd like to discard unsaved emails when we
> >> try to go away from the email composing page, we should confirm this
> from
> >> the user in certain components such as the DS Qizard, Proxy service
> creation
> >> wizard, XACML policy editor etc. We can have a common function in the
> Carbon
> >> UI framework, and use it from the relevant components.
> >> --
> >> Afkham Azeez
> >> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
> ,
> >>
> >> Member; Apache Software Foundation; http://www.apache.org/
> >> email: [email protected] cell: +94 77 3320919
> >> blog: http://blog.afkham.org
> >> twitter: http://twitter.com/afkham_azeez
> >> linked-in: http://lk.linkedin.com/in/afkhamazeez
> >>
> >> Lean . Enterprise . Middleware
> >>
> >> _______________________________________________
> >> Carbon-dev mailing list
> >> [email protected]
> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>
> > Thanks,
> > Samisa...
> >
> > Samisa Abeysinghe
> > VP Engineering
> > WSO2 Inc.
> > http://wso2.com
> > http://wso2.org
> >
> >
> >
> > _______________________________________________
> > Carbon-dev mailing list
> > [email protected]
> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> Anjana Fernando
> Software Engineer
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to