You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2010/01/20 18:20:40 UTC

svn commit: r901289 - /incubator/wookie/trunk/src/org/apache/wookie/ajaxmodel/impl/WidgetAPIImpl.java

Author: scottbw
Date: Wed Jan 20 17:20:40 2010
New Revision: 901289

URL: http://svn.apache.org/viewvc?rev=901289&view=rev
Log:
Included author info in the widget metadata sent to widget at runtime.

Modified:
    incubator/wookie/trunk/src/org/apache/wookie/ajaxmodel/impl/WidgetAPIImpl.java

Modified: incubator/wookie/trunk/src/org/apache/wookie/ajaxmodel/impl/WidgetAPIImpl.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/ajaxmodel/impl/WidgetAPIImpl.java?rev=901289&r1=901288&r2=901289&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/ajaxmodel/impl/WidgetAPIImpl.java (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/ajaxmodel/impl/WidgetAPIImpl.java Wed Jan 20 17:20:40 2010
@@ -94,8 +94,8 @@
 		Widget widget = widgetInstance.getWidget();
 		map.put("id", String.valueOf(widget.getGuid()));	//$NON-NLS-1$
 		map.put("author", String.valueOf(widget.getWidgetAuthor()));	//$NON-NLS-1$
-		//TODO map.put("authorEmail", String.valueOf(widget.getWidth()));//$NON-NLS-1$
-		//TODO map.put("authorHref", String.valueOf(widget.getHeight()));//$NON-NLS-1$
+		map.put("authorEmail", String.valueOf(widget.getWidgetAuthorEmail()));//$NON-NLS-1$
+		map.put("authorHref", String.valueOf(widget.getWidgetAuthorHref()));//$NON-NLS-1$
 		map.put("name", String.valueOf(widget.getWidgetTitle()));//$NON-NLS-1$
 		map.put("description", String.valueOf(widget.getWidgetDescription()));//$NON-NLS-1$	
 		map.put("version", widget.getVersion());//$NON-NLS-1$