f.w.i.w from a just-slightly-less-newbie:
I don't think the xmlns attributes should be inside the cloud tag
refer to the taglib documentation:
http://mmbase.org/mmdocs/frontenddevelopers/taglib/reference.html#cloud
Using jsp directives works for me:
<%@ page language="java" contentType="text/html; charset=utf-8"
import="org.mmbase.bridge.*,java.util.*,org.mmbase.security.*" %>
<%@ taglib uri="http://www.mmbase.org/mmbase-taglib-2.0" prefix="mm" %>
<mm:cloud method="loginpage" loginpage="login.jsp" rank="administrator">
michielb
On 27 mrt 2009, at 10:38, David Kellerman wrote:
Hi,
This is a newbie question, so I'll apologize in advance if there's
an obvous answer
that I've overlooked, but I'm stuck.
I've installed MMBase 1.9.0 on an Apache 2.0.51, Tomcat 5.5.26, JVM
1.5.0-5
system. Requests are routed from Apache to Tomcat using JK2; there
are multiple
webapps, and MMBase is in a /MMBase context. MMBase starts with no
problems
reported in the log files.
JSP files that are referenced using <mm:component> tags aren't being
processed
as JSP code -- they're just getting copied into the page, with no
interpretation of
the JSP tags.
For instance, if I reference the main MMBase admin page:
http://www.nls.com/MMBase/mmbase/admin/
which displays admin/index.jsp, I see uninterpreted JSP commands in
the main
content section. If I look at the page source in my browser, the
beginning of the
section looks like this:
<div id="content">
<h2 class="top">Servers</h2>
<!-- core page = 'file:/www_root/webapps/MMBase/mmbase/components/
core/servers.jspx' -->
<mm:cloud rank="administrator"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
>
<jsp:output omit-xml-declaration="true" />
<mm:import externid="server" from="request" />
Can someone tell me what's going on here?
Thanks,
David
_______________________________________________
Users mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/users