|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.shale.view.AbstractFacesBean
org.apache.shale.view.AbstractViewController
org.apache.shale.blank.WelcomeBean
public class WelcomeBean
Sample ViewController class for /welcome.jsp.
| Constructor Summary | |
|---|---|
WelcomeBean()
|
|
| Method Summary | |
|---|---|
Date |
getTimestamp()
Return the current date and time value. |
void |
prerender()
Just before rendering occurs, set the timestamp
property to the current date and time. |
void |
setTimestamp(Date timestamp)
Set the current date and time value. |
| Methods inherited from class org.apache.shale.view.AbstractViewController |
|---|
destroy, init, isPostBack, preprocess, setPostBack |
| Methods inherited from class org.apache.shale.view.AbstractFacesBean |
|---|
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getExternalContext, getFacesContext, getLifecycle, getRequestHeaderMap, getRequestMap, getRequestParameter, getRequestParameterMap, getRequestParameterValues, getSessionMap, getValue, info, info, log, log, retrieveData, saveData, setBean, setValue, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WelcomeBean()
| Method Detail |
|---|
public Date getTimestamp()
Return the current date and time value.
public void setTimestamp(Date timestamp)
Set the current date and time value.
timestamp - The new date and time valuepublic void prerender()
Just before rendering occurs, set the timestamp
property to the current date and time.
prerender in interface org.apache.shale.view.ViewControllerprerender in class org.apache.shale.view.AbstractViewController
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||