2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty) Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg) Of course this effort to remove trailing spaces has no functional implications. Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135 In the meantime I did some refactoring also in *.java and *.groovy files : ){ => ) { if( => if ( while( => while ( }else => } else else{ => else { switch( => switch ( try{ => try { }catch => } catch catch( => catch ( }finally{ => } finally { So these changes are also in this commit, should not be a problem anyway. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+2
-2
@@ -6,9 +6,9 @@
|
||||
* 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
|
||||
|
||||
@@ -18,14 +18,14 @@ specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd">
|
||||
<!-- The controller elements that are common to all OFBiz components
|
||||
can be found in the following xml file. A component can override the
|
||||
elements found in the common-controller.xml file. -->
|
||||
<include location="component://common/webcommon/WEB-INF/common-controller.xml"/>
|
||||
<include location="component://common/webcommon/WEB-INF/portal-controller.xml"/>
|
||||
|
||||
<include location="component://common/webcommon/WEB-INF/common-controller.xml"/>
|
||||
<include location="component://common/webcommon/WEB-INF/portal-controller.xml"/>
|
||||
|
||||
<description>Example Component Site Configuration File</description>
|
||||
<owner>Copyright 2001-2008 The Apache Software Foundation</owner>
|
||||
|
||||
@@ -85,7 +85,7 @@ under the License.
|
||||
<response name="success" type="view" value="findExampleAjax"/>
|
||||
<response name="error" type="view" value="findExampleAjax"/>
|
||||
</request-map>
|
||||
|
||||
|
||||
<request-map uri="EditExampleItems"><security https="true" auth="true"/><response name="success" type="view" value="EditExampleItems"/></request-map>
|
||||
<request-map uri="createExampleItem">
|
||||
<security https="true" auth="true"/>
|
||||
@@ -157,7 +157,7 @@ under the License.
|
||||
</response>
|
||||
<response name="error" type="view" value="EditExampleFeature"/>
|
||||
</request-map>
|
||||
|
||||
|
||||
<request-map uri="EditExampleFeatureExampleAppls"><security https="true" auth="true"/><response name="success" type="view" value="EditExampleFeatureExampleAppls"/></request-map>
|
||||
<request-map uri="feature_createExampleFeatureAppl">
|
||||
<security https="true" auth="true"/>
|
||||
@@ -197,7 +197,7 @@ under the License.
|
||||
<request-map uri="ListExampleFormOnly"><security https="true" auth="false"/><response name="success" type="view" value="ListExampleFormOnly"/></request-map>
|
||||
<request-map uri="CreateExampleFormOnly"><security https="true" auth="false"/><response name="success" type="view" value="CreateExampleFormOnly"/></request-map>
|
||||
<request-map uri="dashboardExample"><security https="true" auth="false"/><response name="success" type="view" value="dashboardExample"/></request-map>
|
||||
|
||||
|
||||
<request-map uri="printExampleFOPFonts">
|
||||
<security https="true" auth="true"/>
|
||||
<response name="success" type="view" value="printExampleFOPFonts"/>
|
||||
@@ -214,7 +214,7 @@ under the License.
|
||||
<view-map name="EditExampleFeatureAppls" type="screen" page="component://example/widget/example/ExampleScreens.xml#EditExampleFeatureAppls"/>
|
||||
<view-map name="ExampleReportHtml" type="screen" page="component://example/widget/example/ExampleScreens.xml#ExampleReport"/>
|
||||
<view-map name="ExampleReportPdf" type="screenfop" page="component://example/widget/example/ExampleScreens.xml#ExampleReport" content-type="application/pdf" encoding="none"/>
|
||||
|
||||
|
||||
<view-map name="FindExampleFeature" type="screen" page="component://example/widget/example/ExampleFeatureScreens.xml#FindExampleFeature"/>
|
||||
<view-map name="EditExampleFeature" type="screen" page="component://example/widget/example/ExampleFeatureScreens.xml#EditExampleFeature"/>
|
||||
<view-map name="EditExampleFeatureExampleAppls" type="screen" page="component://example/widget/example/ExampleFeatureScreens.xml#EditExampleFeatureExampleAppls"/>
|
||||
|
||||
@@ -22,7 +22,7 @@ under the License.
|
||||
<web-app>
|
||||
<display-name>Open For Business - Example Component</display-name>
|
||||
<description>Example Component of the Open For Business Project</description>
|
||||
|
||||
|
||||
<context-param>
|
||||
<param-name>webSiteId</param-name>
|
||||
<param-value>EXAMPLE</param-value>
|
||||
@@ -31,7 +31,7 @@ under the License.
|
||||
<context-param>
|
||||
<param-name>localDispatcherName</param-name><param-value>example</param-value>
|
||||
<description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>
|
||||
</context-param>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>entityDelegatorName</param-name><param-value>default</param-value>
|
||||
<description>The Name of the Entity Delegator to use, defined in entityengine.xml</description>
|
||||
@@ -51,7 +51,7 @@ under the License.
|
||||
<param-value>false</param-value>
|
||||
<description>Remove unnecessary whitespace from HTML output.</description>
|
||||
</context-param>
|
||||
|
||||
|
||||
<filter>
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<display-name>ContextFilter</display-name>
|
||||
@@ -62,15 +62,15 @@ under the License.
|
||||
<param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
|
||||
</init-param>
|
||||
<init-param><param-name>errorCode</param-name><param-value>403</param-value></init-param>
|
||||
<init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>
|
||||
<init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>
|
||||
</filter>
|
||||
<filter-mapping><filter-name>ContextFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping>
|
||||
<filter-mapping><filter-name>ContextFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping>
|
||||
|
||||
<listener><listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
|
||||
<listener><listener-class>org.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
|
||||
<!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface -->
|
||||
<!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> -->
|
||||
|
||||
|
||||
<servlet>
|
||||
<servlet-name>ControlServlet</servlet-name>
|
||||
<display-name>ControlServlet</display-name>
|
||||
|
||||
@@ -32,12 +32,12 @@ under the License.
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" height="200">
|
||||
<tr bgcolor="#CC6666">
|
||||
<td height="45">
|
||||
<tr bgcolor="#CC6666">
|
||||
<td height="45">
|
||||
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="4" color="#FFFFFF"><b>:ERROR MESSAGE:</b></font></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><%=UtilFormatOut.replaceString(errorMsg, "\n", "<br/>")%></font></div>
|
||||
</td>
|
||||
|
||||
@@ -36,7 +36,7 @@ under the License.
|
||||
<fo:block font-family="Helvetica" font-style="normal" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block>
|
||||
<fo:block font-family="Helvetica" font-style="italic" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block>
|
||||
<fo:block font-family="Helvetica" font-style="italic" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block>
|
||||
<fo:block color="red">Times</fo:block>
|
||||
<fo:block color="red">Times</fo:block>
|
||||
<fo:block font-family="Times" font-style="normal" font-weight="normal">the quick brown fox jumps over the lazy dog 1234657890</fo:block>
|
||||
<fo:block font-family="Times" font-style="normal" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block>
|
||||
<fo:block font-family="Times" font-style="italic" font-weight="bold">the quick brown fox jumps over the lazy dog 1234657890</fo:block>
|
||||
|
||||
Reference in New Issue
Block a user