|
Version History
Version History
Version 2.3 (October 24, 2005)
- JOT Token list parameters (arrays) are a new feature. An example
of the "[]" list operator syntax is JOT.FooBar([red, white, blue], MoreArgs).
See JOT Tokens documentation.
- Automatic string concatenation in JOT Token parameter lists.
See JOT Tokens documentation.
- The JotBean token uses the property assignment operation
introduced in version 2.2. The syntax for creating a named bean is
JOT.JotBean=(name, classname).
- New JOT Tokens include boolean Equals, Or, and And tokens.
Or and And return the boolean value of a list of terms.
The Position token references the ordinal position (element count)
for the current object in a JotTemplateIterator iteration.
See JOT Templates Reference for details:
- JOT.MyProperty.Equals(value)
- JOT.And([terms...])
- JOT.Or([terms...])
- JOT.MyIterator.Position
- The new JOT.Include(resource) token replaces JOT.Resource(resource).
Version 2.2 (September 25, 2005)
- Property assignment is supported with dynamic content
JOT Token arguments. The '=' operator syntax is JOT.FooBar=(arg1, ...).
See the documentation for JOT Tokens and JOT Beans.
- New JOT.Resource(resource) token includes content from a non template
resource, such as a file, URL, or Servlet.
- Documentation and examples of
tiled layouts with JOT Web Components.
Version 2.11 (August 31, 2005)
- The Hello JOT Servlets demo is extended with an
enclosing JOT Web Component.
- JotBean.addJotBeanProperty() replaces
JotServletPropertyBean.initJotBeanProperty().
- Documentation enhancements and errata corrections.
Version 2.1 (August 9, 2005)
- Updated and extended JOT Web Component documentation and examples.
- New JOT Tokens (see JOT Templates Reference for details):
- JOT.Views.Component(class [, template])
- JOT.IsaProperty(name)
- JOT.IfProperty(name, alternate)
- JOT.LineNumberedText(path) - see Javadoc for JotSourceTextBean tool
- Framework API (see Javadoc for details):
- hasJotBeanProperty(name) - JotBean interface
- isPrepared() - JotBean interface
- initJotBeanProperty(name, property) - JotServletPropertyBean
- The properties of the current Iteration element are now
automatically available as JOT Tokens. This applies to these
JotTemplateIterator classes (see Javadoc and Programmers Guide for details):
- AbstractJotTemplateIterator
- JotTemplateIteratorBean
- JotCollectionIteratorBean
- JotMapIteratorBean
- For consistency with JOT Web Components, the JotViews renderComponent()
method replaces renderContent() and the jot:RenderContent JSP tag is
renamed to jot:RenderComponent. Also the attribute name for the
jot:RenderComponent tag is now jotContentBeanClass.
- Method getJotBeanPropertyNames() is removed from the JotBean interface
to simplify the contract for subclasses. The new hasJotBeanProperty()
method provides compensating functionality.
Version 2.0 (May 1, 2005)
- New JOT Web Components are renderable JOT Bean properties that can be
embedded on JOT Templates to any nesting depth.
- The JOT Views rendering engine can now be invoked from any Java Servlet
or JSP page.
- JOT Views custom tags allow JSP pages to render web components with
the JOT Views rendering engine. JSP scoped attributes are available as
component properties. See JotViews.tld in the WEB-INF directory for details.
- JOT Template tokens can now reference properties of JOT Beans,
J2EE objects and POJO classes (plain old java objects).
- JOT Template tokens now reference indirect properties of Java objects.
For example JOT.foo.batz.bar(a,b) refers to the bar property of the batz
property of the foo object.
- The name space for JotBean property names is scoped within nested
JOT Templates. See Programming Guide for details.
- A new "Hello JOT" demonstration illustrates JOT Templates, JOT Beans,
and JOT Views for JSP.
- A JotException thrown while servicing a request is available in the
JOT_SERVLET_EXCEPTION request attribute.
- Java Servlets 2.2 or later and JSP 1.1 or later is the required platform
(Servlets 2.1 is no longer supported).
Version 1.12 (June 16, 2004)
- New and expanded documentation sections titled "About JSP",
"JOT Servlets Comparison", and "JOT Tokens Reference".
- Added JotTemplateIteratorBean(JotIterator) constructor.
Version 1.11 (May 21, 2004)
- JotServletBean properties and JOT Templates now automatically
include Request attributes, Session attributes, and Application
(ServletContext) attributes.
- JOT.Content(templateName) now takes the optional templateName
argument so that the ContentSource can be specified dynamically at
runtime. JOT Views entry points
have the same enhancement.
Version 1.10 (April 27, 2004)
- Added JOT Views rendering engine that allows any (non-JOT)
Java Servlet or JSP page to generate dynamic content with JOT Templates.
- Moved the Pick-a-Number demo application and related documentation
to the jotdemo web application.
- Added the JOT.IfNull(property, alternate) token.
- Enhanced diagnostics provided by JOT Template exceptions.
Version 1.0 - 1.09 (March 2003 - September 2003)
-
First production releases.
Version 0.89 - 0.99 (2001 - 2002)
|