mmmm how does the pattern work i'm trying to match just one page like this:


http://localhost:8080/newVacancyList.html

    <decorator name="default" page="defaultNoAjax.jsp">
        <pattern>/newVacancyList.html</pattern>
        <pattern>/newVacancyList.jsp</pattern>
        <pattern>/employee/newVacancyList.html</pattern>
        <pattern>/employee/newVacancyList.jsp</pattern>
        <pattern>/pages/employee/newVacancyList.html</pattern>
        <pattern>/pages/employee/newVacancyList.jsp</pattern>
        <pattern>/WEB-INF/pages/employee/newVacancyList.html</pattern>
        <pattern>/WEB-INF/pages/employee/newVacancyList.jsp</pattern>
    </decorator>

the page it self is in '/WEB-INF/pages/employee/newVacancyList.jsp'

no luck so far

tibi

tibi wrote:
> hi list,
>
> somehow i'm always fighting with the decorator i want to decorator
> files. one default and one for some pages.
> i have this:
>
> <decorators defaultdir="/decorators">
>     <excludes>
>         <pattern>/*decorate=false*</pattern>
>         <pattern>/struts/dojo/*</pattern> <!-- OK to remove if you're
> not using Struts -->
>         <pattern>/resources/*</pattern>
>         <pattern>/newSubscribe.html*</pattern>       
>         <pattern>/newSubscribe.jsp*</pattern>       
>         <pattern>/thanks.html*</pattern>       
>         <pattern>/thanks.jsp*</pattern>       
>     </excludes>
>     <decorator name="default" page="default.jsp">
>         <pattern>/*</pattern>
>     </decorator>
>     <decorator name="defaultNoAjax" page="defaultNoAjax.jsp">
>         <pattern>/*ajax=false</pattern>
>     </decorator>
> </decorators>
>
>
> i expect to have the default.jsp with all pages unless there is a
> ajax=false in the url.
> but all my pages use the default.jsp
>
>
> thanks,
>
> tibi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>   

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

Reply via email to