[Yanel-commits] rev 58507 - public/yanel/trunk/src/contributions/resources/yanel-user
michi at wyona.com
michi at wyona.com
Fri May 27 14:58:58 CEST 2011
Author: michi
Date: 2011-05-27 14:58:57 +0200 (Fri, 27 May 2011)
New Revision: 58507
Modified:
public/yanel/trunk/src/contributions/resources/yanel-user/resource.xml
Log:
note about prio/order added
Modified: public/yanel/trunk/src/contributions/resources/yanel-user/resource.xml
===================================================================
--- public/yanel/trunk/src/contributions/resources/yanel-user/resource.xml 2011-05-27 12:54:59 UTC (rev 58506)
+++ public/yanel/trunk/src/contributions/resources/yanel-user/resource.xml 2011-05-27 12:58:57 UTC (rev 58507)
@@ -13,6 +13,11 @@
</description>
<rtd>
+ <!-- The priority of user ID detection is:
+ 1) http://127.0.0.1:8080/yanel/from-scratch-realm/yanel/users/alice.html?id=lenya will return lenya
+ 2) http://127.0.0.1:8080/yanel/from-scratch-realm/yanel/users/alice.html will return alice
+ 3) http://127.0.0.1:8080/yanel/from-scratch-realm/yanel/users/NO_SUCH_USER.html will return whatever is set inside the resource configuration by using the parameter 'user' (see below)
+ -->
<property name="user"/> <!-- optional, whereas otherwise user ID will be retrieved from URL, e.g. the URL yanel/from-scratch-realm/yanel/users/alice.html?yanel.resource.viewid=source contains the ID 'alice' -->
<property name="xslt"/> <!-- For example rthtdocs:/yanel-user-profile.xsl -->
More information about the Yanel-commits
mailing list