|
WebObjects 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.webobjects.appserver.WOElement | +--com.webobjects.appserver.WOComponent | +--com.webobjects.directtoweb.D2WComponent | +--com.webobjects.directtoweb.D2WCustomComponent
The D2WCustomComponent class is a component that allows you to use a WebObjects reusable component as a property-level component. You can use the Web Assistant to specify the name of the reusable component to embed.
D2WCustomComponent passes two bindings to the reusable component:
Inner classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Inner classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Fields inherited from class com.webobjects.directtoweb.D2WComponent |
currentObjectKey |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
KeyPathSeparator |
Constructor Summary | |
D2WCustomComponent(WOContext aContext)
Creates an instance of D2WCustomComponent with the specified context. |
Method Summary | |
void |
validationFailedWithException(Throwable theException,
Object theValue,
String theKeyPath)
Invokes the validationFailedWithException method on the
parent component. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public D2WCustomComponent(WOContext aContext)
aContext
- instance of WOContextD2WComponent.D2WComponent(WOContext)
Method Detail |
public void validationFailedWithException(Throwable theException, Object theValue, String theKeyPath)
validationFailedWithException
method on the
parent component.validationFailedWithException
in class WOComponent
theException
- the exception that was throwntheValue
- the value that was being settheKeyPath
- the derived path that was being accessedWOComponent.parent()
,
WOComponent.validationFailedWithException(Throwable, Object, String)
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |