Re: WOComponent API
Re: WOComponent API
- Subject: Re: WOComponent API
- From: LD <email@hidden>
- Date: Tue, 20 Sep 2005 22:45:50 +1000
Hi there,
On 20/09/2005, at 9:33 PM, Arturo Pérez wrote:
On Sep 20, 2005, at 7:01 AM, Miguel Arroz wrote:
Is there any page (at apple or not) that explains how to use the API.
"Reusable Components" / "Working with Dynamic Elements" is what
you're after.
http://developer.apple.com/documentation/LegacyTechnologies/
WebObjects/WebObjects_3.5/WOTools/DynamicElements/ReuseCmp.htm#12000
I couldn't immediately see a recent document for this. Also search
for "WebObjects Builder API Inspector" and you'll get a Stepwise
article.
.. menu item on the WebObject Builder? I want to build a reusable
component with bindings to be used by the other components that
use main. I defined a binding, but I do not understand how do I
use it...
I thought it was pretty simple. You hit the puzzle piece icon and
then you can say if your binding is required or not.
i.e., you can define what the user of a reusable component needs to
know in order to use the component by defining mandatory and optional
bindings.
You can also say whether the binding will be set (but I don't know
what that affects).
These are bindings that the user of a component will expect a
returned value from. e.g., firstName, lastName.
See [set]ValueForBinding(...).
Finally on the validation tab you can say what rules, if any, apply
to the bindings.
e.g., exclusivity rules, etc.
Note that the *.api defines the behaviour that WebObjects Builder
visually allows. It has no affect on the Java class - you'll need to
make sure that your class behaves accordingly.
with regards,
--
LD
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden