You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by wo...@apache.org on 2008/11/26 12:33:32 UTC

svn commit: r720813 - in /portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax: portlet_definitions.ajax portlet_entity.ajax

Author: woonsan
Date: Wed Nov 26 03:33:27 2008
New Revision: 720813

URL: http://svn.apache.org/viewvc?rev=720813&view=rev
Log:
fixed usage of PortletApplication and Preferences

Modified:
    portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_definitions.ajax
    portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_entity.ajax

Modified: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_definitions.ajax
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_definitions.ajax?rev=720813&r1=720812&r2=720813&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_definitions.ajax (original)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_definitions.ajax Wed Nov 26 03:33:27 2008
@@ -16,10 +16,10 @@
   limitations under the License.
 *#
 <portletDefinitions>
-#foreach($portlet in $result.portletDefinitions)
+#foreach($portlet in $result.portlets)
 	<portletDefinition>
-		<id>$portlet.id</id>
-		<name>$portlet.name</name>
+		<id>$portlet.uniqueName</id>
+		<name>$portlet.uniqueName</name>
 	</portletDefinition>
 #end
 </portletDefinitions>

Modified: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_entity.ajax
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_entity.ajax?rev=720813&r1=720812&r2=720813&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_entity.ajax (original)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/applications/jetspeed/src/main/webapp/ajax/portlet_entity.ajax Wed Nov 26 03:33:27 2008
@@ -18,7 +18,7 @@
 <portletEntity>
   <id>$result.id</id>
 
-  #foreach($pref in $result.preferenceSet.iterator())
+  #foreach($pref in $result.fragment.preferences())
    #if($pref.readOnly)
 	#set($readOnly = "true") 
    #else 
@@ -26,7 +26,7 @@
    #end  
    <preference readOnly="${readOnly}">
      <name>$pref.name</name>
-   #foreach($value in $pref.values)
+   #foreach($value in $pref.valueList)
 	 <value>$value</value>
    #end
    </preference>



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