- Replaced AddPortlet request and view-map with addPortlet. This seems to be the standard we use. - Portlet attributes are now edited using a dedicated screen. This is how it works in the new PortalPage widget. I used the same system in the actual PortalPage system also because it was too complicated to handle it in two different way. In any case it should not hurt. - Removed a debug string in the PortalPageColumn renderer. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998686 13f79535-47bb-0310-9956-ffa450edef68
74 lines
4.0 KiB
XML
74 lines
4.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
|
|
|
|
<form name="CommonPortletEdit" type="single" target="setPortalPortletAttributes" title="" default-map-name="attributeMap">
|
|
<actions>
|
|
<service service-name="getPortletAttributes">
|
|
<field-map field-name="portalPageId" from-field="parameters.portalPageId"/>
|
|
<field-map field-name="portalPortletId" from-field="parameters.portalPortletId"/>
|
|
<field-map field-name="portletSeqId" from-field="parameters.portletSeqId"/>
|
|
</service>
|
|
</actions>
|
|
<field name="portalPageId"><hidden value="${parameters.portalPageId}"/></field>
|
|
<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>
|
|
<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>
|