[Yanel-commits] rev 58506 - public/yanel/trunk/src/contributions/resources/yanel-user

michi at wyona.com michi at wyona.com
Fri May 27 14:54:59 CEST 2011


Author: michi
Date: 2011-05-27 14:54:59 +0200 (Fri, 27 May 2011)
New Revision: 58506

Modified:
   public/yanel/trunk/src/contributions/resources/yanel-user/resource.xml
Log:
user property made optional

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:53:15 UTC (rev 58505)
+++ public/yanel/trunk/src/contributions/resources/yanel-user/resource.xml	2011-05-27 12:54:59 UTC (rev 58506)
@@ -9,11 +9,12 @@
   DEPRECATED: class="org.wyona.yanel.impl.resources.YanelUserResource"
 -->
 <description>
-User management interface
+User profile UI in order to manage profile by user her/himself
 </description>
 
 <rtd>
-  <property name="user"/>
+  <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 -->
   <!-- This resource is based on the BasicXMLResource and hence all parameters of the BasicXMLResource can be used -->
 </rtd>



More information about the Yanel-commits mailing list