[opencms-dev] element template in jsp
enol
eolla at lookup-it.com
Tue Jun 17 12:33:02 CEST 2003
I'm sorry Frank (and list),
the code that I posted was the result of a wrong cut'n'paste..
The original code is:
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<table>
<tr>
<td>
<cms:include property="template" element="one"/>
</td>
</tr>
<tr>
<td>
<cms:include property="template" element="two"/>
</td>
<td>
<cms:include property="template" element="three"/>
<%=request.getParameter("param")%>
</td>
<td>
<cms:include property="template" element="four"/>
</td>
</tr>
<tr>
<td>
<cms:include property="template" element="five"/>
</td>
</tr>
</table>
All the elements are defined in the same jsptemplate...
----- Original Message -----
From: "Frank Wunderlich" <k.frank.wunderlich at gmx.de>
To: <opencms-dev at opencms.org>
Sent: Tuesday, June 17, 2003 12:07 PM
Subject: AW: [opencms-dev] element template in jsp
> 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
> >
>
>
> _______________________________________________
> 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