You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/04/02 10:57:12 UTC
svn commit: r761211 - in /ofbiz/trunk/applications: content/widget/
marketing/widget/ party/widget/partymgr/ workeffort/widget/
Author: jleroux
Date: Thu Apr 2 08:57:11 2009
New Revision: 761211
URL: http://svn.apache.org/viewvc?rev=761211&view=rev
Log:
Securing URLs, link element in screens and menus : 21th set + tabs to 4 spaces
Modified:
ofbiz/trunk/applications/content/widget/SurveyScreens.xml
ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml
ofbiz/trunk/applications/marketing/widget/DataSourceScreens.xml
ofbiz/trunk/applications/marketing/widget/MarketingCampaignScreens.xml
ofbiz/trunk/applications/marketing/widget/TrackingCodeScreens.xml
ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml
ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml
Modified: ofbiz/trunk/applications/content/widget/SurveyScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/SurveyScreens.xml?rev=761211&r1=761210&r2=761211&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/SurveyScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/SurveyScreens.xml Thu Apr 2 08:57:11 2009
@@ -277,7 +277,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.ContentSurveyCreateResponse}" target="EditSurveyResponse?surveyId=${surveyId}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.ContentSurveyCreateResponse}" target="EditSurveyResponse" style="buttontext">
+ <parameter param-name="surveyId" from-field="surveyId"/>
+ </link>
+ </container>
<include-form name="FindSurveyResponse" location="component://content/webapp/content/survey/SurveyForms.xml"/>
</widgets>
</section>
@@ -331,7 +335,11 @@
<widgets>
<decorator-screen name="CommonSurveyDecorator">
<decorator-section name="body">
- <container><link text="${uiLabelMap.ContentSurveyCreateResponse}" target="EditSurveyResponse?surveyId=${surveyId}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.ContentSurveyCreateResponse}" target="EditSurveyResponse" style="buttontext">
+ <parameter param-name="surveyId" from-field="surveyId"/>
+ </link>
+ </container>
<container style="screenlet">
<container style="screenlet-title-bar">
<container style="h3">
@@ -343,7 +351,11 @@
<widgets>
<section>
<condition><not><if-empty field="parameters.rootContentId"/></not></condition>
- <widgets><container><link text="${uiLabelMap.ContentCompDocGoBack} [${parameters.rootContentId}]" target="ViewCompDocInstanceTree?rootContentId=${parameters.rootContentId}" style="buttontext"/></container></widgets>
+ <widgets><container>
+ <link text="${uiLabelMap.ContentCompDocGoBack} [${parameters.rootContentId}]" target="ViewCompDocInstanceTree" style="buttontext">
+ <parameter param-name="rootContentId" from-field="parameters.rootContentId"/>
+ </link>
+ </container></widgets>
</section>
<platform-specific><html><html-template location="component://content/webapp/content/survey/ViewSurveyResponses.ftl"/></html></platform-specific>
</widgets>
@@ -388,7 +400,7 @@
</condition>
<actions>
<property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
- <set field="title" value="${uiLabelMap.PageTitleLookupSurvey}"/>
+ <set field="title" from-field="uiLabelMap.PageTitleLookupSurvey"/>
<set field="queryString" from-field="result.queryString"/>
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
@@ -412,7 +424,7 @@
</condition>
<actions>
<property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
- <set field="title" value="${uiLabelMap.PageTitleLookupSurveyResponse}"/>
+ <set field="title" from-field="uiLabelMap.PageTitleLookupSurveyResponse"/>
<set field="queryString" from-field="result.queryString"/>
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
Modified: ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml?rev=761211&r1=761210&r2=761211&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/ContactListScreens.xml Thu Apr 2 08:57:11 2009
@@ -41,7 +41,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.MarketingContactListCreate}" target="EditContactList?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.MarketingContactListCreate}" target="EditContactList" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="FindContactLists" location="component://marketing/webapp/marketing/contact/ContactListForms.xml"/>
</widgets>
</section>
@@ -81,7 +85,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.MarketingContactListCreate}" target="EditContactList?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.MarketingContactListCreate}" target="EditContactList" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="EditContactList" location="component://marketing/webapp/marketing/contact/ContactListForms.xml"/>
</widgets>
</section>
@@ -138,7 +146,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.MarketingContactListCreate}" target="EditContactList?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.MarketingContactListCreate}" target="EditContactList" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="ListContactLists" location="component://marketing/webapp/marketing/contact/ContactListForms.xml"/>
</widgets>
</section>
Modified: ofbiz/trunk/applications/marketing/widget/DataSourceScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/DataSourceScreens.xml?rev=761211&r1=761210&r2=761211&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/DataSourceScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/DataSourceScreens.xml Thu Apr 2 08:57:11 2009
@@ -83,7 +83,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.DataSourceCreate}" target="/EditDataSource?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.DataSourceCreate}" target="/EditDataSource" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="EditDataSource" location="component://marketing/webapp/marketing/datasource/DataSourceForms.xml"/>
</widgets>
</section>
@@ -136,7 +140,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.DataSourceCreate}" target="/EditDataSource?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.DataSourceCreate}" target="/EditDataSource" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="ListDataSource" location="component://marketing/webapp/marketing/datasource/DataSourceForms.xml"/>
</widgets>
</section>
@@ -176,7 +184,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.DataSourceTypeCreate}" target="/EditDataSourceType?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.DataSourceTypeCreate}" target="/EditDataSourceType" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="EditDataSourceType" location="component://marketing/webapp/marketing/datasource/DataSourceForms.xml"/>
</widgets>
</section>
@@ -229,7 +241,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.DataSourceTypeCreate}" target="/EditDataSourceType?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.DataSourceTypeCreate}" target="/EditDataSourceType" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="ListDataSourceType" location="component://marketing/webapp/marketing/datasource/DataSourceForms.xml"/>
</widgets>
</section>
Modified: ofbiz/trunk/applications/marketing/widget/MarketingCampaignScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/MarketingCampaignScreens.xml?rev=761211&r1=761210&r2=761211&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/MarketingCampaignScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/MarketingCampaignScreens.xml Thu Apr 2 08:57:11 2009
@@ -85,7 +85,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.MarketingCampaignCreate}" target="/EditMarketingCampaign?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.MarketingCampaignCreate}" target="/EditMarketingCampaign" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="EditMarketingCampaign" location="component://marketing/webapp/marketing/campaign/MarketingCampaignForms.xml"/>
</widgets>
</section>
@@ -137,7 +141,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.MarketingCampaignCreate}" target="/EditMarketingCampaign?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.MarketingCampaignCreate}" target="/EditMarketingCampaign" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="ListMarketingCampaign" location="component://marketing/webapp/marketing/campaign/MarketingCampaignForms.xml"/>
</widgets>
</section>
Modified: ofbiz/trunk/applications/marketing/widget/TrackingCodeScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/TrackingCodeScreens.xml?rev=761211&r1=761210&r2=761211&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/TrackingCodeScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/TrackingCodeScreens.xml Thu Apr 2 08:57:11 2009
@@ -83,7 +83,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.MarketingTrackingCodeCreate}" target="/EditTrackingCode?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.MarketingTrackingCodeCreate}" target="/EditTrackingCode" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="EditTrackingCode" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
</widgets>
</section>
@@ -135,7 +139,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.MarketingTrackingCodeCreate}" target="/EditTrackingCode?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.MarketingTrackingCodeCreate}" target="/EditTrackingCode" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="ListTrackingCode" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
</widgets>
</section>
@@ -456,7 +464,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.MarketingTrackingCodeTypeCreate}" target="/EditTrackingCodeType?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.MarketingTrackingCodeTypeCreate}" target="/EditTrackingCodeType" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="EditTrackingCodeType" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
</widgets>
</section>
@@ -509,7 +521,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.MarketingTrackingCodeTypeCreate}" target="/EditTrackingCodeType?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.MarketingTrackingCodeTypeCreate}" target="/EditTrackingCodeType" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="ListTrackingCodeType" location="component://marketing/webapp/marketing/trackingcode/TrackingCodeForms.xml"/>
</widgets>
</section>
Modified: ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml?rev=761211&r1=761210&r2=761211&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/CommunicationScreens.xml Thu Apr 2 08:57:11 2009
@@ -48,7 +48,11 @@
</section>
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="CommFindTabBar"/>
<container><label style="h1" text="${uiLabelMap.PartyPendingCommunicationEvents}"/></container>
- <container><link style="smallSubmit" target="ViewCommunicationEvent?partyId=${partyId}" text="${uiLabelMap.PartyNewCommunication}"/></container>
+ <container>
+ <link style="smallSubmit" target="ViewCommunicationEvent" text="${uiLabelMap.PartyNewCommunication}">
+ <parameter param-name="partyId" from-field="partyId"/>
+ </link>
+ </container>
<include-form location="component://party/webapp/partymgr/communication/CommForms.xml" name="ListPendingCommEvents"/>
</widgets>
<fail-widgets>
Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml?rev=761211&r1=761210&r2=761211&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/WorkEffortScreens.xml Thu Apr 2 08:57:11 2009
@@ -142,7 +142,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.WorkEffortCreate}" target="EditWorkEffort?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.WorkEffortCreate}" target="EditWorkEffort" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-form name="EditWorkEffort" location="component://workeffort/widget/WorkEffortForms.xml"/>
</widgets>
</section>
@@ -244,7 +248,11 @@
<container style="screenlet-body">
<section>
<widgets>
- <container><link text="${uiLabelMap.WorkEffortCreate}" target="EditWorkEffort?DONE_PAGE=${donePage}" style="buttontext"/></container>
+ <container>
+ <link text="${uiLabelMap.WorkEffortCreate}" target="EditWorkEffort" style="buttontext">
+ <parameter param-name="DONE_PAGE" from-field="donePage"/>
+ </link>
+ </container>
<include-tree name="TreeWorkEffort" location="component://workeffort/widget/WorkEffortTrees.xml"/>
</widgets>
</section>