Author: nmalin Date: Thu Aug 24 18:56:49 2017 New Revision: 1806075 URL: http://svn.apache.org/viewvc?rev=1806075&view=rev Log: Implemented: Start the common-theme upload (OFBIZ-9138 Create a common theme) First step, commit model theme engine : ModelTheme: java object who interact with system and theme definition VisualTheme: java object who interact with the user session and the theme ThemeFactory: java factory to load and access to VisualTheme and ModelTheme with the cache widget-theme.xsd: dtd to define a theme
Load also the main structure common-theme component, (empty for all template, screen, style or js) with this theme definition. It's not functional at this time And the documentation to exploin how themes will works in themes/README.md Added: ofbiz/ofbiz-framework/trunk/themes/common/ ofbiz/ofbiz-framework/trunk/themes/common/webapp/ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/web.xml (with props) Added: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/web.xml?rev=1806075&view=auto ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/web.xml (added) +++ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/web.xml Thu Aug 24 18:56:49 2017 @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<web-app version="3.0"> + <display-name>Apache OFBiz - Common Theme</display-name> + <description>Common Theme</description> + + <session-config> + <session-timeout>1</session-timeout> + <cookie-config> + <http-only>true</http-only> + <secure>true</secure> + </cookie-config> + <tracking-mode>COOKIE</tracking-mode> + </session-config> + + <welcome-file-list> + <welcome-file>index.jsp</welcome-file> + <welcome-file>main.jsp</welcome-file> + </welcome-file-list> + +</web-app> Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml