[Logo]
Forums Register Login
JSF Primefaces Keyboard Image not showing
Hi,

I have an issue about showing buttonImage of keyboard tag. I think it can be directly caused from the wrong defination of image source path.

I put the image in the directory and the path of image is shown below.

WebContent / resources / images / keyboardpencil.png.

In my sample.xhtml , the image can not shown . Here is below.

<hutputText value="Image Mode: " />
<p:keyboard value="#{keyboardBean.value8}" showMode="button"
buttonImageOnly="true" buttonImage="resources/images/keyboardpencil.png"
keypadOnly="true" />

How can I solve it out?

Thank you.

This thread has been viewed 293 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 18, 2018 11:37:26.