Version 1.1 of HtmlScreen, a Java servlet HTML template library, is now available for
download at:
http://www.ticnet.com/bwit/download.htm
Enhancements in this version are:
o Added duplicate methods to all Field classes to support
screen caching.
o Added screen caching to the Screen class. The first time
a screen is loaded from a file it is cached. Thereafter
requests for the same screen are duplicated from the
cache rather than reparsing the file. Each time a
cached screen is used the modified time on the associated
file is checked. If the file is newer the cached copy
is discarded and the file is reparsed.
o Added a new static method to allow screen caching to be
enabled or disabled. This is a global option and affects
all modules using HtmlScreen.
public static boolean setCacheEnabled(boolean enabled);
o Added new Screen method to return an Enumeration of all the
field names on the loaded HTML screen.
Enumeration getFieldNames();
o Added new Screen method to return the HTML control type of
a named field. Return values are defined in the new public
interface FieldType.
int getFieldType(String fieldName);
o Corrected bug in the render method of all fields that was
failing to replace double quote characters (") with the HTML
character entity " to avoid HTML syntax errors.
-------------------------------------------------------------------------------------------
Bob Withers Two things are infinite: the universe
and
[EMAIL PROTECTED] human stupidity, and I'm not sure about
http://www.pobox.com/~bwit the universe. - Albert Einstein
-------------------------------------------------------------------------------------------
----- BEGIN GEEK CODE BLOCK -----
Version 3.1 http://www.geekcode.com
GCS d- s: a+ C++ UO++ P L++ E--- W++ N++ o-- w++
O M V- PS PE Y+ PGP t+ 5 X++ r* tv+ b++ DI++ D--- G
e++ h--- r+++ y+++
----- END GEEK CODE BLOCK -----
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html