You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.9 KiB
59 lines
1.9 KiB
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
|
|
{
|
|
String m_title = "Reloaded !!!";
|
|
public String getTitle() { return m_title; }
|
|
public void setTitle(String value) { this.m_title = value; }
|
|
|
|
// ------------------------------------------------------------------------
|
|
// 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
|
|
// ------------------------------------------------------------------------
|
|
}
|