I'm trying to create a reusable component that has an action binding (that ends up being bound to a submit button).
The documentation here<http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_4.5/System/Documentation/Developer/WebObjects/DevGuide/ReusableComponents3.html>is helpful, but I'm wondering about this: When using the child component, it shows the action binding as a string: *Parent's Declarations File (excerpt)* ALERT: AlertPanel { ... * parentAction* *=* *"respondToAlert"*; }; But I was expecting to a direct reference without the quotes, like: parentAction = respondToAlert; Actually, doing this works, but it causes the action method to be invoked many times, whereas using the string it is only invoked once. The java file for my child component has something like this: public String parentAction; public WOActionResults submitButtonAction() { return performParentAction( parentAction ); } So, how should I be doing this?
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
