Hi All,
We have a custom field type in which we do some custom rendering, and also include references via <script> tags to some external JavaScript libraries, functions from which we call. On a list where we have two instances of this custom field type, the references to include the JavaScript libraries are included twice. It doesn't appear to adversely impact the operation of the fields, but is inefficient I assume, and I'd like to eliminate it. I've tried creating an Integer Static in the custom field type class, in an endeavour to only include the references to the JavaScript libraries on the rendering of the "first" instance of the field on the page. But the number just continues to mount across page re-renderings, making it difficult to determine the minimum . Any thoughts or suggestions? Cheers, Trevor Andrew -------------------------------------------------------------------------------- Support procedure: http://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
