| javax.servlet.http.HttpServlet com.ivata.mask.web.servlet.GenerateCSS
GenerateCSS | public class GenerateCSS extends HttpServlet (Code) | | This servlet generates the CSS files by evaluating properties. This is
done to evaluate the context path at the moment, and a theme object is used
to do the parsing. This replaces all instances of PROPERTY(pathContext) in
the template files, just as per the theme.
All of the templates in the /style/template directory are parsed, with the
results being written in the /style directory.
since: 2002-04-29 author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.9 $ |
Field Summary | |
final public static String | CSS_PATH This is the path where all the style-sheets are stored. | final public static String[] | CSS_ROOT_PATHS This array contains all web paths we will search for style sheets. | final public static String | CSS_TEMPLATE_PATH This is the path where all the templates style-sheets (the ones to be
parsed and converted) are stored. | final public static String | SHARED_PATH If components from ivata groupware are being re-used, this is the
directory where they are shared. |
CSS_PATH | final public static String CSS_PATH(Code) | | This is the path where all the style-sheets are stored.
|
CSS_ROOT_PATHS | final public static String[] CSS_ROOT_PATHS(Code) | | This array contains all web paths we will search for style sheets. At the
moment, we check both root and shared paths for css styles - if the
pages are imported automatically in projects, you can put them all in a
/shared path to separate them from the sheets for this project - see
ivata cms)
|
CSS_TEMPLATE_PATH | final public static String CSS_TEMPLATE_PATH(Code) | | This is the path where all the templates style-sheets (the ones to be
parsed and converted) are stored.
|
SHARED_PATH | final public static String SHARED_PATH(Code) | | If components from ivata groupware are being re-used, this is the
directory where they are shared. If you change this, be sure to change
CSS_ROOT_PATHS too.
|
destroy | public void destroy()(Code) | | Clean up resources. Does nothing in this servlet.
|
doGet | public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException(Code) | | Process the HTTP Get request.
Parameters: request - servlet request currently being processed. Parameters: response - response we are writing. throws: IOException - if the style sheet files cannot be accessed orwritten. throws: IOException - if the stylesheet files cannot be read or written. |
init | public void init()(Code) | | Initialization. This method does nothing, for this servlet.
|
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|