You can add additional bindings to your wod file and wire them up to
code in your controller just like any other binding. These will be
add as attributes.
WOD bindings:
String1: WOString {
class = "myClass";
value = message;
}
On Mar 29, 2007, at 5:33 PM, Webobjects Developer wrote:
If I have an HTML template and I want to use a WO component to provide
an attribute on markup, what is the best way to do that?
I've used the following type of construct, but I'm uncomfortable with
it, at best:
<tr<webobject name="ConditionalAltRow"> class="alt"</webobject>>
(Note: the 'class="alt"' is only a placeholder for preview; it will of
course be replaced when the webobject is replaced).
Is there any cleaner way to provide attributes to HTML elements?
_______________________________________________
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/robertwalker1%
40mac.com
This email sent to [EMAIL PROTECTED]
--
Robert Walker
[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]