hello everyone,
please, help me to understand how to use jsp with turbine.
I set the properties as follows:
template.homepage=index.jsp
template.login=Login.jsp
page.default=JspPage
services.JspService.default.layout.template = Default.jsp
When does turbine load template.homepage, template.login and
services.JspService.default.layout.template?
I have next Default.jst file:
<jsp:useBean id="screen_placeholder"
class="org.apache.turbine.services.jsp.util.JspScreenPlaceholder" scope="request"/>
<jsp:useBean id="navigation"
class="org.apache.turbine.services.jsp.util.JspNavigation" scope="request"/>
<table width="100%">
<tr>
<td colspan="2">
<% navigation.setTemplate("DefaultTop.jsp"); %>
</td>
</tr>
<td align="left" valign="top">
<%= screen_placeholder %>
</td>
</tr>
</table>
Why is screen_placeholder replaced with this string "[EMAIL PROTECTED]"
but not with some of screen templates, for ex., login.jsp if the user's not logged in?
thanks for help!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]