本文介绍了是否可以将帮助图标放在p:accordionPanel标头中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用PrimeFaces 5.2和JSF开发页面,但是无法在手风琴"面板标题中添加搜索图标和其他链接?
I'm using PrimeFaces 5.2 and JSF for developing pages but I couldn't add search icon and other links in Accordion panel header?
<p:accordionPanel dynamic="true" cache="true"> <p:tab title="Sample Accordion Panel1 for ABC_UX My Chronical"> <h:panelGrid columns="2" cellpadding="10"> <h:outputText styleClass="UX_FontClass" value="The Story Begins with ABC_UX R and D Works My Chronicle..." /> </h:panelGrid> </p:tab> </p:accordionPanel>如何使用<p:accordionPanel>标头中的搜索和帮助图标?
How can I use the search and help icons in <p:accordionPanel> header?
推荐答案我几乎100%确信这里有答案(否则无法将其标记为重复的目标)
I'm almost 100% sure there was an answer here (otherwise it could not be marked as being the target of a duplicate)
否,这是不可能的.最好的选择是获取PrimeFaces来源.像普通面板一样向选项卡添加一个选项构面,然后使用它.
No this is not possible. Your best bet is to take the PrimeFaces source. Add an option facet to the tab like the normal panel has and use that.
更多推荐
是否可以将帮助图标放在p:accordionPanel标头中?
发布评论