parent
be694d1377
commit
e30b464fd6
@ -0,0 +1,54 @@
|
||||
package managedbeans;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.eclnt.editor.annotations.CCGenClass;
|
||||
import org.eclnt.jsfserver.pagebean.PageBean;
|
||||
|
||||
import org.eclnt.jsfserver.base.faces.event.ActionEvent;
|
||||
|
||||
@CCGenClass (expressionBase="#{d.ReloadBean}")
|
||||
|
||||
public class ReloadBean
|
||||
extends PageBean
|
||||
implements Serializable
|
||||
{
|
||||
// ------------------------------------------------------------------------
|
||||
// inner classes
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
/* Listener to the user of the page bean. */
|
||||
public interface IListener extends Serializable
|
||||
{
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// members
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
private IListener m_listener;
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// constructors & initialization
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
public ReloadBean()
|
||||
{
|
||||
}
|
||||
|
||||
public String getPageName() { return "/reload.xml"; }
|
||||
public String getRootExpressionUsedInPage() { return "#{d.ReloadBean}"; }
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// public usage
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
/* Initialization of the bean. Add any parameter that is required within your scenario. */
|
||||
public void prepare(IListener listener)
|
||||
{
|
||||
m_listener = listener;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// private usage
|
||||
// ------------------------------------------------------------------------
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<t:layoutdefinition xmlns:t="http://www.CaptainCasa.com/controllibrary/t" >
|
||||
|
||||
<t:beanprocessing id="g_1" beanbinding="#{d.ReloadBean}" />
|
||||
<t:rowtitlebar id="g_2" />
|
||||
<t:rowheader id="g_3" />
|
||||
<t:rowbodypane id="g_4" />
|
||||
|
||||
</t:layoutdefinition>
|
||||
Loading…
Reference in new issue