Moved Birt demos in the Example application. (OFBIZ-3352)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bruno Busco
2009-12-20 18:22:09 +00:00
parent bfeb62aada
commit 63ebc81a33
18 changed files with 1393 additions and 2846 deletions
@@ -202,6 +202,43 @@ under the License.
</section>
</screen>
<screen name="CommonBirtDecorator">
<section>
<actions>
<set field="headerItem" value="Birt"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="pre-body">
<section>
<!-- do check for WEBTOOLS, _VIEW permission -->
<condition>
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<widgets>
<include-menu name="BirtTabBar" location="component://example/widget/example/ExampleMenus.xml"/>
</widgets>
</section>
</decorator-section>
<decorator-section name="body">
<section>
<!-- do check for WEBTOOLS, _VIEW permission -->
<condition>
<if-has-permission permission="ENTITY_MAINT"/>
</condition>
<widgets>
<decorator-section-include name="body"/>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.WebtoolsPermissionError}</label>
</fail-widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="main">
<!-- This is the screen for the Main page in the Example component. A common pattern
in OFBiz is to have each component include a Main page as a starting point for