Securing URLs, link element in screens and menus : 9th set + tabs to 4 spaces

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-03-31 22:38:32 +00:00
parent b1a100f172
commit 76e662fe9c
3 changed files with 66 additions and 19 deletions
@@ -182,7 +182,11 @@ under the License.
<container style="screenlet-body">
<section>
<widgets>
<container><link text="${uiLabelMap.MarketingContactListPartyCreate}" target="EditContactListParty?contactListId=${contactListId}&amp;DONE_PAGE=${donePage}" style="buttontext"/></container>
<container>
<link text="${uiLabelMap.MarketingContactListPartyCreate}" target="EditContactListParty" DONE_PAGE>
<parameter param-name="contactListId" from-field="contactListId"/>
</link>
</container>
<include-form name="EditContactListParty" location="component://marketing/webapp/marketing/contact/ContactListForms.xml"/>
<container><label style="h2" text="${uiLabelMap.CommonStatusHistory}"/></container>
<iterate-section entry="contactListPartyStatus" list="contactListPartyStatusList">
@@ -228,7 +232,11 @@ under the License.
<container style="screenlet-body">
<section>
<widgets>
<container><link text="${uiLabelMap.MarketingContactListPartyCreate}" target="EditContactListParty?contactListId=${contactListId}&amp;DONE_PAGE=${donePage}" style="buttontext"/></container>
<container>
<link text="${uiLabelMap.MarketingContactListPartyCreate}" target="EditContactListParty" DONE_PAGE>
<parameter param-name="contactListId" from-field="contactListId"/>
</link>
</container>
<include-form name="ListContactListParties" location="component://marketing/webapp/marketing/contact/ContactListForms.xml"/>
</widgets>
</section>
@@ -261,7 +269,11 @@ under the License.
<container style="screenlet-body">
<section>
<widgets>
<container><link text="${uiLabelMap.MarketingContactListPartyCreate}" target="EditContactListParty?contactListId=${contactListId}&amp;DONE_PAGE=${donePage}" style="buttontext"/></container>
<container>
<link text="${uiLabelMap.MarketingContactListPartyCreate}" target="EditContactListParty" DONE_PAGE>
<parameter param-name="contactListId" from-field="contactListId"/>
</link>
</container>
<include-form name="FindContactListParties" location="component://marketing/webapp/marketing/contact/ContactListForms.xml"/>
</widgets>
</section>
@@ -300,7 +312,11 @@ under the License.
<container style="screenlet-body">
<section>
<widgets>
<container><link text="${uiLabelMap.MarketingContactListCommEventCreate}" target="EditContactListCommEvent?contactListId=${contactListId}&amp;DONE_PAGE=${donePage}" style="buttontext"/></container>
<container>
<link text="${uiLabelMap.MarketingContactListCommEventCreate}" target="EditContactListCommEvent" DONE_PAGE>
<parameter param-name="contactListId" from-field="contactListId"/>
</link>
</container>
<include-form name="EditContactListCommEvent" location="component://marketing/webapp/marketing/contact/ContactListForms.xml"/>
</widgets>
</section>
@@ -337,7 +353,11 @@ under the License.
<container style="screenlet-body">
<section>
<widgets>
<container><link text="${uiLabelMap.MarketingContactListCommEventCreate}" target="EditContactListCommEvent?contactListId=${contactListId}&amp;DONE_PAGE=${donePage}" style="buttontext"/></container>
<container>
<link text="${uiLabelMap.MarketingContactListCommEventCreate}" target="EditContactListCommEvent" DONE_PAGE>
<parameter param-name="contactListId" from-field="contactListId"/>
</link>
</container>
<include-form name="ListContactListCommEvents" location="component://marketing/webapp/marketing/contact/ContactListForms.xml"/>
</widgets>
</section>
@@ -370,7 +390,11 @@ under the License.
<container style="screenlet-body">
<section>
<widgets>
<container><link text="${uiLabelMap.MarketingContactListCommEventCreate}" target="EditContactListCommEvent?contactListId=${contactListId}&amp;DONE_PAGE=${donePage}" style="buttontext"/></container>
<container>
<link text="${uiLabelMap.MarketingContactListCommEventCreate}" target="EditContactListCommEvent" DONE_PAGE>
<parameter param-name="contactListId" from-field="contactListId"/>
</link>
</container>
<include-form name="FindContactListCommEvents" location="component://marketing/webapp/marketing/contact/ContactListForms.xml"/>
</widgets>
</section>
@@ -174,7 +174,11 @@ under the License.
<container style="screenlet-body">
<section>
<widgets>
<container><link text="${uiLabelMap.MarketingCampaignRoleCreate}" target="/EditMarketingCampaignRoles?marketingCampaignId=${marketingCampaignId}&amp;DONE_PAGE=${donePage}" style="buttontext"/></container>
<container>
<link text="${uiLabelMap.MarketingCampaignRoleCreate}" target="/EditMarketingCampaignRoles" DONE_PAGE>
<parameter param-name="marketingCampaignId" from-field="marketingCampaignId"/>
</link>
</container>
<include-form name="EditMarketingCampaignRoles" location="component://marketing/webapp/marketing/campaign/MarketingCampaignForms.xml"/>
<container><label style="h2" text="${uiLabelMap.CommonStatusHistory}"/></container>
</widgets>
@@ -208,7 +212,11 @@ under the License.
<container style="screenlet-body">
<section>
<widgets>
<container><link text="${uiLabelMap.MarketingCampaignRoleCreate}" target="/EditMarketingCampaignRoles?marketingCampaignId=${marketingCampaignId}&amp;DONE_PAGE=${donePage}" style="buttontext"/></container>
<container>
<link text="${uiLabelMap.MarketingCampaignRoleCreate}" target="/EditMarketingCampaignRoles" DONE_PAGE>
<parameter param-name="marketingCampaignId" from-field="marketingCampaignId"/>
</link>
</container>
<include-form name="ListMarketingCampaignRoles" location="component://marketing/webapp/marketing/campaign/MarketingCampaignForms.xml"/>
</widgets>
</section>
@@ -307,8 +307,8 @@ under the License.
</entity-condition>
<set field="communicationEventId" from-field="parameters.communicationEventId"/>
<set field="communicationEventTypeId" from-field="parameters.communicationEventTypeId"/>
<set field="partyId" from-field="userLogin.partyId"/>
</actions>
<set field="partyId" from-field="userLogin.partyId"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.PartyAttachContent}">
<platform-specific>
@@ -317,9 +317,9 @@ under the License.
</html>
</platform-specific>
</screenlet>
</widgets>
</widgets>
</section>
</screen>
</screen>
<screen name="AttachFileList">
<section>
<actions>
@@ -527,7 +527,12 @@ under the License.
<decorator-screen name="CommonCommunicationEventDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.PartyCommEventPurposes}">
<container style="button-bar"><link style="smallSubmit" target="AddCommContent?communicationEventId=${communicationEventId}&amp;partyId=${partyId}" text="${uiLabelMap.PartyNewCommPurpose}"/></container>
<container style="button-bar">
<link style="smallSubmit" target="AddCommContent" text="${uiLabelMap.PartyNewCommPurpose}">
<parameter param-name="communicationEventId"/>
<parameter param-name="partyId"/>
</link>
</container>
<include-form location="component://party/webapp/partymgr/communication/CommForms.xml" name="ListCommPurposes"/>
</screenlet>
</decorator-section>
@@ -553,7 +558,12 @@ under the License.
<decorator-screen name="CommonCommunicationEventDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.PartyCommWorkEfforts}">
<container style="button-bar"><link style="smallSubmit" target="AddCommEventWorkEffort?communicationEventId=${communicationEventId}&amp;partyId=${partyId}" text="${uiLabelMap.PartyNewCommWorkEffort}"/></container>
<container style="button-bar">
<link style="smallSubmit" target="AddCommEventWorkEffort">
<parameter param-name="communicationEventId"/>
<parameter param-name="partyId"/>
</link>
</container>
<include-form location="component://party/webapp/partymgr/communication/CommForms.xml" name="ListCommWorkEfforts"/>
</screenlet>
</decorator-section>
@@ -623,7 +633,12 @@ under the License.
</condition>
<widgets>
<screenlet title="${uiLabelMap.PartyCommContent}">
<container style="button-bar"><link style="smallSubmit" target="AddCommContent?communicationEventId=${communicationEventId}&amp;partyId=${partyId}" text="${uiLabelMap.PartyAddCommContent}"/></container>
<container style="button-bar">
<link style="smallSubmit" target="AddCommContent">
<parameter param-name="communicationEventId"/>
<parameter param-name="partyId"/>
</link>
</container>
<include-form location="component://party/webapp/partymgr/communication/CommForms.xml" name="listCommContent"/>
</screenlet>
</widgets>
@@ -764,7 +779,7 @@ under the License.
</widgets>
</section>
</screen>
<screen name="PartyCommunicationEvents">
<section>
<actions>
@@ -815,10 +830,10 @@ under the License.
</entity-condition>
<entity-condition entity-name="CommunicationEventAndRole" list="commEventDraft">
<condition-list combine="and">
<condition-expr field-name="statusId" operator="equals"
<condition-expr field-name="statusId" operator="equals"
value="COM_PENDING"/>
<condition-expr field-name="partyId" operator="equals"
value="${partyId}"/>
<condition-expr field-name="partyId" operator="equals"
value="${partyId}"/>
</condition-list>
<order-by field-name="-datetimeStarted" />
</entity-condition>