Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF Primefaces Keyboard Image not showing  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!