/** This method was created in VisualAge. */ public void initialize() throws Exception { try { super.initialize(); addPageListener(this); // Assigning to main cont Enumeration e = getComponentTable().elements(); while (e.hasMoreElements()) { HtmlComponent comp = (HtmlComponent) e.nextElement(); if (comp instanceof JspListForm) { _mainCont = (JspListForm) comp; break; } } } catch (Exception e) { MessageLog.writeErrorMessage("initialize", e, this); } }