AW: [opencms-dev] element template in jsp

Frank Wunderlich k.frank.wunderlich at gmx.de
Tue Jun 17 12:22:46 CEST 2003


Hi again Enol,

maybe the resulting html is not correct/valid.
I have noticed the closing table-tag at the end of your code-snippet.

And I know that - in some browsers - text, that is placed at the wrong
places inside a table, sometimes appears at the top of the table.

For example:
	..
	</tr>
	There should be no text here..
	<tr>
		<td>
			The text belong in cells
		</td>
	</tr>

Hope that helps,
Frank.

> 
> 
> Hi List,
> I have another little problem...
> 
> I want create a jsp page with elements created in a jsp 
> template. Moreover I want placed result of a 
> request.getParameter() between two elements...
> 
> My code is:
> 
> 
> <%@ taglib prefix="cms" 
> uri="http://www.opencms.org/taglib/cms" %> <cms:include 
> property="template" element="one"/> <cms:include 
> property="template" element="two"/> <cms:include 
> property="template" element="three"/>
> 
> <%=request.getParameter("param")%>
> 
> <cms:include property="template" element="four"/>
> <cms:include property="template" element="five"/>
> </table>
> 
> 
> But the result of the java instruction 
> request.getParameter("param") is put at the top of the page 
> before all elements...
> 
> Where is the error?
> 
> Thanks in advance,
> EnOl.
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 





More information about the opencms-dev mailing list