|
Using Display Field NamesThe JavaDoc for the getDisplayField method hints at the difference between getDisplayField ("MyFieldName")
and getDisplayField ("*MyFieldName")
Use the former for display fields that are associated with a single value at or below the top level of the page. Use the latter for display fields that are associated with multiple values or are not directly below the top level of the page. So, what does that mean? Let's look at the following 'tree' which represents the composition of the a sample page:
Using this example, the following would be the appropriate names to use when attempting to access the display field:
Note:These rules apply to any place where the name of the display field may be used as a String, i.e. getDisplayField, getDisplayFieldValue, setDisplayFieldValue, etc. |
|
Copyright © 1997-2004 Grace Frederick.
All rights reserved. |