}
private void initElements ()
{
if (!_initialized) {
AWElement contentElement = componentReference().contentElement();
if (contentElement != null) {
if (contentElement instanceof AWTemplate) {
AWTemplate elementsTemplate = (AWTemplate)contentElement;
AWCycleable[] elementArray = elementsTemplate.elementArray();
int elementCount = elementArray.length;
for (int index = 0; index < elementCount; index++) {
AWElement currentElement = (AWElement)elementArray[index];
if ((currentElement != null)) {
if (currentElement instanceof ToggleBoxElement) {
((ToggleBoxElement)currentElement).initializeElement(this);
}
}