Title: Message

Hi,
 
after further testing it's not the jesi that's causing me trouble.
 
If I remove all the jesi tags, I have the same problem.
 
Unless I flush the html cache in the administration or add the parameter /cache/off in the url,
the jsp is not re-executed, even if the parameters in the url change.
 
Any ideas?
 
Kind regards,
 
Nicolas
-----Original Message-----
From: Nicolas Pottrain
Sent: donderdag 2 november 2006 16:01
To: [email protected]
Subject: jesi template caching problem

Hi everybody,
 
I have a question regarding the jesi caching
 
I created the following jsp:
 
<%@ taglib uri="/WEB-INF/etc/taglibs/jstl/c" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/jesi-tags" prefix="jesi" %>
<jesi:template cache="yes">
    <c:set var="my_id" value="${param.id}"/>
    <jesi:fragment aclGroup="<%="mykey_" + pageContext.getAttribute("my_id") %>">
        <c:choose>
                <c:when test="${param.id != null }">
                    id = <c:out value="${param.id}"/>
                </c:when>
                <c:otherwise>
                    No id found
                </c:otherwise>
            </c:choose>
        </jesi:fragment>
</jesi:template>
 
 
As I understood the esi will cache the fragment for each parameter "id" I pass in the request.
However this is not what happens, the result of the first request is cached, and when I call this page with another value of the "id" parameter,
the result of the first request is returned.
 
Am I missing something here?
 
Configuration: Jahia 5.0.0 Standard edition/ Java 5 / WinXP
 
Kind regards,
 
Nicolas

Reply via email to