Jeremy Stein - Brain

« »

Acegi Sitemesh

To use the acegi authz:authentication tag in a sitemesh decorator, you have to watch the order in which you declare the filters (acegi first).

But, this wasn’t my problem. My problem was that my sitemesh decorator included the taglib declarations, but it included header.jspf with

<jsp:include page="/includes/footer.jspf"/>

instead of

<%@ include file="/includes/footer.jspf"%>

So I needed to either re-declare the taglibs or switch my include style.

(By the way, the best way to understand the authz:authentication tag is to read the AuthenticationTag source.)

September 12, 2006 No Comments.

No Comments

Be the first to comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

Why ask?

« »