@@package@@

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import org.eclnt.editor.annotations.CCGenClass;
import org.eclnt.jsfserver.pagebean.PageBeanConfigItem;
import org.eclnt.jsfserver.pagebean.component.PageBeanComponent;

@CCGenClass (expressionBase="@@expressionBase@@")

public class @@className@@
@@indent@@extends PageBeanComponent
@@indent@@implements Serializable
{
@@indent@@// ------------------------------------------------------------------------
@@indent@@// inner classes
@@indent@@// ------------------------------------------------------------------------
@@indent@@
@@indent@@/* Listener to the user of the page bean. */
@@indent@@public interface IListener extends Serializable
@@indent@@{
@@indent@@}
@@indent@@
@@indent@@// ------------------------------------------------------------------------
@@indent@@// members
@@indent@@// ------------------------------------------------------------------------
@@indent@@
@@indent@@private IListener m_listener;
@@indent@@
@@indent@@// ------------------------------------------------------------------------
@@indent@@// constructors & initialization
@@indent@@// ------------------------------------------------------------------------

@@indent@@public @@className@@()
@@indent@@{
@@indent@@}

@@indent@@public String getRootExpressionUsedInPage() { return "@@expressionBase@@"; }

@@indent@@// ------------------------------------------------------------------------
@@indent@@// public usage
@@indent@@// ------------------------------------------------------------------------

@@indent@@/* Initialization of the bean by application. Add any parameter that is required within your scenario. */
@@indent@@public void prepare(IListener listener)
@@indent@@{
@@indent@@@@indent@@m_listener = listener;
@@indent@@}

@@indent@@@Override
@@indent@@public void initializePageBean(Map<String, String> initData) { super.initializePageBean(initData); }
@@indent@@@Override
@@indent@@public void initializePageBeanConfigItems(List<PageBeanConfigItem> configItems) { super.initializePageBeanConfigItems(configItems); }
@@indent@@@Override
@@indent@@public void onBeforeRendering() {}

@@indent@@// ------------------------------------------------------------------------
@@indent@@// private usage
@@indent@@// ------------------------------------------------------------------------
}
