editcontactmech.ftl
Posted by BJ Freeman on Aug 08, 2006; 8:07pm
URL: http://ofbiz.116.s1.nabble.com/editcontactmech-ftl-tp141275.html
I have many ContactMechpurposeTypes, with descriptions showing in the
webtools.
yet the add purpose dropdown, in partymgr/control/editcontactmech is
only populated with three email selections.
<select name="preContactMechTypeId" class="selectBox">
<#list mechMap.contactMechTypes as contactMechType>
<option
value="${contactMechType.contactMechTypeId}">${contactMechType.get("description",locale)}</option>
</#list>
</select> <a
href="javascript:document.createcontactmechform.submit()"
class="buttontext">[${uiLabelMap.CommonCreate}]</a>
I get lost in the bsh it looks up the mechMap.contactMechTypes
the only reference that seems to make sense is
Map mechMap = new HashMap();
ContactMechWorker.getContactMechAndRelated(request, partyId, mechMap);
context.put("mechMap", mechMap);
in ContactMechWorker.getContactMechAndRelated
there is this note
/** TO BE REMOVED (DEJ 20030221): This method was for use in a JSP
and when they are removed this can be removed as well rather than being
maintained, should be removed when eCommerce and party mgr and possible
other places are converted to FTL */
Does something have to change?
if so I am here will try. just need a pointer.