merging r10056 to the trunk
This commit is contained in:
parent
950be11440
commit
fb483663bf
4 changed files with 7 additions and 4 deletions
|
@ -112,6 +112,8 @@ public class ListDatatypePropertiesController extends FreemarkerHttpServlet {
|
|||
}
|
||||
|
||||
String nameStr = prop.getPublicName()==null ? prop.getName()==null ? prop.getURI()==null ? "(no name)" : prop.getURI() : prop.getName() : prop.getPublicName();
|
||||
nameStr = nameStr.replace("\"","\\\"");
|
||||
nameStr = nameStr.replace("\'","\\\'");
|
||||
try {
|
||||
json += "{ \"name\": \"<a href='datapropEdit?uri="+URLEncoder.encode(prop.getURI(),"UTF-8")+"'>" + nameStr + "</a>\", ";
|
||||
} catch (Exception e) {
|
||||
|
|
|
@ -152,6 +152,8 @@ public class ListPropertyWebappsController extends FreemarkerHttpServlet {
|
|||
ObjectProperty prop = (ObjectProperty) propsIt.next();
|
||||
|
||||
String propNameStr = ShowObjectPropertyHierarchyController.getDisplayLabel(prop);
|
||||
propNameStr = propNameStr.replace("\"","\\\"");
|
||||
propNameStr = propNameStr.replace("\'","\\\'");
|
||||
try {
|
||||
json += "{ \"name\": \"<a href='./propertyEdit?uri="+URLEncoder.encode(prop.getURI(),"UTF-8")+"'>"
|
||||
+ propNameStr + "</a>\", ";
|
||||
|
|
|
@ -201,9 +201,8 @@ public class ShowClassHierarchyController extends FreemarkerHttpServlet {
|
|||
else if ( position < previous_posn ) {
|
||||
tempString += "}, { \"name\": ";
|
||||
}
|
||||
|
||||
try {
|
||||
tempString += "\"<a href='vclassEdit?uri="+URLEncoder.encode(vcw.getURI(),"UTF-8")+"'>"+vcw.getLocalNameWithPrefix()+"</a>\", ";
|
||||
tempString += "\"<a href='vclassEdit?uri="+URLEncoder.encode(vcw.getURI(),"UTF-8")+"'>"+ vcw.getLocalNameWithPrefix() +"</a>\", ";
|
||||
} catch (Exception e) {
|
||||
tempString += "\" " + ((vcw.getLocalNameWithPrefix() == null) ? "" : vcw.getLocalNameWithPrefix()) + "\", ";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue