9th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@759506 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -299,7 +299,11 @@ under the License.
|
||||
<field name="subject"><text size="60" default-value="${parameters.subject}"/></field>
|
||||
<field name="fileAttach" title="${uiLabelMap.MyPageFileAttach}"><display/></field>
|
||||
<field name="fileAttach" title="${uiLabelMap.MyPageFileAttach}">
|
||||
<hyperlink target="addAttachmentEmail?communicationEventTypeId=${parameters.communicationEventTypeId}&partyId=${userLogin.partyId}&communicationEventId=${parameters.communicationEventId}" description="${uiLabelMap.MyPageAttachFile}"/>
|
||||
<hyperlink target="addAttachmentEmail" description="${uiLabelMap.MyPageAttachFile}">
|
||||
<parameter param-name="communicationEventTypeId" from-field="parameters.communicationEventTypeId"/>
|
||||
<parameter param-name="partyId" from-field="userLogin.partyId"/>
|
||||
<parameter param-name="communicationEventId" from-field="parameters.communicationEventId"/>
|
||||
</hyperlink>
|
||||
</field>
|
||||
<field name="contentMimeTypeId"><hidden value="text/plain"/></field>
|
||||
<field name="content" title="${uiLabelMap.CommonContent}"><textarea cols="80" rows="20" default-value="${parameters.content}"/></field>
|
||||
|
||||
@@ -385,7 +385,13 @@
|
||||
<field name="statusId"><display-entity entity-name="StatusItem" description="${description}"/></field>
|
||||
<field name="orderDate"><display/></field>
|
||||
<field name="entryDate"><display/></field>
|
||||
<field name="linkProjectOrder" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" use-when="headerItem.equals("editProjectOrders")"><hyperlink target="unLinkProjectOrder?workEffortId=${projectId}&orderId=${orderId}&projectId=${projectId}" description="${uiLabelMap.ProjectMgrRemoveLinkFromProject}"/></field>
|
||||
<field name="linkProjectOrder" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" use-when="headerItem.equals("editProjectOrders")">
|
||||
<hyperlink target="unLinkProjectOrder" description="${uiLabelMap.ProjectMgrRemoveLinkFromProject}">
|
||||
<parameter param-name="workEffortId" from-field="projectId"/>
|
||||
<parameter param-name="orderId" from-field="orderId"/>
|
||||
<parameter param-name="projectId" from-field="projectId"/>
|
||||
<hyperlink>
|
||||
</field>
|
||||
</form>
|
||||
<form name="projectAssoOrder" type="list" list-name="listProjectAssoOrder"
|
||||
extends="ListProjects" extends-resource="component://projectmgr/widget/forms/ProjectForms.xml">
|
||||
|
||||
@@ -34,7 +34,15 @@
|
||||
<hyperlink also-hidden="false" description="${lastName}, ${firstName} ${middleName} ${groupName}" target="viewprofile?partyId=${partyId}"/>
|
||||
</field>
|
||||
<field name="roleTypeId"><hidden/></field>
|
||||
<field name="emailAddess" title="${uiLabelMap.PartyEmailAddress}"><hyperlink target="/partymgr/control/EditCommunicationEvent?partyIdFrom=${userLogin.partyId}&partyIdTo=${partyId}&communicationEventTypeId=EMAIL_COMMUNICATION&contactMechIdTo=${contactMechId}&contactMechTypeId=EMAIL_ADDRESS" description="${emailResult.emailAddress}" target-type="inter-app"/></field>
|
||||
<field name="emailAddess" title="${uiLabelMap.PartyEmailAddress}">
|
||||
<hyperlink target="/partymgr/control/EditCommunicationEvent" description="${emailResult.emailAddress}" target-type="inter-app">
|
||||
<parameter param-name="partyIdFrom" from-field="userLogin.partyId"/>
|
||||
<parameter param-name="partyIdTo" from-field="partyId"/>
|
||||
<parameter param-name="communicationEventTypeId" value="EMAIL_COMMUNICATION"/>
|
||||
<parameter param-name="contactMechIdTo" from-field="contactMechId"/>
|
||||
<parameter param-name="contactMechTypeId" value="EMAIL_ADDRESS"/>
|
||||
<hyperlink>
|
||||
</field>
|
||||
<field use-when="telResult.get("extension")!=null" name="telephone" title="${uiLabelMap.PartyPhoneNumber}"><display description="${telResult.countryCode} ${telResult.areaCode} ${telResult.contactNumber} Ext:${telResult.extension}"/></field>
|
||||
<field use-when="telResult.get("extension")==null" name="telephone" title="${uiLabelMap.PartyPhoneNumber}"><display description="${telResult.countryCode} ${telResult.areaCode} ${telResult.contactNumber}"/></field>
|
||||
<field name="contactMechPurposeTypeId" entry-name="telResult.contactMechPurposeTypeId" title="${uiLabelMap.CommonPurpose}"><display-entity entity-name="ContactMechPurposeType"/></field>
|
||||
|
||||
Reference in New Issue
Block a user