Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ba155e910 | ||
|
|
5864e97680 | ||
|
|
f8c85ccb37 | ||
|
|
fc6cf7bf07 | ||
|
|
df7ae11c73 | ||
|
|
6d5aca3d2a | ||
|
|
905e7b0253 | ||
|
|
cdf6bd69e5 | ||
|
|
18c0c436af | ||
|
|
f7f7776514 | ||
|
|
485e3b89d7 | ||
|
|
340c98b3b0 | ||
|
|
a356edc9b7 | ||
|
|
d94d5910f7 | ||
|
|
f70aef14a4 | ||
|
|
27baf80c98 | ||
|
|
7afe2b73e5 | ||
|
|
e897ffc7ce | ||
|
|
0caff3bb10 | ||
|
|
5ab0a6aa2f | ||
|
|
e3adeec062 | ||
|
|
49b96e47cc | ||
|
|
3cc8f47135 | ||
|
|
cde1c6ac61 | ||
|
|
ccfb388999 | ||
|
|
b8c43a178a | ||
|
|
ad04cda8f0 | ||
|
|
1205ac591c | ||
|
|
faf008c152 | ||
|
|
d4e9a765ff | ||
|
|
ab61110dc5 | ||
|
|
c4a031dcb2 | ||
|
|
8c6c0f5834 | ||
|
|
05d8e9fa3e | ||
|
|
c05bc3af1b | ||
|
|
64b0f25e34 | ||
|
|
7a51784e2a | ||
|
|
b93265d798 | ||
|
|
918d3e8518 | ||
|
|
2b3252cf37 | ||
|
|
09c9bab4d0 | ||
|
|
aa7008407b | ||
|
|
a64dea4ffe | ||
|
|
11250f22d8 | ||
|
|
d52374422e | ||
|
|
fcbb750cf6 | ||
|
|
ba31a241ac | ||
|
|
c7c511eda6 | ||
|
|
b0dd29895f | ||
|
|
706fc86892 | ||
|
|
c117078a61 | ||
|
|
c84b388b85 | ||
|
|
bffd5d9d0d | ||
|
|
6d9314e8bf | ||
|
|
90b2d6c9bf | ||
|
|
8926d686c9 | ||
|
|
bd600a3dd4 | ||
|
|
93f513517f | ||
|
|
8b45efaee3 | ||
|
|
53e1b6f9a4 | ||
|
|
6296ab4078 | ||
|
|
ca08d3f8bb | ||
|
|
b6b745a7a1 | ||
|
|
3045557f32 | ||
|
|
2d3ca0534e | ||
|
|
af2fde4fd3 | ||
|
|
4b7a3b3789 | ||
|
|
20a82a9598 | ||
|
|
ad91ba42c0 | ||
|
|
2520f9357e | ||
|
|
8a0ae58940 | ||
|
|
c432d0483a | ||
|
|
802adf0385 | ||
|
|
4492b0cc55 | ||
|
|
3b54c81e1b | ||
|
|
e9bae9a7bd | ||
|
|
9a9ba5703d | ||
|
|
ff56f6c6b4 | ||
|
|
08f7e7bebe | ||
|
|
840966e2f1 | ||
|
|
94f2947278 | ||
|
|
14e58e127d | ||
|
|
d241da1275 | ||
|
|
e970e53fb1 | ||
|
|
caf1a38c8d | ||
|
|
5b546b1aba | ||
|
|
349deceab7 | ||
|
|
49289bc161 | ||
|
|
c828fa3735 | ||
|
|
45feca67b3 | ||
|
|
40484c0f36 | ||
|
|
31327e2f59 | ||
|
|
9320c40558 | ||
|
|
4952ed4713 | ||
|
|
64ff2f81c1 | ||
|
|
8be85cc8e8 | ||
|
|
b9ac3ac4d2 | ||
|
|
a2fe68212c | ||
|
|
7d6fbeebb9 | ||
|
|
9d0e6c2528 | ||
|
|
15480125b8 | ||
|
|
5a4dcd611d | ||
|
|
a4cee4a745 | ||
|
|
3a73856173 | ||
|
|
6d0cc93ee9 | ||
|
|
aefe7895ac | ||
|
|
c5a05c83ff | ||
|
|
a331d3dee8 | ||
|
|
96fc00f7d0 | ||
|
|
a67d054c35 | ||
|
|
c62accc95c | ||
|
|
7ffe31bed9 | ||
|
|
249ed1b30f | ||
|
|
7bf63fad20 | ||
|
|
dc87292455 | ||
|
|
684a5a1220 | ||
|
|
2ded55743a | ||
|
|
b7949d22a8 | ||
|
|
f2c26f9d97 | ||
|
|
e029947649 | ||
|
|
0b6a1feced | ||
|
|
d00f9fc378 | ||
|
|
adeaa4a869 | ||
|
|
e5f5603563 | ||
|
|
7934c1c8ed | ||
|
|
d2101257df | ||
|
|
695301d303 | ||
|
|
7a48532e18 | ||
|
|
769084a49b | ||
|
|
ec605656ca | ||
|
|
08bb7bddeb | ||
|
|
e4e7d859e7 | ||
|
|
baae0891eb | ||
|
|
a801e93e0e | ||
|
|
0b9bc64ace | ||
|
|
29b5f15861 | ||
|
|
f5e575a025 | ||
|
|
cc74c200ec | ||
|
|
9418ad3bab | ||
|
|
d4fa2f9f6d | ||
|
|
16328e2185 | ||
|
|
5cfeab364f | ||
|
|
e17875795b | ||
|
|
d315facebd | ||
|
|
4ef341f142 | ||
|
|
634ba04427 | ||
|
|
a8d7cd417d | ||
|
|
f16195f359 | ||
|
|
0b8e3f2290 | ||
|
|
b0b2f230f0 | ||
|
|
fddaa1482e | ||
|
|
c73e1347ed | ||
|
|
c57f7a7154 | ||
|
|
04b720a946 | ||
|
|
53ff3ff66e | ||
|
|
6e84e0983f | ||
|
|
71f737fddb | ||
|
|
7f6b866ccf | ||
|
|
0cd8756918 | ||
|
|
9aa3fa8888 | ||
|
|
de4149e3a8 | ||
|
|
909c2c5996 | ||
|
|
4703e7f373 | ||
|
|
13fa3e0d8a | ||
|
|
c49e42526c | ||
|
|
a33ce18085 | ||
|
|
064510efd0 | ||
|
|
f85ee26e66 | ||
|
|
9dfe76971f | ||
|
|
0d27498587 | ||
|
|
0058d13c54 | ||
|
|
8b1fbebcff | ||
|
|
83bf75872f | ||
|
|
8a5dba006b | ||
|
|
63c0163669 | ||
|
|
756159c5f5 | ||
|
|
edb2e18fa0 | ||
|
|
6579ae5e8c | ||
|
|
ac1d793e7d | ||
|
|
ba17a2ed01 | ||
|
|
9e1aca3047 | ||
|
|
855cc73dc1 | ||
|
|
cff2d7ef71 | ||
|
|
ac6ba4388b | ||
|
|
99fb5202d3 | ||
|
|
bd389e0fd0 | ||
|
|
6662fe8677 | ||
|
|
443411cdf4 | ||
|
|
bee4c75cfb | ||
|
|
1f164336e9 | ||
|
|
86066d6ae8 | ||
|
|
c25d1c7611 | ||
|
|
50c6d3604a | ||
|
|
56bbe808d2 | ||
|
|
066e64eac0 | ||
|
|
df49ca5eb7 | ||
|
|
cb29f5b873 | ||
|
|
c1c14b8e9c | ||
|
|
67148d9997 | ||
|
|
ec98c96794 | ||
|
|
b1fd51c50d | ||
|
|
af2d526991 | ||
|
|
f17180db01 | ||
|
|
6ceab5c79a | ||
|
|
683df915aa | ||
|
|
95170aed5f | ||
|
|
7aeaf226aa | ||
|
|
ecf7f285b1 | ||
|
|
16947071d5 | ||
|
|
b00f7efc1d | ||
|
|
fb9f826f3d | ||
|
|
a05a7cc708 | ||
|
|
b3d7080811 | ||
|
|
9f84e6c979 | ||
|
|
0255eb3b98 | ||
|
|
4f99bbfa72 | ||
|
|
f995012c19 | ||
|
|
dc38b42349 | ||
|
|
c8d1ee4d2a | ||
|
|
04121ce947 | ||
|
|
0839184e2d | ||
|
|
a1cc1c7558 | ||
|
|
42e2440481 | ||
|
|
b3efcef195 | ||
|
|
a6b28d1be5 | ||
|
|
222513624a | ||
|
|
a9a2dccfbb | ||
|
|
40d5d80e36 | ||
|
|
d03b68751c | ||
|
|
f53dc226e8 | ||
|
|
dae259b009 | ||
|
|
83d2b52109 | ||
|
|
800b191f2f | ||
|
|
2590f490e8 | ||
|
|
3ae7f7ca7f | ||
|
|
7d9b898e92 | ||
|
|
c86a769119 | ||
|
|
1e1e7a0d8f |
@@ -0,0 +1,11 @@
|
||||
Improved:
|
||||
Implemented:
|
||||
Documented:
|
||||
Completed:
|
||||
Reverted:
|
||||
Fixed:
|
||||
(OFBIZ-)
|
||||
|
||||
Explanation
|
||||
|
||||
Thanks:
|
||||
@@ -0,0 +1 @@
|
||||
/bin/
|
||||
@@ -0,0 +1,227 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed 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.
|
||||
|
||||
=========================================================================
|
||||
|
||||
This product bundles "jQuery" and "jQuery" plugins and extensions, which are available
|
||||
under the "MIT" license. For details, see:
|
||||
webpos/webapp/webpos/images/js/jquery.hotkeys-0.7.9.min.js
|
||||
webpos/webapp/webpos/images/js/WebPosHotkeys.js
|
||||
|
||||
=========================================================================
|
||||
|
||||
This product bundles "Webhelp for DocBook", which is available
|
||||
under the "MIT" License. For details, see cmssite/template/docbook/webhelp/
|
||||
|
||||
=========================================================================
|
||||
|
||||
This product bundles "DocBook XSL Stylesheets 1.77.1", which is available
|
||||
under the "MIT" license.
|
||||
For details, see cmssite/template/docbook/
|
||||
=========================================================================
|
||||
|
||||
This product bundles "Bootstrap", which is available
|
||||
under the "MIT" license.
|
||||
For details, see:
|
||||
ecommerce/webapp/ecommerce/js
|
||||
ecommerce/webapp/ecommerce/css
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
Apache OFBiz
|
||||
Copyright 2001-2020 The Apache Software Foundation
|
||||
|
||||
This product includes software developed at
|
||||
The Apache Software Foundation (http://www.apache.org/).
|
||||
@@ -18,7 +18,7 @@
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
<property key="AssetMaintApplication">
|
||||
<value xml:lang="de">Instandhaltungsanwendung</value>
|
||||
<value xml:lang="en">Asset Maintenance Application</value>
|
||||
@@ -102,7 +102,7 @@
|
||||
<value xml:lang="zh-TW">上級工作投入</value>
|
||||
</property>
|
||||
<property key="AssetMaintPartId">
|
||||
<value xml:lang="en">Part Id</value>
|
||||
<value xml:lang="en">Part ID</value>
|
||||
<value xml:lang="fr">Réf. de la pièce</value>
|
||||
<value xml:lang="it">Codice parte</value>
|
||||
<value xml:lang="ja">部品ID</value>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
<property key="IsMgrApplication">
|
||||
<value xml:lang="en">Information Systems Management Application</value>
|
||||
<value xml:lang="fr">Gestion du parc informatique</value>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
-->
|
||||
|
||||
<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/entitymodel.xsd">
|
||||
|
||||
<!-- ========================================================= -->
|
||||
<!-- ======================== Defaults ======================= -->
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<ofbiz-component name="assetmaint" enabled="true"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
||||
<!-- define resource loaders; most common is to use the component resource loader -->
|
||||
<resource-loader name="main" type="component"/>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
|
||||
<webapp name="assetmaint"
|
||||
title="AssetMaint"
|
||||
position="19"
|
||||
server="default-server"
|
||||
location="webapp/assetmaint"
|
||||
base-permission="ASSETMAINT"
|
||||
@@ -49,6 +50,7 @@
|
||||
|
||||
<webapp name="ismgr"
|
||||
title="IS Mgr"
|
||||
position="20"
|
||||
server="default-server"
|
||||
app-bar-display="false"
|
||||
location="webapp/ismgr"
|
||||
|
||||
@@ -19,7 +19,7 @@ under the License.
|
||||
-->
|
||||
|
||||
<service-eca xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/service-eca.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/service-eca.xsd">
|
||||
|
||||
<!-- ECAs used to extend service permission checking -->
|
||||
<eca service="fixedAssetPermissionCheck" event="return" run-on-failure="true">
|
||||
|
||||
@@ -14,7 +14,7 @@ under the License.
|
||||
-->
|
||||
|
||||
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/services.xsd">
|
||||
<description>Assetmaint Services: Fixed Asset </description>
|
||||
<vendor>OFBiz</vendor>
|
||||
<version>1.0</version>
|
||||
|
||||
@@ -55,7 +55,7 @@ public class FixedAssetMaintServices {
|
||||
String productId = (String)context.get("productId");
|
||||
String facilityId = (String)context.get("facilityId");
|
||||
Double quantity = (Double)context.get("quantity");
|
||||
double requestedQty = quantity.doubleValue();
|
||||
double requestedQty = quantity;
|
||||
|
||||
try {
|
||||
GenericValue product = ProductWorker.findProduct(delegator, productId);
|
||||
@@ -87,13 +87,13 @@ public class FixedAssetMaintServices {
|
||||
while (requestedQty > 0 && itr.hasNext()) {
|
||||
GenericValue inventoryItem = itr.next();
|
||||
String inventoryItemId = inventoryItem.getString("inventoryItemId");
|
||||
atp = inventoryItem.getDouble("availableToPromiseTotal").doubleValue();
|
||||
atp = inventoryItem.getDouble("availableToPromiseTotal");
|
||||
findCurrInventoryParams = UtilMisc.toMap("inventoryItemId", inventoryItemId);
|
||||
Double issueQuantity = null;
|
||||
if (requestedQty > atp) {
|
||||
issueQuantity = new Double(atp);
|
||||
issueQuantity = atp;
|
||||
} else {
|
||||
issueQuantity = new Double(requestedQty);
|
||||
issueQuantity = requestedQty;
|
||||
}
|
||||
Map<String, Object> itemIssuanceCtx = new HashMap<String, Object>();
|
||||
itemIssuanceCtx.put("userLogin", userLogin);
|
||||
@@ -106,7 +106,7 @@ public class FixedAssetMaintServices {
|
||||
if (ServiceUtil.isError(result)) {
|
||||
return ServiceUtil.returnError(UtilProperties.getMessage(resource, "AssetMaintProblemCallingService", locale), null, null, result);
|
||||
}
|
||||
requestedQty = requestedQty - issueQuantity.doubleValue();
|
||||
requestedQty = requestedQty - issueQuantity;
|
||||
}
|
||||
} catch (GenericEntityException e) {
|
||||
Debug.logError("Problem in retriving data from database", module);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<test-suite suite-name="assetmainttests"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/test-suite.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/test-suite.xsd">
|
||||
|
||||
<test-case case-name="assetmaint-tests">
|
||||
<simple-method-test location="component://assetmaint/minilang/test/FixedAssetMaintTests.xml"/>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<web-app version="3.0">
|
||||
<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
|
||||
|
||||
<display-name>Apache OFBiz - Asset Maintenance</display-name>
|
||||
<description>Asset Management component of the Apache OFBiz Project</description>
|
||||
@@ -77,6 +77,11 @@
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.ContextFilter</filter-class>
|
||||
</filter>
|
||||
<filter>
|
||||
<display-name>SameSiteFilter</display-name>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.SameSiteFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ControlFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
@@ -85,6 +90,10 @@
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
|
||||
@@ -103,6 +112,10 @@
|
||||
<url-pattern>/control/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>60</session-timeout><!-- in minutes -->
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<web-app version="3.0">
|
||||
<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
|
||||
|
||||
<display-name>Apache OFBiz - Information Systems</display-name>
|
||||
<description>Information Systems Management application of the Apache OFBiz Project</description>
|
||||
@@ -72,6 +72,11 @@
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.ContextFilter</filter-class>
|
||||
</filter>
|
||||
<filter>
|
||||
<display-name>SameSiteFilter</display-name>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.SameSiteFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ControlFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
@@ -80,6 +85,10 @@
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
|
||||
@@ -98,6 +107,10 @@
|
||||
<url-pattern>/control/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>60</session-timeout><!-- in minutes -->
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
<property key="BusinessIntelligenceApplication">
|
||||
<value xml:lang="en">Business Intelligence Application</value>
|
||||
<value xml:lang="fr">Application d'informatique décisionnelle</value>
|
||||
|
||||
@@ -19,7 +19,7 @@ under the License.
|
||||
-->
|
||||
|
||||
<entitygroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitygroup.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/entitygroup.xsd">
|
||||
|
||||
<!-- ========================================================= -->
|
||||
<!-- Dimensions -->
|
||||
|
||||
@@ -19,7 +19,7 @@ under the License.
|
||||
-->
|
||||
|
||||
<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/entitymodel.xsd">
|
||||
<!-- ========================================================= -->
|
||||
<!-- ======================== Defaults ======================= -->
|
||||
<!-- ========================================================= -->
|
||||
|
||||
@@ -354,6 +354,16 @@ under the License.
|
||||
<!-- =============== -->
|
||||
<!-- facts handling -->
|
||||
<!-- =============== -->
|
||||
<script>groovy:
|
||||
import org.apache.ofbiz.order.order.OrderReadHelper
|
||||
|
||||
orderReadHelper = new OrderReadHelper(orderHeader)
|
||||
context.billFromParty = orderReadHelper.getBillFromParty()
|
||||
</script>
|
||||
<set field="partyAccountingPreferencesCallMap.organizationPartyId" from-field="billFromParty.partyId"/>
|
||||
<call-service service-name="getPartyAccountingPreferences" in-map-name="partyAccountingPreferencesCallMap">
|
||||
<result-to-field result-name="partyAccountingPreference" field="accPref"/>
|
||||
</call-service>
|
||||
<set field="fact.quantity" from-field="orderItem.quantity" type="BigDecimal"/>
|
||||
<set field="fact.extGrossAmount" value="0" type="BigDecimal"/>
|
||||
<set field="fact.extGrossCost" value="0" type="BigDecimal"/>
|
||||
@@ -374,7 +384,7 @@ under the License.
|
||||
|
||||
<!-- extGrossAmount -->
|
||||
<set field="convertUomCurrencyMap.uomId" from-field="orderHeader.currencyUom"/>
|
||||
<set field="convertUomCurrencyMap.uomIdTo" value="USD"/>
|
||||
<set field="convertUomCurrencyMap.uomIdTo" from-field="accPref.baseCurrencyUomId"/>
|
||||
<set field="convertUomCurrencyMap.nowDate" from-field="orderStatus.statusDatetime"/>
|
||||
<call-service service-name="convertUomCurrency" in-map-name="convertUomCurrencyMap">
|
||||
<result-to-field result-name="conversionFactor" field="exchangeRate"/>
|
||||
@@ -406,7 +416,7 @@ under the License.
|
||||
<first-from-list list="costs" entry="cost"/>
|
||||
|
||||
<set field="convertUomCurrencyMap.uomId" from-field="cost.currencyUomId"/>
|
||||
<set field="convertUomCurrencyMap.uomIdTo" value="USD"/>
|
||||
<set field="convertUomCurrencyMap.uomIdTo" from-field="accPref.baseCurrencyUomId"/>
|
||||
<set field="convertUomCurrencyMap.nowDate" from-field="orderStatus.statusDatetime"/>
|
||||
<call-service service-name="convertUomCurrency" in-map-name="convertUomCurrencyMap">
|
||||
<result-to-field result-name="conversionFactor" field="exchangeRate"/>
|
||||
@@ -492,7 +502,7 @@ under the License.
|
||||
</iterate>
|
||||
<if-compare field="countGS" operator="equals" value="0">
|
||||
<set field="convertUomCurrencyMap.uomId" from-field="orderHeader.currencyUom"/>
|
||||
<set field="convertUomCurrencyMap.uomIdTo" value="USD"/>
|
||||
<set field="convertUomCurrencyMap.uomIdTo" from-field="accPref.baseCurrencyUomId"/>
|
||||
<set field="convertUomCurrencyMap.nowDate" from-field="orderStatus.statusDatetime"/>
|
||||
<call-service service-name="convertUomCurrency" in-map-name="convertUomCurrencyMap">
|
||||
<result-to-field result-name="conversionFactor" field="exchangeRate"/>
|
||||
@@ -555,7 +565,7 @@ under the License.
|
||||
</calculate>
|
||||
|
||||
<set field="convertUomCurrencyMap.uomId" from-field="orderHeader.currencyUom"/>
|
||||
<set field="convertUomCurrencyMap.uomIdTo" value="USD"/>
|
||||
<set field="convertUomCurrencyMap.uomIdTo" from-field="accPref.baseCurrencyUomId"/>
|
||||
<set field="convertUomCurrencyMap.nowDate" from-field="orderStatus.statusDatetime"/>
|
||||
<call-service service-name="convertUomCurrency" in-map-name="convertUomCurrencyMap">
|
||||
<result-to-field result-name="conversionFactor" field="exchangeRate"/>
|
||||
|
||||
@@ -20,7 +20,7 @@ under the License.
|
||||
|
||||
<ofbiz-component name="bi" enabled="true"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
||||
<resource-loader name="main" type="component"/>
|
||||
<classpath type="dir" location="config"/>
|
||||
|
||||
@@ -43,6 +43,7 @@ under the License.
|
||||
|
||||
<webapp name="bi"
|
||||
title="Business Intelligence"
|
||||
position="16"
|
||||
menu-name="secondary"
|
||||
server="default-server"
|
||||
location="webapp/bi"
|
||||
|
||||
@@ -19,7 +19,7 @@ under the License.
|
||||
-->
|
||||
|
||||
<service-eca xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/service-eca.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/service-eca.xsd">
|
||||
|
||||
<!-- dimension entities -->
|
||||
<eca service="createProduct" event="global-commit-post-run">
|
||||
|
||||
@@ -19,7 +19,7 @@ under the License.
|
||||
-->
|
||||
|
||||
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/services.xsd">
|
||||
|
||||
<service name="storeGenericDimension" engine="java"
|
||||
location="org.apache.ofbiz.bi.util.DimensionServices" invoke="storeGenericDimension" auth="true">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<web-app version="3.0">
|
||||
<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
|
||||
|
||||
<display-name>Apache OFBiz - Business Intelligence</display-name>
|
||||
<description>Business Intelligence component of the Apache OFBiz Project</description>
|
||||
@@ -57,6 +57,11 @@
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.ContextFilter</filter-class>
|
||||
</filter>
|
||||
<filter>
|
||||
<display-name>SameSiteFilter</display-name>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.SameSiteFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ControlFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
@@ -65,6 +70,10 @@
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
|
||||
@@ -83,6 +92,10 @@
|
||||
<url-pattern>/control/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>60</session-timeout><!-- in minutes -->
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
|
||||
@@ -99,6 +99,9 @@ under the License.
|
||||
|
||||
<screen name="main">
|
||||
<section>
|
||||
<condition>
|
||||
<if-has-permission permission="BI" action="_VIEW"/>
|
||||
</condition>
|
||||
<actions>
|
||||
<set field="titleProperty" value="BusinessIntelligenceMainPage"/>
|
||||
<set field="headerItem" value="main"/>
|
||||
|
||||
@@ -23,10 +23,3 @@ dependencies {
|
||||
exclude group: 'org.eclipse.birt.runtime.3_7_1', module: 'org.apache.batik.pdf'
|
||||
}
|
||||
}
|
||||
// If the example plugin misses the birt component can't build.
|
||||
// If you want to use the birt component independently of the example plugin
|
||||
// simply comment out or remove the line below.
|
||||
apply from: '../example/build.gradle'
|
||||
// Then the flexible report example will not work
|
||||
// It's not an issue out of demonstration
|
||||
// If needed simply remove the birt data related to the example component
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
-->
|
||||
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
<property key="BirtErrorCannotDetermineDataSource">
|
||||
<value xml:lang="en">Failed to determine data source for report</value>
|
||||
<value xml:lang="fr">La détermination de la source de données à échoué</value>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
|
||||
<property key="BirtApplication">
|
||||
<value xml:lang="en">Eclipse BIRT Application</value>
|
||||
<value xml:lang="fr">Application Eclipse Birt</value>
|
||||
|
||||
@@ -24,5 +24,5 @@
|
||||
dataResourceName="BIRT" mimeTypeId="text/xml" isPublic="Y" />
|
||||
<Content contentId="HELP_BIRT" contentTypeId="DOCUMENT" contentName="BIRT Overview" templateDataResourceId="HELP_TEMPL"
|
||||
dataResourceId="HELP_BIRT" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>
|
||||
<ContentAssoc contentId="HELP_ROOT" contentIdTo="HELP_BIRT" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum="" mapKey="BIRT_main"/>
|
||||
<ContentAssoc contentId="HELP_ROOT" contentIdTo="HELP_BIRT" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" mapKey="BIRT_main"/>
|
||||
</entity-engine-xml>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
portletName="Sale Orders by Channel"
|
||||
screenName="SaleOrdersByChannelReport"
|
||||
screenLocation="component://birt/widget/order/OrderScreens.xml"
|
||||
description=""/>
|
||||
/>
|
||||
<PortletPortletCategory portalPortletId="OrderByChannel" portletCategoryId="REPORT"/>
|
||||
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="OrderByChannel" portletSeqId="00001" columnSeqId="00001" sequenceNum="6"/>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
portletName="Orders with discount code"
|
||||
screenName="SaleOrderDiscountCodeReport"
|
||||
screenLocation="component://birt/widget/order/OrderScreens.xml"
|
||||
description=""/>
|
||||
/>
|
||||
<PortletPortletCategory portalPortletId="OrderDiscountCode" portletCategoryId="REPORT"/>
|
||||
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="OrderDiscountCode" portletSeqId="00001" columnSeqId="00001" sequenceNum="7"/>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
portletName="Last 3 Months Sales Report"
|
||||
screenName="Last3MonthsSalesReport"
|
||||
screenLocation="component://birt/widget/order/OrderScreens.xml"
|
||||
description=""/>
|
||||
/>
|
||||
<PortletPortletCategory portalPortletId="Last3MSalesReport" portletCategoryId="REPORT"/>
|
||||
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="Last3MSalesReport" portletSeqId="00001" columnSeqId="00002" sequenceNum="8"/>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
portletName="Coupon Sales Report"
|
||||
screenName="CouponSalesReport"
|
||||
screenLocation="component://birt/widget/order/OrderScreens.xml"
|
||||
description=""/>
|
||||
/>
|
||||
<PortletPortletCategory portalPortletId="CouponSalesReport" portletCategoryId="REPORT"/>
|
||||
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="CouponSalesReport" portletSeqId="00001" columnSeqId="00002" sequenceNum="9"/>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
portletName="Sales Report"
|
||||
screenName="SalesReport"
|
||||
screenLocation="component://birt/widget/order/OrderScreens.xml"
|
||||
description=""/>
|
||||
/>
|
||||
<PortletPortletCategory portalPortletId="SalesReport" portletCategoryId="REPORT"/>
|
||||
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="SalesReport" portletSeqId="00001" columnSeqId="00002" sequenceNum="10"/>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
portletName="Product Demand Report"
|
||||
screenName="ProductDemandReport"
|
||||
screenLocation="component://birt/widget/order/OrderScreens.xml"
|
||||
description=""/>
|
||||
/>
|
||||
<PortletPortletCategory portalPortletId="PDR_Report" portletCategoryId="REPORT"/>
|
||||
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="PDR_Report" portletSeqId="00001" columnSeqId="00002" sequenceNum="12"/>
|
||||
</entity-engine-xml>
|
||||
@@ -0,0 +1,93 @@
|
||||
<?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.
|
||||
-->
|
||||
<entity-engine-xml>
|
||||
<ExampleType exampleTypeId="REAL_WORLD" description="Real World"/>
|
||||
<ExampleType exampleTypeId="MADE_UP" description="Made Up"/>
|
||||
<ExampleType exampleTypeId="CONTRIVED" description="Contrived" parentTypeId="MADE_UP"/>
|
||||
<ExampleType exampleTypeId="INSPIRED" description="Inspired" parentTypeId="MADE_UP"/>
|
||||
|
||||
<ExampleFeatureApplType exampleFeatureApplTypeId="REQUIRED" description="Required"/>
|
||||
<ExampleFeatureApplType exampleFeatureApplTypeId="DESIRED" description="Desired"/>
|
||||
<ExampleFeatureApplType exampleFeatureApplTypeId="NOT_ALLOWED" description="Not Allowed"/>
|
||||
|
||||
<StatusType description="Example" statusTypeId="EXAMPLE_STATUS" hasTable="N"/>
|
||||
<StatusItem description="In Design" sequenceId="01" statusCode="IN_DESIGN" statusId="EXST_IN_DESIGN" statusTypeId="EXAMPLE_STATUS"/>
|
||||
<StatusItem description="Defined" sequenceId="02" statusCode="DEFINED" statusId="EXST_DEFINED" statusTypeId="EXAMPLE_STATUS"/>
|
||||
<StatusItem description="Approved" sequenceId="03" statusCode="APPROVED" statusId="EXST_APPROVED" statusTypeId="EXAMPLE_STATUS"/>
|
||||
<StatusItem description="Implemented" sequenceId="04" statusCode="IMPLEMENTED" statusId="EXST_IMPLEMENTED" statusTypeId="EXAMPLE_STATUS"/>
|
||||
<StatusItem description="Tested" sequenceId="05" statusCode="TESTED" statusId="EXST_TESTED" statusTypeId="EXAMPLE_STATUS"/>
|
||||
<StatusItem description="Complete" sequenceId="06" statusCode="COMPLETE" statusId="EXST_COMPLETE" statusTypeId="EXAMPLE_STATUS"/>
|
||||
<StatusItem description="Cancelled" sequenceId="99" statusCode="CANCELLED" statusId="EXST_CANCELLED" statusTypeId="EXAMPLE_STATUS"/>
|
||||
<StatusValidChange statusId="EXST_IN_DESIGN" statusIdTo="EXST_DEFINED" transitionName="Definition Complete"/>
|
||||
<StatusValidChange statusId="EXST_DEFINED" statusIdTo="EXST_APPROVED" transitionName="Approve"/>
|
||||
<StatusValidChange statusId="EXST_APPROVED" statusIdTo="EXST_IMPLEMENTED" transitionName="Implementation Complete"/>
|
||||
<StatusValidChange statusId="EXST_IMPLEMENTED" statusIdTo="EXST_TESTED" transitionName="Testing Complete"/>
|
||||
<StatusValidChange statusId="EXST_TESTED" statusIdTo="EXST_COMPLETE" transitionName="Example Completed"/>
|
||||
<StatusValidChange statusId="EXST_IN_DESIGN" statusIdTo="EXST_CANCELLED" transitionName="Cancel Example"/>
|
||||
<StatusValidChange statusId="EXST_DEFINED" statusIdTo="EXST_CANCELLED" transitionName="Cancel Example"/>
|
||||
<StatusValidChange statusId="EXST_APPROVED" statusIdTo="EXST_CANCELLED" transitionName="Cancel Example"/>
|
||||
<StatusValidChange statusId="EXST_IMPLEMENTED" statusIdTo="EXST_CANCELLED" transitionName="Cancel Example"/>
|
||||
<StatusValidChange statusId="EXST_TESTED" statusIdTo="EXST_CANCELLED" transitionName="Cancel Example"/>
|
||||
|
||||
<EnumerationType description="Example Feature Source" enumTypeId="EXMPL_FEAT_SOURCE" hasTable="N"/>
|
||||
<Enumeration description="Customer" enumCode="CUSTOMER" enumId="EXFTSRC_CUSTOMER" sequenceId="01" enumTypeId="EXMPL_FEAT_SOURCE"/>
|
||||
<Enumeration description="Partner" enumCode="PARTNER" enumId="EXFTSRC_PARTNER" sequenceId="02" enumTypeId="EXMPL_FEAT_SOURCE"/>
|
||||
<Enumeration description="Employee" enumCode="EMPLOYEE" enumId="EXFTSRC_EMPLOYEE" sequenceId="03" enumTypeId="EXMPL_FEAT_SOURCE"/>
|
||||
|
||||
<Example exampleId="EX01" exampleName="Example 1" exampleTypeId="CONTRIVED" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX02" exampleName="Example 2" exampleTypeId="CONTRIVED" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX03" exampleName="Example 3" exampleTypeId="CONTRIVED" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX04" exampleName="Example 4" exampleTypeId="REAL_WORLD" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX05" exampleName="Example 5" exampleTypeId="REAL_WORLD" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX06" exampleName="Example 6" exampleTypeId="MADE_UP" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX07" exampleName="Example 7" exampleTypeId="MADE_UP" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX08" exampleName="Example 8" exampleTypeId="MADE_UP" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX09" exampleName="Example 9" exampleTypeId="MADE_UP" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX10" exampleName="Example 10" exampleTypeId="MADE_UP" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX11" exampleName="Example 11" exampleTypeId="INSPIRED" statusId="EXST_IN_DESIGN" description="mMy inspired example 11 description"/>
|
||||
<Example exampleId="EX12" exampleName="Example 12" exampleTypeId="INSPIRED" statusId="EXST_IN_DESIGN" description="mMy inspired example 12 description"/>
|
||||
<create>
|
||||
<Example exampleId="EX13" exampleName="Example 13" exampleTypeId="INSPIRED" statusId="EXST_IN_DESIGN"/>
|
||||
<Example exampleId="EX14" exampleName="Example 14" exampleTypeId="INSPIRED" statusId="EXST_IN_DESIGN"/>
|
||||
</create>
|
||||
<create-replace>
|
||||
<Example exampleId="EX12" exampleName="Example 12 after replace" exampleTypeId="INSPIRED" statusId="EXST_IN_DESIGN"/>
|
||||
</create-replace>
|
||||
<create-update>
|
||||
<Example exampleId="EX12" exampleName="Example 11 after update" exampleTypeId="INSPIRED" statusId="EXST_IN_DESIGN"/>
|
||||
</create-update>
|
||||
<delete>
|
||||
<Example exampleId="EX09"/>
|
||||
</delete>
|
||||
<Example exampleId="EX10" exampleName="Example 10 after update"/>
|
||||
|
||||
<ExampleItem exampleId="EX01" exampleItemSeqId="00001" description="EX1-001" amount="10"/>
|
||||
<ExampleItem exampleId="EX01" exampleItemSeqId="00002" description="EX1-002" amount="20"/>
|
||||
<ExampleItem exampleId="EX02" exampleItemSeqId="00001" description="EX2-001" amount="10"/>
|
||||
<ExampleItem exampleId="EX02" exampleItemSeqId="00002" description="EX2-002" amount="20"/>
|
||||
<ExampleItem exampleId="EX02" exampleItemSeqId="00003" description="EX2-003" amount="30"/>
|
||||
|
||||
<ExampleStatus exampleId="EX01" statusDate="2010-01-02 00:00:00" statusEndDate="2011-01-02 00:00:00" statusId="EXST_IN_DESIGN"/>
|
||||
<ExampleStatus exampleId="EX01" statusDate="2011-01-02 00:00:01" statusEndDate="2012-01-02 00:00:00" statusId="EXST_DEFINED"/>
|
||||
<ExampleStatus exampleId="EX01" statusDate="2012-01-02 00:00:00" statusEndDate="2013-01-02 00:00:00" statusId="EXST_APPROVED"/>
|
||||
<ExampleStatus exampleId="EX02" statusDate="2010-01-02 00:00:00" statusEndDate="2011-01-02 00:00:00" statusId="EXST_IN_DESIGN"/>
|
||||
<ExampleStatus exampleId="EX02" statusDate="2011-01-02 00:00:01" statusEndDate="2012-01-02 00:00:00" statusId="EXST_DEFINED"/>
|
||||
<ExampleStatus exampleId="EX02" statusDate="2012-01-02 00:00:00" statusEndDate="2013-01-02 00:00:00" statusId="EXST_APPROVED"/>
|
||||
</entity-engine-xml>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?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.
|
||||
-->
|
||||
<entity-engine-xml>
|
||||
|
||||
<DataResource dataResourceId="HELP_EXAMPLE" localeString="en" dataResourceTypeId="OFBIZ_FILE"
|
||||
objectInfo="plugins/example/data/helpdata/HELP_EXAMPLE.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS"
|
||||
dataResourceName="Framework Example" mimeTypeId="text/xml" isPublic="Y" />
|
||||
<Content contentId="HELP_EXAMPLE" contentTypeId="DOCUMENT" contentName="Framework Example" templateDataResourceId="HELP_TEMPL"
|
||||
dataResourceId="HELP_EXAMPLE" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>
|
||||
<ContentAssoc contentId="HELP_ROOT" contentIdTo="HELP_EXAMPLE" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum="000"/>
|
||||
|
||||
<DataResource dataResourceId="HELP_EXAMPLE_FR" localeString="fr" dataResourceTypeId="OFBIZ_FILE"
|
||||
objectInfo="plugins/example/data/helpdata/HELP_EXAMPLE_FR.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS"
|
||||
dataResourceName="Exemple pour le développement" mimeTypeId="text/xml" isPublic="Y" />
|
||||
<Content contentId="HELP_EXAMPLE_FR" contentTypeId="DOCUMENT" contentName="Exemple pour le développement" templateDataResourceId="HELP_TEMPL"
|
||||
dataResourceId="HELP_EXAMPLE_FR" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html" localeString="fr" />
|
||||
<ContentAssoc contentId="HELP_EXAMPLE" contentIdTo="HELP_EXAMPLE_FR" contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2006-01-12 01:01:01"/>
|
||||
|
||||
<DataResource dataResourceId="EXAMPLE_main" localeString="en" dataResourceTypeId="OFBIZ_FILE"
|
||||
objectInfo="plugins/example/data/helpdata/HELP_EXAMPLE_main.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Example help main page" mimeTypeId="text/xml" isPublic="Y" />
|
||||
<Content contentId="EXAMPLE_main" contentTypeId="DOCUMENT" contentName="Example main menu." templateDataResourceId="HELP_TEMPL" dataResourceId="EXAMPLE_main" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>
|
||||
<ContentAssoc contentId="HELP_EXAMPLE" contentIdTo="EXAMPLE_main" mapKey="EXAMPLE_main" fromDate="2006-01-12 01:01:01" contentAssocTypeId="TREE_CHILD" sequenceNum="000"/>
|
||||
<ContentAssoc contentId="HELP_EXAMPLE" contentIdTo="EXAMPLE_main" mapKey="EXAMPLE_FindExample" fromDate="2006-01-12 01:01:02" sequenceNum="000" contentAssocTypeId="INSTANCE"/>
|
||||
|
||||
<DataResource dataResourceId="EXAMPLE_docbook" localeString="en" dataResourceTypeId="OFBIZ_FILE"
|
||||
objectInfo="plugins/example/data/helpdata/HELP_EXAMPLE_docbook.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Example docBook usage" mimeTypeId="text/xml" isPublic="Y" />
|
||||
<Content contentId="EXAMPLE_docbook" contentTypeId="DOCUMENT" contentName="Example Docbook usage" templateDataResourceId="HELP_TEMPL" dataResourceId="EXAMPLE_docbook" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>
|
||||
<ContentAssoc contentId="HELP_EXAMPLE" contentIdTo="EXAMPLE_docbook" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum="000" mapKey="EXAMPLE_docbook"/>
|
||||
|
||||
|
||||
</entity-engine-xml>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<entity-engine-xml>
|
||||
<!-- PortalPortlet Seed Data: system pages -->
|
||||
<PortalPage portalPageId="EXAMPLE" sequenceNum="0" portalPageName="Example Portal Page" description="The default example OFBiz portal page" ownerUserLoginId="_NA_"/>
|
||||
<PortalPageColumn portalPageId="EXAMPLE" columnSeqId="00001" columnWidthPixels="400"/>
|
||||
<PortalPageColumn portalPageId="EXAMPLE" columnSeqId="00002"/><!-- no width in pixels or percent, use the rest of the space available -->
|
||||
<PortalPagePortlet portalPageId="EXAMPLE" portalPortletId="EXAMPLE_1" portletSeqId="00001" columnSeqId="00001" sequenceNum="0"/>
|
||||
<PortalPagePortlet portalPageId="EXAMPLE" portalPortletId="EXAMPLE_3" portletSeqId="00001" columnSeqId="00002" sequenceNum="1"/>
|
||||
|
||||
<PortalPage portalPageId="EXAMPLE1" sequenceNum="100" parentPortalPageId="EXAMPLE" portalPageName="Example Portal Page 1" description="Portal page 1" ownerUserLoginId="_NA_"/>
|
||||
<PortalPageColumn portalPageId="EXAMPLE1" columnSeqId="00001"/>
|
||||
<PortalPagePortlet portalPageId="EXAMPLE1" portalPortletId="EXAMPLE_1" portletSeqId="00001" columnSeqId="00001" sequenceNum="1"/>
|
||||
|
||||
<PortalPage portalPageId="EXAMPLE2" sequenceNum="200" parentPortalPageId="EXAMPLE" portalPageName="Example Portal Page 2" description="Portal page 2" ownerUserLoginId="_NA_"/>
|
||||
<PortalPageColumn portalPageId="EXAMPLE2" columnSeqId="00001"/>
|
||||
<PortalPagePortlet portalPageId="EXAMPLE2" portalPortletId="EXAMPLE_1" portletSeqId="00001" columnSeqId="00001" sequenceNum="1"/>
|
||||
</entity-engine-xml>
|
||||
@@ -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.
|
||||
-->
|
||||
<entity-engine-xml>
|
||||
<PortalPortlet portalPortletId="EXAMPLE_1" portletName="Example 1" description="Example portlet n. 1"
|
||||
screenName="ExamplePortlet1" screenLocation="component://example/widget/example/PortletScreens.xml"
|
||||
editFormName="ExamplePortlet1Edit" editFormLocation="component://example/widget/example/PortletEditForms.xml"
|
||||
screenshot="/images/ofbiz_logo.png"/>
|
||||
|
||||
<PortalPortlet portalPortletId="EXAMPLE_2" portletName="Example 2" description="Example portlet n. 2"
|
||||
screenName="ExamplePortlet2" screenLocation="component://example/widget/example/PortletScreens.xml"
|
||||
editFormName="ExamplePortlet2Edit" editFormLocation="component://example/widget/example/PortletEditForms.xml"
|
||||
screenshot="/images/opentravelsystem_logo.jpg"/>
|
||||
|
||||
<PortalPortlet portalPortletId="EXAMPLE_3" portletName="Example 3" description="Example portlet n. 3"
|
||||
screenName="ExamplePortlet3" screenLocation="component://example/widget/example/PortletScreens.xml"
|
||||
editFormName="ExamplePortlet3Edit" editFormLocation="component://example/widget/example/PortletEditForms.xml"/>
|
||||
|
||||
<PortletCategory portletCategoryId="EXAMPLE" description="Example Portlet(s)"/>
|
||||
<PortletPortletCategory portalPortletId="EXAMPLE_1" portletCategoryId="EXAMPLE"/>
|
||||
<PortletPortletCategory portalPortletId="EXAMPLE_2" portletCategoryId="EXAMPLE"/>
|
||||
<PortletPortletCategory portalPortletId="EXAMPLE_3" portletCategoryId="EXAMPLE"/>
|
||||
</entity-engine-xml>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?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.
|
||||
-->
|
||||
<entity-engine-xml>
|
||||
<!-- Example security -->
|
||||
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FULLADMIN" permissionId="EXAMPLE_ADMIN"/>
|
||||
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="EXAMPLE_CREATE"/>
|
||||
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="EXAMPLE_DELETE"/>
|
||||
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="EXAMPLE_UPDATE"/>
|
||||
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="EXAMPLE_VIEW"/>
|
||||
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="VIEWADMIN" permissionId="EXAMPLE_VIEW"/>
|
||||
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="BIZADMIN" permissionId="EXAMPLE_ADMIN"/>
|
||||
</entity-engine-xml>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?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.
|
||||
-->
|
||||
<entity-engine-xml>
|
||||
<!-- Example security -->
|
||||
<SecurityPermission description="View operations in the Example Management Screens." permissionId="EXAMPLE_VIEW"/>
|
||||
<SecurityPermission description="Create operations in the Example Management Screens." permissionId="EXAMPLE_CREATE"/>
|
||||
<SecurityPermission description="Update operations in the Example Management Screens." permissionId="EXAMPLE_UPDATE"/>
|
||||
<SecurityPermission description="Delete operations in the Example Management Screens." permissionId="EXAMPLE_DELETE"/>
|
||||
<SecurityPermission description="ALL operations in the Example Management Screens." permissionId="EXAMPLE_ADMIN"/>
|
||||
|
||||
<!-- super user -->
|
||||
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="SUPER" permissionId="EXAMPLE_ADMIN"/>
|
||||
</entity-engine-xml>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?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.
|
||||
-->
|
||||
<entity-engine-xml>
|
||||
|
||||
</entity-engine-xml>
|
||||
@@ -1,48 +0,0 @@
|
||||
# Report creation - Admin/Super-User #
|
||||
|
||||
## Introduction ##
|
||||
A flexible report is an OFBiz content of FLEXIBLE\_REPORT type that allows a final user to make use of the reporting module to obtain flexible reports, ie reports which are created from an entity or view definition and even from a service. A flexible report is created from a Report Master (content REPORT_MASTER), and an optional XML override of the parent form.
|
||||
|
||||
## Pre-requisite ##
|
||||
- OFBiz framework
|
||||
- The Birt plugin
|
||||
- The BIRT Report Designer
|
||||
|
||||
## Report creation ##
|
||||
1. Get to Birt component in OFBiz 
|
||||
2. Click on the "Flexible Report" menu (varies depending on themes)
|
||||
3. Click on the "Generate report" button, you get to this screen:
|
||||
4. Fill the form:
|
||||

|
||||
* The list "Choose report topic" will let you choose among predefined report masters your topic of interest.
|
||||
* The report name is a simple short name from which the file name will be generated.
|
||||
* The description is a short description which will allow you to recognise the report and its topic.
|
||||
* The box "Generate filters in design" will add in the design the visualisation of the filters filled in the filtering form.
|
||||
|
||||
Finally, if you don't find what you want, you will need to create a new Report Master...
|
||||
|
||||
|
||||
Once the form is validated, OFBiz will show you the "Edit Report" screen. 
|
||||
|
||||
## Report information ##
|
||||
This first panel allows you to change the report description and status. Actually it does not make sense changing the status to published before having downloaded the .rptdesign file (Birt Report Designer file) from the server (in database), edited and uploaded it back to the server. This is explained in the section below. Changing the status allows users to use your reports. But if you publish without any change the report will render as empty.
|
||||
|
||||
## The .rptdesign report file: donwload, edit, upload and publish it ##
|
||||
To really use the report you need to download the .rptdesign file from the server in a location from where you can edit it with the BIRT Report Designer. So you need to install first the BIRT Report Designer. Then you can edit the .rptdesign file in the BIRT Report Designer. For that refer to the ["Using the Birt Report Designer.md.html" file](https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk/birt/documents/Using%20the%20Birt%20Report%20Designer.md.html). You can also find the Markdonw version in the same directory: ofbiz-framework/plugins/birt/documents
|
||||
### Editing the downloaded file ###
|
||||
Once you installed the BIRT Report Designer and have downloaded the .rptdesign file, you can edit it with the Birt Report Designer. When you have edited it suiting your needs you must upload it to the server for your changes to be taken into account by OFBiz.
|
||||
|
||||
<span style="color:red">**This is when things begin to be really interesting**.</span> You can then test your report using the "Preview" panel. There you can temporarily filter the result, and use the export format you prefer, once done click "Send". You can then decide to change the report content in the Birt Report Designer again or keep your changes. Once done in the Birt Report Designer, simply select the changed file to upload, and upload it again. You can re-test your changes and continue until you really get what you want! You can then publish the report to allow users to select and use it. There are 2 ways to publish a report from the "Manage reports" screen or directly in the "Report information" panel. We will see the "Manage reports" screen below.
|
||||
|
||||
## Filters Overriding ##
|
||||
You may want to overide the default filters. You can then use the Xml "Override filters" panel to override and personnalize the form, once done click "Save". If you ignore that step, it will **NOT** prevent the report creation, **it is already done**, it will just be with the generic filtering form inherited from the master from.
|
||||
>_Note_: if no preview is available, it is usually due to a mistake in the master form code. You can edit it in the database.
|
||||
|
||||
## Manage reports ##
|
||||
The "Manage reports" button get you to a screen which allows to edit (get back to current page), publish or delete a report.
|
||||
|
||||
## Use a report ##
|
||||
Users can select and use any published report from that screen. When they select a report they then get the same "Preview" Panel and can do the same things than in the "Edit Report" screen. Refer users to
|
||||
|
||||
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
# Using a flexible report - User #
|
||||
## Introduction ##
|
||||
A flexible report is an OFBiz content of FLEXIBLE_REPORT type which allows the final user to obtain reports using the Birt reporting module. It will be produced at a specific time of your choosing, with your chosen output format, filtering the data with a few parameters defined during report design creation.
|
||||
|
||||
## Pre-requisite ##
|
||||
- OFBiz
|
||||
- The Birt plugin
|
||||
- Pre-published reports created from report masters
|
||||
|
||||
## Using the report ##
|
||||
1. go to the Birt component or to another page harboring reports.
|
||||
2. In the Birt component, click "Use a report".
|
||||
3. Select your report and hit "Send".
|
||||
4. The next screen will allow you to filter your data through a set of pre-defined criteria. Should you leave it empty, you will retrieve unfiltered data.
|
||||
5. Select the desired export format
|
||||
6. Upon validation, your report is now loaded and can be saved.
|
||||
|
||||
>_Note_: Report loading can be a bit long depending on the data treatment
|
||||
@@ -1,72 +0,0 @@
|
||||
# Using the Birt Report Designer - Admin/Super-User #
|
||||
## Introduction ##
|
||||
The creation of a flexible report goes through a design step of the initial flexible report output under the Birt Report Designer.
|
||||
|
||||
This document describes the simplest designs to connect to the data. It is not exhaustive, and simply attempts to cover basic needs. You will find much more documentation online. In our approach, the connection to the data is generated automatically by OFBiz, only the design part of the report will be discussed.
|
||||
|
||||
## Installing the BIRT Report Designer ##
|
||||
Installing the BIRT Report Designer is easy. If you use Eclipse, you can include it as a plugin. You can also install the whole BIRT Report Designer. I use Eclipse but I prefer the second way, to not mix things. So simply download and install the whole all-in-one thing. Or install the plugin if you prefer and use its "Report Design" view which allows to edit .rptdesign files.
|
||||
|
||||
>_Note_: if you installed the BIRT Report Designer under say, a Birt directory, then by default the reports will be accessed from the Birt\workspace\Report Builder directly and this is where you should put the .rptdesign files when downloading them. Your mileage may wary...
|
||||
|
||||
## Different areas of the screen and their role ##
|
||||
### Navigator - Report Builder ###
|
||||
This is where you should find the .rptdesign files you downloaded.
|
||||
|
||||

|
||||
|
||||
### Data Explorer ###
|
||||
The Data Explorer defaults to the right of your screen. It gives you access to two things. The data fields available for the report, and the filter fields that can be used for this report.
|
||||
|
||||

|
||||
|
||||
### Palette ###
|
||||
The palette provides the various tools you can insert in the report. Simple text, image, table of data, layout table, graph, aggregation, etc. All objects are added to the report by drag & drop.
|
||||

|
||||
|
||||
### Tabs ###
|
||||
At the right bottom of the window is a series of five tabs.
|
||||
|
||||
We will use two:
|
||||
|
||||
- Layout, which will allow most of the design.
|
||||
- Master Page, which will give access by its owners to standard parameters such as the orientation or size of the report.
|
||||
|
||||
The preview is not accessible because it can not be executed outside of OFBiz. Any changes to the scripts will be erased during the upload in OFBiz.
|
||||
|
||||
### Simple design without break ###
|
||||
The simplest possible design is to insert in a table (table in the palette), a part or all of the data set data fields. To do this, right-click on Data Set in the Data Explorer -> Insert in Layout, and then select the fields you want to see appear.
|
||||
|
||||
### Simple design with break ###
|
||||
A break is a collection of data made by Birt from the data. It permits to classify according to a field, and to give details for each category, then to aggregate certain fields, etc.
|
||||
|
||||
1. Insert a table (Table) in the report -> OK
|
||||
2. Right-click on the table -> Edit Data Binding, select all fields
|
||||
3. In the data set field, change "None" in "Data Set", validate
|
||||
4. Right-click the table -> Insert Group. Configure your group, eg: 
|
||||
5. Your table then has five lines:
|
||||
* A global title line
|
||||
* A title line of the group
|
||||
* A group detail line
|
||||
* A footer of the group
|
||||
* A global footer line
|
||||
6. Then insert some elements in the design: in the global header, everything that does not depend on the group, for example the title of the report. In the header of the group, everything that is common to the whole group and that you want to see in its title. In the details, the fields that may appear for each group line. As in the image below, the fields might be inserted by Copy/Paste from the Data Set, and titles via a text element of the palette. You can add lines and columns by right clicking on the end of the line (gray rectangle when the table is selected), etc. 
|
||||
|
||||
#### Construction of aggregation ####
|
||||
The aggregations may be on the whole table, or only on a group. They are characterized by an expression to aggregate (made up of different data fields), a possible filter on the data lines, and an aggregation function, eg:
|
||||

|
||||
#### Expression builder ####
|
||||
The *fx* (for expression and filter) buttons are used to open a complex expression construction window. It is possible to use predefined functions, Javascript, data fields, already built aggregations, and so on. This window can also be used by including a data element, which allows to construct non-aggregated data expressions.
|
||||

|
||||
|
||||
Footer lines often allow you to place aggregations, such as sums on the group or table rows, eg
|
||||

|
||||
|
||||
> Warning: any unused line must be deleted, otherwise it generates white spaces on the report.
|
||||
|
||||
## Layout Management ##
|
||||
### General settings ###
|
||||
Right button leads to Properties Editor tab at bottom. Then click on the Master Page tab, just above. In the Property Editor you will see a series of general properties that will allow you to modify the general form of the report.
|
||||
|
||||
### Styles ###
|
||||
By right-clicking on any item in the table, you have access to the menu of styles. From there they can be edited, applied, created. A style can be applied to the whole picture, to a row or column, to a cell, or to an element in that cell (text, data, ...).
|
||||
@@ -19,12 +19,12 @@ under the License.
|
||||
-->
|
||||
|
||||
<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/entitymodel.xsd">
|
||||
<title>View definitions for master report services</title>
|
||||
<description>None</description>
|
||||
<version>1.0</version>
|
||||
|
||||
<view-entity entity-name="OrderAndProductStore" package-name="org.ofbiz.birt">
|
||||
<view-entity entity-name="OrderAndProductStore" package-name="org.apache.ofbiz.birt">
|
||||
<member-entity entity-alias="OH" entity-name="OrderHeader"/>
|
||||
<member-entity entity-alias="PS" entity-name="ProductStore"/>
|
||||
<alias-all entity-alias="PS"/>
|
||||
@@ -34,7 +34,7 @@ under the License.
|
||||
</view-link>
|
||||
</view-entity>
|
||||
|
||||
<view-entity entity-name="InvoiceItemProductAndParty" package-name="org.ofbiz.birt">
|
||||
<view-entity entity-name="InvoiceItemProductAndParty" package-name="org.apache.ofbiz.birt">
|
||||
<member-entity entity-alias="INV" entity-name="Invoice"/>
|
||||
<member-entity entity-alias="INITM" entity-name="InvoiceItem"/>
|
||||
<member-entity entity-alias="PA" entity-name="Party"/>
|
||||
|
||||
@@ -20,7 +20,7 @@ under the License.
|
||||
|
||||
<ofbiz-component name="birt" enabled="true"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
||||
<resource-loader name="main" type="component"/>
|
||||
|
||||
|
||||
@@ -31,6 +31,14 @@ under the License.
|
||||
<entity-resource type="data" reader-name="demo" loader="main" location="data/BirtSecurityGroupDemoData.xml"/>
|
||||
<entity-resource type="data" reader-name="demo" loader="main" location="data/BirtMasterData.xml"/>
|
||||
|
||||
<entity-resource type="data" reader-name="seed" loader="main" location="data/example/ExampleTypeData.xml"/>
|
||||
<entity-resource type="data" reader-name="seed" loader="main" location="data/example/ExampleSecurityPermissionSeedData.xml"/>
|
||||
<entity-resource type="data" reader-name="demo" loader="main" location="data/example/ExampleSecurityGroupDemoData.xml"/>
|
||||
<entity-resource type="data" reader-name="seed" loader="main" location="data/example/ExamplePortletData.xml"/>
|
||||
<entity-resource type="data" reader-name="seed" loader="main" location="data/example/ExamplePortalSeedData.xml"/>
|
||||
<entity-resource type="data" reader-name="seed" loader="main" location="data/example/ExampleHelpData.xml"/>
|
||||
<entity-resource type="data" reader-name="demo" loader="main" location="data/example/ExampleDemoData.xml"/>
|
||||
|
||||
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/ServiceReportsView.xml"/>
|
||||
|
||||
<service-resource type="model" loader="main" location="servicedef/services.xml"/>
|
||||
@@ -39,11 +47,13 @@ under the License.
|
||||
<webapp name="accounting"
|
||||
title="Accounting"
|
||||
server="default-server"
|
||||
position="5"
|
||||
location="webapp/accounting"
|
||||
base-permission="OFBTOOLS,ACCOUNTING"
|
||||
mount-point="/accounting"/>
|
||||
<webapp name="facility"
|
||||
title="Facility"
|
||||
position="3"
|
||||
description="FacilityComponentDescription"
|
||||
server="default-server"
|
||||
location="webapp/facility"
|
||||
@@ -51,6 +61,7 @@ under the License.
|
||||
mount-point="/facility"/>
|
||||
<webapp name="order"
|
||||
title="Order"
|
||||
position="4"
|
||||
description="OrderComponentDescription"
|
||||
server="default-server"
|
||||
location="webapp/ordermgr"
|
||||
@@ -59,6 +70,7 @@ under the License.
|
||||
|
||||
<webapp name="birt"
|
||||
title="BIRT"
|
||||
position="17"
|
||||
server="default-server"
|
||||
location="webapp/birt"
|
||||
base-permission="OFBTOOLS,WEBTOOLS"
|
||||
|
||||
@@ -19,7 +19,7 @@ under the License.
|
||||
-->
|
||||
|
||||
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/services.xsd">
|
||||
<description>OFBiz BIRT Services</description>
|
||||
<vendor>OFBiz</vendor>
|
||||
<version>1.0</version>
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
=== Report creation
|
||||
|
||||
==== Introduction
|
||||
|
||||
A flexible report is an OFBiz content of FLEXIBLE_REPORT type that allows a final user to make use of the reporting
|
||||
module to obtain flexible reports, ie reports which are created from an entity or view definition and even from a
|
||||
service. A flexible report is created from a Report Master (content REPORT_MASTER), and an optional XML override of the
|
||||
parent form.
|
||||
|
||||
==== Pre-requisite
|
||||
|
||||
* OFBiz framework
|
||||
* The Birt plugin
|
||||
* The BIRT Report Designer: <<#_using_the_birt_report_designer,Using the Birt Report Designer>>
|
||||
|
||||
'''
|
||||
|
||||
. Get to Birt component in OFBiz image:Birt-Menus.png[Birt menus]
|
||||
. Click on the "Flexible Report" menu (varies depending on themes)
|
||||
. Click on the "Generate report" button, you get to this screen:
|
||||
. Fill the form: image:Example-Report.png[Example Report]
|
||||
** The list "Choose report topic" will let you choose among predefined report masters your topic of interest.
|
||||
** The report name is a simple short name from which the file name will be generated.
|
||||
** The description is a short description which will allow you to recognise the report and its topic.
|
||||
** The box "Generate filters in design" will add in the design the visualisation of the filters filled in the filtering form.
|
||||
|
||||
Once the form is validated, OFBiz will show you the "Edit Report" screen.
|
||||
|
||||
image::Edit-Report-screen.png[Edit Report screen]
|
||||
|
||||
==== Report information
|
||||
|
||||
This first panel allows you to change the report description and status. Actually it does not make sense changing the
|
||||
status to published before having downloaded the .rptdesign file (Birt Report Designer file) from the server (in
|
||||
database), edited and uploaded it back to the server. This is explained in the section below. Changing the status allows
|
||||
users to use your reports. But if you publish without any change the report will render as empty.
|
||||
|
||||
==== The .rptdesign report file: download, edit, upload and publish it
|
||||
|
||||
To really use the report you need to download the .rptdesign file from the server in a location from where you can edit
|
||||
it with the BIRT Report Designer. So you need to install first the BIRT Report Designer. Then you can edit the
|
||||
.rptdesign file in the BIRT Report Designer. For that refer to <<#_using_the_birt_report_designer,Using the Birt Report
|
||||
Designer>>.
|
||||
|
||||
===== Editing the downloaded file
|
||||
|
||||
Once you installed the BIRT Report Designer and have downloaded the .rptdesign file, you can edit it with the Birt
|
||||
Report Designer. When you have edited it suiting your needs you must upload it to the server for your changes to be
|
||||
taken into account by OFBiz.
|
||||
|
||||
*This is when things begin to be really interesting*. You can then test your report using the "Preview" panel. There you
|
||||
can temporarily filter the result, and use the export format you prefer, once done click "Send". You can then decide to
|
||||
change the report content in the Birt Report Designer again or keep your changes. Once done in the Birt Report Designer,
|
||||
simply select the changed file to upload, and upload it again. You can re-test your changes and continue until you
|
||||
really get what you want! You can then publish the report to allow users to select and use it. There are 2 ways to
|
||||
publish a report from the "Manage reports" screen or directly in the "Report information" panel. We will see the "Manage
|
||||
reports" screen below.
|
||||
|
||||
==== Filters Overriding
|
||||
|
||||
You may want to overide the default filters. You can then use the Xml "Override filters" panel to override and
|
||||
personnalize the form, once done click "Save". If you ignore that step, it will *NOT* prevent the report creation, *it
|
||||
is already done*, it will just be with the generic filtering form inherited from the master from.
|
||||
|
||||
NOTE: if no preview is available, it is usually due to a mistake in the master form code. You can edit it in the
|
||||
database.
|
||||
|
||||
==== Manage reports
|
||||
|
||||
The "Manage reports" button get you to a screen which allows to edit (get back to current page), publish or delete a
|
||||
report.
|
||||
|
||||
==== Use a report
|
||||
|
||||
Users can select and use any published report from that screen. When they select a report they then get the same
|
||||
"Preview" Panel and can do the same things than in the "Edit Report" screen. Refer users to
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
=== Using a flexible report
|
||||
|
||||
==== Introduction
|
||||
|
||||
NOTE: this feature will be officially available with the R17.12 branch first release
|
||||
|
||||
A flexible report is an OFBiz content of FLEXIBLE_REPORT type which allows the final user to obtain reports using the
|
||||
Birt reporting module. It will be produced at a specific time of your choosing, with your chosen output format,
|
||||
filtering the data with a few parameters defined during report design creation.
|
||||
|
||||
==== Pre-requisite
|
||||
|
||||
* OFBiz
|
||||
* The Birt plugin
|
||||
* Pre-published reports created from report masters
|
||||
|
||||
==== Using the report
|
||||
|
||||
. go to the Birt component or to another page harboring reports.
|
||||
. In the Birt component, click "Use a report".
|
||||
. Select your report and hit "Send".
|
||||
. The next screen will allow you to filter your data through a set of pre-defined criteria. Should you leave it empty, you will retrieve unfiltered data.
|
||||
. Select the desired export format
|
||||
. Upon validation, your report is now loaded and can be saved.
|
||||
|
||||
@@ -1,27 +1,35 @@
|
||||
# Report master creation #
|
||||
=== Report master creation
|
||||
|
||||
## Introduction ##
|
||||
A report master is an OFBiz content which allows a user to generate data reports. It defines data connexion, and a general filtering form for data. It can be based on an entity, a dedicated service, or in a wider sense on any shape a data connexion can take and return back a map.
|
||||
==== Introduction
|
||||
|
||||
## Pre-requisite ##
|
||||
- OFBiz
|
||||
- Birt plugin
|
||||
NOTE: this feature will be officially available with the R17.12 branch first release
|
||||
|
||||
## Report Master based on an entity/view ##
|
||||
A report master is an OFBiz content which allows a user to generate data reports.
|
||||
It defines data connexion, and a general filtering form for data.
|
||||
It can be based on an entity, a dedicated service, or in a wider sense on any shape
|
||||
a data connexion can take and return back a map.
|
||||
|
||||
==== Pre-requisite
|
||||
|
||||
1. Create or choice a database entity or view
|
||||
2. Create the general filtering form within the file plugins/birt/widget/birt/BirtMasterForms.xml. The only informations to be changed are entity-name and form name.
|
||||
* OFBiz
|
||||
* Birt plugin
|
||||
|
||||
```xml
|
||||
<form name="CTNT_MASTER_EXAMPLE" type="single" extends="AbstractFlexibleReportSearchForm">
|
||||
==== Report Master based on an entity/view
|
||||
|
||||
. Create or choice a database entity or view
|
||||
. Create the general filtering form within the file plugins/birt/widget/birt/BirtMasterForms.xml. The only informations to be changed are entity-name and form name.
|
||||
[source,xml]
|
||||
----
|
||||
<form name="CTNT_MASTER_EXAMPLE" type="single" extends="AbstractFlexibleReportSearchForm">
|
||||
<auto-fields-entity entity-name="Example" default-field-type="find"/>
|
||||
</form>
|
||||
```
|
||||
----
|
||||
[start=3]
|
||||
. Add the informations about this Master in the database using the file
|
||||
plugins/birt/data/BirtMasterData.xml
|
||||
|
||||
3. Add the informations about this Master in the database using the file plugins/birt/data/BirtMasterData.xml
|
||||
|
||||
```xml
|
||||
[source,xml]
|
||||
----
|
||||
<DataResource dataResourceId="DR_MASTER_EXAMPLE" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="FORM_COMBINED" />
|
||||
<ElectronicText dataResourceId="DR_MASTER_EXAMPLE">
|
||||
<textData><![CDATA[<!--default domain form-->
|
||||
@@ -32,53 +40,75 @@ A report master is an OFBiz content which allows a user to generate data reports
|
||||
<Content contentId="CTNT_MASTER_EXAMPLE" contentTypeId="REPORT_MASTER" dataResourceId="DR_MASTER_EXAMPLE" statusId="CTNT_PUBLISHED" contentName="Example" description="Master Content for Example" />
|
||||
<!-- Data retrieval will be done using perform find on entity Example-->
|
||||
<ContentAttribute contentId="CTNT_MASTER_EXAMPLE" attrName="Entity" attrValue="Example"/>
|
||||
```
|
||||
----
|
||||
|
||||
The form in the database is the form that will allow users to change form parameters. You can add any field you desire. Some field names are though reserved: reportContentId, overrideFilters, entityViewName, birtContentType.
|
||||
The form in the database is the form that will allow users to change form parameters.
|
||||
You can add any field you desire. Some field names are though reserved: reportContentId, overrideFilters,
|
||||
entityViewName, birtContentType.
|
||||
[start=4]
|
||||
. Add in the file content/config/contentEntityLabels.xml the Property that will allow translation
|
||||
for your report master description.
|
||||
|
||||
4. Add in the file content/config/contentEntityLabels.xml the Property that will allow translation for your report master description.
|
||||
|
||||
```xml
|
||||
[source,xml]
|
||||
----
|
||||
<property key="Content.description.CTNT_MASTER_EXAMPLE">
|
||||
<value xml:lang="en">Example</value>
|
||||
<value xml:lang="fr">Exemple</value>
|
||||
</property>
|
||||
```
|
||||
----
|
||||
|
||||
Your Report Master is created ! You can now create reports using it.
|
||||
Your Report Master is created ! You can now create reports using it.
|
||||
|
||||
## Report Master based on a service ##
|
||||
Create in plugins/birt/src/org/ofbiz/birt/birt/BirtMasterReportServices.java 2 dedicated services (see examples there)
|
||||
==== Report Master based on a service
|
||||
|
||||
1. The first one, which name will return 4 items:
|
||||
* an object of type Map<String, String> called dataMap. **Keys**: data field names. **Values**: data types (OFBiz types).
|
||||
* an object of type Map<String, String> called fieldDisplayLabels. **Keys**: data field names. **Values**: the names displayed to the user. This output is optional, should it be missing, the keys will be displayed.
|
||||
* an object of type Map<String, String> called filterMap. **Keys**: data filtering field names (exact names used for the form fields). **Values**: data type (OFBiz type). This output is optional, if missing, filters can not be displayed on the report.
|
||||
* an object of type Map<String, String> called filterDisplayLabels. **Keys**: data filtering field names (exact names used for the form fields). **Values**: names to be displayed to the user. This output is optional, should it be missing, the keys will be displayed.
|
||||
2. The second service will actually get the data. It receives an object (Object type) called reportContext. From this object, you can obtain the map parameters using the following code:
|
||||
In plugins/birt/src/main/java/org/apache/ofbiz/birt/flexible/BirtMasterReportServices.java there is 2 sets of dedicated services (see examples there)
|
||||
|
||||
```java
|
||||
Map<String, Object> parameters = (Map<String, Object>) reportContext.getParameterValue("parameters");
|
||||
```
|
||||
. In each set the first service, will return 4 items:
|
||||
** an object of type Map<String, String> called dataMap.
|
||||
*Keys*: data field names. *Values*: data types (OFBiz types).
|
||||
** an object of type Map<String, String> called fieldDisplayLabels.
|
||||
*Keys*: data field names. *Values*: the names displayed to the user.
|
||||
This output is optional, should it be missing, the keys will be displayed.
|
||||
** an object of type Map<String, String> called filterMap.
|
||||
*Keys*: data filtering field names (exact names used for the form fields).
|
||||
*Values*: data type (OFBiz type).
|
||||
This output is optional, if missing, filters can not be displayed on the report.
|
||||
** an object of type Map<String, String> called filterDisplayLabels.
|
||||
*Keys*: data filtering field names (exact names used for the form fields).
|
||||
*Values*: names to be displayed to the user.
|
||||
This output is optional, should it be missing, the keys will be displayed.
|
||||
. The second service will actually get the data. It receives an object (Object type) called reportContext.
|
||||
From this object, you can obtain the map parameters using the following code:
|
||||
|
||||
[source,java]
|
||||
----
|
||||
Map<String, Object> parameters = UtilGenerics.checkMap(reportContext.getParameterValue("parameters"));
|
||||
----
|
||||
|
||||
This Map will give access fields of the filtering form.
|
||||
This service will return a list called list of type List<GenericValue>, containing the data. A Map<String, Object> would also do.
|
||||
This service will return a list of type List<GenericValue>, containing the data.
|
||||
A Map<String, Object> would also do.
|
||||
|
||||
3. create the parent form in the file plugins/birt/widget/birt/BirtMasterForms.xml.
|
||||
Field names created here must be then names used on the Map parameters of the previous service, and also corresponding to the map filterMap.
|
||||
Then,
|
||||
|
||||
```xml
|
||||
. create the parent form in the file plugins/birt/widget/birt/BirtMasterForms.xml.
|
||||
Field names created here must be the names used on the Map parameters of the previous service,
|
||||
and also corresponding to the map filterMap.
|
||||
|
||||
[source,xml]
|
||||
----
|
||||
<form name="CTNT_MASTER_TURNOVER" type="single" extends="AbstractFlexibleReportSearchForm">
|
||||
<field name="fromDate"><date-time type="date"/></field>
|
||||
<field name="thruDate"><date-time type="date"/></field>
|
||||
<field name="productCategoryId"><lookup target-form-name="LookupProductCategory"/></field>
|
||||
<field name="productStoreId"><lookup target-form-name="LookupProductStore"/></field>
|
||||
</form>
|
||||
```
|
||||
----
|
||||
[start=2]
|
||||
. Create the master in database following.
|
||||
|
||||
4. Create the master in database following.
|
||||
|
||||
```xml
|
||||
[source,xml]
|
||||
----
|
||||
<CustomMethod customMethodId="CM_FB_TURNOVER" customMethodTypeId="FLEXIBLE_BIRT" customMethodName="flexibleReportTurnOver" description="service to resolve invoice for turnover report domain"/>
|
||||
<DataResource dataResourceId="DR_MASTER_TURNOVER" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="FORM_COMBINED" />
|
||||
<ElectronicText dataResourceId="DR_MASTER_TURNOVER">
|
||||
@@ -93,21 +123,28 @@ Field names created here must be then names used on the Map parameters of the pr
|
||||
Second, the custom method gives the service to retrieve all data in the report design.
|
||||
Here : flexibleReportTurnOverPrepareFields (customMethodName + "prepareFields") then flexibleReportTurnOver-->
|
||||
<ContentAttribute contentId="CTNT_MASTER_TURNOVER" attrName="Service" attrValue="default"/>
|
||||
```
|
||||
----
|
||||
|
||||
The form in the database is the form that will allow users to change form parameters. You can add any field you desire. Some field names are reserved: reportContentId, overrideFilters, entityViewName, birtContentType.
|
||||
The form in the database is the form that will allow users to change form parameters.
|
||||
You can add any field you desire. Some field names are reserved: reportContentId, overrideFilters,
|
||||
entityViewName, birtContentType.
|
||||
[start=3]
|
||||
. Import these data in the base using Webtools XML import (or the longer "gradlew 'ofbiz -l readers=seed,ext' command).
|
||||
. Add in the file content/config/contentEntityLabels.xml the Property which will translate your report Master description.
|
||||
|
||||
5. Import these data in the base using Webtools XML import (or the longer "gradlew 'ofbiz -l readers=seed,ext' command).
|
||||
6. Add in the file content/config/contentEntityLabels.xml the Property which will translate your report Master description.
|
||||
|
||||
```xml
|
||||
[source,xml]
|
||||
----
|
||||
<property key="Content.description.CTNT_MASTER_TURNOVER">
|
||||
<value xml:lang="en">Turnover (product)</value>
|
||||
<value xml:lang="fr">Rotation (des stocks)</value>
|
||||
</property>
|
||||
```
|
||||
----
|
||||
|
||||
==== Entities diagram
|
||||
|
||||
Entities diagram
|
||||
-----------------
|
||||
The following diagram shows the Entities linked with Content to store report_master/report.
|
||||

|
||||
|
||||
image::Report-Master.png[Report Master]
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
=== Using the Birt Report Designer
|
||||
|
||||
==== Introduction
|
||||
|
||||
NOTE: this feature will be officially available with the R17.12 branch first release
|
||||
|
||||
The creation of a flexible report goes through a design step of the initial flexible report output under the Birt Report
|
||||
Designer.
|
||||
|
||||
This document describes the simplest designs to connect to the data. It is not exhaustive, and simply attempts to cover
|
||||
basic needs. You will find much more documentation online. In our approach, the connection to the data is generated
|
||||
automatically by OFBiz, only the design part of the report will be discussed.
|
||||
|
||||
==== Installing the BIRT Report Designer
|
||||
|
||||
Installing the BIRT Report Designer is easy. If you use Eclipse, you can include it as a plugin. You can also install
|
||||
the whole BIRT Report Designer. I use Eclipse but I prefer the second way, to not mix things. So simply download and
|
||||
install the whole all-in-one thing. Or install the plugin if you prefer and use its "Report Design" view which allows to
|
||||
edit .rptdesign files.
|
||||
|
||||
NOTE: if you installed the BIRT Report Designer under say, a Birt directory, then by default the reports will be
|
||||
accessed from the Birt\workspace\Report Builder directly and this is where you should put the .rptdesign files when
|
||||
downloading them. Your mileage may wary...
|
||||
|
||||
==== Different areas of the screen and their role
|
||||
|
||||
===== Navigator - Report Builder
|
||||
|
||||
This is where you should find the .rptdesign files you downloaded.
|
||||
|
||||
image::Report-Builder.png[Report Builder]
|
||||
|
||||
===== Data Explorer
|
||||
|
||||
The Data Explorer defaults to the right of your screen. It gives you access to two things. The data fields available for
|
||||
the report, and the filter fields that can be used for this report.
|
||||
|
||||
image::Data-Explorer.png[Data Explorer]
|
||||
|
||||
===== Palette
|
||||
|
||||
The palette provides the various tools you can insert in the report. Simple text, image, table of data, layout table,
|
||||
graph, aggregation, etc. All objects are added to the report by drag & drop.
|
||||
|
||||
image::Palette.png[Palette]
|
||||
|
||||
===== Tabs
|
||||
|
||||
At the right bottom of the window is a series of five tabs.
|
||||
|
||||
We will use two:
|
||||
|
||||
* Layout, which will allow most of the design.
|
||||
* Master Page, which will give access by its owners to standard parameters such as the orientation or size of the report.
|
||||
|
||||
The preview is not accessible because it can not be executed outside of OFBiz. Any changes to the scripts will be erased
|
||||
during the upload in OFBiz.
|
||||
|
||||
===== Simple design without break
|
||||
|
||||
The simplest possible design is to insert in a table (table in the palette), a part or all of the data set data fields.
|
||||
To do this, right-click on Data Set in the Data Explorer \-> Insert in Layout, and then select the fields you want to
|
||||
see appear.
|
||||
|
||||
===== Simple design with break
|
||||
|
||||
A break is a collection of data made by Birt from the data. It permits to classify according to a field, and to give
|
||||
details for each category, then to aggregate certain fields, etc.
|
||||
|
||||
. Insert a table (Table) in the report \-> OK
|
||||
. Right-click on the table \-> Edit Data Binding, select all fields
|
||||
. In the data set field, change "None" in "Data Set", validate
|
||||
. Right-click the table \-> Insert Group. Configure your group, eg: image:Group.png[group]
|
||||
. Your table then has five lines:
|
||||
** A global title line
|
||||
** A title line of the group
|
||||
** A group detail line
|
||||
** A footer of the group
|
||||
** A global footer line
|
||||
. Then insert some elements in the design: in the global header, everything that does not depend on the group, for example the title of the report. In the header of the group, everything that is common to the whole group and that you want to see in its title. In the details, the fields that may appear for each group line. As in the image below, the fields might be inserted by Copy/Paste from the Data Set, and titles via a text element of the palette. You can add lines and columns by right clicking on the end of the line (gray rectangle when the table is selected), etc.
|
||||
|
||||
image::Design-with-break.png[Design with break]
|
||||
====== Construction of aggregation
|
||||
|
||||
The aggregations may be on the whole table, or only on a group. They are characterized by an expression to aggregate
|
||||
(made up of different data fields), a possible filter on the data lines, and an aggregation function, eg:
|
||||
|
||||
image::Aggregation-builder.png[Aggregation builder]
|
||||
|
||||
====== Expression builder
|
||||
|
||||
The _fx_ (for expression and filter) buttons are used to open a complex expression construction window. It is possible
|
||||
to use predefined functions, Javascript, data fields, already built aggregations, and so on. This window can also be
|
||||
used by including a data element, which allows to construct non-aggregated data expressions.
|
||||
|
||||
image::Expression-builder.png[Expression builder]
|
||||
|
||||
Footer lines often allow you to place aggregations, such as sums on the group or table rows, eg
|
||||
|
||||
image::Design-with-break-complete.png[Design with break complete]
|
||||
|
||||
WARNING: any unused line must be deleted, otherwise it generates white spaces on the report.
|
||||
|
||||
==== Layout Management
|
||||
|
||||
===== General settings
|
||||
|
||||
Right button leads to Properties Editor tab at bottom. Then click on the Master Page tab, just above. In the Property
|
||||
Editor you will see a series of general properties that will allow you to modify the general form of the report.
|
||||
|
||||
===== Styles
|
||||
|
||||
By right-clicking on any item in the table, you have access to the menu of styles. From there they can be edited,
|
||||
applied, created. A style can be applied to the whole picture, to a row or column, to a cell, or to an element in that
|
||||
cell (text, data, ...).
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
////
|
||||
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.
|
||||
////
|
||||
= Birt Apache OFBiz® plugin
|
||||
The Apache OFBiz Project
|
||||
Release 17.12
|
||||
:imagesdir: ./images
|
||||
ifdef::backend-pdf[]
|
||||
:title-logo-image: image::OFBiz-Logo.svg[Apache OFBiz Logo, pdfwidth=4.25in, align=center]
|
||||
:source-highlighter: rouge
|
||||
endif::[]
|
||||
|
||||
The birt plugin is one of the OFBiz plugins.
|
||||
|
||||
== OFBiz Flexible Reports
|
||||
One of the functionalities of the birt plugin are the "OFBiz Flexible Reports"
|
||||
|
||||
There is an anounce with some history in the OFBiz blog:
|
||||
https://blogs.apache.org/ofbiz/entry/the-birt-flexible-reports-a[Reporting in Apache OFBiz® and the OFBiz Flexible Reports]
|
||||
|
||||
=== Technical Documentation
|
||||
include::_include/bt-creating reports.adoc[leveloffset=+1]
|
||||
include::_include/bt-using the birt report designer.adoc[leveloffset=+1]
|
||||
include::_include/bt-report master creation.adoc[leveloffset=+1]
|
||||
=== User documentation
|
||||
include::_include/bt-how to use flexible reports.adoc[leveloffset=+1]
|
||||
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 196 KiB |
@@ -22,7 +22,6 @@ import java.io.File;
|
||||
import java.io.OutputStream;
|
||||
import java.sql.SQLException;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.logging.Level;
|
||||
@@ -219,7 +218,6 @@ public final class BirtWorker {
|
||||
throw new GenericServiceException("Service and entity name cannot be both empty");
|
||||
}
|
||||
|
||||
String modelType = null;
|
||||
String modelElementName = null;
|
||||
String workflowType = null;
|
||||
if (UtilValidate.isEmpty(serviceName)) {
|
||||
@@ -230,8 +228,6 @@ public final class BirtWorker {
|
||||
workflowType = "Service";
|
||||
}
|
||||
|
||||
//resolve the path location to store the RptDesign file, check if the file already exists under this name and increment index name if needed
|
||||
List<GenericValue> listRptDesigns = null;
|
||||
EntityCondition entityConditionRpt = EntityCondition.makeCondition("contentTypeId", "RPTDESIGN");
|
||||
String templatePathLocation = BirtUtil.resolveTemplatePathLocation();
|
||||
File templatePathLocationDir = new File(templatePathLocation);
|
||||
@@ -263,7 +259,10 @@ public final class BirtWorker {
|
||||
String reportForm = (String) resultElectronicText.get("textData");
|
||||
if (!reportForm.startsWith("<?xml")) {
|
||||
StringBuffer xmlHeaderForm = new StringBuffer("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
|
||||
xmlHeaderForm.append("<forms xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"http://ofbiz.apache.org/dtds/widget-form.xsd\">");
|
||||
xmlHeaderForm.append("<forms xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" "
|
||||
+ "xmlns=\"http://ofbiz.apache.org/Widget-Form\" "
|
||||
+ "xsi:schemaLocation=\"http://ofbiz.apache.org/Widget-Form "
|
||||
+ "http://ofbiz.apache.org/dtds/widget-form.xsd\">");
|
||||
xmlHeaderForm.append(reportForm);
|
||||
xmlHeaderForm.append("</forms>");
|
||||
reportForm = xmlHeaderForm.toString();
|
||||
@@ -272,20 +271,45 @@ public final class BirtWorker {
|
||||
reportForm = reportFormExpd.expandString(context);
|
||||
|
||||
//create content and dataressource strucutre
|
||||
dispatcher.runSync("createDataResource", UtilMisc.toMap("dataResourceId", dataResourceId, "dataResourceTypeId", "ELECTRONIC_TEXT", "dataTemplateTypeId", "FORM_COMBINED", "userLogin", userLogin));
|
||||
dispatcher.runSync("createElectronicTextForm", UtilMisc.toMap("dataResourceId", dataResourceId, "textData", reportForm, "userLogin", userLogin));
|
||||
dispatcher.runSync("createContent", UtilMisc.toMap("contentId", contentId, "contentTypeId", "FLEXIBLE_REPORT", "dataResourceId", dataResourceId, "statusId", "CTNT_IN_PROGRESS", "contentName", reportName, "description", description, "userLogin", userLogin));
|
||||
Map<String, Object> result = null;
|
||||
result = dispatcher.runSync("createDataResource", UtilMisc.toMap("dataResourceId", dataResourceId, "dataResourceTypeId", "ELECTRONIC_TEXT", "dataTemplateTypeId", "FORM_COMBINED", "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
throw new GeneralException(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
result = dispatcher.runSync("createElectronicTextForm", UtilMisc.toMap("dataResourceId", dataResourceId, "textData", reportForm, "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
throw new GeneralException(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
result = dispatcher.runSync("createContent", UtilMisc.toMap("contentId", contentId, "contentTypeId", "FLEXIBLE_REPORT", "dataResourceId", dataResourceId, "statusId", "CTNT_IN_PROGRESS", "contentName", reportName, "description", description, "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
throw new GeneralException(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
String dataResourceIdRpt = delegator.getNextSeqId("DataResource");
|
||||
String contentIdRpt = delegator.getNextSeqId("Content");
|
||||
String rptDesignName = BirtUtil.encodeReportName(reportName);
|
||||
if (!rptDesignName.endsWith(".rptdesign")) {
|
||||
rptDesignName = rptDesignName.concat(".rptdesign");
|
||||
}
|
||||
dispatcher.runSync("createDataResource", UtilMisc.toMap("dataResourceId", dataResourceIdRpt, "dataResourceTypeId", "LOCAL_FILE", "mimeTypeId", "text/rptdesign", "dataResourceName", rptDesignName, "objectInfo", templateFileLocation, "userLogin", userLogin));
|
||||
dispatcher.runSync("createContent", UtilMisc.toMap("contentId", contentIdRpt, "contentTypeId", "RPTDESIGN", "dataResourceId", dataResourceIdRpt, "statusId", "CTNT_PUBLISHED", "contentName", reportName, "description", description + " (.rptDesign file)", "userLogin", userLogin));
|
||||
dispatcher.runSync("createContentAssoc", UtilMisc.toMap("contentId", masterContentId, "contentIdTo", contentId, "contentAssocTypeId", "SUB_CONTENT", "userLogin", userLogin));
|
||||
dispatcher.runSync("createContentAssoc", UtilMisc.toMap("contentId", contentId, "contentIdTo", contentIdRpt, "contentAssocTypeId", "SUB_CONTENT", "userLogin", userLogin));
|
||||
dispatcher.runSync("createContentAttribute", UtilMisc.toMap("contentId", contentId, "attrName", workflowType, "attrValue", modelElementName, "userLogin", userLogin));
|
||||
result = dispatcher.runSync("createDataResource", UtilMisc.toMap("dataResourceId", dataResourceIdRpt, "dataResourceTypeId", "LOCAL_FILE", "mimeTypeId", "text/rptdesign", "dataResourceName", rptDesignName, "objectInfo", templateFileLocation, "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
throw new GeneralException(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
result = dispatcher.runSync("createContent", UtilMisc.toMap("contentId", contentIdRpt, "contentTypeId", "RPTDESIGN", "dataResourceId", dataResourceIdRpt, "statusId", "CTNT_PUBLISHED", "contentName", reportName, "description", description + " (.rptDesign file)", "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
throw new GeneralException(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
result = dispatcher.runSync("createContentAssoc", UtilMisc.toMap("contentId", masterContentId, "contentIdTo", contentId, "contentAssocTypeId", "SUB_CONTENT", "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
throw new GeneralException(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
result = dispatcher.runSync("createContentAssoc", UtilMisc.toMap("contentId", contentId, "contentIdTo", contentIdRpt, "contentAssocTypeId", "SUB_CONTENT", "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
throw new GeneralException(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
result = dispatcher.runSync("createContentAttribute", UtilMisc.toMap("contentId", contentId, "attrName", workflowType, "attrValue", modelElementName, "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
throw new GeneralException(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
return contentId;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ import org.eclipse.birt.report.engine.api.EngineConfig;
|
||||
import org.eclipse.birt.report.engine.api.IReportEngine;
|
||||
import org.eclipse.birt.report.engine.api.IReportEngineFactory;
|
||||
import org.apache.ofbiz.base.container.Container;
|
||||
import org.apache.ofbiz.base.container.ContainerConfig;
|
||||
import org.apache.ofbiz.base.container.ContainerException;
|
||||
import org.apache.ofbiz.base.start.StartupCommand;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
|
||||
@@ -44,11 +44,10 @@ import org.apache.ofbiz.birt.BirtFactory;
|
||||
import org.apache.ofbiz.birt.BirtWorker;
|
||||
import org.apache.ofbiz.common.email.NotificationServices;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.apache.ofbiz.security.Security;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.widget.model.ThemeFactory;
|
||||
import org.apache.ofbiz.widget.renderer.ScreenRenderer;
|
||||
@@ -91,6 +90,9 @@ public class BirtEmailServices {
|
||||
String birtImageDirectory = (String) serviceContext.remove(BirtWorker.getBirtImageDirectory());
|
||||
String birtContentType = (String) serviceContext.remove(BirtWorker.getBirtContentType());
|
||||
VisualTheme visualTheme = (VisualTheme) context.get("visualTheme");
|
||||
if (visualTheme == null) {
|
||||
visualTheme = ThemeFactory.resolveVisualTheme(null);
|
||||
}
|
||||
if (visualTheme == null) visualTheme = ThemeFactory.resolveVisualTheme(null);
|
||||
if (bodyParameters == null) {
|
||||
bodyParameters = MapStack.create();
|
||||
@@ -257,9 +259,15 @@ public class BirtEmailServices {
|
||||
Map<String, Object> result = ServiceUtil.returnSuccess();
|
||||
try {
|
||||
if (isMultiPart) {
|
||||
dispatcher.runSync("sendMailMultiPart", serviceContext);
|
||||
Map<String, Object> resultMap = dispatcher.runSync("sendMailMultiPart", serviceContext);
|
||||
if (ServiceUtil.isError(resultMap)) {
|
||||
return ServiceUtil.returnError(ServiceUtil.getErrorMessage(resultMap));
|
||||
}
|
||||
} else {
|
||||
dispatcher.runSync("sendMail", serviceContext);
|
||||
Map<String, Object> resultMap = dispatcher.runSync("sendMail", serviceContext);
|
||||
if (ServiceUtil.isError(resultMap)) {
|
||||
return ServiceUtil.returnError(ServiceUtil.getErrorMessage(resultMap));
|
||||
}
|
||||
}
|
||||
} catch (GenericServiceException e) {
|
||||
String errMsg = UtilProperties.getMessage(resource, "BirtErrorInSendingEmail", UtilMisc.toMap("errorString", e.toString()), locale);
|
||||
|
||||
@@ -87,7 +87,7 @@ public class BirtMasterReportServices {
|
||||
}
|
||||
|
||||
public static Map<String, Object> workEffortPerPerson(DispatchContext dctx, Map<String, Object> context) {
|
||||
Delegator delegator = (Delegator) dctx.getDelegator();
|
||||
Delegator delegator = dctx.getDelegator();
|
||||
IReportContext reportContext = (IReportContext) context.get("reportContext");
|
||||
Map<String, Object> parameters = UtilGenerics.checkMap(reportContext.getParameterValue("parameters"));
|
||||
List<GenericValue> listWorkEffortTime = null;
|
||||
@@ -208,7 +208,7 @@ public class BirtMasterReportServices {
|
||||
}
|
||||
|
||||
public static Map<String, Object> turnOver(DispatchContext dctx, Map<String, Object> context) {
|
||||
Delegator delegator = (Delegator) dctx.getDelegator();
|
||||
Delegator delegator = dctx.getDelegator();
|
||||
Locale locale = (Locale) context.get("locale");
|
||||
IReportContext reportContext = (IReportContext) context.get("reportContext");
|
||||
Map<String, Object> parameters = UtilGenerics.checkMap(reportContext.getParameterValue("parameters"));
|
||||
|
||||
@@ -76,7 +76,6 @@ import org.eclipse.birt.report.model.api.SimpleMasterPageHandle;
|
||||
import org.eclipse.birt.report.model.api.SlotHandle;
|
||||
import org.eclipse.birt.report.model.api.VariableElementHandle;
|
||||
import org.eclipse.birt.report.model.api.activity.SemanticException;
|
||||
import org.eclipse.birt.report.model.elements.SimpleMasterPage;
|
||||
import org.w3c.dom.Document;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
@@ -136,6 +135,10 @@ public class BirtServices {
|
||||
String birtType = null;
|
||||
try {
|
||||
Map<String, Object> convertRes = dispatcher.runSync("convertFieldTypeToBirtType", UtilMisc.toMap("fieldType", fieldType, "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(convertRes)) {
|
||||
String errMsg = UtilProperties.getMessage(resource_error, "BirtErrorConversionFieldToBirtFailed", locale);
|
||||
return ServiceUtil.returnError(errMsg + ServiceUtil.getErrorMessage(convertRes));
|
||||
}
|
||||
birtType = (String) convertRes.get("birtType");
|
||||
if (UtilValidate.isEmpty(birtType)) {
|
||||
return ServiceUtil.returnError(UtilProperties.getMessage(resource_error, "BirtErrorConversionFieldToBirtFailed", locale));
|
||||
@@ -278,6 +281,9 @@ public class BirtServices {
|
||||
Map<String, Object> resultFormDisplay;
|
||||
try {
|
||||
resultFormDisplay = dispatcher.runSync("prepareFlexibleReportSearchFormToEdit", UtilMisc.toMap("reportContentId", reportContentId, "userLogin", userLogin, "locale", locale));
|
||||
if (ServiceUtil.isError(resultFormDisplay)) {
|
||||
return ServiceUtil.returnError(ServiceUtil.getErrorMessage(resultFormDisplay));
|
||||
}
|
||||
textForm = (String) resultFormDisplay.get("textForm");
|
||||
} catch (GenericServiceException e) {
|
||||
Debug.logError(e, module);
|
||||
@@ -311,12 +317,19 @@ public class BirtServices {
|
||||
try {
|
||||
GenericValue content = EntityQuery.use(delegator).from("Content").where("contentId", reportContentId).queryOne();
|
||||
String dataResourceId = content.getString("dataResourceId");
|
||||
StringBuffer newForm = new StringBuffer("<?xml version=\"1.0\" encoding=\"UTF-8\"?> <forms xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"http://ofbiz.apache.org/dtds/widget-form.xsd\">");
|
||||
StringBuffer newForm = new StringBuffer("<?xml version=\"1.0\" encoding=\"UTF-8\"?> <forms xmlns:xsi=\"http://www.w3"
|
||||
+ ".org/2001/XMLSchema-instance\" "
|
||||
+ "xmlns=\"http://ofbiz.apache.org/Widget-Form\" "
|
||||
+ "xsi:schemaLocation=\"http://ofbiz.apache.org/Widget-Form "
|
||||
+ "http://ofbiz.apache.org/dtds/widget-form.xsd\">");
|
||||
newForm.append(overrideFilters);
|
||||
newForm.append("</forms>");
|
||||
Document xmlForm = UtilXml.readXmlDocument(newForm.toString());
|
||||
dispatcher.runSync("updateElectronicTextForm", UtilMisc.toMap("dataResourceId", dataResourceId, "textData", UtilXml.writeXmlDocument(xmlForm),
|
||||
Map<String, Object> result = dispatcher.runSync("updateElectronicTextForm", UtilMisc.toMap("dataResourceId", dataResourceId, "textData", UtilXml.writeXmlDocument(xmlForm),
|
||||
"userLogin", userLogin, "locale", locale));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
return ServiceUtil.returnError(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
} catch (GeneralException | SAXException | ParserConfigurationException | IOException e) {
|
||||
Debug.logError(e, module);
|
||||
return ServiceUtil.returnError("Error in overrideReportForm service."); //TODO labelise
|
||||
@@ -412,7 +425,7 @@ public class BirtServices {
|
||||
if (customMethod == null) {
|
||||
return ServiceUtil.returnError("CustomMethod not exist : " + customMethodId); //TODO labelise
|
||||
}
|
||||
String customMethodName = (String) customMethod.getString("customMethodName");
|
||||
String customMethodName = customMethod.getString("customMethodName");
|
||||
if ("default".equalsIgnoreCase(serviceName)) {
|
||||
serviceName = customMethodName + "PrepareFields";
|
||||
}
|
||||
@@ -425,11 +438,14 @@ public class BirtServices {
|
||||
}
|
||||
contentId = BirtWorker.recordReportContent(delegator, dispatcher, context);
|
||||
String rptDesignFileName = BirtUtil.resolveRptDesignFilePathFromContent(delegator, contentId);
|
||||
Map<String, Object> resultService = dispatcher.runSync(serviceName, UtilMisc.toMap("locale", locale, "userLogin", userLogin));
|
||||
Map<String, String> dataMap = UtilGenerics.checkMap(resultService.get("dataMap"));
|
||||
Map<String, String> filterMap = UtilGenerics.checkMap(resultService.get("filterMap"));
|
||||
Map<String, String> fieldDisplayLabels = UtilGenerics.checkMap(resultService.get("fieldDisplayLabels"));
|
||||
Map<String, String> filterDisplayLabels = UtilGenerics.checkMap(resultService.get("filterDisplayLabels"));
|
||||
Map<String, Object> serviceResult = dispatcher.runSync(serviceName, UtilMisc.toMap("locale", locale, "userLogin", userLogin));
|
||||
if (ServiceUtil.isError(serviceResult)) {
|
||||
return ServiceUtil.returnError(ServiceUtil.getErrorMessage(serviceResult));
|
||||
}
|
||||
Map<String, String> dataMap = UtilGenerics.checkMap(serviceResult.get("dataMap"));
|
||||
Map<String, String> filterMap = UtilGenerics.checkMap(serviceResult.get("filterMap"));
|
||||
Map<String, String> fieldDisplayLabels = UtilGenerics.checkMap(serviceResult.get("fieldDisplayLabels"));
|
||||
Map<String, String> filterDisplayLabels = UtilGenerics.checkMap(serviceResult.get("filterDisplayLabels"));
|
||||
Map<String, Object> resultGeneration = dispatcher.runSync("createFlexibleReport", UtilMisc.toMap(
|
||||
"locale", locale,
|
||||
"dataMap", dataMap,
|
||||
@@ -577,7 +593,9 @@ public class BirtServices {
|
||||
try {
|
||||
for (String contentId : listContentId) {
|
||||
Map<String, Object> returnMap = dispatcher.runSync("deleteFlexibleReport", UtilMisc.toMap("contentId", contentId, "userLogin", userLogin, "locale", locale));
|
||||
ServiceUtil.isError(returnMap);
|
||||
if (ServiceUtil.isError(returnMap)) {
|
||||
return ServiceUtil.returnError(ServiceUtil.getErrorMessage(returnMap));
|
||||
}
|
||||
}
|
||||
} catch (GenericServiceException e) {
|
||||
Debug.logError(e, module);
|
||||
@@ -630,8 +648,14 @@ public class BirtServices {
|
||||
}
|
||||
try {
|
||||
delegator.removeByAnd("ContentAttribute", UtilMisc.toMap("contentId", contentId));
|
||||
dispatcher.runSync("removeContentAndRelated", UtilMisc.toMap("contentId", contentId, "userLogin", userLogin, "locale", locale));
|
||||
dispatcher.runSync("removeContentAndRelated", UtilMisc.toMap("contentId", contentIdRpt, "userLogin", userLogin, "locale", locale));
|
||||
Map<String, Object> result = dispatcher.runSync("removeContentAndRelated", UtilMisc.toMap("contentId", contentId, "userLogin", userLogin, "locale", locale));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
return ServiceUtil.returnError(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
result = dispatcher.runSync("removeContentAndRelated", UtilMisc.toMap("contentId", contentIdRpt, "userLogin", userLogin, "locale", locale));
|
||||
if (ServiceUtil.isError(result)) {
|
||||
return ServiceUtil.returnError(ServiceUtil.getErrorMessage(result));
|
||||
}
|
||||
} catch (GenericServiceException | GenericEntityException e) {
|
||||
Debug.logError(e, module);
|
||||
return ServiceUtil.returnError("Error in deleteFlexibleReport service."); //TODO labelise
|
||||
@@ -725,7 +749,7 @@ public class BirtServices {
|
||||
// user file is deleted straight away to prevent the use of the report as script entry (security)
|
||||
Path path = Paths.get(nameTempRpt);
|
||||
Files.deleteIfExists(path);
|
||||
} catch (Exception e) {
|
||||
} catch (DesignFileException | IOException e) {
|
||||
Debug.logError(e, module);
|
||||
return ServiceUtil.returnError(UtilProperties.getMessage(resource_error, "BirtErrorInuploadRptDesignNoFile", locale));
|
||||
}
|
||||
@@ -736,7 +760,7 @@ public class BirtServices {
|
||||
Iterator<DesignElementHandle> iterCube = cubesFromUser.iterator();
|
||||
|
||||
while (iterCube.hasNext()) {
|
||||
DesignElementHandle item = (DesignElementHandle) iterCube.next();
|
||||
DesignElementHandle item = iterCube.next();
|
||||
DesignElementHandle copy = item.copy().getHandle(item.getModule());
|
||||
try {
|
||||
designStored.getCubes().add(copy);
|
||||
@@ -752,7 +776,7 @@ public class BirtServices {
|
||||
Iterator<DesignElementHandle> iter = bodyFromUser.iterator();
|
||||
|
||||
while (iter.hasNext()) {
|
||||
DesignElementHandle item = (DesignElementHandle) iter.next();
|
||||
DesignElementHandle item = iter.next();
|
||||
DesignElementHandle copy = item.copy().getHandle(item.getModule());
|
||||
try {
|
||||
designStored.getBody().add(copy);
|
||||
@@ -777,7 +801,8 @@ public class BirtServices {
|
||||
List<DesignElementHandle> listMasterPages = designFromUser.getMasterPages().getContents();
|
||||
for (DesignElementHandle masterPage : listMasterPages) {
|
||||
if (masterPage instanceof SimpleMasterPageHandle) {
|
||||
designStored.getMasterPages().add((SimpleMasterPage) ((SimpleMasterPageHandle) masterPage).copy()); // TODO check what to use in place of add (deprecated)
|
||||
SimpleMasterPageHandle masterPageHandle = (SimpleMasterPageHandle) masterPage;
|
||||
designStored.getMasterPages().add(masterPageHandle.copy().getHandle(masterPage.getModule()));
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
@@ -805,7 +830,7 @@ public class BirtServices {
|
||||
@SuppressWarnings("unchecked")
|
||||
Iterator<DesignElementHandle> iterStored = stylesStored.iterator();
|
||||
while (iterStored.hasNext()) {
|
||||
DesignElementHandle item = (DesignElementHandle) iterStored.next();
|
||||
DesignElementHandle item = iterStored.next();
|
||||
listStyleNames.add(item.getName());
|
||||
}
|
||||
|
||||
@@ -814,7 +839,7 @@ public class BirtServices {
|
||||
|
||||
// adding to styles those which are not already present
|
||||
while (iterUser.hasNext()) {
|
||||
DesignElementHandle item = (DesignElementHandle) iterUser.next();
|
||||
DesignElementHandle item = iterUser.next();
|
||||
if (!listStyleNames.contains(item.getName())) {
|
||||
DesignElementHandle copy = item.copy().getHandle(item.getModule());
|
||||
try {
|
||||
|
||||
@@ -34,7 +34,6 @@ import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.condition.EntityConditionList;
|
||||
import org.apache.ofbiz.entity.condition.EntityExpr;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.eclipse.birt.report.engine.api.HTMLServerImageHandler;
|
||||
import org.eclipse.birt.report.engine.api.RenderOption;
|
||||
import org.eclipse.birt.report.model.api.elements.DesignChoiceConstants;
|
||||
|
||||
@@ -42,7 +41,6 @@ public final class BirtUtil {
|
||||
|
||||
public final static String module = BirtUtil.class.getName();
|
||||
|
||||
private final static HTMLServerImageHandler imageHandler = new HTMLServerImageHandler(); // TODO not used yet or to remove
|
||||
private final static Map<String, String> entityFieldTypeBirtTypeMap = MapUtils.unmodifiableMap(UtilMisc.toMap(
|
||||
"id", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
|
||||
"url", DesignChoiceConstants.COLUMN_DATA_TYPE_STRING,
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
package org.apache.ofbiz.birt.flexible;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -87,10 +86,10 @@ public class ReportDesignGenerator {
|
||||
public ReportDesignGenerator(Map<String, Object> context, DispatchContext dctx) throws GeneralException, SemanticException {
|
||||
locale = (Locale) context.get("locale");
|
||||
dataMap = UtilGenerics.checkMap(context.get("dataMap"));
|
||||
filterMap = (LinkedHashMap<String, String>) context.get("filterMap");
|
||||
filterMap = UtilGenerics.cast(context.get("filterMap"));
|
||||
serviceName = (String) context.get("serviceName");
|
||||
fieldDisplayLabels = UtilGenerics.checkMap(context.get("fieldDisplayLabels"));
|
||||
filterDisplayLabels = (LinkedHashMap<String, String>) context.get("filterDisplayLabels");
|
||||
filterDisplayLabels = UtilGenerics.cast(context.get("filterDisplayLabels"));
|
||||
rptDesignName = (String) context.get("rptDesignName");
|
||||
String writeFilters = (String) context.get("writeFilters");
|
||||
if (UtilValidate.isEmpty(dataMap)) {
|
||||
@@ -156,7 +155,7 @@ public class ReportDesignGenerator {
|
||||
} else {
|
||||
displayFilterName = filter;
|
||||
}
|
||||
ScalarParameterHandle scalParam = ((ElementFactory) factory).newScalarParameter(filter);
|
||||
ScalarParameterHandle scalParam = factory.newScalarParameter(filter);
|
||||
// scalParam.setDisplayName(displayFilterName); // TODO has no incidence at all right now, is only displayed when using birt's report parameter system. Not our case. I leave it here if any idea arise of how to translate these.
|
||||
scalParam.setPromptText(displayFilterName);
|
||||
if ("javaObject".equals(birtType)) { //Fields of type='blob' are rejected by Birt: org.eclipse.birt.report.model.api.metadata.PropertyValueException: The choice value "javaObject" is not allowed.
|
||||
|
||||
@@ -81,10 +81,10 @@ public class BirtViewHandler implements ViewHandler {
|
||||
|
||||
// add dynamic parameter for page
|
||||
if (UtilValidate.isEmpty(page) || "ExecuteFlexibleReport".equals(page)) {
|
||||
page = (String) request.getParameter("rptDesignFile");
|
||||
page = request.getParameter("rptDesignFile");
|
||||
}
|
||||
if (UtilValidate.isEmpty(page)) {
|
||||
Locale locale = (Locale) request.getLocale();
|
||||
Locale locale = request.getLocale();
|
||||
throw new ViewHandlerException(UtilProperties.getMessage(resource_error, "BirtErrorNotPublishedReport", locale));
|
||||
}
|
||||
if (page.startsWith("component://")) {
|
||||
@@ -112,13 +112,13 @@ public class BirtViewHandler implements ViewHandler {
|
||||
}
|
||||
|
||||
// set override content type
|
||||
String overrideContentType = (String) request.getParameter(BirtWorker.getBirtContentType());
|
||||
String overrideContentType = request.getParameter(BirtWorker.getBirtContentType());
|
||||
if (UtilValidate.isNotEmpty(overrideContentType)) {
|
||||
contentType = overrideContentType;
|
||||
}
|
||||
|
||||
// set output file name to get also file extension
|
||||
String outputFileName = (String) request.getParameter(BirtWorker.getBirtOutputFileName());
|
||||
String outputFileName = request.getParameter(BirtWorker.getBirtOutputFileName());
|
||||
if (UtilValidate.isNotEmpty(outputFileName)) {
|
||||
outputFileName = BirtUtil.encodeReportName(outputFileName);
|
||||
String format = BirtUtil.getMimeTypeFileExtension(contentType);
|
||||
|
||||
@@ -19,7 +19,7 @@ specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<web-app version="3.0">
|
||||
<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
|
||||
|
||||
<display-name>Apache OFBiz - Accounting Manager</display-name>
|
||||
<description>Accounting Manager Module of the Apache OFBiz Project</description>
|
||||
@@ -63,6 +63,11 @@ under the License.
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.ContextFilter</filter-class>
|
||||
</filter>
|
||||
<filter>
|
||||
<display-name>SameSiteFilter</display-name>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.SameSiteFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ControlFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
@@ -71,6 +76,10 @@ under the License.
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
|
||||
@@ -89,6 +98,10 @@ under the License.
|
||||
<url-pattern>/control/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>60</session-timeout><!-- in minutes -->
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
|
||||
@@ -18,7 +18,7 @@ specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<web-app version="3.0">
|
||||
<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
|
||||
<display-name>Apache OFBiz - BIRT Component</display-name>
|
||||
<description>BIRT Component of the Apache OFBiz Project</description>
|
||||
|
||||
@@ -35,16 +35,6 @@ under the License.
|
||||
<param-name>mainDecoratorLocation</param-name>
|
||||
<param-value>component://birt/widget/birt/BirtScreens.xml</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<description>Enable widget boundary comments. See org.apache.ofbiz.widget.model.ModelWidget.widgetBoundaryCommentsEnabled().</description>
|
||||
<param-name>widgetVerbose</param-name>
|
||||
<param-value>false</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<description>Remove unnecessary whitespace from HTML output.</description>
|
||||
<param-name>compressHTML</param-name>
|
||||
<param-value>false</param-value>
|
||||
</context-param>
|
||||
|
||||
<filter>
|
||||
<display-name>ControlFilter</display-name>
|
||||
@@ -64,6 +54,11 @@ under the License.
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.ContextFilter</filter-class>
|
||||
</filter>
|
||||
<filter>
|
||||
<display-name>SameSiteFilter</display-name>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.SameSiteFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ControlFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
@@ -72,6 +67,10 @@ under the License.
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
|
||||
@@ -142,6 +141,9 @@ under the License.
|
||||
<url-pattern>/extract</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>60</session-timeout><!-- in minutes -->
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
|
||||
@@ -19,7 +19,7 @@ specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<web-app version="3.0">
|
||||
<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
|
||||
|
||||
<display-name>Apache OFBiz - Facility Manager</display-name>
|
||||
<description>Facility Manager Module of the Apache OFBiz Project</description>
|
||||
@@ -63,6 +63,11 @@ under the License.
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.ContextFilter</filter-class>
|
||||
</filter>
|
||||
<filter>
|
||||
<display-name>SameSiteFilter</display-name>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.SameSiteFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ControlFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
@@ -71,6 +76,10 @@ under the License.
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
|
||||
@@ -100,6 +109,10 @@ under the License.
|
||||
<url-pattern>/ShippingAPI.dll</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>60</session-timeout><!-- in minutes -->
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
|
||||
@@ -19,7 +19,7 @@ specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<web-app version="3.0">
|
||||
<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
|
||||
|
||||
<display-name>Apache OFBiz - Order Manager</display-name>
|
||||
<description>Order Manager Module of the Apache OFBiz Project</description>
|
||||
@@ -58,6 +58,11 @@ under the License.
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.ContextFilter</filter-class>
|
||||
</filter>
|
||||
<filter>
|
||||
<display-name>SameSiteFilter</display-name>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<filter-class>org.apache.ofbiz.webapp.control.SameSiteFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ControlFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
@@ -66,6 +71,10 @@ under the License.
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>SameSiteFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
|
||||
<listener><listener-class>org.apache.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
|
||||
@@ -96,6 +105,10 @@ under the License.
|
||||
<url-pattern>/products/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>60</session-timeout><!-- in minutes -->
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
|
||||
@@ -44,8 +44,9 @@ under the License.
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>${(decoratedContent.subcontent.title.render)!"WebSite 1 Generic Title (Set subcontent 'title' on your content!)"}</title>
|
||||
<link rel="shortcut icon" href="/images/ofbiz.ico" />
|
||||
<script language="javascript" src="/common/js/util/fieldlookup.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/common/js/util/OfbizUtil.js" type="text/javascript"></script>
|
||||
<script src="/common/js/util/dompurify/dist/purify.min.js" type="application/javascript"></script>
|
||||
<script src="/common/js/util/fieldlookup.js" type="application/javascript"></script>
|
||||
<script src="/common/js/util/OfbizUtil.js" type="application/javascript"></script>
|
||||
<link rel="stylesheet" href="/ecommerce/images/ecommain.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="/ecommerce/images/blog.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="/contentimages/css/contentForum.css" type="text/css"/>
|
||||
@@ -125,8 +126,9 @@ under the License.
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>${(decoratedContent.subcontent.title.render)!"WebSite 2 Generic Title (Set subcontent 'title' on your content!)"}</title>
|
||||
<link rel="shortcut icon" href="/images/ofbiz.ico" />
|
||||
<script language="javascript" src="/common/js/util/fieldlookup.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="/common/js/util/OfbizUtil.js" type="text/javascript"></script>
|
||||
<script src="/common/js/util/dompurify/dist/purify.min.js" type="application/javascript"></script>
|
||||
<script src="/common/js/util/fieldlookup.js" type="application/javascript"></script>
|
||||
<script src="/common/js/util/OfbizUtil.js" type="application/javascript"></script>
|
||||
<link rel="stylesheet" href="/ecommerce/images/ecommain.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="/ecommerce/images/blog.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="/contentimages/css/contentForum.css" type="text/css"/>
|
||||
|
||||
@@ -21,7 +21,7 @@ under the License.
|
||||
<entity-engine-xml>
|
||||
<!-- Making the CmsSite as a default site in multisite setup -->
|
||||
<WebSite webSiteId="CmsSite" siteName="CMS Web Site" hostedPathAlias="cmssite" isDefault="Y"/>
|
||||
<Content contentId="CMSS_PPOINT" contentTypeId="WEB_SITE_PUB_PT" contentName="CMS Site Publish Point" description=""/>
|
||||
<Content contentId="CMSS_PPOINT" contentTypeId="WEB_SITE_PUB_PT" contentName="CMS Site Publish Point"/>
|
||||
<WebSiteContent webSiteId="CmsSite" contentId="CMSS_PPOINT" webSiteContentTypeId="PUBLISH_POINT" fromDate="2001-01-01 00:00:00"/>
|
||||
|
||||
<!-- Main Decorator -->
|
||||
@@ -41,11 +41,11 @@ under the License.
|
||||
<Content contentId="CMSS_HHEAD" contentTypeId="DOCUMENT" contentName="CMS Site HTML Head" dataResourceId="CMSS_HHEAD"/>
|
||||
<ContentPurpose contentId="CMSS_HHEAD" contentPurposeTypeId="SECTION"/>
|
||||
|
||||
<DataResource dataResourceId="FIELD_LOOKUP_JS" dataResourceTypeId="LINK" mimeTypeId="text/js" objectInfo="/common/js/util/fieldlookup.js"/>
|
||||
<DataResource dataResourceId="FIELD_LOOKUP_JS" dataResourceTypeId="LINK" mimeTypeId="application/javascript" objectInfo="/common/js/util/fieldlookup.js"/>
|
||||
<Content contentId="FIELD_LOOKUP_JS" contentTypeId="DOCUMENT" contentName="Field Lookup JS" dataResourceId="FIELD_LOOKUP_JS"/>
|
||||
<ContentAssoc contentId="CMSS_HHEAD" contentIdTo="FIELD_LOOKUP_JS" sequenceNum="1" contentAssocTypeId="SUB_CONTENT" mapKey="js" fromDate="2014-10-02 00:00:00"/>
|
||||
|
||||
<DataResource dataResourceId="OFBIZ_UTIL_JS" dataResourceTypeId="LINK" mimeTypeId="text/js" objectInfo="/common/js/util/OfbizUtil.js"/>
|
||||
<DataResource dataResourceId="OFBIZ_UTIL_JS" dataResourceTypeId="LINK" mimeTypeId="application/javascript" objectInfo="/common/js/util/OfbizUtil.js"/>
|
||||
<Content contentId="OFBIZ_UTIL_JS" contentTypeId="DOCUMENT" contentName="OFBiz Util JS" dataResourceId="OFBIZ_UTIL_JS"/>
|
||||
<ContentAssoc contentId="CMSS_HHEAD" contentIdTo="OFBIZ_UTIL_JS" sequenceNum="2" contentAssocTypeId="SUB_CONTENT" mapKey="js" fromDate="2014-10-02 00:00:00"/>
|
||||
|
||||
@@ -217,7 +217,7 @@ under the License.
|
||||
|
||||
<!-- =========================official OFBiz website ============================================ -->
|
||||
<WebSite webSiteId="OfbizSite" siteName="OFBiz Web Site"/>
|
||||
<Content contentId="OFBIZ_PPOINT" contentTypeId="WEB_SITE_PUB_PT" contentName="OFBiz Site Publish Point" description=""/>
|
||||
<Content contentId="OFBIZ_PPOINT" contentTypeId="WEB_SITE_PUB_PT" contentName="OFBiz Site Publish Point"/>
|
||||
<WebSiteContent webSiteId="OfbizSite" contentId="OFBIZ_PPOINT" webSiteContentTypeId="PUBLISH_POINT" fromDate="2001-01-01 00:00:00"/>
|
||||
<DataResource dataResourceId="OFBIZ_HOME" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="SCREEN_COMBINED"
|
||||
objectInfo="component://cmssite/widget/OfbizsiteScreens.xml#main"/>
|
||||
@@ -234,17 +234,17 @@ under the License.
|
||||
|
||||
<DataResource dataResourceId="APACHE_OFBIZ" localeString="en" dataResourceTypeId="OFBIZ_FILE" objectInfo="plugins/cmssite/documents/ApacheOfbiz.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Apache OFBiz document" mimeTypeId="text/xml" isPublic="Y" />
|
||||
<Content contentId="APACHE_OFBIZ_HTML" contentTypeId="DOCUMENT" templateDataResourceId="DOCBOOK_HTML_TEMPL" dataResourceId="APACHE_OFBIZ" localeString="en" statusId="CTNT_IN_PROGRESS" contentName="The User & Technical Apache OFBiz document in one page HTML" mimeTypeId="text/html"/>
|
||||
<ContentAssoc contentId="DOCUMENTS" contentIdTo="APACHE_OFBIZ_HTML" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01" sequenceNum=""/>
|
||||
<ContentAssoc contentId="DOCUMENTS" contentIdTo="APACHE_OFBIZ_HTML" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01"/>/>
|
||||
|
||||
<Content contentId="APACHE_OFBIZ_PDF" contentTypeId="DOCUMENT" templateDataResourceId="DOCBOOK_PDF_TEMPL" dataResourceId="APACHE_OFBIZ" localeString="en" statusId="CTNT_IN_PROGRESS" contentName="The general Apache document in PDF format" mimeTypeId="application/pdf"/>
|
||||
<ContentAssoc contentId="DOCUMENTS" contentIdTo="APACHE_OFBIZ_PDF" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01" sequenceNum=""/>
|
||||
<ContentAssoc contentId="DOCUMENTS" contentIdTo="APACHE_OFBIZ_PDF" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01"/>/>
|
||||
|
||||
<DataResource dataResourceId="APACHE_OFBIZ_TECH" localeString="en" dataResourceTypeId="OFBIZ_FILE" objectInfo="plugins/cmssite/documents/ApacheOfbizTechnical.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Apache OFBiz document" mimeTypeId="text/xml" isPublic="Y" />
|
||||
<Content contentId="APACHE_OFBIZ_T_HTML" contentTypeId="DOCUMENT" templateDataResourceId="DOCBOOK_HTML_TEMPL" dataResourceId="APACHE_OFBIZ_TECH" localeString="en" statusId="CTNT_IN_PROGRESS" contentName="The Apache OFBiz Technical Guide in one page HTML" mimeTypeId="text/html"/>
|
||||
<ContentAssoc contentId="DOCUMENTS" contentIdTo="APACHE_OFBIZ_T_HTML" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01" sequenceNum=""/>
|
||||
<ContentAssoc contentId="DOCUMENTS" contentIdTo="APACHE_OFBIZ_T_HTML" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01"/>/>
|
||||
<DataResource dataResourceId="APACHE_OFBIZ_USER" localeString="en" dataResourceTypeId="OFBIZ_FILE" objectInfo="plugins/cmssite/documents/ApacheOfbizUser.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Apache OFBiz User document" mimeTypeId="text/xml" isPublic="Y" />
|
||||
<Content contentId="APACHE_OFBIZ_U_HTML" contentTypeId="DOCUMENT" templateDataResourceId="DOCBOOK_HTML_TEMPL" dataResourceId="APACHE_OFBIZ_USER" localeString="en" statusId="CTNT_IN_PROGRESS" contentName="The Apache OFBizUser Guide in one page HTML" mimeTypeId="text/html"/>
|
||||
<ContentAssoc contentId="DOCUMENTS" contentIdTo="APACHE_OFBIZ_U_HTML" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01" sequenceNum=""/>
|
||||
<ContentAssoc contentId="DOCUMENTS" contentIdTo="APACHE_OFBIZ_U_HTML" contentAssocTypeId="SUB_CONTENT" fromDate="2006-01-12 01:01:01"/>/>
|
||||
|
||||
|
||||
<ContentAssoc contentId="CMSS_PPOINT" contentIdTo="PUBLIC_DOCS" contentAssocTypeId="SUB_CONTENT" fromDate="2001-01-01 00:00:00"/>
|
||||
|
||||
@@ -20,13 +20,18 @@ under the License.
|
||||
|
||||
<ofbiz-component name="cmssite" enabled="true"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
||||
xsi:noNamespaceSchemaLocation="https://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
||||
<resource-loader name="main" type="component"/>
|
||||
|
||||
<entity-resource type="data" reader-name="demo" loader="main" location="data/CmsMultiSiteDemoData.xml"/>
|
||||
<entity-resource type="data" reader-name="demo" loader="main" location="data/CmsSiteDemoData.xml"/>
|
||||
|
||||
<webapp name="cmssite" title="CMS Site" menu-name="secondary" app-bar-display="false"
|
||||
server="default-server" location="webapp/cmssite" mount-point="/cmssite"/>
|
||||
<webapp name="cmssite"
|
||||
title="CMS Site"
|
||||
menu-name="secondary"
|
||||
app-bar-display="false"
|
||||
server="default-server"
|
||||
location="webapp/cmssite"
|
||||
mount-point="/cmssite"/>
|
||||
</ofbiz-component>
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ import javax.servlet.http.HttpSession;
|
||||
import javax.servlet.http.HttpUpgradeHandler;
|
||||
import javax.servlet.http.Part;
|
||||
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilHttp;
|
||||
|
||||
|
||||
@@ -83,12 +82,12 @@ public class MultiSiteRequestWrapper implements HttpServletRequest {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Enumeration getHeaderNames() {
|
||||
public Enumeration<String> getHeaderNames() {
|
||||
return request.getHeaderNames();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Enumeration getHeaders(String arg0) {
|
||||
public Enumeration<String> getHeaders(String arg0) {
|
||||
return request.getHeaders(arg0);
|
||||
}
|
||||
|
||||
@@ -201,7 +200,7 @@ public class MultiSiteRequestWrapper implements HttpServletRequest {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Enumeration getAttributeNames() {
|
||||
public Enumeration<String> getAttributeNames() {
|
||||
return request.getAttributeNames();
|
||||
}
|
||||
|
||||
@@ -251,7 +250,7 @@ public class MultiSiteRequestWrapper implements HttpServletRequest {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Enumeration getLocales() {
|
||||
public Enumeration<Locale> getLocales() {
|
||||
return request.getLocales();
|
||||
}
|
||||
|
||||
@@ -261,12 +260,12 @@ public class MultiSiteRequestWrapper implements HttpServletRequest {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map getParameterMap() {
|
||||
public Map<String, String[]> getParameterMap() {
|
||||
return request.getParameterMap();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Enumeration getParameterNames() {
|
||||
public Enumeration<String> getParameterNames() {
|
||||
return request.getParameterNames();
|
||||
}
|
||||
|
||||
@@ -406,7 +405,7 @@ public class MultiSiteRequestWrapper implements HttpServletRequest {
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpUpgradeHandler upgrade (Class handlerClass) throws IOException, ServletException {
|
||||
public <T extends HttpUpgradeHandler> T upgrade (Class<T> handlerClass) throws IOException, ServletException {
|
||||
return request.upgrade(handlerClass);
|
||||
}
|
||||
}
|
||||
@@ -24,7 +24,6 @@ import java.util.Locale;
|
||||
import javax.servlet.Filter;
|
||||
import javax.servlet.FilterChain;
|
||||
import javax.servlet.FilterConfig;
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.ServletRequest;
|
||||
import javax.servlet.ServletResponse;
|
||||
@@ -37,7 +36,6 @@ import org.apache.ofbiz.base.util.UtilHttp;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.DelegatorFactory;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
@@ -53,7 +51,7 @@ import org.apache.ofbiz.webapp.stats.VisitHandler;
|
||||
// Used to filter website on the basis of hosted pathAlias.
|
||||
public class WebSiteFilter implements Filter {
|
||||
|
||||
public static final String MODULE = WebSiteFilter.class.getName();
|
||||
public static final String module = WebSiteFilter.class.getName();
|
||||
|
||||
protected FilterConfig m_config = null;
|
||||
|
||||
@@ -87,7 +85,7 @@ public class WebSiteFilter implements Filter {
|
||||
webSite = EntityQuery.use(delegator).from("WebSite").where("isDefault", "Y").cache().queryFirst();
|
||||
}
|
||||
} catch (GenericEntityException e) {
|
||||
Debug.logError(e, MODULE);
|
||||
Debug.logError(e, module);
|
||||
}
|
||||
if (webSite != null) {
|
||||
webSiteId = webSite.getString("webSiteId");
|
||||
@@ -95,7 +93,7 @@ public class WebSiteFilter implements Filter {
|
||||
try {
|
||||
productStore = webSite.getRelatedOne("ProductStore", false);
|
||||
} catch (GenericEntityException e) {
|
||||
Debug.logError(e, MODULE);
|
||||
Debug.logError(e, module);
|
||||
}
|
||||
|
||||
String newLocale = request.getParameter("newLocale");
|
||||
@@ -122,7 +120,7 @@ public class WebSiteFilter implements Filter {
|
||||
try {
|
||||
cart.setCurrency(dispatcher, productStore.getString("defaultCurrencyUomId"));
|
||||
} catch (CartItemModifyException e) {
|
||||
Debug.logError(e, MODULE);
|
||||
Debug.logError(e, module);
|
||||
}
|
||||
}
|
||||
session.removeAttribute("webSiteId");
|
||||
@@ -151,7 +149,7 @@ public class WebSiteFilter implements Filter {
|
||||
try {
|
||||
security = SecurityFactory.getInstance(delegator);
|
||||
} catch (SecurityConfigurationException e) {
|
||||
Debug.logError(e, MODULE);
|
||||
Debug.logError(e, module);
|
||||
}
|
||||
request.setAttribute("delegator", delegator);
|
||||
request.setAttribute("dispatcher", dispatcher);
|
||||
|
||||
@@ -32,7 +32,7 @@ under the License.
|
||||
<#assign nothing = thisContent.setSortOrder("caSequenceNum")/>
|
||||
<#assign nothing = thisContent.setMapKeyFilter("js")/>
|
||||
<#list thisContent.subcontent_all as content>
|
||||
<script src="${content.render!}" type="text/javascript"></script>
|
||||
<script src="${content.render!}" type="application/javascript"></script>
|
||||
</#list>
|
||||
<#assign nothing = thisContent.setMapKeyFilter("css")/>
|
||||
<#list thisContent.subcontent_all as content>
|
||||
|
||||
@@ -242,7 +242,7 @@ body { background-image: url('</xsl:text>
|
||||
unnecessary bloat to each chunk. -->
|
||||
<xsl:if test="$annotation.support != 0 and //annotation">
|
||||
<xsl:call-template name="add.annotation.links"/>
|
||||
<script type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text>
|
||||
// Create PopupWindow objects</xsl:text>
|
||||
<xsl:for-each select="//annotation">
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
<xsl:param name="scripts" select="normalize-space($annotation.js)"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="contains($scripts, ' ')">
|
||||
<script type="text/javascript" src="{substring-before($scripts, ' ')}"/>
|
||||
<script type="application/javascript" src="{substring-before($scripts, ' ')}"/>
|
||||
<xsl:call-template name="add.annotation.links">
|
||||
<xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<script type="text/javascript" src="{$scripts}"/>
|
||||
<script type="application/javascript" src="{$scripts}"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
@@ -302,7 +302,7 @@ body { background-image: url('</xsl:text>
|
||||
unnecessary bloat to each chunk. -->
|
||||
<xsl:if test="$annotation.support != 0 and //annotation">
|
||||
<xsl:call-template name="add.annotation.links"/>
|
||||
<script type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> // Create PopupWindow objects</xsl:text>
|
||||
<xsl:for-each select="//annotation">
|
||||
<xsl:text> var popup_</xsl:text>
|
||||
|
||||
@@ -2424,7 +2424,7 @@ parameter.</para>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
<programlisting xml:id="html.script.type.frag"><xsl:param name="html.script.type">text/javascript</xsl:param></programlisting>
|
||||
<programlisting xml:id="html.script.type.frag"><xsl:param name="html.script.type">application/javascript</xsl:param></programlisting>
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsection><info><title>Description</title></info>
|
||||
@@ -2432,7 +2432,7 @@ parameter.</para>
|
||||
<para>The type of script to place in the HTML <tag>script</tag> element.
|
||||
Specifically, the value of the <tag>script</tag> element's <tag>type</tag>
|
||||
attribute.
|
||||
The default value is <literal>text/javascript</literal>.
|
||||
The default value is <literal>application/javascript</literal>.
|
||||
This param is used only when the stylesheet parameter
|
||||
<tag>html.script</tag> is non-blank and specifies the location of a script.</para>
|
||||
|
||||
|
||||
@@ -276,7 +276,7 @@ body { background-image: url('</xsl:text>
|
||||
unnecessary bloat to each chunk. -->
|
||||
<xsl:if test="$annotation.support != 0 and //annotation">
|
||||
<xsl:call-template name="add.annotation.links"/>
|
||||
<script type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text>
|
||||
// Create PopupWindow objects</xsl:text>
|
||||
<xsl:for-each select="//annotation">
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
<src:fragment xml:id="html.script.type.frag"><xsl:param name="html.script.type">text/javascript</xsl:param></src:fragment>
|
||||
<src:fragment xml:id="html.script.type.frag"><xsl:param name="html.script.type">application/javascript</xsl:param></src:fragment>
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsection><info><title>Description</title></info>
|
||||
@@ -22,7 +22,7 @@
|
||||
<para>The type of script to place in the HTML <tag>script</tag> element.
|
||||
Specifically, the value of the <tag>script</tag> element's <tag>type</tag>
|
||||
attribute.
|
||||
The default value is <literal>text/javascript</literal>.
|
||||
The default value is <literal>application/javascript</literal>.
|
||||
This param is used only when the stylesheet parameter
|
||||
<tag>html.script</tag> is non-blank and specifies the location of a script.</para>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* Usage:
|
||||
<html>
|
||||
<head>
|
||||
<script LANGUAGE="JavaScript1.2" src="overlay.js"></script>
|
||||
<script src="overlay.js"></script>
|
||||
...rest of head...
|
||||
</head>
|
||||
<body onload="overlaySetup(corner)">
|
||||
|
||||
@@ -70,7 +70,7 @@ function xbLibrary(path)
|
||||
xbLibrary.prototype.loadScript =
|
||||
function (scriptName)
|
||||
{
|
||||
document.write('<script language="javascript" src="' + this.path + '/' + scriptName + '"><\/script>');
|
||||
document.write('<script src="' + this.path + '/' + scriptName + '"><\/script>');
|
||||
};
|
||||
|
||||
// default xbLibrary
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0
|
||||
or $overlay.logo != ''">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -159,7 +159,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -182,7 +182,7 @@
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$dynamic.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
function init() {
|
||||
@@ -310,7 +310,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -321,7 +321,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -429,7 +429,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -440,7 +440,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -513,7 +513,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -524,7 +524,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -587,7 +587,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -598,7 +598,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -924,7 +924,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -935,7 +935,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1047,7 +1047,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1132,7 +1132,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1143,7 +1143,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1215,7 +1215,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1226,7 +1226,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1401,7 +1401,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1412,7 +1412,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1519,7 +1519,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javajcript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1530,7 +1530,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1595,7 +1595,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1621,7 +1621,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1688,7 +1688,7 @@ function init() {
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0
|
||||
or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1699,7 +1699,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<xsl:template name="ua.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$ua.js"/>
|
||||
@@ -49,7 +49,7 @@
|
||||
<xsl:template name="xbDOM.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$xbDOM.js"/>
|
||||
@@ -62,7 +62,7 @@
|
||||
<xsl:template name="xbStyle.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$xbStyle.js"/>
|
||||
@@ -75,7 +75,7 @@
|
||||
<xsl:template name="xbLibrary.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$xbLibrary.js"/>
|
||||
@@ -88,7 +88,7 @@
|
||||
<xsl:template name="xbCollapsibleLists.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$xbCollapsibleLists.js"/>
|
||||
@@ -101,7 +101,7 @@
|
||||
<xsl:template name="overlay.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$overlay.js"/>
|
||||
@@ -114,7 +114,7 @@
|
||||
<xsl:template name="slides.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$slides.js"/>
|
||||
|
||||
@@ -427,7 +427,7 @@
|
||||
<!-- Scripts -->
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -438,7 +438,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -646,7 +646,7 @@
|
||||
<!-- Scripts -->
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -657,7 +657,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -869,7 +869,7 @@
|
||||
<!-- Scripts -->
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -880,7 +880,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1054,7 +1054,7 @@
|
||||
<!-- Scripts -->
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1065,7 +1065,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -56,7 +56,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('../browser');
|
||||
@@ -152,7 +152,7 @@
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -163,7 +163,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('../browser');
|
||||
@@ -265,7 +265,7 @@
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -276,7 +276,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('../browser');
|
||||
@@ -388,7 +388,7 @@
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -399,7 +399,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('../browser');
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
<xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0 or $overlay.logo != ''">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -158,7 +158,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -181,7 +181,7 @@
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$dynamic.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
function init() {
|
||||
@@ -306,7 +306,7 @@ function init() {
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -317,7 +317,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -423,7 +423,7 @@ function init() {
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -434,7 +434,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -505,7 +505,7 @@ function init() {
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -516,7 +516,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -577,7 +577,7 @@ function init() {
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -588,7 +588,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -907,7 +907,7 @@ function init() {
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -918,7 +918,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1029,7 +1029,7 @@ function init() {
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1113,7 +1113,7 @@ function init() {
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1124,7 +1124,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1195,7 +1195,7 @@ function init() {
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1206,7 +1206,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1377,7 +1377,7 @@ function init() {
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1388,7 +1388,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1491,7 +1491,7 @@ function init() {
|
||||
<xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javajcript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1502,7 +1502,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1566,7 +1566,7 @@ function init() {
|
||||
<xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1589,7 +1589,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1652,7 +1652,7 @@ function init() {
|
||||
<xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1663,7 +1663,7 @@ function init() {
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<xsl:template name="ua.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$ua.js"/>
|
||||
@@ -50,7 +50,7 @@
|
||||
<xsl:template name="xbDOM.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$xbDOM.js"/>
|
||||
@@ -63,7 +63,7 @@
|
||||
<xsl:template name="xbStyle.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$xbStyle.js"/>
|
||||
@@ -76,7 +76,7 @@
|
||||
<xsl:template name="xbLibrary.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$xbLibrary.js"/>
|
||||
@@ -89,7 +89,7 @@
|
||||
<xsl:template name="xbCollapsibleLists.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$xbCollapsibleLists.js"/>
|
||||
@@ -102,7 +102,7 @@
|
||||
<xsl:template name="overlay.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$overlay.js"/>
|
||||
@@ -115,7 +115,7 @@
|
||||
<xsl:template name="slides.js">
|
||||
<!-- Danger Will Robinson: template shadows parameter -->
|
||||
<xsl:param name="language" select="'javascript'"/>
|
||||
<script type="text/javascript" language="{$language}">
|
||||
<script type="application/javascript">
|
||||
<xsl:attribute name="src">
|
||||
<xsl:call-template name="script-file">
|
||||
<xsl:with-param name="js" select="$slides.js"/>
|
||||
|
||||
@@ -425,7 +425,7 @@
|
||||
<!-- Scripts -->
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -436,7 +436,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -644,7 +644,7 @@
|
||||
<!-- Scripts -->
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -655,7 +655,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -864,7 +864,7 @@
|
||||
<!-- Scripts -->
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -875,7 +875,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
@@ -1049,7 +1049,7 @@
|
||||
<!-- Scripts -->
|
||||
|
||||
<xsl:if test="$overlay != 0 or $keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -1060,7 +1060,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('</xsl:text>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -57,7 +57,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('../browser');
|
||||
@@ -152,7 +152,7 @@
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -163,7 +163,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('../browser');
|
||||
@@ -264,7 +264,7 @@
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -275,7 +275,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('../browser');
|
||||
@@ -383,7 +383,7 @@
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="$keyboard.nav != 0">
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
@@ -394,7 +394,7 @@
|
||||
<xsl:with-param name="language" select="'javascript'"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="xbLibrary.js"/>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<script type="application/javascript">
|
||||
<xsl:text disable-output-escaping="yes">
|
||||
<!--
|
||||
xblibrary = new xbLibrary('../browser');
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7"></meta>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
|
||||
<title>Introduction</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><meta name="description" content="Overview of the package."></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="prev" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="next" href="ch02.html" title="Using the package"></link><script type="text/javascript">
|
||||
<title>Introduction</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><meta name="description" content="Overview of the package."></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="prev" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="next" href="ch02.html" title="Using the package"></link><script type="application/javascript">
|
||||
//The id for tree cookie
|
||||
var treeCookieId = "treeview-1055";
|
||||
var language = "en";
|
||||
@@ -85,7 +85,7 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
.ui-tabs { padding: .2em;}
|
||||
.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;}
|
||||
.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
|
||||
</style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Introduction</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="application/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Introduction</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="index.html">Prev</a>
|
||||
|
|
||||
<a accesskey="n" class="navLinkNext" tabindex="5" href="ch02.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="chapter"><div xmlns="" class="titlepage"><div><div><h1 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="id375622"></a>Introduction</h1></div></div></div>
|
||||
@@ -106,4 +106,4 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
model for integrating this output format into your own
|
||||
build system. Alternatively, you can use this Ant script
|
||||
as a template for creating your own build script or you
|
||||
can use the <a class="ulink" href="http://docbkx-tools.sourceforge.net/docbkx-samples/manual.html" target="_top">Docbkx Maven plugin</a>.</p></li></ul></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li id="webhelp-currentid"><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
can use the <a class="ulink" href="http://docbkx-tools.sourceforge.net/docbkx-samples/manual.html" target="_top">Docbkx Maven plugin</a>.</p></li></ul></div></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li id="webhelp-currentid"><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7"></meta>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
|
||||
<title>Using the package</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="prev" href="ch01.html" title="Introduction"></link><link rel="next" href="ch02s01.html" title="Generating webhelp output"></link><script type="text/javascript">
|
||||
<title>Using the package</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="prev" href="ch01.html" title="Introduction"></link><link rel="next" href="ch02s01.html" title="Generating webhelp output"></link><script type="application/javascript">
|
||||
//The id for tree cookie
|
||||
var treeCookieId = "treeview-1055";
|
||||
var language = "en";
|
||||
@@ -85,9 +85,9 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
.ui-tabs { padding: .2em;}
|
||||
.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;}
|
||||
.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
|
||||
</style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="application/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch01.html">Prev</a>
|
||||
|
|
||||
<a accesskey="n" class="navLinkNext" tabindex="5" href="ch02s01.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="chapter"><div xmlns="" class="titlepage"><div><div><h1 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="id375821"></a>Using the package</h1></div></div></div>
|
||||
<div class="toc"><p><strong>Table of Contents</strong></p><dl><dt><span class="section"><a href="ch02s01.html">Generating webhelp output</a></span></dt><dt><span class="section"><a href="ch02s02.html">Using and customizing the output</a></span></dt><dd><dl><dt><span class="section"><a href="ch02s02s01.html">Recommended Apache configurations</a></span></dt></dl></dd><dt><span class="section"><a href="ch02s03.html">Search indexing</a></span></dt><dt><span class="section"><a href="ch02s04.html">Adding support for other (non-CJKV) languages</a></span></dt><dt><span class="section"><a href="ch02s05.html">Adding images</a></span></dt></dl></div><p class="summary">The following sections describe how to
|
||||
install and use the package on Windows. </p></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch02s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
install and use the package on Windows. </p></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch02s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7"></meta>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
|
||||
<title>Generating webhelp output</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><meta name="description" content="Installation instructions"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02.html" title="Using the package"></link><link rel="next" href="ch02s02.html" title="Using and customizing the output"></link><script type="text/javascript">
|
||||
<title>Generating webhelp output</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><meta name="description" content="Installation instructions"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02.html" title="Using the package"></link><link rel="next" href="ch02s02.html" title="Using and customizing the output"></link><script type="application/javascript">
|
||||
//The id for tree cookie
|
||||
var treeCookieId = "treeview-1055";
|
||||
var language = "en";
|
||||
@@ -85,7 +85,7 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
.ui-tabs { padding: .2em;}
|
||||
.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;}
|
||||
.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
|
||||
</style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="application/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02.html">Prev</a>
|
||||
|
|
||||
<a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a>
|
||||
@@ -196,4 +196,4 @@ suppress.footer.navigation=0</pre></li><li class="step"><p>Test the package by r
|
||||
<property name="output-dir" value="<em class="replaceable"><code>path-to/desired-output-dir</code></em>"/>
|
||||
<import file="<em class="replaceable"><code>path-to/docbook-webhelp/</code></em>build.xml"/>
|
||||
</project></pre></li><li class="step"><p>From the directory containing your newly created <code class="filename">build.xml</code>
|
||||
file, type <code class="code">ant webhelp</code> to build your document.</p></li></ol></li></ol></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li id="webhelp-currentid"><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
file, type <code class="code">ant webhelp</code> to build your document.</p></li></ol></li></ol></div></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li id="webhelp-currentid"><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7"></meta>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
|
||||
<title>Using and customizing the output</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s01.html" title="Generating webhelp output"></link><link rel="next" href="ch02s02s01.html" title="Recommended Apache configurations"></link><script type="text/javascript">
|
||||
<title>Using and customizing the output</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s01.html" title="Generating webhelp output"></link><link rel="next" href="ch02s02s01.html" title="Recommended Apache configurations"></link><script type="application/javascript">
|
||||
//The id for tree cookie
|
||||
var treeCookieId = "treeview-1055";
|
||||
var language = "en";
|
||||
@@ -85,7 +85,7 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
.ui-tabs { padding: .2em;}
|
||||
.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;}
|
||||
.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
|
||||
</style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="application/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s01.html">Prev</a>
|
||||
|
|
||||
<a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a>
|
||||
@@ -109,4 +109,4 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
any theme based your interest from this. (Themes are on right navigation bar.) Then
|
||||
replace the css theme folder (theme-redmond) with it, and change the xsl to point to
|
||||
the new css.</p></li><li class="listitem"><p><code class="filename">docs/common/jquery/treeview/jquery.treeview.css</code>: This styles
|
||||
the toc Tree. Generally, you don't have to edit this file.</p></li></ul></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s02s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
the toc Tree. Generally, you don't have to edit this file.</p></li></ul></div></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s02s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7"></meta>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
|
||||
<title>Recommended Apache configurations</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02s02.html" title="Using and customizing the output"></link><link rel="prev" href="ch02s02.html" title="Using and customizing the output"></link><link rel="next" href="ch02s03.html" title="Search indexing"></link><script type="text/javascript">
|
||||
<title>Recommended Apache configurations</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02s02.html" title="Using and customizing the output"></link><link rel="prev" href="ch02s02.html" title="Using and customizing the output"></link><link rel="next" href="ch02s03.html" title="Search indexing"></link><script type="application/javascript">
|
||||
//The id for tree cookie
|
||||
var treeCookieId = "treeview-1055";
|
||||
var language = "en";
|
||||
@@ -85,7 +85,7 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
.ui-tabs { padding: .2em;}
|
||||
.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;}
|
||||
.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
|
||||
</style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using and customizing the output</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="application/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using and customizing the output</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s02.html">Prev</a>
|
||||
|
|
||||
<a accesskey="u" class="navLinkUp" tabindex="5" href="ch02s02.html">Up</a>
|
||||
@@ -132,4 +132,4 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
such as bitmaps and JavaScript files. Note that caching JavaScript files could cause
|
||||
your users to have stale search indexes if you update your document since the search
|
||||
index is stored in JavaScript files.</p></td></tr><tr><td width="5%" valign="top" align="left"><p><a href="#CompressSetting"><span><img src="../common/images/callouts/3.png" alt="3" border="0"></img></span></a> </p></td><td valign="top" align="left"><p>These lines cause the the server to compress html, css, and JavaScript files and
|
||||
the brower to uncompress them to improve download performance.</p></td></tr></table></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li id="webhelp-currentid"><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
the brower to uncompress them to improve download performance.</p></td></tr></table></div></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li id="webhelp-currentid"><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7"></meta>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
|
||||
<title>Search indexing</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s02s01.html" title="Recommended Apache configurations"></link><link rel="next" href="ch02s04.html" title="Adding support for other (non-CJKV) languages"></link><script type="text/javascript">
|
||||
<title>Search indexing</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s02s01.html" title="Recommended Apache configurations"></link><link rel="next" href="ch02s04.html" title="Adding support for other (non-CJKV) languages"></link><script type="application/javascript">
|
||||
//The id for tree cookie
|
||||
var treeCookieId = "treeview-1055";
|
||||
var language = "en";
|
||||
@@ -85,7 +85,7 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
.ui-tabs { padding: .2em;}
|
||||
.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;}
|
||||
.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
|
||||
</style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="application/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s02s01.html">Prev</a>
|
||||
|
|
||||
<a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a>
|
||||
@@ -116,4 +116,4 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
<code class="code">indexertask</code> to direct invocation. This seems to have remove the
|
||||
<code class="envar">CLASSPATH</code> issue some people were having.</p></div><p>
|
||||
</p></li></ul></div><a id="id376733" class="indexterm"></a><a id="id376745" class="indexterm"></a><p class="summary">To build the indexer, you must have installed the JDK version 1.5 or
|
||||
higher and set the <code class="envar">ANT_HOME</code> environment variable. </p><a id="id376768" class="indexterm"></a><a id="id376777" class="indexterm"></a></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li id="webhelp-currentid"><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
higher and set the <code class="envar">ANT_HOME</code> environment variable. </p><a id="id376768" class="indexterm"></a><a id="id376777" class="indexterm"></a></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li id="webhelp-currentid"><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7"></meta>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
|
||||
<title>Adding support for other (non-CJKV) languages</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s03.html" title="Search indexing"></link><link rel="next" href="ch02s05.html" title="Adding images"></link><script type="text/javascript">
|
||||
<title>Adding support for other (non-CJKV) languages</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s03.html" title="Search indexing"></link><link rel="next" href="ch02s05.html" title="Adding images"></link><script type="application/javascript">
|
||||
//The id for tree cookie
|
||||
var treeCookieId = "treeview-1055";
|
||||
var language = "en";
|
||||
@@ -85,7 +85,7 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
.ui-tabs { padding: .2em;}
|
||||
.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;}
|
||||
.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
|
||||
</style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="application/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s03.html">Prev</a>
|
||||
|
|
||||
<a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a>
|
||||
@@ -98,4 +98,4 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
following languages. Therefore, to support these languages, you only need to implement the
|
||||
stemmer in JavaScript and add it to the template. If you do undertake this task, please
|
||||
consider contributing the JavaScript version back to this project and to <a class="ulink" href="http://snowball.tartarus.org/texts/stemmersoverview.html" target="_top">Martin Porter's
|
||||
project</a>.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Danish</p></li><li class="listitem"><p>Dutch</p></li><li class="listitem"><p>Finnish</p></li><li class="listitem"><p>Hungarian</p></li><li class="listitem"><p>Italian</p></li><li class="listitem"><p>Norwegian</p></li><li class="listitem"><p>Portuguese</p></li><li class="listitem"><p>Romanian</p></li><li class="listitem"><p>Russian</p></li><li class="listitem"><p>Spanish</p></li><li class="listitem"><p>Swedish</p></li><li class="listitem"><p>Turkish</p></li></ul></div><p><a id="id376892" class="indexterm"></a></p></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
project</a>.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Danish</p></li><li class="listitem"><p>Dutch</p></li><li class="listitem"><p>Finnish</p></li><li class="listitem"><p>Hungarian</p></li><li class="listitem"><p>Italian</p></li><li class="listitem"><p>Norwegian</p></li><li class="listitem"><p>Portuguese</p></li><li class="listitem"><p>Romanian</p></li><li class="listitem"><p>Russian</p></li><li class="listitem"><p>Spanish</p></li><li class="listitem"><p>Swedish</p></li><li class="listitem"><p>Turkish</p></li></ul></div><p><a id="id376892" class="indexterm"></a></p></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7"></meta>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
|
||||
<title>Adding images</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s04.html" title="Adding support for other (non-CJKV) languages"></link><link rel="next" href="ch03.html" title="Developer Docs"></link><script type="text/javascript">
|
||||
<title>Adding images</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s04.html" title="Adding support for other (non-CJKV) languages"></link><link rel="next" href="ch03.html" title="Developer Docs"></link><script type="application/javascript">
|
||||
//The id for tree cookie
|
||||
var treeCookieId = "treeview-1055";
|
||||
var language = "en";
|
||||
@@ -85,7 +85,7 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
.ui-tabs { padding: .2em;}
|
||||
.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;}
|
||||
.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
|
||||
</style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="application/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar
|
||||
</a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s04.html">Prev</a>
|
||||
|
|
||||
<a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a>
|
||||
@@ -108,4 +108,4 @@ border: none; background: none; font-weight: none; color: none; }
|
||||
# to the output directory, you can list patterns here.
|
||||
# See the Ant documentation for fileset for documentation
|
||||
# on patterns.
|
||||
input-images-dirs=images/**,figures/**,graphics/**</pre></li></ul></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
input-images-dirs=images/**,figures/**,graphics/**</pre></li></ul></div></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html>
|
||||
|
||||