• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can you add additional html attributes to WOTextField?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can you add additional html attributes to WOTextField?


  • Subject: Re: Can you add additional html attributes to WOTextField?
  • From: David LeBer <email@hidden>
  • Date: Mon, 26 Feb 2007 18:21:18 -0500

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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Can you add additional html attributes to WOTextField? (From: Kevin Windham <email@hidden>)

  • Prev by Date: Re: Additional oracle data types?
  • Next by Date: Re: Additional oracle data types?
  • Previous by thread: Can you add additional html attributes to WOTextField?
  • Next by thread: Re: Can you add additional html attributes to WOTextField?
  • Index(es):
    • Date
    • Thread