A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
CommandButton with Image and Label
Joined: May 19, 2008
Jul 26, 2008 06:54:00
Is it possible to have a background image and label (text) for a command button with
Joined: May 10, 2008
Jul 27, 2008 03:04:00
Not sure. Why don't you try with commandLink?
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ”<br>
Joined: Jun 28, 2008
Nov 13, 2008 03:45:00
When I try it with commandLink:
<h:commandLink view="show.xhtml" value="Hello"> <h:graphicImage value="../myImage.png" /> </h:commandLink>
then only the image is displayed and not the text "hello"
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: CommandButton with Image and Label
Images on JLabels
Adding an Image to a Panel
View Multiple images in a single window
Image on the right side of a JButton
WA #1.....word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014