Hi Ali,
Not sure if this helps, but I have had success doing it like this in the
past:

<?xml version="1.0" encoding="ISO-8859-1"?>
<decorators defaultdir="/decorators">
    <decorator name="none">
        <pattern>/doc/html/main.html</pattern>
        <pattern>/doc/html/*.*</pattern>
    </decorator>
    <decorator name="main" page="main.jsp">
           <pattern>/*</pattern>
    </decorator>
</decorators>

Not sure if this is the approved way, but I also had trouble using the
'excludes' mechanism for some reason.  I was using sitemesh 2.3 at the time.
HTH,
Luc


On Sat, Aug 30, 2008 at 10:53 AM, alibehzadian <[EMAIL PROTECTED]>wrote:

>
>
> I want to exclude some URLs from decorator. I put the line below in
> decorators.xml:
>
> <decorators defaultdir="/decorators">
>    <excludes>
>        ...
>        <pattern>/admin/eskan/eskanData.html?studentNumber=*</pattern>
>    </excludes>
>    <decorator name="default" page="default.jsp">
>        <pattern>/*</pattern>
>    </decorator>
> </decorators>
>
> but my page is still decorated. What should I do?
>
> Thanks, Ali Behzadian Nejad.
>
> --
> View this message in context:
> http://www.nabble.com/Decoratpr-Problem-tp19231924s2369p19231924.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to