Hi,
Check your application server log to see the detailed error stack ...
On 5/30/06, Greg Allen <[EMAIL PROTECTED]> wrote:
I am new to JSP and am trying to use shale and standalone tiles.
I have what is probably a simple problem, but I haven't been able to
find the answer anywhere.
My login page is looks like this:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://jakarta.apache.org/tiles" prefix="tiles" %>
<tiles:insert page="/templates/Layout.jsp" flush="true">
<tiles:put name="Title" value="Login" />
<tiles:put name="Header" value="/templates/Header.jsp" />
<tiles:put name="Footer" value="/templates/Footer.jsp" />
<tiles:put name="Lhs" value="/templates/Lhs.jsp" />
<tiles:put name="Rhs" value="/templates/Rhs.jsp" />
<tiles:put name="Body" value="/LoginBody.jsp" />
</tiles:insert>
And the Layout.jsp page like this:
<[EMAIL PROTECTED] contentType="text/html;charset=UTF-8"%>
<f:view>
<html>
<head>
<title><tiles:getAsString name="Title"/></title>
</head>
<body>
<table class="bodytable">
<tr>
<td colspan="3"><tiles:insert
attribute="Header"></td>
</tr>
<tr>
<td styleClass="lhs"><tiles:insert
attribute="Lhs"></td>
<td><tiles:insert attribute="Body"></td>
<td StyleClass="rhs"><tiles:insert
attribute="Rhs"></td>
</tr>
<tr>
<td colspan="3"><tiles:insert
attribute="Footer"></td>
</tr>
</table>
</body>
</html>
</f:view>
My resulting page comes up blank. When I view the source, I see the
Layout.jsp source, including the shale tags like f:view and the tiles
tags.
For some reason, these aren't getting "resolved" or translated to the
resulting HTML.
I suspect I am missing something simple here. Can anyone tell me what?
Thanks in advance!
-- Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
=====================================
The world will be ended if love is everywhere.
---- Shawzi