Author: jvelociter
Date: 2007-10-12 15:23:06 +0200 (Fri, 12 Oct 2007)
New Revision: 5376

Modified:
   
xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchSheets/WebHomeSheet
Log:
XWATCH-72 Now use generated JS code instead of the one store in a attached zip 
in WatchCode.GWT



Modified: 
xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchSheets/WebHomeSheet
===================================================================
--- 
xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchSheets/WebHomeSheet
   2007-10-12 13:07:38 UTC (rev 5375)
+++ 
xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchSheets/WebHomeSheet
   2007-10-12 13:23:06 UTC (rev 5376)
@@ -20,7 +20,11 @@
 <defaultTemplate></defaultTemplate>
 <validationScript></validationScript>
 <comment></comment>
-<content>#set($watchbaseurl =  
$xwiki.getAttachmentURL("WatchCode.GWT","watch.zip"))
+<content>##
+## use the generated watch JS code
+## TODO: move that code to a place it can be accessed trough the api
+##
+#set($watchbaseurl =  "/xwiki/com.xpn.xwiki.watch.Watch")
 &lt;meta name='gwt:module' 
content='$watchbaseurl/com.xpn.xwiki.watch.Watch'&gt;
 #if($request.space)
 #set($space = $request.space)
@@ -39,4 +43,4 @@
 &lt;iframe id="__gwt_historyFrame" 
style="width:0;height:0;border:0"&gt;&lt;/iframe&gt;
 &lt;div id="Watch"&gt;
 &lt;/div&gt;
-</content></xwikidoc>
\ No newline at end of file
+</content></xwikidoc>

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to