Hi to all,
I have a jsp page container, say default.jsp, with a dynamic area within it that loads according to certain parameters using a <jsp:include> statement (areaPage.jsp).
areaPage.jsp is not a standalone page, and is defined as follows:
<%-- jsf:pagecode language="java" location="/JavaSource/pagecode/areaPage.java" --%>
<%-- /jsf:pagecode --%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<table>
<tr>
<td><div align="center"><img src="a.jpg" /></div></td>
<td><div align="center">
<h:commandLink>
<h:graphicImage value="b.jpg" id="a" />
<f:param name="param1" value="x.jsp" />
</h:commandLink>
</div></td>
</tr>
</table>
The problem is that when default.jsp is rendered, the jsf part of areaPage.jsp gets rendered
before the other html tags, and <h:commandLink> gets translated to an <a> tag preceding the <table> that is supposed to contain it.
Can anyone help me on this?
Many thanks,
Mobal