[opencms-dev] element template in jsp

Stephan Hartmann hartmann at waehrisch-feykes.de
Tue Jun 17 12:48:01 CEST 2003


This is also not valid html.
Your second row has three cells while the other rows only have one. Or do the 
elements correct this? It would be helpful to see the generate output of this 
jsp.

Bye,
Stephan



Am Dienstag, 17. Juni 2003 12:19 schrieben Sie:
> 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
>
> _______________________________________________
> 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

-- 
Stephan Hartmann

Währisch & Feykes GmbH
Gustav-Adolf-Str. 5
47057 Duisburg
Tel. 0203 / 373 070
Fax 0203 / 376 766
hartmann at wfnetz.de

------------------------------------------------------
Ausschlusserklärung (Disclaimer):
Über das Internet versandte E-mails können unter fremden Namen erstellt oder 
manipuliert werden. Aus diesem Grund enthalten unsere mit E-mail verschickten 
Nachrichten grundsätzlich keine rechtsverbindlichen Willenserklärungen.



More information about the opencms-dev mailing list