Bug with CommandButton...?
Hi, have a serius problem, i have a commandButton without value or action attributes only with and image attribute fixed.
The problem consist of that if i put the url of the image with a / at the bigining (something like this: <h:commandButton image="/images/miImage.gif "> ) when i execute the page the image is not showed, appear as a little white box with an x in the middle.
Now if i delete the / at the bigining of the url of the image (something like this: <h:commandButton image="images/miImage.gif ">) then the image is showed but when i click the over it the image desappear and everything comes back to the state i described first.
What is happening ..?
[700 byte] By [
maykella] at [2007-10-3 1:37:42]

Hi, have a serius problem, i have a commandButton without value or action attributes only with and image attribute fixed.
The problem consist of that if i put the url of the image with a / at the bigining (something like this: <h:commandButton image="/images/miImage.gif "> ) when i execute the page the image is not showed, appear as a little white box with an x in the middle.
Now if i delete the / at the bigining of the url of the image (something like this: <h:commandButton image="images/miImage.gif ">) then the image is showed but when i click the over it the image desappear and everything comes back to the state i described first.
What is happening ..?