Commit reworked initial patch from Bruno Busco in Jira #1999; this follows Brunos work but adds the PortalPageColumn entity to configure columns, just optional pixel width for now, and also cleaned up entities and added foreign keys; rewrote a few things in screen actions and simple methods and removed a bunch of unused stuff that was commented out, so hopefully there isnt any more stray code in here; moved various things to files that were less generic, ie that mention portal specifically instead of just common or something; changed controller and menu setup so that this isn't in all apps by default, in fact just the example webapp for now with the include of portal-controller.xml and adding a dashboard menu item; note that this does not include the few changes in the specialpurpose directory, just the framework stuff for now; also moved data from seed to demo as it really isn't seed data in common and example
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718185 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<?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="ExamplePortlet1Edit" extends="CommonPortletEdit" extends-resource="component://common/widget/PortletEditForms.xml">
|
||||
|
||||
<field name="ItemsToShow" entry-name="attributeMap.ItemsToShow">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="5"/>
|
||||
<option key="15"/>
|
||||
<option key="20"/>
|
||||
<option key="25"/>
|
||||
<option key="30"/>
|
||||
<option key="35"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
|
||||
<field name="SpecificTitle" entry-name="attributeMap.SpecificTitle">
|
||||
<text/>
|
||||
</field>
|
||||
|
||||
<field name="Nuovo" entry-name="attributeMap.Nuovo">
|
||||
<text/>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
<form name="ExamplePortlet3Edit" extends="CommonPortletEdit" extends-resource="component://common/widget/PortletEditForms.xml">
|
||||
<field name="SpecificTitle" entry-name="attributeMap.SpecificTitle">
|
||||
<text/>
|
||||
</field>
|
||||
<field name="SpecificSubTitle" entry-name="attributeMap.SpecificSubTitle">
|
||||
<text/>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
</forms>
|
||||
Reference in New Issue
Block a user