com.cc.framework.taglib.util
Class CalendarResourceTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.cc.framework.taglib.util.CalendarResourceTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class CalendarResourceTag
- extends javax.servlet.jsp.tagext.TagSupport
This tag adds the javascript object "DTPRes" to a html page
and initalize the javascript object with the localized weekday
names, month names, button labels andd the window title.
The calendar.js file need this information to retrieve and
display the localized message strings. Predefined keys can
be used to specified the message resources within the resource
bundel for the application.
- fw.calendar.button.ok.label = Label for the OK button
- fw.calendar.button.cancel.label = Label for the Cancel button
- fw.calendar.button.today.label = Label for the Today button
- fw.calendar.title = Titel for the browser window
- Since:
- 1.4
- Version:
- $Revision: 1.5 $
- Author:
- Gernot Schulz
- See Also:
- Serialized Form
Field Summary |
private java.lang.String |
localeName
The locale for the calendar resources |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Serial Version UID
- See Also:
- Constant Field Values
localeName
private java.lang.String localeName
- The locale for the calendar resources
CalendarResourceTag
public CalendarResourceTag()
- Constructor
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
- See Also:
TagSupport.doStartTag()
setLocale
public void setLocale(java.lang.String localeName)
- Sets a local.
- Parameters:
localeName
- The local
Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.