Working on short view for educational background.

This commit is contained in:
bdc34 2010-04-03 22:42:06 +00:00
parent c0c802af96
commit 42f8aed42e
2 changed files with 38 additions and 17 deletions

View file

@ -30,7 +30,7 @@
vreq.setAttribute("defaultNamespace", ""); //empty string triggers default new URI behavior
String flagURI = null;
if (vreq.getAppBean().isFlag1Active()) {
if (wdf.getApplicationDao().isFlag1Active()) {
flagURI = VitroVocabulary.vitroURI+"Flag1Value"+vreq.getPortal().getPortalId()+"Thing";
} else {
flagURI = wdf.getVClassDao().getTopConcept().getURI(); // fall back to owl:Thing if not portal filtering