Some fixes.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3092 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
70f7de2c01
commit
b30d0becf3
|
|
@ -84,14 +84,21 @@ public abstract class AbstractList extends CategoryComponent {
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected Element generateCategoryXML(HttpServletRequest request,
|
protected Element generateCategoryXML(HttpServletRequest request,
|
||||||
HttpServletResponse response,
|
HttpServletResponse response,
|
||||||
BigDecimal id,
|
BigDecimal id,
|
||||||
String title,
|
String title,
|
||||||
|
String urlStub,
|
||||||
String description,
|
String description,
|
||||||
String url) {
|
String url) {
|
||||||
Element e = super.generateCategoryXML( request, response, id, title,
|
Element e = super.generateCategoryXML( request,
|
||||||
description, url );
|
response,
|
||||||
|
id,
|
||||||
|
title,
|
||||||
|
urlStub,
|
||||||
|
description,
|
||||||
|
url );
|
||||||
|
|
||||||
Category cat = getModel().getCategory();
|
Category cat = getModel().getCategory();
|
||||||
if( null != cat && cat.getID().equals( id ) ) {
|
if( null != cat && cat.getID().equals( id ) ) {
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@ public class Root extends CategoryComponent {
|
||||||
response,
|
response,
|
||||||
root.getID(),
|
root.getID(),
|
||||||
root.getName(),
|
root.getName(),
|
||||||
|
root.getURL(),
|
||||||
root.getDescription(),
|
root.getDescription(),
|
||||||
URL.here(Web.getRequest(),
|
URL.here(Web.getRequest(),
|
||||||
"/").toString()));
|
"/").toString()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue