[Yanel-commits] rev 27105 -
public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend
michi at wyona.com
michi at wyona.com
Sat Sep 1 23:58:04 CEST 2007
Author: michi
Date: 2007-09-01 23:58:04 +0200 (Sat, 01 Sep 2007)
New Revision: 27105
Modified:
public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java
Log:
type added
Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java 2007-09-01 21:41:29 UTC (rev 27104)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java 2007-09-01 21:58:04 UTC (rev 27105)
@@ -124,6 +124,11 @@
if (getRequest().getParameter("q") != null) {
tf.setParameter("query", getRequest().getParameter("q"));
}
+ if (getResourceConfigProperty("type") != null) {
+ tf.setParameter("type", getResourceConfigProperty("type"));
+ } else {
+ tf.setParameter("type", "simple");
+ }
return tf;
}
}
More information about the Yanel-commits
mailing list