I have the following within a jsp page that uses a template.
In this page I assign values to variables that are used within the template
clause <template: ..> </template:...> but it does not work
For example the title page (title.jsp) does not set the window title with
the value stored in <%= windowTitle %>.

Help:?


            <%
                String windowType = "Jobs";
                String windowTitle = "application.title";
                String windowSubTitle = "application.subtitle";
            %>

<template:insert template="/template.jsp" >
        <template:put name="title" content="title.jsp?Type=<%= windowTitle %>"/>
        <template:put name="header" content="header.jsp?Type=<%= windowType %>"/>
        <template:put name="menu" content="menu.jsp?Type=<%= windowType %>"/>
        <template:put name="sidebar" content="application_sidebar.jsp?Type=<%=
windowType %>&SubTitle=<%= windowSubTitle %>"/>
        <template:put name="content" content="application_content.jsp"/>
        <template:put name="footer" content="footer.html"/>
</template:insert>

Sincerely,


Paul Idusogie

Email: [EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to