This week's book giveaway is in the Design forum.
We're giving away four copies of Experimentation for Engineers: From A/B testing to Bayesian optimization and have David Sweet on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

JSF Primefaces Keyboard Image not showing

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

<h:outputText 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.
 
Thank you my well lotioned goddess! Here, have my favorite tiny ad!
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic