// Path: src/java/is/idega/idegaweb/egov/citizen/CitizenConstants.java
// public class CitizenConstants {
// 	public static final String IW_BUNDLE_IDENTIFIER = "is.idega.idegaweb.egov.citizen";
// 	public static final String NEEDED_SCRIPT_AND_STYLE_FILES = "needed_script_and_style_files";
// 	public static final String False = "false";
// 	// User edit parameters
// 	public static final String USER_EDIT_NAME_PARAMETER = "user-edit-name-parameter";
// 	public static final String USER_EDIT_BORN_PARAMETER = "user-edit-born-parameter";
// 	public static final String USER_EDIT_STREET_AND_NUMBER_PARAMETER = "user-edit-street-and-number-parameter";
// 	public static final String USER_EDIT_CITY_PARAMETER = "user-edit-city-parameter";
// 	public static final String USER_EDIT_POSTAL_CODE_PARAMETER = "user-edit-postal-code-parameter",
// 			USER_EDIT_POSTAL_BOX_PARAMETER = "user-edit-postal-box-parameter";
// 	public static final String USER_EDIT_COUNTRY_PARAMETER = "user-edit-country-parameter";
// 	public static final String USER_EDIT_MARITAL_STATUS_PARAMETER = "user-edit-marital-status-parameter";
// 	public static final String USER_EDIT_FAMILY_PARAMETER = "user-edit-family-parameter";
// 	public static final String USER_EDIT_RESUME_PARAMETER = "user-edit-resume-parameter";
// 	public static final String USER_EDIT_USER_ID_PARAMETER = "user-edit-id-parameter";
// 	public static final String USER_EDIT_PERSONAL_ID_PARAMETER = "user-edit-personal-id-parameter";
// 	public static final String USER_EDIT_USERNAME_PARAMETER = "user-edit-username-parameter";
// 	public static final String USER_EDIT_PASSWORD_PARAMETER = "user-edit-password-parameter";
// 	public static final String USER_EDIT_LANGUAGE_PARAMETER = "user-edit-language-parameter";
// 	
// }


import is.idega.idegaweb.egov.citizen.CitizenConstants;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.faces.context.FacesContext;
import com.idega.block.web2.business.JQuery;
import com.idega.block.web2.business.Web2Business;
import com.idega.facelets.ui.FaceletComponent;
import com.idega.idegaweb.IWBundle;
import com.idega.idegaweb.IWMainApplication;
import com.idega.idegaweb.IWResourceBundle;
import com.idega.presentation.IWBaseComponent;
import com.idega.presentation.IWContext;
import com.idega.presentation.Layer;
import com.idega.util.CoreConstants;
import com.idega.util.PresentationUtil;
import com.idega.webface.WFUtil;
package is.idega.idegaweb.egov.citizen.presentation;





public class CitizenMessages extends IWBaseComponent{

	
	@Override
	protected void initializeComponent(FacesContext context) {
		super.initializeComponent(context);
		
		IWContext iwc = IWContext.getIWContext(context);
// Path: src/java/is/idega/idegaweb/egov/citizen/CitizenConstants.java
// public class CitizenConstants {
// 	public static final String IW_BUNDLE_IDENTIFIER = "is.idega.idegaweb.egov.citizen";
// 	public static final String NEEDED_SCRIPT_AND_STYLE_FILES = "needed_script_and_style_files";
// 	public static final String False = "false";
// 	// User edit parameters
// 	public static final String USER_EDIT_NAME_PARAMETER = "user-edit-name-parameter";
// 	public static final String USER_EDIT_BORN_PARAMETER = "user-edit-born-parameter";
// 	public static final String USER_EDIT_STREET_AND_NUMBER_PARAMETER = "user-edit-street-and-number-parameter";
// 	public static final String USER_EDIT_CITY_PARAMETER = "user-edit-city-parameter";
// 	public static final String USER_EDIT_POSTAL_CODE_PARAMETER = "user-edit-postal-code-parameter",
// 			USER_EDIT_POSTAL_BOX_PARAMETER = "user-edit-postal-box-parameter";
// 	public static final String USER_EDIT_COUNTRY_PARAMETER = "user-edit-country-parameter";
// 	public static final String USER_EDIT_MARITAL_STATUS_PARAMETER = "user-edit-marital-status-parameter";
// 	public static final String USER_EDIT_FAMILY_PARAMETER = "user-edit-family-parameter";
// 	public static final String USER_EDIT_RESUME_PARAMETER = "user-edit-resume-parameter";
// 	public static final String USER_EDIT_USER_ID_PARAMETER = "user-edit-id-parameter";
// 	public static final String USER_EDIT_PERSONAL_ID_PARAMETER = "user-edit-personal-id-parameter";
// 	public static final String USER_EDIT_USERNAME_PARAMETER = "user-edit-username-parameter";
// 	public static final String USER_EDIT_PASSWORD_PARAMETER = "user-edit-password-parameter";
// 	public static final String USER_EDIT_LANGUAGE_PARAMETER = "user-edit-language-parameter";
// 	
// }


// Path: src/java/is/idega/idegaweb/egov/citizen/presentation/CitizenMessages.java
import is.idega.idegaweb.egov.citizen.CitizenConstants;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.faces.context.FacesContext;
import com.idega.block.web2.business.JQuery;
import com.idega.block.web2.business.Web2Business;
import com.idega.facelets.ui.FaceletComponent;
import com.idega.idegaweb.IWBundle;
import com.idega.idegaweb.IWMainApplication;
import com.idega.idegaweb.IWResourceBundle;
import com.idega.presentation.IWBaseComponent;
import com.idega.presentation.IWContext;
import com.idega.presentation.Layer;
import com.idega.util.CoreConstants;
import com.idega.util.PresentationUtil;
import com.idega.webface.WFUtil;

package is.idega.idegaweb.egov.citizen.presentation;





public class CitizenMessages extends IWBaseComponent{

	
	@Override
	protected void initializeComponent(FacesContext context) {
		super.initializeComponent(context);
		
		IWContext iwc = IWContext.getIWContext(context);
		IWBundle bundle = iwc.getIWMainApplication().getBundle(CitizenConstants.IW_BUNDLE_IDENTIFIER);