Deprecated API


Contents
Deprecated Interfaces
org.zkoss.zkex.zul.api.Borderlayout
          As of release 5.0.0, replaced with Borderlayout. 
org.zkoss.zkex.zul.api.Center
          As of release 5.0.0, replaced with Center. 
org.zkoss.zkex.zul.api.East
          As of release 5.0.0, replaced with East. 
org.zkoss.zkmax.ui.eq.EventQueue
          As of release 5.0.0, replaced with EventQueue. 
org.zkoss.zkex.zul.api.LayoutRegion
          As of release 5.0.0, replaced with LayoutRegion. 
org.zkoss.zk.scripting.Namespace
          As of release 5.0, replaced with Scope.

To represent the name space for storing variables. There are two ways to declare variables: by zscirpt, or by Component.setVariable(java.lang.String, java.lang.Object, boolean)/ Page.setVariable(java.lang.String, java.lang.Object).

Each ID space (IdSpace has an independent name space to store varaibles. It is a mimic concept of ID space to work with zscript. 

org.zkoss.zk.scripting.NamespaceActivationListener
          As of release 5.0.0, use ComponentActivationListener or PageActivationListener instead.

Used to notify a variable stored in a namespace, when the namespace is going to be deactivated or has been activated.

When a namespace is going to be deactivate, it checks every variable to see whether this interface is implemented. If implemented, NamespaceActivationListener.willPassivate(org.zkoss.zk.scripting.Namespace) will be called. Similarly, NamespaceActivationListener.didActivate(org.zkoss.zk.scripting.Namespace) is called if the namespace has been activated. 

org.zkoss.zk.scripting.NamespaceChangeListener
          As of release 5.0.0, the concept of namespace is deprecated.

A listener used to listen whether Namespace is changed.

To add a listener to the namespace, invoke Namespace.addChangeListener(org.zkoss.zk.scripting.NamespaceChangeListener). 

org.zkoss.zkex.zul.api.North
          As of release 5.0.0, replaced with North. 
org.zkoss.zkex.zul.api.South
          As of release 5.0.0, replaced with South. 
org.zkoss.zkex.zul.api.West
          As of release 5.0.0, replaced with West. 
 

Deprecated Classes
org.zkoss.zk.ui.impl.Attributes
          As of release 5.0.0, replaced with Attributes. 
org.zkoss.zkex.zul.Borderlayout
          As of release 5.0.0, replaced with Borderlayout. 
org.zkoss.zkex.zul.Center
          As of release 5.0.0, replaced with Center. 
org.zkoss.zkex.zul.East
          As of release 5.0.0, replaced with East. 
org.zkoss.zkmax.ui.eq.EventQueues
          As of release 5.0.0, replaced with EventQueues. 
org.zkoss.zkex.zul.LayoutRegion
          As of release 5.0.0, replaced with LayoutRegion. 
org.zkoss.zk.scripting.Namespaces
          As of release 5.0, replaced with Scopes. 
org.zkoss.zkex.zul.North
          As of release 5.0.0, replaced with North. 
org.zkoss.zkex.zul.South
          As of release 5.0.0, replaced with South. 
org.zkoss.zkex.zul.West
          As of release 5.0.0, replaced with West. 
 

Deprecated Fields
org.zkoss.zk.ui.sys.PageCtrl.ATTR_REDRAW_BY_INCLUDE
          As of release 5.0.0, replaced with Attributes.PAGE_REDRAW_CONTROL. 
org.zkoss.zk.ui.event.Events.ON_BOOKMARK_CHANGED
          As of release 3.0.8, replaced with Events.ON_BOOKMARK_CHANGE. 
 

Deprecated Methods
org.zkoss.zk.scripting.Namespace.addChangeListener(NamespaceChangeListener)
            
org.zkoss.zk.ui.util.Configuration.addClientErrorReload(int, String)
          As of release 3.6.3, replaced with Configuration.setClientErrorReload(java.lang.String, int, java.lang.String, java.lang.String). It is equivalent to setClientErrorReload("ajax", errCode, uri, null). 
org.zkoss.zkplus.databind.DataBinder.addCollectionItem(String, CollectionItem)
            
org.zkoss.zk.ui.http.ExecutionImpl.addDateHeader(String, long)
          It is suggested to use Execution.getNativeResponse() instead. 
org.zkoss.zk.ui.sys.ExecutionCtrl.addDateHeader(String, long)
          It is suggested to use Execution.getNativeResponse() instead 
org.zkoss.zk.ui.http.ExecutionImpl.addHeader(String, String)
          As of release 3.6.3, replaced with Execution.addResponseHeader(java.lang.String, java.lang.String). 
org.zkoss.zk.ui.sys.ExecutionCtrl.addHeader(String, String)
          As of release 3.6.3, replaced with Execution.addResponseHeader(java.lang.String, java.lang.String). 
org.zkoss.zk.ui.metainfo.ComponentDefinition.addMold(String, String, String)
          As of release 5.0.0, replaced with ComponentDefinition.addMold(String,String) and WidgetDefinition.addMold(java.lang.String, java.lang.String, java.lang.String, java.lang.String). 
org.zkoss.zk.ui.metainfo.impl.ComponentDefinitionImpl.addMold(String, String, String)
          As of release 5.0.0, replaced with ComponentDefinitionImpl.addMold(String,String) and WidgetDefinition.addMold(java.lang.String, java.lang.String, java.lang.String, java.lang.String).

It always throws UnsupportedOperationException. 

org.zkoss.zk.scripting.Namespaces.afterInterpret()
          As of release 5.0, replaced with Scopes. 
org.zkoss.zk.scripting.Namespaces.afterInterpret(Map, Namespace, boolean)
          As of release 3.6.1, it is replaced with Namespaces.afterInterpret(). 
org.zkoss.lang.Strings.appendEscape(StringBuffer, String, String)
          As of release 5.0.0, use Strings.escape(StringBuffer,CharSequence,String) instead. 
org.zkoss.zk.scripting.Namespaces.beforeInterpret(Component)
          As of release 5.0, replaced with Scopes. 
org.zkoss.zk.scripting.Namespaces.beforeInterpret(Map, Component, boolean)
          As of release 3.6.1, it is replaced with Namespaces.beforeInterpret(Component). 
org.zkoss.zk.scripting.Namespaces.beforeInterpret(Map, Page, boolean)
          As of release 3.6.1, it is replaced with Namespaces.beforeInterpret(Page). 
org.zkoss.zk.scripting.Namespaces.beforeInterpret(Page)
          As of release 5.0, replaced with Scopes. 
org.zkoss.zk.ui.util.Clients.closeErrorBox(Component)
          As of release 5.0.0, replaced with Clients.clearWrongValue(Component). 
org.zkoss.zk.ui.util.Clients.closeErrorBox(Component[])
          As of release 5.0.0, replaced with Clients.clearWrongValue(Component[]). 
org.zkoss.zk.ui.util.Clients.closeErrorBox(List)
          As of release 5.0.0, replaced with Clients.clearWrongValue(List). 
org.zkoss.zk.ui.Page.containsVariable(String)
          As of release 5.0.0, replaced with Page.hasAttributeOrFellow(java.lang.String, boolean).

Returns whether the specified variable is defined. 

org.zkoss.zk.ui.impl.PageImpl.containsVariable(String)
          As of release 5.0.0, replaced with PageImpl.hasAttribute(java.lang.String, int). 
org.zkoss.zk.ui.Component.containsVariable(String, boolean)
          As of release 5.0.0, replaced with Component.hasAttributeOrFellow(java.lang.String, boolean).

Returns whether the specified variable is defined. 

org.zkoss.zk.ui.AbstractComponent.containsVariable(String, boolean)
          As of release 5.0.0, replaced with AbstractComponent.hasAttribute(java.lang.String, int). 
org.zkoss.zk.ui.util.GenericComposer.didActivate(Component)
          As of release 5.0.0, it is meaningless for GenericComposer to implement ComponentActivationListener.

Implementation Note: GenericComposer itself is serializable, so it is preserved after serialization. 

org.zkoss.zk.scripting.NamespaceActivationListener.didActivate(Namespace)
            
org.zkoss.web.portlet.RenderHttpServletResponse.encodeRedirectUrl(String)
            
org.zkoss.web.servlet.http.HttpBufferedResponse.encodeRedirectUrl(String)
            
org.zkoss.web.portlet.RenderHttpServletResponse.encodeUrl(String)
            
org.zkoss.web.servlet.http.HttpBufferedResponse.encodeUrl(String)
            
org.zkoss.web.servlet.GenericFilter.forward(ServletContext, ServletRequest, ServletResponse, String)
          As of release 3.6.3, use GenericFilter.forward(ServletRequest, ServletResponse, String) instead. 
org.zkoss.web.servlet.http.HttpServlet.forward(ServletContext, ServletRequest, ServletResponse, String)
          As of release 3.6.3, use HttpServlet.forward(ServletRequest, ServletResponse, String) instead. 
org.zkoss.web.servlet.GenericFilter.forward(ServletContext, ServletRequest, ServletResponse, String, Map, int)
          As of release 3.6.3, use GenericFilter.forward(ServletRequest, ServletResponse, String, Map, int) instead. 
org.zkoss.web.servlet.http.HttpServlet.forward(ServletContext, ServletRequest, ServletResponse, String, Map, int)
          As of release 3.6.3, use HttpServlet.forward(ServletRequest, ServletResponse, String, Map, int) instead. 
org.zkoss.zul.impl.XulElement.getAction()
          since 5.0.0, use client-side event listener instead. 
org.zkoss.zul.impl.api.XulElement.getAction()
          since 5.0.0, use client-side event listener instead. 
org.zkoss.zul.Grid.getAlign()
          As of release 5.0, use CSS instead. 
org.zkoss.zul.api.Grid.getAlign()
          As of release 5.0, use CSS instead. 
org.zkoss.zk.ui.util.Configuration.getClientErrorReload(int)
          As of release 3.6.3, replaced with Configuration.getClientErrorReload(String,int,String). It is equivalent to getClientErrorReload("ajax", errCode, null). 
org.zkoss.zk.ui.util.Configuration.getClientErrorReloadCodes()
          As of release 3.6.3, replaced with Configuration.getClientErrorReloads(java.lang.String, java.lang.String). 
org.zkoss.zk.scripting.Namespaces.getCurrent(Page)
          As of release 5.0, replaced with Scopes. 
org.zkoss.zk.ui.impl.PageImpl.getDefaultParent()
          As of release 5.0.0, the default parent is no longe meaningful. 
org.zkoss.zk.ui.sys.PageCtrl.getDefaultParent()
          As of release 5.0.0, it is removed to simplify ZK. 
org.zkoss.lang.reflect.Fields.getField(Object, String)
          As of release 3.0.6, replaced with Fields.getByCompound(java.lang.Object, java.lang.String). 
org.zkoss.zul.Box.getHeights()
          As of release 5.0.0, use Cell instead. 
org.zkoss.zul.api.Box.getHeights()
          As of release 5.0.0, use Cell instead. 
org.zkoss.zk.scripting.Namespaces.getImplicit(String, Object)
          As of release 5.0, replaced with Scopes. Returns the implict object. 
org.zkoss.zul.Fileupload.getMaxsize()
          As of release 5.0.0, replaced with Button.setUpload(String) 
org.zkoss.zk.ui.Page.getNamespace()
          As of release 5.0.0, the concept of namespace is deprecated, and please use the attributes of an ID space (such as page) instead.

Returns the namespace used to store variables belonging to the ID space of this page. 

org.zkoss.zk.ui.Component.getNamespace()
          As of release 5.0.0, the concept of namespace is replaced with attributes.

Returns the namespace to store variables and functions belonging to the ID space of this component.

Exactly one namespace is allocated for each ID space. For example, if the space owner of this component is the page, then the returned namespace is the same as Page.getNamespace(). Otherwise, it is the same as the namspace returned by the component owning this ID space. 

org.zkoss.zk.ui.AbstractComponent.getNamespace()
          As of release 5.0.0, use AbstractComponent.getAttribute(java.lang.String, int), AbstractComponent.setAttribute(java.lang.String, java.lang.Object, int) instead. 
org.zkoss.zk.ui.impl.PageImpl.getNamespace()
          As of release 5.0.0, the concept of namespace is deprecated and replaced with the attributes of a scope (such as a page and a component). 
org.zkoss.zul.Fileupload.getNumber()
          As of release 5.0.0, replaced with Button.setUpload(String) 
org.zkoss.web.portlet.RenderHttpServletRequest.getRealPath(String)
            
org.zkoss.web.portlet.PortletServletContext.getServlet(String)
            
org.zkoss.web.portlet.PortletServletContext.getServletNames()
            
org.zkoss.web.portlet.PortletServletContext.getServlets()
            
org.zkoss.web.portlet.PortletHttpSession.getSessionContext()
            
org.zkoss.zul.Row.getSpans()
          As of release 5.0.0, use Cell instead. 
org.zkoss.zul.api.Row.getSpans()
          As of release 5.0.0, use Cell instead. 
org.zkoss.zul.Treeitem.getSrc()
          As of release 3.5.0, it is redundant since it the same as Treeitem.getImage(). 
org.zkoss.zul.Listitem.getSrc()
          As of release 3.5.0, it is redundant since it is the same Listitem.getImage(). 
org.zkoss.zul.impl.LabelImageElement.getSrc()
          As of release 3.5.0, it is redudant since it is the same as LabelImageElement.getImage() 
org.zkoss.zk.device.GenericDevice.getTimeoutURI()
            
org.zkoss.zk.device.DeviceConfig.getTimeoutURI()
            
org.zkoss.zk.device.Device.getTimeoutURI()
          As of release 3.6.3, use Configuration.getTimeoutURI(java.lang.String) instead. 
org.zkoss.zk.device.Devices.getTimeoutURI(String)
          As of release 3.6.3, replaced with Configuration.getTimeoutURI(java.lang.String). 
org.zkoss.zul.Script.getType()
          As of release 5.0.0, it is meaningless since text/javascript is always assumed. 
org.zkoss.zul.api.Script.getType()
          As of release 5.0.0, it is meaningless since text/javascript is always assumed. 
org.zkoss.web.portlet.PortletHttpSession.getValue(String)
            
org.zkoss.web.portlet.PortletHttpSession.getValueNames()
            
org.zkoss.zk.ui.Page.getVariable(String)
          As of release 5.0.0, replaced with Page.getAttributeOrFellow(java.lang.String, boolean).

Returns the value of a variable defined in the namespace (Page.getNamespace()). 

org.zkoss.zk.ui.impl.PageImpl.getVariable(String)
          As of release 5.0.0, replaced with PageImpl.getAttribute(java.lang.String, int). 
org.zkoss.zk.ui.Component.getVariable(String, boolean)
          As of release 5.0.0, replaced with Component.getAttributeOrFellow(java.lang.String, boolean).

Returns the value of a variable defined in the namespace, or null if not defined or the value is null. 

org.zkoss.zk.ui.AbstractComponent.getVariable(String, boolean)
          As of release 5.0.0, replaced with AbstractComponent.getAttribute(java.lang.String, int). 
org.zkoss.zul.Box.getWidths()
          As of release 5.0.0, use Cell instead. 
org.zkoss.zul.api.Box.getWidths()
          As of release 5.0.0, use Cell instead. 
org.zkoss.zk.ui.Page.getZScriptFunction(Namespace, String, Class[])
          As of release 5.0.0, replaced with Page.getZScriptFunction(Component,String,Class[])

Returns the function of the specified name by searching the logical scope of the specified namespace in all the loaded interpreters. 

org.zkoss.zk.ui.impl.PageImpl.getZScriptFunction(Namespace, String, Class[])
          As of release 5.0.0, replaced with PageImpl.getZScriptFunction(Component,String,Class[]). 
org.zkoss.zk.ui.Page.getZScriptVariable(Namespace, String)
          As of release 5.0.0, replaced with Page.getZScriptVariable(Component, String).

Returns the value of the variable of the specified name by searching the logical scope of the specified namespace in all the loaded interpreters, if any. 

org.zkoss.zk.ui.impl.PageImpl.getZScriptVariable(Namespace, String)
          As of release 5.0.0, replaced with PageImpl.getZScriptVariable(Component,String). 
org.zkoss.web.servlet.GenericFilter.include(ServletContext, ServletRequest, ServletResponse, String)
          As of release 3.6.3, use GenericFilter.include(ServletRequest, ServletResponse, String) instead. 
org.zkoss.web.servlet.http.HttpServlet.include(ServletContext, ServletRequest, ServletResponse, String)
          As of release 3.6.3, use HttpServlet.include(ServletRequest, ServletResponse, String) instead. 
org.zkoss.web.servlet.GenericFilter.include(ServletContext, ServletRequest, ServletResponse, String, Map, int)
          As of release 3.6.3, use GenericFilter.include(ServletRequest, ServletResponse, String, Map, int) instead. 
org.zkoss.web.servlet.http.HttpServlet.include(ServletContext, ServletRequest, ServletResponse, String, Map, int)
          As of release 3.6.3, use HttpServlet.include(ServletRequest, ServletResponse, String, Map, int) instead. 
org.zkoss.zk.scripting.Interpreter.interpret(String, Namespace)
          As of release 5.0.0, replaced with Interpreter.interpret(String, Scope)

Evaluates the script against the specified namespace. 

org.zkoss.zk.scripting.util.GenericInterpreter.interpret(String, Namespace)
          As of release 5.0.0, replaced with GenericInterpreter.interpret(String, Scope) 
org.zkoss.zk.ui.Page.interpret(String, String, Namespace)
          As of release 5.0.0, replaced with Page.interpret(String,String,Scope).

Interpret a script of the specified scripting language against the specified namespace. 

org.zkoss.zk.ui.impl.PageImpl.interpret(String, String, Namespace)
          As of release 5.0.0, replaced with PageImpl.interpret(String,String,Scope). 
org.zkoss.zul.Flash.isAutoPlay()
          As of release 3.6.1, use Flash.isAutoplay() instead. 
org.zkoss.zul.Datebox.isCompact()
          As of release 5.0.0, it is no longer supported. 
org.zkoss.zul.api.Datebox.isCompact()
          As of release 5.0.0, it is no longer supported. 
org.zkoss.zul.Style.isDynamic()
          As of release 5.0.0, it is decided automatically. 
org.zkoss.zul.Tree.isFixedLayout()
          since 5.0.0, use !Tree.isSizedByContent() instead 
org.zkoss.zul.Listbox.isFixedLayout()
          since 5.0.0, use !Listbox.isSizedByContent() instead 
org.zkoss.zul.Grid.isFixedLayout()
          since 5.0.0, use !Grid.isSizedByContent() instead 
org.zkoss.zul.api.Tree.isFixedLayout()
          since 5.0.0, use !Tree.isSizedByContent() instead 
org.zkoss.zul.api.Listbox.isFixedLayout()
          since 5.0.0, use !Listbox.isSizedByContent() instead 
org.zkoss.zul.api.Grid.isFixedLayout()
          since 5.0.0, use !Grid.isSizedByContent() instead 
org.zkoss.zul.Label.isHyphen()
          As of release 5.0.0, use CSS instead. 
org.zkoss.zk.ui.Execution.isMilDevice()
          As of release 5.0.0, MIL is no longer supported. 
org.zkoss.zk.ui.http.ExecutionImpl.isMilDevice()
          As of release 5.0.0, MIL is no longer supported. 
org.zkoss.web.servlet.Servlets.isMilDevice(ServletRequest)
          As of release 5.0.0, MIL is no longer supported. 
org.zkoss.web.servlet.Servlets.isMilDevice(String)
          As of release 5.0.0, MIL is no longer supported. 
org.zkoss.zul.Fileupload.isNative()
          As of release 5.0.0, replaced with Button.setUpload(String) 
org.zkoss.web.portlet.RenderHttpServletRequest.isRequestedSessionIdFromUrl()
            
org.zkoss.web.portlet.PortletServletContext.log(Exception, String)
            
org.zkoss.zkmax.ui.eq.EventQueues.lookup(String)
          As of release 5.0.0, replaced with EventQueues.lookup(String) 
org.zkoss.zkmax.ui.eq.EventQueues.lookup(String, boolean)
          As of release 5.0.0, replaced with EventQueues.lookup(String,boolean) 
org.zkoss.zkmax.ui.eq.EventQueues.lookup(String, String, boolean)
          As of release 5.0.0, replaced with EventQueues.lookup(String,String,boolean) 
org.zkoss.zk.scripting.NamespaceChangeListener.onParentChanged(Namespace)
          As of release 5.0.0, the concept of namespace is deprecated.

Called when the parent is changed. 

org.zkoss.zk.ui.sys.ComponentsCtrl.parseClientScript(Component, String)
          As of release 5.0.0, use the script component instead. 
org.zkoss.lang.Threads.pause(int)
          As of release 3.0.0, replaced by Threads.sleep(int) 
org.zkoss.web.portlet.PortletHttpSession.putValue(String, Object)
            
org.zkoss.zkmax.ui.eq.EventQueues.remove(String, String)
          As of release 5.0.0, replaced with EventQueues.remove(String,String) 
org.zkoss.zk.scripting.Namespace.removeChangeListener(NamespaceChangeListener)
            
org.zkoss.zk.ui.util.Configuration.removeClientErrorReload(int)
          As of release 3.6.3, replaced with Configuration.removeClientErrorReload(String,int,String). It is equivalent to removeClientErrorReload("ajax", errCode, null). 
org.zkoss.web.portlet.PortletHttpSession.removeValue(String)
            
org.zkoss.zul.impl.XulElement.setAction(String)
          since 5.0.0, use client-side event listener instead. 
org.zkoss.zul.impl.api.XulElement.setAction(String)
          since 5.0.0, use client-side event listener instead. 
org.zkoss.zul.Grid.setAlign(String)
          As of release 5.0, use CSS instead. 
org.zkoss.zul.api.Grid.setAlign(String)
          As of release 5.0, use CSS instead. 
org.zkoss.zul.Flash.setAutoPlay(boolean)
          As of release 3.6.1, use Flash.setAutoplay(boolean) instead. 
org.zkoss.zul.Datebox.setCompact(boolean)
          As of release 5.0.0, it is no longer supported. 
org.zkoss.zul.api.Datebox.setCompact(boolean)
          As of release 5.0.0, it is no longer supported. 
org.zkoss.zk.ui.http.ExecutionImpl.setDateHeader(String, long)
          It is suggested to use Execution.getNativeResponse() instead. 
org.zkoss.zk.ui.sys.ExecutionCtrl.setDateHeader(String, long)
          It is suggested to use Execution.getNativeResponse() instead. 
org.zkoss.zk.ui.impl.PageImpl.setDefaultParent(Component)
          As of release 5.0.0, the default parent is no longe meaningful. 
org.zkoss.zk.ui.sys.PageCtrl.setDefaultParent(Component)
          As of release 5.0.0, it is removed to simplify ZK. 
org.zkoss.zk.ui.impl.PollingServerPush.setDelay(int, int, int)
            
org.zkoss.zk.ui.sys.ServerPush.setDelay(int, int, int)
          As of release 5.0.0, use the preferences instead. Refer to PollingServerPush 
org.zkoss.zkmax.ui.comet.CometServerPush.setDelay(int, int, int)
            
org.zkoss.zul.Style.setDynamic(boolean)
          As of release 5.0.0, it is decided automatically. 
org.zkoss.lang.reflect.Fields.setField(Object, String, Object)
          As of release 3.0.6, replaced with Fields.setByCompound(Object, String, Object, boolean). 
org.zkoss.lang.reflect.Fields.setField(Object, String, Object, boolean)
          As of release 3.0.6, replaced with Fields.setByCompound(Object, String, Object, boolean). 
org.zkoss.zul.Tree.setFixedLayout(boolean)
          since 5.0.0, use Tree.setSizedByContent(boolean)(!fixedLayout) instead 
org.zkoss.zul.Listbox.setFixedLayout(boolean)
          since 5.0.0, use Listbox.setSizedByContent(boolean)(!fixedLayout) instead 
org.zkoss.zul.Grid.setFixedLayout(boolean)
          since 5.0.0, use Grid.setSizedByContent(boolean)(!fixedLayout) instead 
org.zkoss.zul.api.Tree.setFixedLayout(boolean)
          since 5.0.0, use Tree.setSizedByContent(boolean)(!fixedLayout) instead 
org.zkoss.zul.api.Listbox.setFixedLayout(boolean)
          since 5.0.0, use Listbox.setSizedByContent(boolean)(!fixedLayout) instead 
org.zkoss.zul.api.Grid.setFixedLayout(boolean)
          since 5.0.0, use Grid.setSizedByContent(boolean)(!fixedLayout) instead 
org.zkoss.zk.ui.http.ExecutionImpl.setHeader(String, String)
          As of release 3.6.3, replaced with Execution.setResponseHeader(java.lang.String, java.lang.String). 
org.zkoss.zk.ui.sys.ExecutionCtrl.setHeader(String, String)
          As of release 3.6.3, replaced with Execution.setResponseHeader(java.lang.String, java.lang.String). 
org.zkoss.zul.Box.setHeights(String)
          As of release 5.0.0, use Cell instead. 
org.zkoss.zul.api.Box.setHeights(String)
          As of release 5.0.0, use Cell instead. 
org.zkoss.zul.Label.setHyphen(boolean)
          As of release 5.0.0, use CSS instead.

Use the CSS style called "word-wrap: word-break" to have similar effect. Unfortunately, word-wrap is not applicable to FF and Opera(it works fine with IE and Safari). 

org.zkoss.zk.scripting.Namespaces.setImplicit(String, Object)
          As of release 5.0, replaced with Scopes. Sets an implicit object. It can be called only between Namespaces.beforeInterpret(org.zkoss.zk.ui.Component) and Namespaces.afterInterpret(). 
org.zkoss.zul.Fileupload.setMaxsize(int)
          As of release 5.0.0, replaced with Button.setUpload(String) 
org.zkoss.zul.Fileupload.setNative(boolean)
          As of release 5.0.0, replaced with Button.setUpload(String) 
org.zkoss.zul.Fileupload.setNumber(int)
          As of release 5.0.0, replaced with Button.setUpload(String) 
org.zkoss.zul.Columns.setPopup(Menupopup)
          As of release 5.0.0, replaced with XulElement.setPopup(Popup). 
org.zkoss.zul.Columns.setPopupApi(Menupopup)
          As of release 5.0.0, replaced with XulElement.setPopup(Popup). 
org.zkoss.zul.api.Columns.setPopupApi(Menupopup)
          As of release 5.0.0, replaced with XulElement.setPopup(Popup). 
org.zkoss.web.servlet.Charsets.setPreferredLocale(ServletRequest, Locale)
          As of release 3.6.3, replaced with Charsets.setPreferredLocale(HttpSession, Locale) 
org.zkoss.zul.Row.setSpans(String)
          As of release 5.0.0, use Cell instead. 
org.zkoss.zul.api.Row.setSpans(String)
          As of release 5.0.0, use Cell instead. 
org.zkoss.zul.Treeitem.setSrc(String)
          As of release 3.5.0, it is redundant since it the same as Treeitem.setImage(java.lang.String). 
org.zkoss.zul.Listitem.setSrc(String)
          As of release 3.5.0, it is redundant since it is the same Listitem.getSrc(). 
org.zkoss.zul.impl.LabelImageElement.setSrc(String)
          As of release 3.5.0, it is redudant since it is the same as LabelImageElement.setImage(java.lang.String) 
org.zkoss.web.portlet.RenderHttpServletResponse.setStatus(int, String)
            
org.zkoss.web.servlet.http.HttpBufferedResponse.setStatus(int, String)
            
org.zkoss.zk.device.GenericDevice.setTimeoutURI(String)
            
org.zkoss.zk.device.Device.setTimeoutURI(String)
          As of release 3.6.3, use Configuration.setTimeoutURI(java.lang.String, java.lang.String, int) instead. 
org.zkoss.zk.device.Devices.setTimeoutURI(String, String)
          As of release 3.6.3, replaced with Configuration.getTimeoutURI(java.lang.String). 
org.zkoss.zul.Script.setType(String)
          As of release 5.0.0, it is meaningless since text/javascript is always assumed. 
org.zkoss.zul.api.Script.setType(String)
          As of release 5.0.0, it is meaningless since text/javascript is always assumed. 
org.zkoss.zk.ui.Page.setVariable(String, Object)
          As of release 5.0.0, replaced with Page.setAttribute(java.lang.String, java.lang.Object, int).

Sets a variable to the namespace (Page.getNamespace()). 

org.zkoss.zk.ui.impl.PageImpl.setVariable(String, Object)
          As of release 5.0.0, replaced with PageImpl.setAttribute(java.lang.String, java.lang.Object, int). 
org.zkoss.zk.ui.Component.setVariable(String, Object, boolean)
          As of release 5.0.0, replaced with Component.setAttribute(java.lang.String, java.lang.Object, int).

Sets a variable to the namespace.

Once a variable is set thru this method, it is visible to both the interpreter and EL.

Note: Exactly one namespace is allocated for each ID space. For example, if the space owner of this component is the page, then the returned namespace is the same as Page.getNamespace(). Otherwise, it is the same as the namspace returned by the component owning this ID space. 

org.zkoss.zk.ui.AbstractComponent.setVariable(String, Object, boolean)
          As of release 5.0.0, replaced with AbstractComponent.setAttribute(java.lang.String, java.lang.Object, int). 
org.zkoss.zul.Box.setWidths(String)
          As of release 5.0.0, use Cell instead. 
org.zkoss.zul.api.Box.setWidths(String)
          As of release 5.0.0, use Cell instead. 
org.zkoss.zk.ui.util.Clients.showBusy(String, boolean)
          As of release 5.0.0, replaced with Clients.showBusy(String) and Clients.clearBusy(). 
org.zkoss.zk.ui.metainfo.HeaderInfo.toHTML(PageDefinition, Page)
          As of release 5.0.0, replaced with HeaderInfo.toHTML(Page). 
org.zkoss.zk.ui.Page.unsetVariable(String)
          As of release 5.0.0, replaced with Page.removeAttribute(java.lang.String, int).

Unsets a variable from the namespace (Page.getNamespace()). 

org.zkoss.zk.ui.impl.PageImpl.unsetVariable(String)
          As of release 5.0.0, replaced with PageImpl.removeAttribute(java.lang.String, int). 
org.zkoss.zk.ui.Component.unsetVariable(String, boolean)
          As of release 5.0.0, replaced with Component.removeAttribute(java.lang.String, int).

Unsets a variable defined in the namespace. 

org.zkoss.zk.ui.AbstractComponent.unsetVariable(String, boolean)
          As of release 5.0.0, replaced with AbstractComponent.removeAttribute(java.lang.String, int). 
org.zkoss.zk.scripting.NamespaceActivationListener.willPassivate(Namespace)
            
 

Deprecated Constructors
org.zkoss.zk.ui.event.DropEvent(String, Component, Component, int, int, int)
          As of release 5.0.0, replaced with DropEvent.DropEvent(String,Component,Component,int,int,int). 
org.zkoss.zk.ui.event.MouseEvent(String, Component, int, int)
          As of release 5.0.0, replaced with MouseEvent.MouseEvent(String,Component,int,int,int,int). 
org.zkoss.zk.ui.event.MouseEvent(String, Component, int, int, int)
          As of release 5.0.0, replaced with MouseEvent.MouseEvent(String,Component,int,int,int,int,int). 
org.zkoss.zk.ui.event.MouseEvent(String, Component, String)
          As of release 5.0.0, replaced with MouseEvent.MouseEvent(String,Component,String,int). 
org.zkoss.util.MultiCache(int, int)
          As of release 5.0.0, replaced with MultiCache.MultiCache(int) 
 



Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo