I would like to include both a text label and image of a close button in the header of a richfaces tab component. I have tried including a <f:facet name="label"> <h:graphicImage value="closeButton.gif"/> </f:facet> in the <rich:tab> tag which also has a label attribute, but only the image data gets displayed, not both. Could someone please suggest a way to include both text and image in a richfaces tab component? Thanks,
You can do exactly what I said there, but also put an outputText in the label facet. This is how we're currently doing this in my project. The code sample I provided was for Richfaces 3.3.3, so it may have changed in 4 as William said. Same principle should work though.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: How to display text & image in richfaces tab