svn commit: r549416 - in /ofbiz/trunk/specialpurpose/oagis: config/OagisUiLabels.properties webapp/oagis/WEB-INF/controller.xml widget/CommonScreens.xml widget/Menus.xml widget/MessageInfoScreens.xml widget/forms/ widget/forms/MessageInfoForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r549416 - in /ofbiz/trunk/specialpurpose/oagis: config/OagisUiLabels.properties webapp/oagis/WEB-INF/controller.xml widget/CommonScreens.xml widget/Menus.xml widget/MessageInfoScreens.xml widget/forms/ widget/forms/MessageInfoForms.xml

apatel-2
Author: apatel
Date: Thu Jun 21 00:40:08 2007
New Revision: 549416

URL: http://svn.apache.org/viewvc?view=rev&rev=549416
Log:
Added find Message Info screen.

Added:
    ofbiz/trunk/specialpurpose/oagis/config/OagisUiLabels.properties
    ofbiz/trunk/specialpurpose/oagis/widget/MessageInfoScreens.xml
    ofbiz/trunk/specialpurpose/oagis/widget/forms/
    ofbiz/trunk/specialpurpose/oagis/widget/forms/MessageInfoForms.xml
Modified:
    ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/controller.xml
    ofbiz/trunk/specialpurpose/oagis/widget/CommonScreens.xml
    ofbiz/trunk/specialpurpose/oagis/widget/Menus.xml

Added: ofbiz/trunk/specialpurpose/oagis/config/OagisUiLabels.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/config/OagisUiLabels.properties?view=auto&rev=549416
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/config/OagisUiLabels.properties (added)
+++ ofbiz/trunk/specialpurpose/oagis/config/OagisUiLabels.properties Thu Jun 21 00:40:08 2007
@@ -0,0 +1,22 @@
+###############################################################################
+# 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.
+###############################################################################
+####
+# OFBiz UiLabel Properties used for the product component
+OagisMessageInfo=Message Info
+OagisListMessageInfo=Message Infos

Modified: ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/controller.xml?view=diff&rev=549416&r1=549415&r2=549416
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/controller.xml Thu Jun 21 00:40:08 2007
@@ -77,6 +77,11 @@
     </request-map>
     <!-- End of Security Mappings -->
 
+    <request-map uri="FindMessageInfo">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="FindMessageInfo"/>
+    </request-map>
+    
 
 
     <!-- end of request mappings -->
@@ -84,9 +89,11 @@
     <!-- View Mappings -->
     <view-map name="error" page="/error/error.jsp"/>
 
-    <view-map name="main" type="screen" page="component://oagis/widget/CommonScreens.xml#main"/>
+    <view-map name="main" type="screen" page="component://oagis/widget/MessageInfoScreens.xml#FindMessageInfo"/>
     <view-map name="login" type="screen" page="component://oagis/widget/CommonScreens.xml#login"/>
     <view-map name="requirePasswordChange" type="screen" page="component://oagis/widget/CommonScreens.xml#requirePasswordChange"/>
+    
+    <view-map name="FindMessageInfo" type="screen" page="component://oagis/widget/MessageInfoScreens.xml#FindMessageInfo"/>
     
     <!-- end of view mappings -->
 </site-conf>

Modified: ofbiz/trunk/specialpurpose/oagis/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/widget/CommonScreens.xml?view=diff&rev=549416&r1=549415&r2=549416
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/widget/CommonScreens.xml Thu Jun 21 00:40:08 2007
@@ -23,6 +23,7 @@
     <screen name="main-decorator">
         <section>
             <actions>
+                <property-map resource="OagisUiLabels" map-name="uiLabelMap" global="true"/>
                 <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
 
                 <!-- The two default (global) stylesheets are added to the list

Modified: ofbiz/trunk/specialpurpose/oagis/widget/Menus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/widget/Menus.xml?view=diff&rev=549416&r1=549415&r2=549416
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/widget/Menus.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/widget/Menus.xml Thu Jun 21 00:40:08 2007
@@ -23,7 +23,7 @@
     <menu name="OagisAppBar" default-menu-item-name="task" id="app-navigation" type="simple" selected-menuitem-context-field-name="headerItem" default-selected-style="selected" title="Oagis Implementation">
     
         <menu-item name="main" title="${uiLabelMap.CommonMain}"><link target="main"/></menu-item>
-        
+        <menu-item name="MessageInfos" title="${uiLabelMap.OagisMessageInfo}"><link target="FindMessageInfo"/></menu-item>
         <menu-item name="Logout" title="Logout" align-style="col-right" widget-style="headerButtonRight" selected-style="headerButtonRightSelected">
             <condition><not><if-empty field-name="userLogin"/></not></condition>
             <link target="logout"/>

Added: ofbiz/trunk/specialpurpose/oagis/widget/MessageInfoScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/widget/MessageInfoScreens.xml?view=auto&rev=549416
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/widget/MessageInfoScreens.xml (added)
+++ ofbiz/trunk/specialpurpose/oagis/widget/MessageInfoScreens.xml Thu Jun 21 00:40:08 2007
@@ -0,0 +1,41 @@
+<?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.
+-->
+
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
+    <screen name="FindMessageInfo">
+        <section>
+            <actions>
+                <set field="headerItem" value="MessageInfos"/>
+            </actions>        
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container><label style="head1">${uiLabelMap.OagisListMessageInfo}</label></container>                                          
+                        <label>&lt;br/&gt;</label>      
+                        <include-form name="FindMessageInfos" location="component://oagis/widget/forms/MessageInfoForms.xml"/>                        
+                        <include-form name="ListMessageInfos" location="component://oagis/widget/forms/MessageInfoForms.xml"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    
+</screens>

Added: ofbiz/trunk/specialpurpose/oagis/widget/forms/MessageInfoForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/widget/forms/MessageInfoForms.xml?view=auto&rev=549416
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/widget/forms/MessageInfoForms.xml (added)
+++ ofbiz/trunk/specialpurpose/oagis/widget/forms/MessageInfoForms.xml Thu Jun 21 00:40:08 2007
@@ -0,0 +1,41 @@
+<?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.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-form.xsd">
+    <form name="ListMessageInfos" type="list" list-name="listIt" title="" paginate-target="FindMessageInfo">
+        <actions>
+            <set field="entityName" value="OagisMessageInfo"/>
+            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
+                <field-map field-name="inputFields" env-name="requestParameters"/>
+                <field-map field-name="entityName" env-name="entityName"/>
+            </service>
+        </actions>
+        <auto-fields-entity entity-name="OagisMessageInfo" default-field-type="display"/>
+    </form>
+    
+    <form name="FindMessageInfos" type="single" target="FindMessageInfo" >
+        <auto-fields-entity entity-name="OagisMessageInfo" default-field-type="find"/>
+        <field name="noConditionFind"><hidden value="Y"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit">
+            <submit button-type="button"/>
+        </field>
+    </form>
+</forms>