portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r344068 - in /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates: portlet_apps.ajax portlet_definitions.ajax portlet_entities.ajax portlet_entity.ajax
Date Mon, 14 Nov 2005 07:37:50 GMT
Author: taylor
Date: Sun Nov 13 23:37:45 2005
New Revision: 344068

URL: http://svn.apache.org/viewcvs?rev=344068&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-387

Layout pipeline (AJAX), Portlet Placement Manager
base code checked in
still need to integrate into pipeline

Added:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_apps.ajax
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_definitions.ajax
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entities.ajax
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entity.ajax

Added: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_apps.ajax
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_apps.ajax?rev=344068&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_apps.ajax
(added)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_apps.ajax
Sun Nov 13 23:37:45 2005
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<portletApps>
+#foreach($app in $result)
+  <portletApp>
+    <id>$app.id</id>
+    <name>$app.name</name>
+  </portletApp>
+#end
+</portletApps>
\ No newline at end of file

Added: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_definitions.ajax
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_definitions.ajax?rev=344068&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_definitions.ajax
(added)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_definitions.ajax
Sun Nov 13 23:37:45 2005
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<portletDefinitions>
+#foreach($portlet in $result.portletDefinitions)
+	<portletDefinition>
+		<id>$portlet.id</id>
+		<name>$portlet.name</name>
+	</portletDefinition>
+#end
+</portletDefinitions>
+
+

Added: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entities.ajax
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entities.ajax?rev=344068&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entities.ajax
(added)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entities.ajax
Sun Nov 13 23:37:45 2005
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<portletEntities>
+#foreach($entity in $result)
+	<portletEntity>
+		<id>$entity.id</id>
+	</portletEntity>
+#end
+</portletEntities>
\ No newline at end of file

Added: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entity.ajax
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entity.ajax?rev=344068&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entity.ajax
(added)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/ajax/templates/portlet_entity.ajax
Sun Nov 13 23:37:45 2005
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<portletEntity>
+  <id>$result.id</id>
+
+  #foreach($pref in $result.preferenceSet.iterator())
+   #if($pref.readOnly)
+	#set($readOnly = "true") 
+   #else 
+	#set($readOnly = "false")
+   #end  
+   <preference readOnly="${readOnly}">
+     <name>$pref.name</name>
+   #foreach($value in $pref.values)
+	 <value>$value</value>
+   #end
+   </preference>
+  #end
+</portletEntity>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message