AW: [opencms-dev] CmcJspActionElement vs Tag library

Publius Ismanescu publiusi at wwdb.org
Tue Mar 18 19:21:40 CET 2003


Thank you Andreas for you reply.

If you don't mind a have another question about the include tags.

Inside the index.jsp from the welcome module there are some includes;

<cms:include property="template" element="head" />

How do I replace this with the CmsJspActionElements methods?
I do not know what file name(target) to provide for the include method
Bellow is the code that I tryied but is not working.

<jsp:useBean id="cms" class="com.opencms.flex.jsp.CmsJspActionElement" />
...................
<%
    java.util.HashMap param = new java.util.HashMap();
    param.put("property","template");
    param.put("element","head");
    cms.include(null,param);
%>
.......................

Please let me know what am I doing wrong.

Thank you
Publius





More information about the opencms-dev mailing list