You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2008/06/26 11:01:47 UTC

svn commit: r671830 - in /ofbiz/trunk/applications/party: webapp/partymgr/communication/CommForms.xml widget/partymgr/CommunicationScreens.xml

Author: hansbak
Date: Thu Jun 26 02:01:46 2008
New Revision: 671830

URL: http://svn.apache.org/viewvc?rev=671830&view=rev
Log:
paging of comm events now within the screenlet

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
    ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml

Modified: ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml?rev=671830&r1=671829&r2=671830&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml Thu Jun 26 02:01:46 2008
@@ -274,7 +274,7 @@
         <field name="submitButton" title="${uiLabelMap.CommonFind}"><submit button-type="button"/></field>
     </form>
 
-    <form name="ListCommEvents" type="list" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+    <form name="ListCommEvents" type="list" odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate="true">
         <field name="communicationEventId"><hidden/></field>
         <field name="communicationEventTypeId"><display-entity description="${description}" entity-name="CommunicationEventType" key-field-name="communicationEventTypeId"/></field>
         <field name="subject">
@@ -339,8 +339,7 @@
         </actions>
     </form>
 
-    <form name="ListLookupCommEvents" type="list" list-name="listIt" extends="ListCommEvents" target="updateCommunicationEvent"
-        paginate-target="ListLookupCommEvents" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+    <form name="ListLookupCommEvents" type="list" list-name="listIt" extends="ListCommEvents">
         <actions>
             <service result-map-list-name="listIt" result-map-name="result" service-name="performFind">
                 <field-map env-name="parameters" field-name="inputFields"/>

Modified: ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml?rev=671830&r1=671829&r2=671830&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml Thu Jun 26 02:01:46 2008
@@ -116,8 +116,6 @@
                 <set field="headerItem" value="comm"/>
                 <set field="tabButtonItem" value="find"/>
                 <set field="entityName" value="CommunicationEvent"/>
-                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
-                <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
             </actions>
             <widgets>
                 <decorator-screen location="${parameters.mainDecoratorLocation}" name="main-decorator">
@@ -135,11 +133,11 @@
                                         <include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="ProfileTabBar"/>
                                     </widgets>
                                 </section>
-                                <screenlet title="${uiLabelMap.PartyFindCommunicationEvents}" collapsible="true" id="FindCommunicationEvents">
+                                <screenlet title="${uiLabelMap.PartyFindCommunicationEvents}" collapsible="true" name="FindCommunicationEvents">
                                     <container><link style="smallSubmit" target="EditCommunicationEvent" text="${uiLabelMap.PartyNewCommunication}"/></container>
                                     <include-form location="component://party/webapp/partymgr/communication/CommForms.xml" name="findCommEvents"/>
                                 </screenlet>
-                                <screenlet title="${uiLabelMap.PartyFoundCommunicationEvents}" navigation-form-name="FindCommunicationEvents">
+                                <screenlet title="${uiLabelMap.PartyFoundCommunicationEvents}" navigation-form-name="ListLookupCommEvents">
                                     <include-form location="component://party/webapp/partymgr/communication/CommForms.xml" name="ListLookupCommEvents"/>
                                 </screenlet>
                             </widgets>