Child pages
  • Undo Functionality

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Section
Column
width50%

The "undo" functionality is part of the Fluid framework. It can be used to provide undo support for any component that bears a model.

Currently, the Fluid components that support Undo are:

This page discribes:

  • how to enable undo on components that support it, and
  • how to build undo support into a component that you are creating.

Enabling Undo on Components that Support it

There are two ways to enable Undo on components that support it:

  1. Specify the undo decorator as an option to the component creation
  2. Manually create the undo decorator

Using the componentDecorators option

The simplest way to enable Undo functionality on a component that supports it is to use the componentDecorators option.

Warning

This section is currently incorrect.

Option Name

Value

componentDecorators

"fluid.undoDecorator"

Column
solid
Panel
borderStyle
borderColor#566b30
bgColor#fff
titleBGColor#D3E3C4
borderStylesolid
titleOn This Page
Table of Contents
toc
maxLevel
5
minLevel1
maxLevel5
Panel
borderColor#321137
bgColor#fff
titleBGColor#c1b7c3
borderStylesolid
titleSee Also
borderStylesolid
Panel
borderColor#321137
bgColor#fff
titleBGColor#cccccc
borderStylesolid
titleStill need help?
borderStylesolid

Join the infusion-users mailing list and ask your questions there.

...