[英]Is there any marquee effect behaviour in Primefaces..?
Is there any marquee effect behaviour in Primefaces..? Primefaces中是否有任何选框效果行为..? I want to display auto scrollable news feed in my JSF page with pure Primefaces tags.
我想在我的JSF页面中使用纯Primefaces标签显示自动滚动新闻源。 I have used marquee tag but it is depreciated.
我使用了marquee标签,但它已被折旧。
You can scroll text/marquee primefaces using imageSwitch 您可以使用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 <f:verbatim>
tag 另一种选择是使用
<f:verbatim>
标签
<f:verbatim><marquee>hello world!</marquee></f:verbatim>
Please see these blogs for further details. 有关更多详细信息,请参阅这些博客。 Blog 1 , Blog 2
博客1 , 博客2
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.