|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.WOElement com.webobjects.appserver.WOComponent com.webobjects.directtoweb.D2WEmbeddedComponent com.webobjects.directtoweb.D2WEdit
public class D2WEdit
This Direct to Web reusable component displays an edit component.
Synopsis
D2WEdit { [action=anAction;] [displayKeys=keyArray;] entityName=nameString; object=anEnterpriseObject; [pageConfiguration=configurationName;] };
Bindings
action - the action method to invoke when the user clicks Save or Cancel. This method is invoked after the object is saved or discarded.
displayKeys - the properties of the entity to edit (NSArray). You can also represent the array as a string: "(prop1, prop2, ...)".
entityName - the name of the entity for this record (String).
object - the object edited by this component.
pageConfiguration - the named configuration containing the Web Assistant settings for this component (String).
If this binding is not specified, the "*all*" configuration for the edit task and the entityName entity is used.
Example:
myEdit : D2WEdit { entityName = "Movie"; object = displayGroup.selectedObject; action = editAction; pageConfiguration = "userEditMovieConfig"; }
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
---|
WOComponent.Event |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
---|
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary |
---|
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
D2WEdit(WOContext aContext)
Constructs a D2WEdit with the specified context. |
Method Summary |
---|
Methods inherited from class com.webobjects.directtoweb.D2WEmbeddedComponent |
---|
actionPageDelegate, awake, findTarget, newPageDelegate, setActionPageDelegate, synchronizesVariablesWithBindings |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public D2WEdit(WOContext aContext)
aContext
- - the WOContext.
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |