Package org.zkoss.zk.ui.http
Class WcsExtendlet
java.lang.Object
org.zkoss.zk.ui.http.WcsExtendlet
- All Implemented Interfaces:
org.zkoss.web.util.resource.Extendlet
The extendlet to handle WCS (widget CSS).
Each language (such as zul) must have exactly one of WCS file to
generate all CSS for all widgets of a language.
- Since:
- 5.0.0
- Author:
- tomyeh
-
Field Summary
Fields inherited from interface org.zkoss.web.util.resource.Extendlet
ALLOW_DIRECT_INCLUDE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFeature(int feature) voidinit(org.zkoss.web.util.resource.ExtendletConfig config) booleanReturns whether to generate JS files that is easy to debug.voidservice(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String path) voidsetDebugJS(boolean debugJS) Sets whether to generate JS files that is easy to debug.
-
Constructor Details
-
WcsExtendlet
public WcsExtendlet()
-
-
Method Details
-
init
public void init(org.zkoss.web.util.resource.ExtendletConfig config) -
service
public void service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String path) throws jakarta.servlet.ServletException, IOException - Throws:
jakarta.servlet.ServletExceptionIOException
-
setDebugJS
public void setDebugJS(boolean debugJS) Sets whether to generate JS files that is easy to debug. -
isDebugJS
public boolean isDebugJS()Returns whether to generate JS files that is easy to debug. -
getFeature
public boolean getFeature(int feature) - Specified by:
getFeaturein interfaceorg.zkoss.web.util.resource.Extendlet
-