diff options
Diffstat (limited to 'src/com/itmill/toolkit/terminal/web')
11 files changed, 11 insertions, 40 deletions
diff --git a/src/com/itmill/toolkit/terminal/web/AjaxPaintTarget.java b/src/com/itmill/toolkit/terminal/web/AjaxPaintTarget.java index 62183609bf..be289fa766 100644 --- a/src/com/itmill/toolkit/terminal/web/AjaxPaintTarget.java +++ b/src/com/itmill/toolkit/terminal/web/AjaxPaintTarget.java @@ -180,7 +180,7 @@ public class AjaxPaintTarget implements PaintTarget { * Print element end tag. * * If the parent tag is closed before every child tag is closed an - * MillstoneException is raised. + * PaintException is raised. * * @param tag * The name of the end tag diff --git a/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java b/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java index e72c9d2b8f..4de1b052bc 100644 --- a/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java +++ b/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java @@ -389,7 +389,7 @@ public class ApplicationServlet extends HttpServlet implements * Get ThemeSources from given path. Construct the list of avalable themes * in path using the following sources: 1. content of THEME_PATH directory * (if available) 2. The themes listed in THEME_LIST_FILE 3. "themesource" - * application parameter - "org. millstone.webadapter. themesource" system + * application parameter - "ThemeSource" system * property * * @param THEME_DIRECTORY_PATH diff --git a/src/com/itmill/toolkit/terminal/web/HttpVariableMap.java b/src/com/itmill/toolkit/terminal/web/HttpVariableMap.java index b14739f862..9e52ddf261 100644 --- a/src/com/itmill/toolkit/terminal/web/HttpVariableMap.java +++ b/src/com/itmill/toolkit/terminal/web/HttpVariableMap.java @@ -51,7 +51,7 @@ import java.util.LinkedList; import java.util.Iterator; /** - * Class implementing the MillStone WebAdapter variable mappings. + * Class implementing the variable mappings. * * @author IT Mill Ltd. * @version @VERSION@ diff --git a/src/com/itmill/toolkit/terminal/web/Theme.java b/src/com/itmill/toolkit/terminal/web/Theme.java index ee204c7f95..9fcac790fa 100644 --- a/src/com/itmill/toolkit/terminal/web/Theme.java +++ b/src/com/itmill/toolkit/terminal/web/Theme.java @@ -48,7 +48,7 @@ import org.xml.sax.Attributes; /** * This class provides an interface to the meta-information regarding a - * particular webadapter theme. This entails for instanace the inheritance tree + * particular theme. This entails for instanace the inheritance tree * of the various xsl-template files, the different requirments that the theme * imposes on the client browser, etc. * <p> @@ -77,31 +77,6 @@ import org.xml.sax.Attributes; * <p> * The theme description is XML data, and it can be loaded from file or stream. * The default filename is specified by <code>Theme.DESCRIPTIONFILE</code>. - * Example of theme description file: - * - * <pre> - * <?xml version="1.0" encoding="UTF-8"?> - * - * <theme name="normal"> - * - * <extends theme="simple"/> - * - * <description>The normal theme for all browsers</description> - * <author name="IT Mill Ltd" email="millstone@itmill.com" /> - * - * <fileset> - * <require> - * <supports javascript="JavaScript 1.0"/> - * </require> - * - * <file name="common/error.xsl" /> - * <file name="components/button.xsl" /> - * <file name="components/select.xsl" /> - * <file name="components/textfield.xsl" /> - * <file name="components/table.xsl" /> - * </fileset> - * </theme> - * </pre> * * </p> * diff --git a/src/com/itmill/toolkit/terminal/web/ThemeFunctionLibrary.java b/src/com/itmill/toolkit/terminal/web/ThemeFunctionLibrary.java index 6a9398f049..ab24228fbe 100644 --- a/src/com/itmill/toolkit/terminal/web/ThemeFunctionLibrary.java +++ b/src/com/itmill/toolkit/terminal/web/ThemeFunctionLibrary.java @@ -168,8 +168,6 @@ public class ThemeFunctionLibrary { /** * Generate JavaScript for page that performs client-side combility checks. - * The script includes HTML/JavaScript commands to be included in the body - * of the millstone-form. */ static public boolean probeClient() { return (browser().performClientCheck() && !browser() diff --git a/src/com/itmill/toolkit/terminal/web/UIDLTransformer.java b/src/com/itmill/toolkit/terminal/web/UIDLTransformer.java index 2796cc3190..057ab369e2 100644 --- a/src/com/itmill/toolkit/terminal/web/UIDLTransformer.java +++ b/src/com/itmill/toolkit/terminal/web/UIDLTransformer.java @@ -51,7 +51,7 @@ import javax.xml.transform.ErrorListener; import javax.xml.transform.SourceLocator; import javax.xml.transform.OutputKeys; -/** Class implementing the MillStone WebAdapter UIDLTransformer. +/** Class implementing the UIDLTransformer. * * The thansformer should not be created directly; it should be contructed * using getTransformer() provided by UIDLTransformerFactory. diff --git a/src/com/itmill/toolkit/terminal/web/UIDLTransformerFactory.java b/src/com/itmill/toolkit/terminal/web/UIDLTransformerFactory.java index 616b54a46e..16e240db62 100644 --- a/src/com/itmill/toolkit/terminal/web/UIDLTransformerFactory.java +++ b/src/com/itmill/toolkit/terminal/web/UIDLTransformerFactory.java @@ -35,7 +35,7 @@ import java.util.LinkedList; import java.util.Map; import java.util.Iterator; -/** Class implementing the MillStone WebAdapter UIDLTransformer Factory. +/** Class implementing the UIDLTransformer Factory. * The factory creates and maintains a pool of transformers that are used * for transforming UIDL to HTML. * diff --git a/src/com/itmill/toolkit/terminal/web/WebApplicationContext.java b/src/com/itmill/toolkit/terminal/web/WebApplicationContext.java index 5df7fe66c9..f083f99bd8 100644 --- a/src/com/itmill/toolkit/terminal/web/WebApplicationContext.java +++ b/src/com/itmill/toolkit/terminal/web/WebApplicationContext.java @@ -46,7 +46,7 @@ import com.itmill.toolkit.service.ApplicationContext; import com.itmill.toolkit.ui.Window; /** - * Web application context for Millstone applications. + * Web application context for the IT Mill Toolkit applications. * * @author IT Mill Ltd. * @version diff --git a/src/com/itmill/toolkit/terminal/web/WebPaintTarget.java b/src/com/itmill/toolkit/terminal/web/WebPaintTarget.java index 0fa63ed1b1..1e2a1ffb27 100644 --- a/src/com/itmill/toolkit/terminal/web/WebPaintTarget.java +++ b/src/com/itmill/toolkit/terminal/web/WebPaintTarget.java @@ -153,7 +153,7 @@ public class WebPaintTarget implements PaintTarget { /** Print element end tag. * * If the parent tag is closed before - * every child tag is closed an MillstoneException is raised. + * every child tag is closed a PaintException is raised. * * @param tag The name of the end tag */ diff --git a/src/com/itmill/toolkit/terminal/web/XSLReader.java b/src/com/itmill/toolkit/terminal/web/XSLReader.java index f3d4b63548..a3a5545236 100644 --- a/src/com/itmill/toolkit/terminal/web/XSLReader.java +++ b/src/com/itmill/toolkit/terminal/web/XSLReader.java @@ -46,7 +46,7 @@ import org.xml.sax.SAXNotSupportedException; import org.xml.sax.SAXParseException; import org.xml.sax.XMLReader; -/** Class implementing XMLReader for the MillStone WebAdapter UIDLTransformer. +/** Class implementing XMLReader for the UIDLTransformer. * * @author IT Mill Ltd. * @version @VERSION@ @@ -90,7 +90,7 @@ public class XSLReader implements XMLReader, ContentHandler { xsltProcessor = XSLT_WEBLOGIC; else { throw new RuntimeException( - "\nThis version of Millstone Web Adapter " + "\nThis version of IT Mill Toolkit " + " does not support the selected XSLT-processer:\n " + transformerName + "\n" @@ -421,7 +421,6 @@ public class XSLReader implements XMLReader, ContentHandler { public String getURI(int index) { String uri = original.getURI(index); - // Map millstone:// namespaces to transformer specific namespaces if (uri != null && uri.startsWith(JAVA_PREFIX)) { System.out.print("DEBUG " + uri + " --> "); diff --git a/src/com/itmill/toolkit/terminal/web/package.html b/src/com/itmill/toolkit/terminal/web/package.html index 5e034235df..774ad5f5af 100644 --- a/src/com/itmill/toolkit/terminal/web/package.html +++ b/src/com/itmill/toolkit/terminal/web/package.html @@ -8,8 +8,7 @@ <!-- Package summary here --> -<p>Provides the functionality of the MillStone Web Adapter, which adapts the -MillStone applications to Web standards. (FIXME: We need a rather more extensive lithany here.)</p> +<p>This package implement web terminal for both AJAX-capable and more limited web browsers.</p> <h2>Package Specification</h2> |