FLUID-2760: Split UI Options cancel api

Metadata

Source
FLUID-2760
Type
Task
Priority
Minor
Status
Closed
Resolution
Won't Fix
Assignee
N/A
Reporter
Laurel Williams
Created
2009-05-22T15:10:08.000-0400
Updated
2011-08-25T15:10:09.744-0400
Versions
  1. 1.1
Fixed Versions
N/A
Component
  1. UI Options

Description

After working with the tutorial - adding UI Options to a dialog, we (Colin, Jorge, Laurel ) noted that it was difficult to activate cancel for UI Options on dialog close. This is because if you call cancel on dialog close and close the dialog on cancel you get an infinite loop.

Colin says in the channel: http://wiki.fluidproject.org/display/fluid/fluid-work+IRC+Logs-2009-05-22
UI Options itself probably needs to have its cancel() API broken out into a second public method: something that would allow you to throw away state while closing the dialog without going through it all.

Environments

all

Comments

  • Michelle D'Souza commented 2011-08-25T15:10:09.737-0400

    We have changed the API of UIO so this is no longer applicable.