Custom marker – Apple WebObjects 3.5 Tools And Techniques User Manual
Page 42
Chapter 2
Editing With WebObjects Builder
42
Custom Marker
Not all legal HTML elements can be created directly using WebObjects
Builder’s buttons or menu commands. However, you can create any type of
element using the custom tag.
To create an HTML element using a custom marker:
1. Place the cursor where you want the element.
2. Click
.
appears in the component window. You can replace the text
“Custom Marker” with the content of the element (if any).
3. In the Inspector, enter the tag’s name in the Marker field.
4. If the element doesn’t require an end tag, uncheck “Needs end marker.”
5. If the element has attributes you want to specify, click New Attribute, then
enter the attribute’s name and value.
For example, if you want to create a
<DL>
element, you would create a custom
marker and enter
DL
for its name in the Inspector’s Marker text field. Because
“Needs end marker” is checked, the
</DL>
end tag is inserted for you.
Enter the element’s tag.
Check if element
requires end tag.
Click to add an element
attribute, then enter its value.