Posted by Martin Marinschek <ma...@gmail.com>.
Wow, two solutions in two minutes ;)
cool!
regards,
Martin
On 8/12/05, Martin Marinschek <ma...@gmail.com> wrote:
> Well, that's an easy one ;)
>
> you just use a commandLink tag, don't provide anything for the value
> attribute, and stuff a grapicImage tag into this tag (as a child) -
> all set!
>
> regards,
>
> Martin
>
> On 8/12/05, "Ricardo R. Ramírez Valenzuela" <rr...@itesm.mx> wrote:
> > I wonder if it is possible to link to another page using an image
> > instead of a button or just text... we have a commandLink and a
> > commandButton, is there anything available for linking with an image?
> >
> > I am trying to avoid writing my own custom renderer
> >
>
>
> --
>
> http://www.irian.at
> Your JSF powerhouse -
> JSF Trainings in English and German
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German
Re:
Posted by Martin Marinschek <ma...@gmail.com>.
Well, that's an easy one ;)
you just use a commandLink tag, don't provide anything for the value
attribute, and stuff a grapicImage tag into this tag (as a child) -
all set!
regards,
Martin
On 8/12/05, "Ricardo R. Ramírez Valenzuela" <rr...@itesm.mx> wrote:
> I wonder if it is possible to link to another page using an image
> instead of a button or just text... we have a commandLink and a
> commandButton, is there anything available for linking with an image?
>
> I am trying to avoid writing my own custom renderer
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German
AW:
Posted by Tim Peteler <ti...@peteler.de>.
Just surround your image with your commandlink.
Like this:
<x:commandLink action="your_action">
<h:graphicImage border="0" url="images/your_image.jpg" />
</x:commandLink>
tim
-----Ursprüngliche Nachricht-----
Von: "Ricardo R. Ramírez Valenzuela" [mailto:rrrv@itesm.mx]
Gesendet: Freitag, 12. August 2005 14:11
An: MyFaces Discussion
Betreff: <commandImg tag?
I wonder if it is possible to link to another page using an image
instead of a button or just text... we have a commandLink and a
commandButton, is there anything available for linking with an image?
I am trying to avoid writing my own custom renderer
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.7/70 - Release Date: 11.08.2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.7/70 - Release Date: 11.08.2005