com.cc.framework.taglib.util
Class CalendarResourceTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.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.

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
 
Constructor Summary
CalendarResourceTag()
          Constructor
 
Method Summary
 int doStartTag()
           
 void setLocale(java.lang.String localeName)
          Sets a local.
 
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
 

Field Detail

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

Constructor Detail

CalendarResourceTag

public CalendarResourceTag()
Constructor

Method Detail

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.