public class ViewCleaner extends Object
Invoked to trim the view instance before storing on the form as the post view. Certain information is keep around to support post methods that need to operate on the previous view configuration. Examples include component refresh and collection add/delete line.
| Constructor and Description |
|---|
ViewCleaner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanCollectionGroup(CollectionGroup collectionGroup)
Cleans a collection group instance removing the items and collection prototypes (note add line fields
are keep around to support the add line action)
|
static void |
cleanContainer(Container container)
General purpose method to clean any container, removes all nested components except the items list
|
static void |
cleanInputField(InputField inputField)
Cleans an input field instance removing the control and inherited component properties
|
static void |
cleanView(View view)
Cleans a view instance removing all pages except the current page and then invoking the view
index to perform cleaning on contained components
|
public ViewCleaner()
public static void cleanView(View view)
view - - view instance to cleanpublic static void cleanCollectionGroup(CollectionGroup collectionGroup)
collectionGroup - - collection group instance to cleanpublic static void cleanContainer(Container container)
container - - container instance to cleanpublic static void cleanInputField(InputField inputField)
inputField - - input field instance to cleanCopyright © 2005–2016 The Kuali Foundation. All rights reserved.