jsf 2 - Richfaces tooltip not working with h:selectOneRadio -
i "bind" tooltip h:selectoneradio. following example found here, tried with
<td> <h:selectoneradio id="subscriptiontype" value="#bean.subscriptiontype}"> <f:selectitems value="#{beanmodel.subscriptiontypevalues}" /> <rich:tooltip id="tt1" for="subscriptiontype" layout="block" > <span style="white-space: nowrap"> data laptop, modem, ...<br /> voice smartphone, ... </span> </rich:tooltip> </h:selectoneradio> <h:messages for="subscriptiontype" style="color:red; font-size:12px;" /> </td>
but tooltip doesn't appear...
do miss or not possible use tooltips radio buttons?
problem solved. didn't see error message @ bottom of page saying
one or more resources have target of 'body', no 'body' component has been defined within view
so, after having googled error message came solution posted here:
use h:body tag, instead of body
and works!
Comments
Post a Comment