svn commit: r540888 - in /ofbiz/branches/release4.0/applications/party: config/PartyUiLabels.properties webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh webapp/partymgr/party/viewprofile.ftl

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

svn commit: r540888 - in /ofbiz/branches/release4.0/applications/party: config/PartyUiLabels.properties webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh webapp/partymgr/party/viewprofile.ftl

lektran
Author: lektran
Date: Wed May 23 01:45:22 2007
New Revision: 540888

URL: http://svn.apache.org/viewvc?view=rev&rev=540888
Log:
Applied fix from trunk for revision: 538120

Modified:
    ofbiz/branches/release4.0/applications/party/config/PartyUiLabels.properties
    ofbiz/branches/release4.0/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
    ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl

Modified: ofbiz/branches/release4.0/applications/party/config/PartyUiLabels.properties
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/party/config/PartyUiLabels.properties?view=diff&rev=540888&r1=540887&r2=540888
==============================================================================
--- ofbiz/branches/release4.0/applications/party/config/PartyUiLabels.properties (original)
+++ ofbiz/branches/release4.0/applications/party/config/PartyUiLabels.properties Wed May 23 01:45:22 2007
@@ -468,6 +468,7 @@
 PartySegmentGroupTypeId=Segment Type Id
 PartySegmentGroupProductStoreId=Product Store Id
 PartySegments=Segments
+PartySelectMimeType=Select Mime Type
 PartySelectContactType=Select Contact Type
 PartySelectcRoleForParty=Select role(s) for this party
 PartySequenceId=Sequence Id

Modified: ofbiz/branches/release4.0/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh?view=diff&rev=540888&r1=540887&r2=540888
==============================================================================
--- ofbiz/branches/release4.0/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh (original)
+++ ofbiz/branches/release4.0/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh Wed May 23 01:45:22 2007
@@ -68,6 +68,9 @@
 roles = delegator.findAll("RoleType", UtilMisc.toList("description", "roleTypeId"));
 context.put("roles", roles);
 
+mimeTypes = delegator.findAll("MimeType", UtilMisc.toList("description", "mimeTypeId"));
+context.put("mimeTypes", mimeTypes);
+
 relateTypes = delegator.findAll("PartyRelationshipType", UtilMisc.toList("description", "partyRelationshipTypeId"));
 context.put("relateTypes", relateTypes);
 

Modified: ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl?view=diff&rev=540888&r1=540887&r2=540888
==============================================================================
--- ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl (original)
+++ ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl Wed May 23 01:45:22 2007
@@ -628,6 +628,12 @@
             <option value="${role.roleTypeId}">${role.description?default(role.roleTypeId)}</option>
           </#list>
         </select>
+        <select name="mimeTypeId">
+          <option value="">${uiLabelMap.PartySelectMimeType}</option>
+          <#list mimeTypes as mimeType>
+            <option value="${mimeType.mimeTypeId}">${mimeType.get("description", locale)?default(mimeType.mimeTypeId)}</option>
+          </#list>
+        </select>
         <input type="submit" value="${uiLabelMap.CommonUpload}"/>
       </form>
     </div>