|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.melati.template.webmacro.WebmacroTemplateContext
org.melati.template.webmacro.WebmacroServletTemplateContext
public class WebmacroServletTemplateContext
Implements a template context for Melati using Webmacro.
| Field Summary | |
|---|---|
org.webmacro.servlet.WebContext |
webContext
The webcontext. |
| Constructor Summary | |
|---|---|
WebmacroServletTemplateContext(org.webmacro.Context wc)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getForm(java.lang.String k)
Get a field from an HTML Form. |
MultipartFormField |
getMultipartForm(java.lang.String s)
Get a multi-part field from an HTML form. |
javax.servlet.http.HttpSession |
getSession()
Get the HttpSession . |
| Methods inherited from class org.melati.template.webmacro.WebmacroTemplateContext |
|---|
get, getContext, put, setPassbackExceptionHandling, setPropagateExceptionHandling |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.melati.template.TemplateContext |
|---|
get, getContext, put, setPassbackExceptionHandling, setPropagateExceptionHandling |
| Field Detail |
|---|
public org.webmacro.servlet.WebContext webContext
| Constructor Detail |
|---|
public WebmacroServletTemplateContext(org.webmacro.Context wc)
wc - WebMacro context| Method Detail |
|---|
public java.lang.String getForm(java.lang.String k)
getForm in interface ServletTemplateContextk - the field's name
ServletTemplateContext.getForm(java.lang.String)public MultipartFormField getMultipartForm(java.lang.String s)
getMultipartForm in interface ServletTemplateContexts - the field's name
ServletTemplateContext.getMultipartForm(java.lang.String)public javax.servlet.http.HttpSession getSession()
HttpSession .
getSession in interface ServletTemplateContextServletTemplateContext.getSession()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||