Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.views.gxp
Class Gxp

    java.lang.Object
      org.apache.struts2.views.gxp.AbstractGxp<com.google.gxp.html.HtmlClosure>
          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(Class gxpClass)` Looks up Gxp instance for the given GXP class.
`static Gxp` | `getInstance(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(String gxpPath)

  Looks up Gxp instance for GXP with given path.

### getInstance

    public static Gxp getInstance(Class gxpClass)

  Looks up Gxp instance for the given GXP class.

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2017 Apache Software Foundation. All rights reserved.