// Path: src/java/com/idega/block/form/IWBundleStarter.java
// public class IWBundleStarter implements IWBundleStartable {
// 
// 	public static final String BUNDLE_IDENTIFIER = "com.idega.block.form";
// 
// 	public void start(IWBundle starterBundle) {
// 	}
// 
// 	public void stop(IWBundle starterBundle) {
// 	}
// }


import java.io.IOException;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import org.springframework.beans.factory.annotation.Autowired;
import com.idega.block.form.IWBundleStarter;
import com.idega.block.web2.business.Web2Business;
import com.idega.facelets.ui.FaceletComponent;
import com.idega.idegaweb.IWBundle;
import com.idega.presentation.IWBaseComponent;
import com.idega.presentation.IWContext;
import com.idega.util.PresentationUtil;
import com.idega.util.expression.ELUtil;
package com.idega.block.form.entries.presentation;





/**
 * 
 * @author <a href="civilis@idega.com">Vytautas Čivilis</a>
 * @version $Revision: 1.4 $
 * 
 *          Last modified: $Date: 2009/07/14 16:23:05 $ by $Author: valdas $
 * 
 */
public class UIFormsEntriesViewer extends IWBaseComponent {

	public static final String COMPONENT_TYPE = "com.idega.UIFormsEntriesViewer";

	public static final String entriesFacet = "entries";
	public static final String formSubmissionFacet = "formSubmission";
	public static final String formSubmissionSourceFacet = "formSubmissionSource";
	
	@Autowired private Web2Business web2Business;

	@Override
	protected void initializeComponent(FacesContext context) {
		super.initializeComponent(context);

// Path: src/java/com/idega/block/form/IWBundleStarter.java
// public class IWBundleStarter implements IWBundleStartable {
// 
// 	public static final String BUNDLE_IDENTIFIER = "com.idega.block.form";
// 
// 	public void start(IWBundle starterBundle) {
// 	}
// 
// 	public void stop(IWBundle starterBundle) {
// 	}
// }


// Path: src/java/com/idega/block/form/entries/presentation/UIFormsEntriesViewer.java
import java.io.IOException;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import org.springframework.beans.factory.annotation.Autowired;
import com.idega.block.form.IWBundleStarter;
import com.idega.block.web2.business.Web2Business;
import com.idega.facelets.ui.FaceletComponent;
import com.idega.idegaweb.IWBundle;
import com.idega.presentation.IWBaseComponent;
import com.idega.presentation.IWContext;
import com.idega.util.PresentationUtil;
import com.idega.util.expression.ELUtil;

package com.idega.block.form.entries.presentation;





/**
 * 
 * @author <a href="civilis@idega.com">Vytautas Čivilis</a>
 * @version $Revision: 1.4 $
 * 
 *          Last modified: $Date: 2009/07/14 16:23:05 $ by $Author: valdas $
 * 
 */
public class UIFormsEntriesViewer extends IWBaseComponent {

	public static final String COMPONENT_TYPE = "com.idega.UIFormsEntriesViewer";

	public static final String entriesFacet = "entries";
	public static final String formSubmissionFacet = "formSubmission";
	public static final String formSubmissionSourceFacet = "formSubmissionSource";
	
	@Autowired private Web2Business web2Business;

	@Override
	protected void initializeComponent(FacesContext context) {
		super.initializeComponent(context);

		IWBundle bundle = getBundle(context, IWBundleStarter.BUNDLE_IDENTIFIER);