Beginner's Questions

Version 15.1 by Lachlan Scott on 2007/07/05 20:14

Who is this page for?

This page and it's children is for people who know how to do something in other environments, and don't immediately grasp how to do it in WebObjects with Eclipse.

If anyone can provide links to extant resources of this sort, please do so by creating a log-in, and editing this page as you see fit.

How do I  manage standard HTML component attributes markup in my .html page?

If you were editing plain HTML you might wish to mark up a FORM INPUT component with attributes such as size= maxlength= name= value= etc. In WO, these are not managed in the HTML itself as you might expect, but in the associated .WOD file.

Add the SIZE attribute to a FORM INPUT component

 

In the .html file, given a WebObject tag <webobject name = "email" /> you can add the SIZE attribute by editing the .wod file mapping as follows:<input size="30" type="text"