| Hi, Jim, You can add bindings (HTML tag attributes) to any tag on your page. To do so, open your page in WOBuilder, be sure you're in Layout view (selected from the three tabs in the upper left corner of the page) and double click on the WOForm or WOTextField. This opens the Inspector panel for that WOElement tag. Notice the square in the far upper right corner of the inspector panel containing both a "+" and "-". Click on that square to display a small drop-down menu with the items, "Add binding" and "Delete binding". One of these might be grayed out. Click on the "Add binding" and you'll notice that a new binding is added to the inspection panel for that WOElement. Replace the string "binding1" with "name" on the left side of the line, then press tab to complete the field and open the right side of the line. Fill in the name you want to use for the tag on the right side, but be careful to enclose it in parentheses. If you don't do that, then WOBuilder will presume that you're providing a key for some component in your WOComponent's corresponding class file and complain that it can't find the corresponding key. Save your component and you're good to go. Regards, Jerry On Mar 7, 2006, at 10:48 AM, Jim Wong wrote: Hi...but my form and field are all WOForm and WOTextField. how to name them? -- __ Jerry W. Walker, WebObjects Developer/Instructor for High Performance Industrial Strength Internet Enabled Systems jerrywwalker@gee-em-aye-eye-ell.com 203 278-4085 office |
_______________________________________________ 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]
