portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r392348 - /portals/jetspeed-2/trunk/applications/rss/src/webapp/WEB-INF/view/view.vm
Date Fri, 07 Apr 2006 17:58:00 GMT
Author: taylor
Date: Fri Apr  7 10:57:58 2006
New Revision: 392348

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

Modified:
    portals/jetspeed-2/trunk/applications/rss/src/webapp/WEB-INF/view/view.vm

Modified: portals/jetspeed-2/trunk/applications/rss/src/webapp/WEB-INF/view/view.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/rss/src/webapp/WEB-INF/view/view.vm?rev=392348&r1=392347&r2=392348&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/applications/rss/src/webapp/WEB-INF/view/view.vm (original)
+++ portals/jetspeed-2/trunk/applications/rss/src/webapp/WEB-INF/view/view.vm Fri Apr  7 10:57:58
2006
@@ -38,8 +38,10 @@
 	  #end
 
 	  #set ($syncEntries = $syncFeed.getEntries())
+	  #set ($counter = 0)
 	  <ul>
 		#foreach($syncEntry in $syncEntries)
+			#if ($counter < $rssInfo.getItemdisplayed()) 
 			<li>
 				<a href="$syncEntry.getLink()" 
 					#if($rssInfo.isOpeninpopup())  target="_blank" #end />
@@ -51,6 +53,8 @@
 					$syncEntry.getDescription().getValue()
 				#end	
 	      	</li>		
+	      	#end
+	      	#set ($counter = $counter + 1)
 		#end
 	  </ul>
       #if($rssInfo.isShowtextinput())	  



---------------------------------------------------------------------
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