| java.lang.Object com.opensymphony.webwork.components.Component com.opensymphony.webwork.components.UIBean com.opensymphony.webwork.components.Head
Head | public class Head extends UIBean (Code) | |
Renders parts of the HEAD section for an HTML file. This is useful as some themes require certain CSS and JavaScript
includes.
If, for example, your page has ajax components integrated, without having the default theme set to ajax, you might
want to use the head tag with theme="ajax" so that the typical ajax header setup will be included in the
page.
The tag also includes the option to set a custom datepicker theme if needed. See calendarcss parameter for
description for details.
If you use the ajax theme you can turn a debug flag on by setting the debug parameter to true.
Examples
<head>
<title>My page</title>
<ww:head/>
</head>
<head>
<title>My page</title>
<ww:head theme="ajax" calendarcss="calendar-green"/>
</head>
<head>
<title>My page</title>
<ww:head theme="ajax" debug="true"/>
</head>
author: Patrick Lightbody author: Rainer Hermanns author: Rene Gielen since: 2.2 |
evaluateParams | public void evaluateParams()(Code) | | |
getDefaultTemplate | protected String getDefaultTemplate()(Code) | | |
isDebug | public boolean isDebug()(Code) | | |
setCalendarcss | public void setCalendarcss(String calendarcss)(Code) | | The jscalendar css theme to use" default="calendar-blue.css
|
setDebug | public void setDebug(boolean debug)(Code) | | Set to true to enable debugging mode for AJAX themes
|
Methods inherited from com.opensymphony.webwork.components.Component | public void addAllParameters(Map params)(Code)(Java Doc) public void addParameter(String key, Object value)(Code)(Java Doc) public boolean altSyntax()(Code)(Java Doc) public void copyParams(Map params)(Code)(Java Doc) protected String determineActionURL(String action, String namespace, String method, HttpServletRequest req, HttpServletResponse res, Map parameters, String scheme, boolean includeContext, boolean encodeResult, boolean escapeXml)(Code)(Java Doc) protected String determineNamespace(String namespace, OgnlValueStack stack, HttpServletRequest req)(Code)(Java Doc) public boolean end(Writer writer, String body)(Code)(Java Doc) protected boolean end(Writer writer, String body, boolean popComponentStack)(Code)(Java Doc) protected WebWorkException fieldError(String field, String errorMsg, Exception e)(Code)(Java Doc) protected Component findAncestor(Class clazz)(Code)(Java Doc) protected String findString(String expr)(Code)(Java Doc) protected String findString(String expr, String field, String errorMsg)(Code)(Java Doc) protected Object findValue(String expr)(Code)(Java Doc) protected Object findValue(String expr, String field, String errorMsg)(Code)(Java Doc) protected Object findValue(String expr, Class toType)(Code)(Java Doc) public Stack getComponentStack()(Code)(Java Doc) public String getId()(Code)(Java Doc) public Map getParameters()(Code)(Java Doc) public OgnlValueStack getStack()(Code)(Java Doc) protected void popComponentStack()(Code)(Java Doc) public void setId(String id)(Code)(Java Doc) public boolean start(Writer writer)(Code)(Java Doc) protected String toString(Throwable t)(Code)(Java Doc) public boolean usesBody()(Code)(Java Doc)
|
|
|