org.apache.struts2.views.gxp
Class Gxp

java.lang.Object
  extended by org.apache.struts2.views.gxp.AbstractGxp<com.google.gxp.html.HtmlClosure>
      extended by org.apache.struts2.views.gxp.Gxp
Direct Known Subclasses:
GxpInstance

public class Gxp
extends AbstractGxp<com.google.gxp.html.HtmlClosure>

Struts 2 to GXP adapter. Can be used to write a GXP or create a HtmlClosure. Pulls GXP parameters from Struts 2 value stack.

Author:
Bob Lee

Method Summary
static Gxp getInstance(java.lang.Class gxpClass)
          Looks up Gxp instance for the given GXP class.
static Gxp getInstance(java.lang.String gxpPath)
          Looks up Gxp instance for GXP with given path.
 
Methods inherited from class org.apache.struts2.views.gxp.AbstractGxp
getArgs, getGxpClass, getGxpClassForPath, getGxpClosure, getGxpClosure, getGxpInstance, getOverrides, getParams, lookupMethodByName, setValueStackFactory, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Gxp getInstance(java.lang.String gxpPath)
Looks up Gxp instance for GXP with given path.


getInstance

public static Gxp getInstance(java.lang.Class gxpClass)
Looks up Gxp instance for the given GXP class.



Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.