|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsf.net.kayestry.TapestryUtils
public class TapestryUtils
Operaciones comunes con Tapestry.
| Method Summary | |
|---|---|
static org.apache.tapestry.engine.ILink |
createLink(org.apache.tapestry.IRequestCycle cycle,
java.lang.String page)
Genera un link absoluto a una pagina. |
static org.apache.tapestry.engine.ILink |
createLinkToAccessDenied(org.apache.tapestry.IRequestCycle cycle)
Crea un link a la pagina de acceso denegado. |
static org.apache.tapestry.engine.ILink |
createLinkToError(org.apache.tapestry.IRequestCycle cycle)
Crea un link a la pagina de error. |
static org.apache.tapestry.engine.ILink |
createLinkToHome(org.apache.tapestry.IRequestCycle cycle)
Crea un link a la pagina del home. |
static org.apache.tapestry.engine.ILink |
createLinkToLogin(org.apache.tapestry.IRequestCycle cycle)
Crea un link a la pagina de login. |
static org.apache.tapestry.engine.ILink |
createLinkToLogout(org.apache.tapestry.IRequestCycle cycle)
Crea un link a la pagina de logout. |
static org.apache.tapestry.engine.ILink |
createServiceLink(org.apache.tapestry.IRequestCycle cycle,
java.lang.String serviceName)
Genera un link a un servicio. |
static Visit |
getVisit(org.apache.tapestry.IPage page)
Obtiene el objeto visit. |
static Visit |
getVisit(org.apache.tapestry.IRequestCycle cycle)
Obtiene el objeto visit. |
static void |
redirectTo(org.apache.tapestry.IRequestCycle cycle,
java.lang.String page)
Realiza un redirect hacia otra pagina. |
static void |
redirectToAccessDenied(org.apache.tapestry.IRequestCycle cycle)
Redirecciona a la pagina de acceso denegado. |
static void |
redirectToError(org.apache.tapestry.IRequestCycle cycle)
Redirecciona a la pagina de error. |
static void |
redirectToHome(org.apache.tapestry.IRequestCycle cycle)
Redirecciona a la pagina del home. |
static void |
redirectToLogin(org.apache.tapestry.IRequestCycle cycle)
Redirecciona a la pagina de login. |
static void |
redirectToLogout(org.apache.tapestry.IRequestCycle cycle)
Redirecciona a la pagina de logout. |
static void |
serviceRedirect(org.apache.tapestry.IRequestCycle cycle,
java.lang.String serviceName)
Redirecciona a un service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void redirectTo(org.apache.tapestry.IRequestCycle cycle,
java.lang.String page)
throws org.apache.tapestry.RedirectException
cycle - page - El nombre de la pagina a redireccionar.
org.apache.tapestry.RedirectException - La tira siempre para indicar a Tapestry hacia donde redirigir
al cliente.
public static org.apache.tapestry.engine.ILink createLink(org.apache.tapestry.IRequestCycle cycle,
java.lang.String page)
cycle - page -
public static void serviceRedirect(org.apache.tapestry.IRequestCycle cycle,
java.lang.String serviceName)
throws org.apache.tapestry.RedirectException
cycle - serviceName -
org.apache.tapestry.RedirectException
public static org.apache.tapestry.engine.ILink createServiceLink(org.apache.tapestry.IRequestCycle cycle,
java.lang.String serviceName)
cycle - serviceName - El nombre del servicio.
public static org.apache.tapestry.engine.ILink createLinkToError(org.apache.tapestry.IRequestCycle cycle)
cycle - TapestryGlobals#ERROR_PAGEpublic static org.apache.tapestry.engine.ILink createLinkToLogin(org.apache.tapestry.IRequestCycle cycle)
cycle - Globals.LOGIN_PAGEpublic static org.apache.tapestry.engine.ILink createLinkToLogout(org.apache.tapestry.IRequestCycle cycle)
cycle - Globals.LOGOUT_PAGEpublic static org.apache.tapestry.engine.ILink createLinkToHome(org.apache.tapestry.IRequestCycle cycle)
cycle - Globals.HOME_PAGEpublic static org.apache.tapestry.engine.ILink createLinkToAccessDenied(org.apache.tapestry.IRequestCycle cycle)
cycle - Globals.ACCESS_DENIED_PAGEpublic static void redirectToError(org.apache.tapestry.IRequestCycle cycle)
cycle - TapestryGlobals#ERROR_PAGEpublic static void redirectToLogin(org.apache.tapestry.IRequestCycle cycle)
cycle - Globals.LOGIN_PAGEpublic static void redirectToLogout(org.apache.tapestry.IRequestCycle cycle)
cycle - Globals.LOGOUT_PAGEpublic static void redirectToHome(org.apache.tapestry.IRequestCycle cycle)
cycle - Globals.HOME_PAGEpublic static void redirectToAccessDenied(org.apache.tapestry.IRequestCycle cycle)
cycle - Globals.ACCESS_DENIED_PAGEpublic static Visit getVisit(org.apache.tapestry.IPage page)
page -
public static Visit getVisit(org.apache.tapestry.IRequestCycle cycle)
cycle -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||