Korrektur in der XML-Erzeugung für die Kontakte einer Organization

git-svn-id: https://svn.libreccm.org/ccm/trunk@934 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2011-05-23 16:38:03 +00:00
parent bca1734e3c
commit 404804a6d9
3 changed files with 4 additions and 4 deletions

View File

@ -230,9 +230,11 @@ public class GenericOrganizationalUnitPanel extends CompoundContentItemPanel {
Element addressElem = contactElem.newChildElement(
"address");
Element postalCode = addressElem.newChildElement(
"postalCode");
"postalCode");
postalCode.setText(address.getPostalCode());
Element data = addressElem.newChildElement("data");
Element city = addressElem.newChildElement("city");
city.setText(address.getCity());
Element data = addressElem.newChildElement("address");
data.setText(address.getAddress());
Element country = addressElem.newChildElement("country");
country.setText(address.getIsoCountryCode());

View File

@ -19,7 +19,6 @@ package com.arsdigita.london.navigation.cms;
import com.arsdigita.cms.ContentItem;
import com.arsdigita.cms.ContentItemXMLRenderer;
import com.arsdigita.cms.dispatcher.SimpleXMLGenerator;
import com.arsdigita.domain.DomainObjectFactory;
import com.arsdigita.kernel.ACSObject;
import com.arsdigita.london.navigation.DataCollectionRenderer;

View File

@ -34,7 +34,6 @@ import com.arsdigita.cms.contenttypes.SciProject;
import com.arsdigita.cms.dispatcher.SimpleXMLGenerator;
import com.arsdigita.domain.DomainCollection;
import com.arsdigita.domain.DomainObject;
import com.arsdigita.kernel.permissions.PrivilegeDescriptor;
import com.arsdigita.persistence.DataCollection;
import com.arsdigita.persistence.DataObject;
import com.arsdigita.xml.Element;