Is there any action of the marquee effect in Primeface ..?

Is there any action of the marquee effect in Primeface ..? I want to display an automatic scrollable news feed on my JSF page with clean Primefaces tags. I used the marquee shortcut, but it depreciated.

+4
source share
1 answer

You can scroll text / separator fields using imageSwitch

<p:imageSwitch effect="scrollLeft"> <ui:repeat var="data" value="#{bBean.listTempData}"> <p:outputPanel>#{data.name}</p:outputPanel> </ui:repeat> </p:imageSwitch> 


Another option is to use the <f:verbatim>

 <f:verbatim><marquee>hello world!</marquee></f:verbatim> 


Please check out these blogs for more information. Blog 1 , Blog 2

+4
source

Source: https://habr.com/ru/post/1485764/


All Articles