Removed author information from all the files of the "webapp" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454112 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -35,11 +35,6 @@ import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
* ConfigXMLReader.java - Reads and parses the XML site config files.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ConfigXMLReader {
|
||||
|
||||
|
||||
@@ -51,10 +51,6 @@ import org.ofbiz.service.WebAppDispatcher;
|
||||
|
||||
/**
|
||||
* ContextFilter - Restricts access to raw files and configures servlet objects.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.2
|
||||
*/
|
||||
public class ContextFilter implements Filter {
|
||||
|
||||
|
||||
@@ -22,10 +22,6 @@ import org.ofbiz.base.util.Debug;
|
||||
|
||||
/**
|
||||
* HttpSessionListener that gathers and tracks various information and statistics
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ControlActivationEventListener implements HttpSessionActivationListener {
|
||||
// Debug module name
|
||||
|
||||
@@ -33,10 +33,6 @@ import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
|
||||
/**
|
||||
* HttpSessionListener that gathers and tracks various information and statistics
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ControlEventListener implements HttpSessionListener {
|
||||
// Debug module name
|
||||
|
||||
@@ -43,11 +43,6 @@ import org.ofbiz.webapp.stats.ServerHitBin;
|
||||
|
||||
/**
|
||||
* ControlServlet.java - Master servlet for the web application.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ControlServlet extends HttpServlet {
|
||||
|
||||
|
||||
@@ -24,10 +24,6 @@ import org.ofbiz.webapp.control.LoginWorker;
|
||||
|
||||
/**
|
||||
* HttpSessionListener that finalizes login information
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class LoginEventListener implements HttpSessionListener {
|
||||
// Debug module name
|
||||
|
||||
@@ -52,12 +52,6 @@ import org.ofbiz.webapp.website.WebSiteWorker;
|
||||
|
||||
/**
|
||||
* RequestHandler - Request Processor Object
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @author Dustin Caldwell
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class RequestHandler implements Serializable {
|
||||
|
||||
|
||||
@@ -17,10 +17,6 @@ package org.ofbiz.webapp.control;
|
||||
|
||||
/**
|
||||
* RequestHandlerException
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class RequestHandlerException extends org.ofbiz.base.util.GeneralException {
|
||||
|
||||
|
||||
@@ -28,10 +28,6 @@ import org.ofbiz.base.util.UtilValidate;
|
||||
|
||||
/**
|
||||
* RequestManager - Manages request, config and view mappings.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class RequestManager implements Serializable {
|
||||
|
||||
|
||||
@@ -30,10 +30,6 @@ import org.ofbiz.base.util.cache.UtilCache;
|
||||
|
||||
/**
|
||||
* BsfEventHandler - BSF Event Handler
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.2
|
||||
*/
|
||||
public class BsfEventHandler implements EventHandler {
|
||||
|
||||
|
||||
@@ -46,10 +46,6 @@ import org.ofbiz.service.calendar.RecurrenceRule;
|
||||
|
||||
/**
|
||||
* CoreEvents - WebApp Events Related To Framework pieces
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class CoreEvents {
|
||||
|
||||
|
||||
@@ -31,10 +31,6 @@ import org.ofbiz.webapp.control.RequestManager;
|
||||
|
||||
/**
|
||||
* EventFactory - Event Handler Factory
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class EventFactory {
|
||||
|
||||
|
||||
@@ -21,11 +21,6 @@ import javax.servlet.ServletContext;
|
||||
|
||||
/**
|
||||
* EventHandler - Event Handler Interface
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
|
||||
public interface EventHandler {
|
||||
|
||||
@@ -17,10 +17,6 @@ package org.ofbiz.webapp.event;
|
||||
|
||||
/**
|
||||
* EventHandlerException.java
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class EventHandlerException extends org.ofbiz.base.util.GeneralException {
|
||||
|
||||
|
||||
@@ -26,11 +26,6 @@ import org.ofbiz.base.util.Debug;
|
||||
|
||||
/**
|
||||
* JavaEventHandler - Static Method Java Event Handler
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class JavaEventHandler implements EventHandler {
|
||||
|
||||
|
||||
@@ -51,12 +51,6 @@ import org.w3c.dom.Document;
|
||||
|
||||
/**
|
||||
* SOAPEventHandler - SOAP Event Handler implementation
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:">Andy Chen</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class SOAPEventHandler implements EventHandler {
|
||||
|
||||
|
||||
@@ -49,11 +49,6 @@ import org.ofbiz.service.ServiceValidationException;
|
||||
|
||||
/**
|
||||
* ServiceEventHandler - Service Event Handler
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ServiceEventHandler implements EventHandler {
|
||||
|
||||
|
||||
@@ -47,10 +47,6 @@ import org.ofbiz.service.ServiceValidationException;
|
||||
|
||||
/**
|
||||
* ServiceMultiEventHandler - Event handler for running a service multiple times; for bulk forms
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.2
|
||||
*/
|
||||
public class ServiceMultiEventHandler implements EventHandler {
|
||||
|
||||
|
||||
@@ -28,11 +28,6 @@ import org.ofbiz.minilang.SimpleMethod;
|
||||
|
||||
/**
|
||||
* SimpleEventHandler - Simple Event Mini-Lang Handler
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class SimpleEventHandler implements EventHandler {
|
||||
|
||||
|
||||
@@ -23,10 +23,6 @@ import org.ofbiz.base.util.HttpClient;
|
||||
|
||||
/**
|
||||
* Test Events
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class TestEvent {
|
||||
|
||||
|
||||
@@ -44,10 +44,6 @@ import freemarker.template.WrappingTemplateModel;
|
||||
|
||||
/**
|
||||
* FreemarkerViewHandler - Freemarker Template Engine View Handler
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.1
|
||||
*/
|
||||
public class FreeMarkerViewHandler implements ViewHandler {
|
||||
|
||||
|
||||
@@ -39,11 +39,6 @@ import org.jpublish.view.ViewRenderException;
|
||||
|
||||
/**
|
||||
* JPublish View Renderer For Freemarker Template Engine
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.1
|
||||
*/
|
||||
public class FreeMarkerViewRenderer extends org.jpublish.view.freemarker.FreeMarkerViewRenderer {
|
||||
|
||||
|
||||
@@ -32,12 +32,6 @@ import org.ofbiz.base.util.cache.UtilCache;
|
||||
|
||||
import org.jpublish.RepositoryWrapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 3.2
|
||||
*/
|
||||
public class JpCacheIncludeTransform implements TemplateTransformModel {
|
||||
|
||||
public static final String module = JpCacheIncludeTransform.class.getName();
|
||||
|
||||
@@ -36,10 +36,6 @@ import org.ofbiz.base.util.UtilHttp;
|
||||
|
||||
/**
|
||||
* OfbizAmountTransform - Freemarker Transform for content links
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:tiz@sastau.it">Jacopo Cappellato</a>
|
||||
* @version $Rev$
|
||||
*/
|
||||
public class OfbizAmountTransform implements TemplateTransformModel {
|
||||
|
||||
|
||||
@@ -21,10 +21,6 @@ import org.ofbiz.base.util.cache.UtilCache;
|
||||
|
||||
/**
|
||||
* A custom cache wrapper for caching FreeMarker templates
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.1
|
||||
*/
|
||||
public class OfbizCacheStorage implements CacheStorage {
|
||||
//can't have global cache because names/keys are relative to the webapp
|
||||
|
||||
@@ -32,10 +32,6 @@ import freemarker.template.TemplateTransformModel;
|
||||
|
||||
/**
|
||||
* OfbizContentTransform - Freemarker Transform for content links
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.1
|
||||
*/
|
||||
public class OfbizContentTransform implements TemplateTransformModel {
|
||||
|
||||
|
||||
@@ -36,11 +36,6 @@ import org.ofbiz.base.util.UtilHttp;
|
||||
|
||||
/**
|
||||
* OfbizCurrencyTransform - Freemarker Transform for content links
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:ray.barlow@makeyour-point.com">Ray Barlow</a>
|
||||
* @version $Rev$
|
||||
* @since 3.0
|
||||
*/
|
||||
public class OfbizCurrencyTransform implements TemplateTransformModel {
|
||||
|
||||
|
||||
@@ -33,10 +33,6 @@ import org.ofbiz.webapp.control.RequestHandler;
|
||||
|
||||
/**
|
||||
* OfbizUrlTransform - Freemarker Transform for URLs (links)
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.1
|
||||
*/
|
||||
public class OfbizUrlTransform implements TemplateTransformModel {
|
||||
|
||||
|
||||
@@ -28,10 +28,6 @@ import org.ofbiz.base.util.template.FreeMarkerWorker;
|
||||
|
||||
/**
|
||||
* RenderWrappedTextTransform - Freemarker Transform for URLs (links)
|
||||
*
|
||||
* @author <a href="mailto:byersa@automationgroups.com">Al Byers</a>
|
||||
* @version $Rev$
|
||||
* @since 3.0
|
||||
*/
|
||||
public class RenderWrappedTextTransform implements TemplateTransformModel {
|
||||
|
||||
|
||||
@@ -28,10 +28,6 @@ import freemarker.template.TemplateScalarModel;
|
||||
|
||||
/**
|
||||
* SetRequestAttributeMethod - Freemarker Method for setting request attributes
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.1
|
||||
*/
|
||||
public class SetRequestAttributeMethod implements TemplateMethodModelEx {
|
||||
|
||||
|
||||
@@ -31,11 +31,6 @@ import org.ofbiz.entity.model.ModelField;
|
||||
|
||||
/**
|
||||
* Pseudo-Tag to Print Localized Entity Fields
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class EntityField {
|
||||
|
||||
|
||||
@@ -28,10 +28,6 @@ import org.ofbiz.entity.GenericValue;
|
||||
* a request parameter. Decides which to use by checking to see if the entityattr exist and
|
||||
* using the specified field if it does. If the Boolean object referred to by the tryentityattr
|
||||
* attribute is false, always tries to use the request parameter and ignores the entity field.
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class InputValue {
|
||||
|
||||
|
||||
@@ -24,11 +24,6 @@ import javax.servlet.jsp.PageContext;
|
||||
/**
|
||||
* Abstract base class for Section and Region
|
||||
* <br/>Subclasses of Content must implement render(PageContext)
|
||||
*
|
||||
*@author David M. Geary in the book "Advanced Java Server Pages"
|
||||
*@author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
*@created February 26, 2002
|
||||
*@version 1.0
|
||||
*/
|
||||
public abstract class Content implements java.io.Serializable {
|
||||
protected final String content;
|
||||
|
||||
@@ -31,11 +31,6 @@ import org.ofbiz.base.util.UtilJ2eeCompat;
|
||||
/**
|
||||
* A region is content that contains a set of sections that can render in a PageContext
|
||||
* <br/>Implements abstract render(PageContext) from Content
|
||||
*
|
||||
* @author David M. Geary in the book "Advanced Java Server Pages"
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class Region extends Content {
|
||||
|
||||
|
||||
@@ -31,10 +31,6 @@ import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
* A class to manage the region cache and read a region XML file
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class RegionManager {
|
||||
|
||||
|
||||
@@ -21,11 +21,6 @@ import javax.servlet.jsp.tagext.TagSupport;
|
||||
|
||||
/**
|
||||
* Base tag for other region tags, uses "/WEB-INF/regions.xml" file
|
||||
*
|
||||
* @author David M. Geary in the book "Advanced Java Server Pages"
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class RegionTag extends TagSupport {
|
||||
protected Region regionObj = null;
|
||||
|
||||
@@ -22,11 +22,6 @@ import org.ofbiz.base.util.Debug;
|
||||
|
||||
/**
|
||||
* Tag to render a region
|
||||
*
|
||||
* @author David M. Geary in the book "Advanced Java Server Pages"
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class RenderTag extends RegionTag {
|
||||
|
||||
|
||||
@@ -38,11 +38,6 @@ import org.ofbiz.webapp.view.ViewHandlerException;
|
||||
*
|
||||
* <p>Note that a section's content can also be a region;if so,
|
||||
* Region.render is called from Section.Render().</p>
|
||||
*
|
||||
* @author David M. Geary in the book "Advanced Java Server Pages"
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class Section extends Content {
|
||||
|
||||
|
||||
@@ -37,10 +37,6 @@ import org.ofbiz.entity.model.ModelEntity;
|
||||
* <p>Counts server hits and tracks statistics for request, events and views
|
||||
* <p>Handles total stats since the server started and binned
|
||||
* stats according to settings in the serverstats.properties file.
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ServerHitBin {
|
||||
// Debug module name
|
||||
|
||||
@@ -35,10 +35,6 @@ import org.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
/**
|
||||
* Handles saving and maintaining visit information
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class VisitHandler {
|
||||
// Debug module name
|
||||
|
||||
@@ -22,10 +22,6 @@ import javax.servlet.jsp.tagext.TagSupport;
|
||||
|
||||
/**
|
||||
* AbstractParameterTag - Tag which support child parameter tags.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version 1.0
|
||||
* @created March 27, 2002
|
||||
*/
|
||||
public abstract class AbstractParameterTag extends TagSupport {
|
||||
|
||||
|
||||
@@ -30,10 +30,6 @@ import org.ofbiz.entity.GenericValue;
|
||||
|
||||
/**
|
||||
* ContentUrlTag - Creates a URL string prepending the content prefix from url.properties
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ContentUrlTag extends BodyTagSupport {
|
||||
|
||||
|
||||
@@ -26,11 +26,6 @@ import org.ofbiz.entity.GenericEntityException;
|
||||
|
||||
/**
|
||||
* EntityFieldTag - Tag to Print Localized Entity Fields.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class EntityFieldTag extends TagSupport {
|
||||
|
||||
|
||||
@@ -26,10 +26,6 @@ import org.ofbiz.base.util.UtilJ2eeCompat;
|
||||
|
||||
/**
|
||||
* FormatTag - JSP Tag to format numbers and dates.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class FormatTag extends BodyTagSupport {
|
||||
|
||||
|
||||
@@ -28,12 +28,6 @@ import org.ofbiz.base.util.UtilProperties;
|
||||
/**
|
||||
* I18nBundleTag - JSP tag that the MessageTags will use when retrieving keys
|
||||
* for this page.
|
||||
*
|
||||
* @author <a href="mailto:k3ysss@yahoo.com">Jian He</a>
|
||||
* @author <a href="mailto:">Quake Wang</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class I18nBundleTag extends TagSupport {
|
||||
|
||||
|
||||
@@ -24,10 +24,6 @@ import org.ofbiz.base.util.UtilJ2eeCompat;
|
||||
/**
|
||||
* I18nMessageArgumentTag - JSP tag that used inside a MessageTag to create an
|
||||
* ordered list of arguments to use with java.text.MessageFormat.
|
||||
*
|
||||
* @author <a href="mailto:k3ysss@yahoo.com">Jian He</a>
|
||||
* @version 1.0
|
||||
* @created April 16, 2002
|
||||
*/
|
||||
public class I18nMessageArgumentTag extends TagSupport {
|
||||
|
||||
|
||||
@@ -29,12 +29,6 @@ import org.ofbiz.base.util.UtilJ2eeCompat;
|
||||
/**
|
||||
* I18nMessageTag - JSP tag to use a resource bundle to internationalize
|
||||
* content in a web page.
|
||||
*
|
||||
* @author <a href="mailto:k3ysss@yahoo.com">Jian He</a>
|
||||
* @author <a href="mailto:">Quake Wang</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class I18nMessageTag extends BodyTagSupport {
|
||||
|
||||
|
||||
@@ -27,11 +27,6 @@ import org.ofbiz.base.util.Debug;
|
||||
|
||||
/**
|
||||
* IfTag - Conditional Tag.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version 1.0
|
||||
* @created August 31, 2001
|
||||
*/
|
||||
public class IfTag extends BodyTagSupport {
|
||||
|
||||
|
||||
@@ -28,10 +28,6 @@ import org.ofbiz.webapp.pseudotag.InputValue;
|
||||
* a request parameter. Decides which to use by checking to see if the entityattr exist and
|
||||
* using the specified field if it does. If the Boolean object referred to by the tryentityattr
|
||||
* attribute is false, always tries to use the request parameter and ignores the entity field.
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class InputValueTag extends TagSupport {
|
||||
|
||||
|
||||
@@ -19,12 +19,6 @@ import javax.servlet.jsp.tagext.TagData;
|
||||
import javax.servlet.jsp.tagext.TagExtraInfo;
|
||||
import javax.servlet.jsp.tagext.VariableInfo;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version 1.0
|
||||
* @created August 4, 2001
|
||||
*/
|
||||
|
||||
public class IterateNextTEI extends TagExtraInfo {
|
||||
|
||||
public IterateNextTEI() {
|
||||
|
||||
@@ -25,11 +25,6 @@ import javax.servlet.jsp.tagext.BodyTagSupport;
|
||||
|
||||
/**
|
||||
* IterateNextTag - JSP Tag to get the next element of the IteratorTag.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version 1.0
|
||||
* @created August 4, 2001
|
||||
*/
|
||||
public class IterateNextTag extends BodyTagSupport {
|
||||
|
||||
|
||||
@@ -25,10 +25,6 @@ import javax.servlet.jsp.tagext.BodyTagSupport;
|
||||
|
||||
/**
|
||||
* IteratorHasNextTag - Conditional Tag.
|
||||
*
|
||||
* @author <a href='mailto:jonesde@ofbiz.org'>David E. Jones</a>
|
||||
* @version 1.0
|
||||
* @created August 4, 2001
|
||||
*/
|
||||
public class IteratorHasNextTag extends BodyTagSupport {
|
||||
|
||||
|
||||
@@ -21,10 +21,6 @@ import javax.servlet.jsp.tagext.VariableInfo;
|
||||
|
||||
/**
|
||||
* IteratorTEI
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version 1.0
|
||||
* @created August 4, 2001
|
||||
*/
|
||||
public class IteratorTEI extends TagExtraInfo {
|
||||
|
||||
|
||||
@@ -34,11 +34,6 @@ import org.ofbiz.base.util.ObjectType;
|
||||
|
||||
/**
|
||||
* IterateTag - JSP Tag to iterate over a Collection or any object with an iterator() method.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version 1.0
|
||||
* @created August 4, 2001
|
||||
*/
|
||||
public class IteratorTag extends BodyTagSupport {
|
||||
|
||||
|
||||
@@ -21,10 +21,6 @@ import javax.servlet.jsp.tagext.VariableInfo;
|
||||
|
||||
/**
|
||||
* ObjectTEI
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version 1.0
|
||||
* @created August 4, 2001
|
||||
*/
|
||||
public class ObjectTEI extends TagExtraInfo {
|
||||
|
||||
|
||||
@@ -24,10 +24,6 @@ import org.ofbiz.base.util.UtilValidate;
|
||||
|
||||
/**
|
||||
* ObjectTag - Loads an object from the PageContext.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version 1.0
|
||||
* @created August 4, 2001
|
||||
*/
|
||||
public class ObjectTag extends TagSupport {
|
||||
|
||||
|
||||
@@ -21,10 +21,6 @@ import javax.servlet.jsp.tagext.TagSupport;
|
||||
|
||||
/**
|
||||
* ParamTag - Defines a parameter for the service tag.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ParamTag extends TagSupport {
|
||||
|
||||
|
||||
@@ -25,10 +25,6 @@ import org.ofbiz.base.util.UtilJ2eeCompat;
|
||||
|
||||
/**
|
||||
* <p><b>Title:</b> PrintTag - Prints an attribute from the PageContext.
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class PrintTag extends TagSupport {
|
||||
|
||||
|
||||
@@ -27,10 +27,6 @@ import org.ofbiz.service.LocalDispatcher;
|
||||
|
||||
/**
|
||||
* ServiceTag - Service invocation tag.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ServiceTag extends AbstractParameterTag {
|
||||
|
||||
|
||||
@@ -19,10 +19,6 @@ import javax.servlet.jsp.JspTagException;
|
||||
|
||||
/**
|
||||
* UnlessTag - Conditional Tag.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class UnlessTag extends IfTag {
|
||||
|
||||
|
||||
@@ -29,10 +29,6 @@ import org.ofbiz.webapp.control.RequestHandler;
|
||||
|
||||
/**
|
||||
* UrlTag - Creates a URL string prepending the current control path.
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class UrlTag extends BodyTagSupport {
|
||||
|
||||
|
||||
@@ -31,10 +31,6 @@ import org.ofbiz.entity.jdbc.ConnectionFactory;
|
||||
|
||||
/**
|
||||
* Handles DataVision type view rendering
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class DataVisionViewHandler implements ViewHandler {
|
||||
|
||||
|
||||
@@ -28,10 +28,6 @@ import org.ofbiz.base.util.GeneralException;
|
||||
/**
|
||||
* Uses XSL-FO formatted templates to generate PDF views
|
||||
* This handler will use JPublish to generate the XSL-FO
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 3.0
|
||||
*/
|
||||
public class FopPdfViewHandler extends JPublishViewHandler {
|
||||
|
||||
|
||||
@@ -33,10 +33,6 @@ import org.ofbiz.base.util.GeneralException;
|
||||
|
||||
/**
|
||||
* FopRenderer
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 3.5
|
||||
*/
|
||||
public class FopRenderer {
|
||||
|
||||
|
||||
@@ -47,10 +47,6 @@ import org.jpublish.view.ViewRenderer;
|
||||
|
||||
/**
|
||||
* Generic JPublish View Renderer - This is in testing; for use in wrapping other renderers
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.1
|
||||
*/
|
||||
public class GenericViewRenderer implements ViewRenderer {
|
||||
|
||||
|
||||
@@ -26,10 +26,6 @@ import org.ofbiz.base.util.HttpClientException;
|
||||
|
||||
/**
|
||||
* ViewHandlerException - View Handler Exception
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class HttpViewHandler implements ViewHandler {
|
||||
|
||||
|
||||
@@ -28,10 +28,6 @@ import org.ofbiz.base.util.UtilJ2eeCompat;
|
||||
|
||||
/**
|
||||
* Handles JPublish type view rendering
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.1
|
||||
*/
|
||||
public class JPublishViewHandler implements ViewHandler {
|
||||
|
||||
|
||||
@@ -49,10 +49,6 @@ import org.jpublish.util.URLUtilities;
|
||||
|
||||
/**
|
||||
* JPublishWrapper - Used for calling pages through JPublish
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.2
|
||||
*/
|
||||
public class JPublishWrapper {
|
||||
|
||||
@@ -335,8 +331,6 @@ public class JPublishWrapper {
|
||||
* access to all loaded Java classes.
|
||||
*
|
||||
* <p>Note: This functionality is untested.</p>
|
||||
*
|
||||
* @author Anthony Eden
|
||||
*/
|
||||
class SetClassPathAction implements PrivilegedAction {
|
||||
private String classPath;
|
||||
|
||||
@@ -40,10 +40,6 @@ import org.ofbiz.entity.jdbc.ConnectionFactory;
|
||||
|
||||
/**
|
||||
* Handles JasperReports PDF view rendering
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class JasperReportsPdfViewHandler implements ViewHandler {
|
||||
|
||||
|
||||
@@ -39,10 +39,6 @@ import org.ofbiz.entity.jdbc.ConnectionFactory;
|
||||
|
||||
/**
|
||||
* Handles JasperReports PDF view rendering
|
||||
*
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class JasperReportsXmlViewHandler implements ViewHandler {
|
||||
|
||||
|
||||
@@ -28,10 +28,6 @@ import org.ofbiz.webapp.control.ContextFilter;
|
||||
|
||||
/**
|
||||
* ViewHandlerException - View Handler Exception
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class JspViewHandler implements ViewHandler {
|
||||
|
||||
|
||||
@@ -31,11 +31,6 @@ import org.ofbiz.webapp.region.RegionStack;
|
||||
|
||||
/**
|
||||
* Handles Region type view rendering
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class RegionViewHandler implements ViewHandler {
|
||||
|
||||
|
||||
@@ -39,10 +39,6 @@ import org.apache.velocity.util.SimplePool;
|
||||
|
||||
/**
|
||||
* VelocityViewHandler - Velocity Template Engine View Handler
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class VelocityViewHandler implements ViewHandler {
|
||||
|
||||
|
||||
@@ -29,10 +29,6 @@ import org.ofbiz.webapp.control.RequestManager;
|
||||
|
||||
/**
|
||||
* ViewFactory - View Handler Factory
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ViewFactory {
|
||||
|
||||
|
||||
@@ -21,10 +21,6 @@ import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* ViewHandler - View Handler Interface
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public interface ViewHandler {
|
||||
|
||||
|
||||
@@ -17,10 +17,6 @@ package org.ofbiz.webapp.view;
|
||||
|
||||
/**
|
||||
* ViewHandlerException - View Handler Exception
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class ViewHandlerException extends org.ofbiz.base.util.GeneralException {
|
||||
|
||||
|
||||
@@ -26,11 +26,6 @@ import org.ofbiz.entity.GenericValue;
|
||||
|
||||
/**
|
||||
* WebSiteWorker - Worker class for web site related functionality
|
||||
*
|
||||
* @author <a href="mailto:jaz@ofbiz.org">Andy Zeneski</a>
|
||||
* @author <a href="mailto:jonesde@ofbiz.org">David E. Jones</a>
|
||||
* @version $Rev$
|
||||
* @since 2.0
|
||||
*/
|
||||
public class WebSiteWorker {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user