On 26-Feb-07, at 6:11 PM, Kevin Windham wrote:

I have a WOTextField that I want to add some attributes to.

Here is an example of what I got from my designer.

<input type="text" name="textfield" style="margin-left:3px;">

How can I get WO to let me add that style or width attribute? It seems that those things can only be added using the static inspector which is unavailable when viewing the field in WOBuilder.

Hmm, haven't used WOBuilder in a while - wracking brain - invoke the inspector for the WOTextfield and click on the little plus button in the upper right hand corner or control click and select "add binding".

Give the binding the name of the attribute: "style" and a value: "margin-left:3px;", rinse, repeat.

That should do it.

--
;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://www.codeferous.com
blog: http://david.codeferous.com
--
Toronto Area Cocoa / WebObjects developers group:
http://www.tacow.org


_______________________________________________
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]

Reply via email to