Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Applying OFBIZ-5088 which are misc. cleanups

  • Loading branch information...
commit 0aa48a4b7ad7383edbaa5331b0ed54c68626fd7f 1 parent fbc7d22
Erwan de Ferrieres authored
View
12 applications/party/widget/ProfileForms.xml
@@ -1145,7 +1145,7 @@ under the License.
<parameter param-name="billingAccountId"/>
</show-portlet>
</field>
- <on-event-update-area event-type="paginate" area-id="" area-target="refreshPortlet">
+ <on-event-update-area event-type="paginate" area-id="" area-target="showPortlet">
<parameter param-name="portalPortletId" from-field="parameters.portalPortletId"/>
<parameter param-name="partyId" from-field="partyId"/>
</on-event-update-area>
@@ -1178,7 +1178,7 @@ under the License.
<parameter param-name="partyId" from-field="parameters.partyId"/>
</show-portlet>
</field>
- <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="refreshPortlet" >
+ <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="showPortlet" >
<parameter param-name="portalPortletId" from-field="parameters.portalPortletId"/>
<parameter param-name="partyId" from-field="parameters.partyId"/>
<parameter param-name="billingAccountId"/>
@@ -1241,7 +1241,7 @@ under the License.
<parameter param-name="partyId" from-field="parameters.partyId"/>
</show-portlet>
</field>
- <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="refreshPortlet">
+ <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="showPortlet">
<parameter param-name="portalPortletId" from-field="parameters.portalPortletId"/>
<parameter param-name="partyId" from-field="parameters.partyId"/>
</on-event-update-area>
@@ -1289,7 +1289,7 @@ under the License.
<parameter param-name="partyId" from-field="parameters.partyId"/>
</show-portlet>
</field>
- <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="refreshPortlet">
+ <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="showPortlet">
<parameter param-name="portalPortletId" from-field="parameters.portalPortletId"/>
<parameter param-name="partyId" from-field="parameters.partyId"/>
</on-event-update-area>
@@ -1315,7 +1315,7 @@ under the License.
<parameter param-name="partyId" from-field="parameters.partyId"/>
</show-portlet>
</field>
- <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="refreshPortlet">
+ <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="showPortlet">
<parameter param-name="portalPortletId" from-field="parameters.portalPortletId"/>
<parameter param-name="partyId" from-field="parameters.partyId"/>
</on-event-update-area>
@@ -1351,7 +1351,7 @@ under the License.
<parameter param-name="partyId" from-field="parameters.partyId"/>
</show-portlet>
</field>
- <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="refreshPortlet">
+ <on-event-update-area event-type="submit" area-id="${parameters.areaId}" area-target="showPortlet">
<parameter param-name="portalPortletId" from-field="parameters.portalPortletId"/>
<parameter param-name="partyId" from-field="parameters.partyId"/>
</on-event-update-area>
View
13 framework/common/data/CommonPortletData.xml
@@ -18,18 +18,7 @@
under the License.
-->
<entity-engine-xml>
- <PortletCategory portletCategoryId="GENERIC_PORTLET" description="Generics portlets usable for easily parametrize portalPages"/>
- <PortalPortlet portalPortletId="GenericPortalPage" portletName="Sub PortalPage" screenName="GenericPortalPage" screenLocation="component://common/widget/PortalPageScreens.xml" editFormName="GenericPortalPageParam" editFormLocation="component://common/widget/PortletEditForms.xml" description="a portlet which included a portalPage to be able to have multiple line, each line being a sub page. This portlet has 1 mandatory parameters." securityServiceName="" securityMainAction="VIEW"/>
- <PortletPortletCategory portalPortletId="GenericPortalPage" portletCategoryId="GENERIC_PORTLET"/>
- <PortalPortlet portalPortletId="FindGenericEntity" portletName="Entity List simple search criteria" screenName="FindGenericEntity" screenLocation="component://common/widget/PortalPageScreens.xml" editFormName="FindGenericEntityParam" editFormLocation="component://common/widget/PortletEditForms.xml" description="Simple search criteria, only Id (param idName) and description for entityList, result is sent to List${Entity}Area (FindGenericEntityPrtl define this area). This portel has 3 mandatory parameters." securityServiceName="" securityMainAction="VIEW"/>
- <PortletPortletCategory portalPortletId="FindGenericEntity" portletCategoryId="GENERIC_PORTLET"/>
- <PortalPortlet portalPortletId="GenericScreenlet" portletName="Screenlet with one screen" screenName="GenericScreenlet" screenLocation="component://common/widget/PortalPageScreens.xml" editFormName="GenericScreenletParam" editFormLocation="component://common/widget/PortletEditForms.xml" description="Simple portlet using screenlet, with one screen. This portlet has 3 mandatory parameters." securityServiceName="" securityMainAction="VIEW"/>
- <PortletPortletCategory portalPortletId="GenericScreenlet" portletCategoryId="GENERIC_PORTLET"/>
- <PortalPortlet portalPortletId="GenericScreenletAjax" portletName="Screenlet with one screen called by ajax" screenName="GenericScreenletAjax" screenLocation="component://common/widget/PortalPageScreens.xml" editFormName="GenericScreenletAjaxParam" editFormLocation="component://common/widget/PortletEditForms.xml" description="Simple portlet using screenlet, with one screen which was update by ajax process, so with a div. This portlet has 4 mandatory parameters." securityServiceName="" securityMainAction="VIEW"/>
- <PortletPortletCategory portalPortletId="GenericScreenletAjax" portletCategoryId="GENERIC_PORTLET"/>
- <PortalPortlet portalPortletId="GricScltAjaxWithMenu" portletName="Screenlet with one screen, and one menu called by ajax" screenName="GenericScreenletAjaxWithMenu" screenLocation="component://common/widget/PortalPageScreens.xml" editFormName="GenericScreenletAjaxWithMenuParam" editFormLocation="component://common/widget/PortletEditForms.xml" description="Simple portlet using screenlet with a menu, with one screen which was update by ajax process, so with a div. This portlet has 6 mandatory parameters." securityServiceName="" securityMainAction="VIEW"/>
- <PortletPortletCategory portalPortletId="GricScltAjaxWithMenu" portletCategoryId="GENERIC_PORTLET"/>
- <PortalPage portalPageId="_NA_" sequenceNum="000" portalPageName="For using genericPortletScreen" description="To be able to have parameters at the portlet level, not PortletPage level" ownerUserLoginId="_NA_"/>
+ <PortalPage portalPageId="_NA_" sequenceNum="000" portalPageName="For portlet attribute default value" description="To be able to have parameters at the portlet level, not PortletPage level" ownerUserLoginId="_NA_"/>
<!--#Bam# portletWidget -->
<PortletType portletTypeId="Decorator" screenName="portletUiLabelDecorator" description="use screen and screen location in the portletDecorator" screenLocation="component://common/widget/PortletTypeScreens.xml"/>
<PortletType portletTypeId="Screenlet" screenName="Screenlet" description="depending of scriptName, menuName and screenName exist a screen with call (or not) scriptName in action and include a screenlet with include formName (or screenName) and include (or not) menuName" screenLocation="component://common/widget/PortletTypeScreens.xml"/>
View
4 framework/common/webcommon/WEB-INF/portal-controller.xml
@@ -27,10 +27,6 @@ under the License.
<security https="true" auth="true"/>
<response name="success" type="view" value="showPortlet"/>
</request-map>
- <request-map uri="refreshPortlet">
- <security https="true" auth="true"/>
- <response name="success" type="view" value="showPortlet"/>
- </request-map>
<request-map uri="showPortletMainDecorator">
<security https="true" auth="true"/>
<response name="success" type="view" value="showPortletMainDecorator"/>
View
12 framework/common/widget/PortalPageForms.xml
@@ -136,18 +136,6 @@ under the License.
</form>
- <form name="FindGenericEntity" type="single" target="list${entity}" title="" focus-field-name="idName">
- <field name="idName" title="${uiLabelMap.FormFieldTitle_${pkIdName}"><text size="16"/></field>
- <field name="idName_op" ><hidden value="contains"/></field>
- <field name="idName_ic" ><hidden value="Y"/></field>
- <field name="description" ><text size="16"/></field>
- <field name="description_op" ><hidden value="contains"/></field>
- <field name="description_ic" ><hidden value="Y"/></field>
- <field name="submitButton" title=" " widget-style="smallSubmit">
- <hyperlink target="javascript:ajaxUpdateArea('List${entity}Area', 'list${entity}', $(FindGenericEntity).serialize());" target-type="plain" description="${uiLabelMap.CommonSearch}"/>
- </field>
- </form>
-
<form name="EditPortalPageColumnWidth" type="single" target="updatePortalPageColumnWidth" default-map-name="portalPageColumn">
<field name="portalPageId"><hidden/></field>
<field name="columnSeqId"><hidden/></field>
View
48 framework/common/widget/PortalPageScreens.xml
@@ -140,54 +140,6 @@ under the License.
</section>
</screen>
- <screen name="GenericPortalPage">
- <section>
- <widgets>
- <include-portal-page id="${pageId}"/>
- </widgets>
- </section>
- </screen>
- <screen name="FindGenericEntity">
- <section>
- <widgets>
- <screenlet title="${uiLabelMap.${titleLabel}}">
- <include-form name="FindGenericEntity" location="component://common/widget/PortalPageForms.xml"/>
- </screenlet>
- </widgets>
- </section>
- </screen>
- <screen name="GenericScreenlet">
- <section>
- <widgets>
- <screenlet title="${uiLabelMap.${titleLabel}}" collapsible="true" id="scrlt_${formName}">
- <include-form name="${formName}" location="${formLocation}"/>
- </screenlet>
- </widgets>
- </section>
- </screen>
- <screen name="GenericScreenletAjax">
- <section>
- <widgets>
- <screenlet title="${uiLabelMap.${titleLabel}}">
- <container id="${divIdArea}">
- <include-screen name="${screenName}" location="${screenLocation}"/>
- </container>
- </screenlet>
- </widgets>
- </section>
- </screen>
- <screen name="GenericScreenletAjaxWithMenu">
- <section>
- <widgets>
- <screenlet title="${uiLabelMap.${titleLabel}}" navigation-menu-name="${menuName}">
- <include-menu name="${menuName}" location="${menuLocation}"/>
- <container id="${divIdArea}">
- <include-screen name="${screenName}" location="${screenLocation}"/>
- </container>
- </screenlet>
- </widgets>
- </section>
- </screen>
<screen name="EditPortalPortletAttributes">
<section>
<actions>
View
36 framework/common/widget/PortletEditForms.xml
@@ -33,10 +33,6 @@ under the License.
<field name="portalPortletId"><hidden value="${parameters.portalPortletId}"/></field>
<field name="portletSeqId"><hidden value="${parameters.portletSeqId}"/></field>
</form>
- <form name="GenericPortalPageParam" extends="CommonPortletEdit">
- <field name="pageId" required-field="true"><text/></field>
- <field name="submit" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
<!--#Bam# portletEditForm -->
<!-- use by portlet throws an extend form-->
<!-- mgmtPageId : portal page with research and quick vision -->
@@ -84,37 +80,5 @@ under the License.
<field name="submit" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<!--#Eam# portletEditForm -->
- <form name="FindGenericEntityParam" extends="CommonPortletEdit">
- <field name="titleLabel" required-field="true"><text/></field>
- <field name="entity" required-field="true"><text/></field>
- <field name="pkIdName" required-field="true"><text/></field>
- <field name="divIdRefresh"><text/></field>
- <field name="submit" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="GenericScreenletParam" extends="CommonPortletEdit">
- <field name="titleLabel" required-field="true"><text/></field>
- <field name="divIdRefresh"><text/></field>
- <field name="formName" required-field="true"><text/></field>
- <field name="formLocation" required-field="true"><text/></field>
- <field name="submit" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="GenericScreenletAjaxParam" extends="CommonPortletEdit">
- <field name="titleLabel" required-field="true"><text/></field>
- <field name="divIdRefresh"><text/></field>
- <field name="divIdArea" required-field="true"><text/></field>
- <field name="screenName" required-field="true"><text/></field>
- <field name="screenLocation" required-field="true"><text/></field>
- <field name="submit" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="GenericScreenletAjaxWithMenuParam" extends="CommonPortletEdit">
- <field name="titleLabel" required-field="true"><text/></field>
- <field name="divIdRefresh"><text/></field>
- <field name="divIdArea" required-field="true"><text/></field>
- <field name="screenName" required-field="true"><text/></field>
- <field name="screenLocation" required-field="true"><text/></field>
- <field name="menuName" required-field="true"><text/></field>
- <field name="menuLocation" required-field="true"><text/></field>
- <field name="submit" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
</forms>
Please sign in to comment.
Something went wrong with that request. Please try again.