1
所以我有一個搜索框,長標籤內,例如:XHTML文本字段裏面藏着
「姓名,姓氏,PersonCode,等等......」
而文本字段太小而不適合所有。
當我將鼠標移到它上面時,我需要使整個標籤可見。
我使用文本字段的代碼是:
<p:outputPanel id="keywords_filter" rendered="#{!externalRegistryQueryController.filter.detailedFilter}">
<p:inputText value="#{externalRegistryQueryController.filter.keywords}" placeholder="#{msg.extreg_keywords_placeholder}"/>
</p:outputPanel>
除了'title'屬性,PrimeFaces還有自己的組件[''](http://www.primefaces.org/showcase/ui/overlay/tooltip/tooltipOptions.xhtml)。 –
Tiny