3 Replies Latest reply on Oct 1, 2008 11:51 PM by Ryan McDonough

    Problem adding an image to h:commandButton

    Amir Shay Newbie

      Hello,


      I am trying to add an image to to h:commandButton, here is the code


      <h:commandButton id="login_but" type="button"   action="#{loginNew.login}"  reRender="loginWindow" alt="Enter" image="/resources/images/login_but.jpg"/ label="login" title="login" value="login">
      



      The problem is that when the IE is first opened the image doesn’t dispkat, the reasone – the rendering added jsessionid


      src="/resources/images/login_but.jpg;jsessionid=2DB43FB03C9CC61B124A37E84356E743"
      



      From that point everything is working fine, refresh or continuing to work show the image


      Using SEAM 2.0.2SP1 and Richfaces 3.2.1GA on jboss 4.2.2 GA


      Thanks