Index: openacs-4/packages/xowiki/www/portlet-ajax.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/portlet-ajax.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/xowiki/www/portlet-ajax.adp 22 May 2006 21:44:49 -0000 1.1 @@ -0,0 +1,24 @@ +
+@title@ +
+ +
+... loading .... +
Index: openacs-4/packages/xowiki/www/portlet-ajax.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/portlet-ajax.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/xowiki/www/portlet-ajax.tcl 22 May 2006 21:44:49 -0000 1.1 @@ -0,0 +1,8 @@ +# like portlet, except with background loading via ajax +# gustaf neumann, fecit may 2006 +::xowiki::Page requireJS "/resources/xowiki/get-http-object.js" +if {![string match "/*" $portlet]} { + set folder_id [$__including_page set parent_id] + set package_id [$folder_id set package_id] + set portlet [site_node::get_url_from_object_id -object_id $package_id]portlets/$portlet +}