Author: jleroux
Date: Thu Apr 2 08:39:10 2009 New Revision: 761205 URL: http://svn.apache.org/viewvc?rev=761205&view=rev Log: Securing URLs, link element in screens and menus : 20th set + tabs to 4 spaces Modified: ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml ofbiz/trunk/framework/webtools/widget/EntitySyncForms.xml Modified: ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml?rev=761205&r1=761204&r2=761205&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml (original) +++ ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml Thu Apr 2 08:39:10 2009 @@ -36,7 +36,12 @@ <widgets> <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml"> <decorator-section name="menu-bar"> - <container style="button-bar"><link target="EditLayoutSubContent?mode=add&contentIdTo=TEMPLATE_MASTER" text="${uiLabelMap.CommonCreateNew}" style="buttontext"/></container> + <container style="button-bar"> + <link target="EditLayoutSubContent" text="${uiLabelMap.CommonCreateNew}" style="buttontext"> + <parameter param-name="mode" value="add"/> + <parameter param-name="contentIdTo" value="TEMPLATE_MASTER"/> + </link> + </container> </decorator-section> <decorator-section name="search-options"> <include-form name="findLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/> Modified: ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml?rev=761205&r1=761204&r2=761205&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml (original) +++ ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml Thu Apr 2 08:39:10 2009 @@ -111,9 +111,9 @@ <fail-widgets> <container style="button-bar button-style-2"> <link target="viewprofile" text="${uiLabelMap.PartyShowOld}"> - <parameter param-name="partyId" from-field="party.partyId"/> - <parameter param-name="SHOW_OLD" value="true"/> - </link> + <parameter param-name="partyId" from-field="party.partyId"/> + <parameter param-name="SHOW_OLD" value="true"/> + </link> </container> </fail-widgets> </section> Modified: ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml?rev=761205&r1=761204&r2=761205&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml Thu Apr 2 08:39:10 2009 @@ -277,9 +277,9 @@ <fail-widgets> <container style="button-bar button-style-2"> <link target="viewprofile" text="${uiLabelMap.PartyShowOld}"> - <parameter param-name="partyId" from-field="party.partyId"/> - <parameter param-name="SHOW_OLD" value="true"/> - </link> + <parameter param-name="partyId" from-field="party.partyId"/> + <parameter param-name="SHOW_OLD" value="true"/> + </link> </container> </fail-widgets> </section> Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml?rev=761205&r1=761204&r2=761205&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml Thu Apr 2 08:39:10 2009 @@ -90,9 +90,9 @@ <fail-widgets> <container style="button-bar button-style-2"> <link target="viewprofile" text="${uiLabelMap.PartyShowOld}"> - <parameter param-name="partyId" from-field="party.partyId"/> - <parameter param-name="SHOW_OLD" value="true"/> - </link> + <parameter param-name="partyId" from-field="party.partyId"/> + <parameter param-name="SHOW_OLD" value="true"/> + </link> </container> </fail-widgets> </section> Modified: ofbiz/trunk/framework/webtools/widget/EntitySyncForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/EntitySyncForms.xml?rev=761205&r1=761204&r2=761205&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/widget/EntitySyncForms.xml (original) +++ ofbiz/trunk/framework/webtools/widget/EntitySyncForms.xml Thu Apr 2 08:39:10 2009 @@ -47,15 +47,15 @@ </field> <field use-when=""ESR_PENDING".equals(runStatusId)" name="acceptOffline" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsSyncAcceptOffline}" target="updateOfflineEntitySync"> - <parameter param-name="entitySyncId" from-field="entitySyncId"/> - <parameter param-name="updateType" value="ACCEPT"/> - </hyperlink> + <parameter param-name="entitySyncId" from-field="entitySyncId"/> + <parameter param-name="updateType" value="ACCEPT"/> + </hyperlink> </field> <field use-when=""ESR_PENDING".equals(runStatusId)" name="rejectOffline" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsSyncRejectOffline}" target="updateOfflineEntitySync"> - <parameter param-name="entitySyncId" from-field="entitySyncId"/> - <parameter param-name="updateType" value="REJECT"/> - </hyperlink> + <parameter param-name="entitySyncId" from-field="entitySyncId"/> + <parameter param-name="updateType" value="REJECT"/> + </hyperlink> </field> </form> |
Free forum by Nabble | Edit this page |