No, for caret notation to work, you just need to override
synchronizesVariablesWithBindings() in your component subclass to
return false. Otherwise WO will attempt to assign the value of the
binding to the component instance itself.
@Override
public boolean synchronizesVariablesWithBindings() {
return false;
}
- hugi
// Hugi Thordarson
// http://hugi.karlmenn.is/
On 9.1.2009, at 20:15, Sanford Selznick wrote:
At 10:35 PM -0700 1/1/09, Sanford Selznick wrote:
I made it to tutorial 2. The binding described below is not found.
Both PageWrapper and Main are in the same package.
Whoops! I accidentally subclassed
com.webobjects.appserver.WOComponent instead of
er.extensions.ERXStatelessComponent.
I guess the "$^bound-name" functionality requires a
ERXStatelessComponent subclass to work?
Thanks,
Sanford
_______________________________________________
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/hugi%40karlmenn.is
This email sent to [email protected]
_______________________________________________
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]