|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.resource.AbstractResourceStream
org.apache.wicket.util.resource.AbstractStringResourceStream
org.apache.wicket.util.template.TextTemplate
org.apache.wicket.util.template.PackagedTextTemplate
org.wicketstuff.push.dojo.DojoPackagedTextTemplate
public class DojoPackagedTextTemplate
Used to externalized js in templates
| Constructor Summary | |
|---|---|
DojoPackagedTextTemplate(java.lang.Class<?> clazz,
java.lang.String fileName)
Constructor. |
|
DojoPackagedTextTemplate(java.lang.Class<?> clazz,
java.lang.String fileName,
java.lang.String contentType)
Constructor. |
|
DojoPackagedTextTemplate(java.lang.Class<?> clazz,
java.lang.String fileName,
java.lang.String contentType,
java.lang.String encoding)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getStaticKey()
Return a key to use in renderJavascript. |
java.lang.String |
getWidgetUniqueKey(org.apache.wicket.Component component)
Return a key to use in renderJavascript. |
| Methods inherited from class org.apache.wicket.util.template.PackagedTextTemplate |
|---|
getString, interpolate |
| Methods inherited from class org.apache.wicket.util.template.TextTemplate |
|---|
asString, asString |
| Methods inherited from class org.apache.wicket.util.resource.AbstractStringResourceStream |
|---|
close, getContentType, getInputStream, lastModifiedTime, length, setLastModified |
| Methods inherited from class org.apache.wicket.util.resource.AbstractResourceStream |
|---|
getCharset, getLocale, setCharset, setLocale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DojoPackagedTextTemplate(java.lang.Class<?> clazz,
java.lang.String fileName,
java.lang.String contentType,
java.lang.String encoding)
clazz - The clazz to be used for retrieving the classloader for loading
the packaged template.fileName - the name of the file, relative to the clazz positioncontentType - The mime type of this resource, such as "image/jpeg" or
"text/html"encoding - The file's encoding, e.g. 'UTF-8'
public DojoPackagedTextTemplate(java.lang.Class<?> clazz,
java.lang.String fileName,
java.lang.String contentType)
clazz - The clazz to be used for retrieving the classloader for loading
the packaged template.fileName - the name of the file, relative to the clazz positioncontentType - The mime type of this resource, such as "image/jpeg" or
"text/html"
public DojoPackagedTextTemplate(java.lang.Class<?> clazz,
java.lang.String fileName)
component - The component to be used for retrieving the classloader for
loading the packaged template.fileName - The name of the file, relative to the clazz position| Method Detail |
|---|
public java.lang.String getStaticKey()
public java.lang.String getWidgetUniqueKey(org.apache.wicket.Component component)
component - component for which the uniqueKey will be generated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||