Have you tried /*n*?

On 2/22/08, tibi <[EMAIL PROTECTED]> wrote:
> ok any help would be great
>
>  i don't understand the decorator :(
>  i have this:
>
>
>     <decorator name="default" page="default.jsp">
>         <pattern>/*</pattern>
>     </decorator>
>
>
> any page is decorated
>  this works to:
>
>     <decorator name="default" page="default.jsp">
>         <pattern>*</pattern>
>     </decorator>
>
> will not mach a page with a 'n' in it (which i expect)
>
>     <decorator name="default" page="default.jsp">
>
>         <pattern>*n*</pattern>
>     </decorator>
>
>  how can i select only 1 page???
>
>
>  thanks
>
>
>  tibi
>
>
>
>
>  tibi wrote:
>  > 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]
>  >
>  >
>  >
>
>  ---------------------------------------------------------------------
>  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