i want to show live news in my application for wihch i am using primefaces feed reader as follows:
<div>
<p:feedReader size="20" value="http://finance.yahoo.com/rss/headline?s=yhoo" var="feed">
<h:outputText value="#{feed.title}" style="font-weight: bold"/>
<br />
<h:outputText value="#{feed.description.value}" escape="false"/>
<p:separator />
</p:feedReader>
</div>
but i wish to make this news scrollable. how do i do that?
Try placing the <p:feedReader
inside the <p:scrollPanel>
take a look at the showcase PrimeFaces ScrollPanel
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.