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?
I feel embarassed I asked this question.
Obivious solution:
<s:link> <h:graphicImage value="/img/image.png"/> foo </s:link>