localesDrop.setSelectedElement(iwc.getCurrentLocale().toString());
if (!iwc.isParameterSet(com.idega.core.localisation.business.LocaleSwitcher.languageParameterString)) localesDrop.setSelectedElement(iwc.getCurrentLocale().toString()); else localesDrop.setSelectedElement(iwc.getParameter(com.idega.core.localisation.business.LocaleSwitcher.languageParameterString));
	private void doDeveloperView(IWContext iwc) {		add(IWDeveloper.getTitleTable(this.getClass()));		getParentPage().setBackgroundColor("#FFFFFF");		IWMainApplication iwma = iwc.getApplication();		DropdownMenu localesDrop = Localizer.getAvailableLocalesDropdown(iwma, com.idega.core.localisation.business.LocaleSwitcher.languageParameterString);		localesDrop.keepStatusOnAction();		localesDrop.setToSubmit();		localesDrop.setSelectedElement(iwc.getCurrentLocale().toString());		Form form = new Form();		form.maintainParameter(IWDeveloper.actionParameter);		form.maintainParameter(IWDeveloper.PARAMETER_CLASS_NAME);		//form.setTarget(IWDeveloper.frameName);		add(form);		form.add(IWDeveloper.getText("Select language:&nbsp;&nbsp;"));		form.add(localesDrop);		Enumeration enum = iwc.getParameterNames();		while (enum.hasMoreElements()) {			form.maintainParameter((String) enum.nextElement());		}