Using ICEFACES, I need that a title attribute of a "commandButton" to have some of its characters bold.
I mean, having:
<ice:commandButton style="width:8%" rendered="true" title="Michael air Jordan" actionListener="#{someBean.write}" />
I would like that for example the word "air" in the title attribute would be bold. Michael Jordan not bold and air bold --> Michael air Jordan
I tried putting <b>air</b>
inside the attribute title, but it does not work.
Is that possible?
Thanks in advance!!
EDITED:
I don't think it can be done with an HTML button. You cannot render HTML in the value
or title
attributes, so it cannot be done in an IceFaces button, which basically translates to an <input type="submit"...>
tag.
But this question can help you achieve what you want: Is it possible to format an HTML tooltip (title attribute)?