1 Reply Latest reply on Oct 30, 2009 10:03 AM by cash1981

    s:link with image

    cash1981

      Simple question. The following code:


      <s:link value="foo">
          <h:graphicImage value="/img/image.png"/>
      </s:link>



      Generates in html something like this:


      <a href="notRelevant.seam?cid=141">
      foo
      <img src="/saksapp/img/image.png"/>
      </a>


      Now, I want the foo and image to switch place, so that the code that is generated looks like:


      <a href="notRelevant.seam?cid=141">
      <img src="/saksapp/img/image.png"/>
      foo
      </a>


      How can I do this?