addGlobalEventListener(new ProxyEventListener(this));
searchForm = new FormWidget();
//Adding form controls
searchForm.addElement("clientFirstName", "#Client first name", new TextControl(), new StringData(), false);
searchForm.addElement("clientLastName", "#Client last name", new TextControl(), new StringData(), false);
searchForm.addElement("clientPersonalId", "#Client personal id", new TextControl(TextType.EST_PERSONAL_ID), new StringData(), false);
searchForm.addElement("clientAddressTown", "#Town", new TextControl(), new StringData(), false);
searchForm.addElement("clientAddressStreet", "#Street", new TextControl(), new StringData(), false);
searchForm.addElement("clientAddressHouse", "#House", new TextControl(), new StringData(), false);
searchForm.addElement("search", "#Search", new ButtonControl(), null, false);
//
//Complex constraint