[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.
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 253 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 18, 2018 07:03:51.