Kleinere Ergänzungen:

- Feld für Funding im Formular für die Projektbeschreibung verkleinert
- Jetzt unnötige Eigenschaften aus Traversal-Adaptern entfernt.


git-svn-id: https://svn.libreccm.org/ccm/trunk@642 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2010-12-03 19:58:23 +00:00
parent 1ab5e0f6cc
commit df1b5ca91d
3 changed files with 11 additions and 6 deletions

View File

@ -9,7 +9,10 @@
-->
<xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator">
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.SciDepartment" extends="com.arsdigita.cms.ContentPage">
<xrd:associations rule="include">
<xrd:attributes rule="exclude">
<xrd:property name="/object/departmentDescription"/>
</xrd:attributes>
<!--<xrd:associations rule="include">
<xrd:property name="/object/addendum"/>
<xrd:property name="/object/contacts"/>
<xrd:property name="/object/contacts/person"/>
@ -26,7 +29,7 @@
<xrd:property name="/object/persons/contacts"/>
<xrd:property name="/object/persons/contacts/address"/>
<xrd:property name="/object/persons/contacts/contactentries"/>
</xrd:associations>
</xrd:associations>-->
</xrd:adapter>
</xrd:context>
</xrd:adapters>

View File

@ -9,11 +9,14 @@
-->
<xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator">
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.SciProject" extends="com.arsdigita.cms.ContentPage">
<xrd:associations rule="include">
<xrd:attributes rule="exclude">
<xrd:property name="/object/projectDescription"/>
</xrd:attributes>
<!--<xrd:associations rule="include">
<xrd:property name="/object/addendum"/>
<xrd:property name="/object/contacts"/>
<xrd:property name="/object/persons"/>
</xrd:associations>
</xrd:associations>-->
</xrd:adapter>
</xrd:context>
</xrd:adapters>

View File

@ -64,7 +64,6 @@ public class SciProjectDescriptionEditForm
desc.setRows(25);
add(desc);
if (!SciProject.getConfig().getProjectFundingHide()) {
add(new Label(SciOrganizationGlobalizationUtil.globalize(
"sciorganization.ui.project.funding")));
@ -77,7 +76,7 @@ public class SciProjectDescriptionEditForm
funding = new TextArea(fundingParam);
}
funding.setCols(75);
funding.setRows(25);
funding.setRows(8);
add(funding);
}
}