RelatedLinks und Notes, die dem PublicPersonalProfile-Item zugeordnet sind werden jetzt auf der Startseite ausgegeben.
Erfordert eine Mandalay-Version, die den Content-Typ 'PublicPersonProfile' unterstützt. git-svn-id: https://svn.libreccm.org/ccm/trunk@1099 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
a6e10ab7c2
commit
a1b70f3757
|
|
@ -558,7 +558,7 @@ public class PersonImporter extends Program {
|
|||
membersFormerDepartmentCategories.get(result.
|
||||
getString("abteilunglink.Abteilung_Id"));
|
||||
} else if ("Assoziert".equals(result.getString(
|
||||
"person.Eigenscahaft"))) {
|
||||
"person.Eigenschaft"))) {
|
||||
depCat = membersAssociatedDepartmentCategories.
|
||||
get(result.getString(
|
||||
"abteilunglink.Abteilung_Id"));
|
||||
|
|
@ -573,9 +573,9 @@ public class PersonImporter extends Program {
|
|||
if (!result.getString("person.Angaben").isEmpty()) {
|
||||
Contact contact = new Contact();
|
||||
contact.setLanguage("de");
|
||||
contact.setName(String.format("kontakt-%s", person.
|
||||
contact.setName(String.format("%s-kontakt", person.
|
||||
getName()));
|
||||
contact.setTitle(String.format("Kontakt %s", person.
|
||||
contact.setTitle(String.format("%s Kontakt", person.
|
||||
getTitle()));
|
||||
contact.setPerson(person, "commonContact");
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,14 @@
|
|||
<xrd:attributes rule="exclude">
|
||||
<xrd:property name="/object/profileUrl"/>
|
||||
</xrd:attributes>
|
||||
|
||||
<xrd:associations rule="include">
|
||||
<xrd:property name="/object/owner"/>
|
||||
<xrd:property name="/object/owner/contacts"/>
|
||||
<xrd:property name="/object/owner/contacts/contactentries"/>
|
||||
<xrd:property name="/object/owner/contacts/address"/>
|
||||
|
||||
</xrd:associations>
|
||||
</xrd:adapter>
|
||||
|
||||
</xrd:context>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,8 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
|||
throw new IllegalStateException(
|
||||
"More than one matching members found...");
|
||||
} else {
|
||||
final PageState state = new PageState(page, request,
|
||||
final PageState state = new PageState(page,
|
||||
request,
|
||||
response);
|
||||
|
||||
profiles.next();
|
||||
|
|
@ -185,7 +186,12 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
|||
createNavigation(profile, root, navPath);
|
||||
|
||||
if (navPath == null) {
|
||||
generateProfileOwnerXml(profileElem, owner, state);
|
||||
final PublicPersonalProfileXmlGenerator generator =
|
||||
new PublicPersonalProfileXmlGenerator(
|
||||
profile);
|
||||
generator.generateXML(state, root, "");
|
||||
|
||||
//generateProfileOwnerXml(profileElem, owner, state);
|
||||
|
||||
/*DataCollection relatedLinks = RelatedLink.getRelatedLinks(profile, "NONE");
|
||||
if (relatedLinks.size() > 0) {
|
||||
|
|
@ -270,9 +276,7 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
|||
final PublicPersonalProfileXmlGenerator generator =
|
||||
new PublicPersonalProfileXmlGenerator(
|
||||
item);
|
||||
generator.generateXML(new PageState(page,
|
||||
request,
|
||||
response),
|
||||
generator.generateXML(state,
|
||||
root,
|
||||
"");
|
||||
}
|
||||
|
|
@ -533,7 +537,8 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
|||
final FormSection tableSection = new FormSection(box);
|
||||
|
||||
final PublicPersonalProfileNavItemsAddForm addForm =
|
||||
new PublicPersonalProfileNavItemsAddForm(navItemSelect);
|
||||
new PublicPersonalProfileNavItemsAddForm(
|
||||
navItemSelect);
|
||||
final PublicPersonalProfileNavItemsTable table =
|
||||
new PublicPersonalProfileNavItemsTable(
|
||||
navItemSelect);
|
||||
|
|
|
|||
Loading…
Reference in New Issue