You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Sh...@Sun.COM on 2007/09/26 22:22:28 UTC

.denied in tiles.xml

While debugging, I notice that the ".denied" in tiles.xml points to an 
inexistence url "/errors/denied.jsp". I think it should be 
"/roller-ui/errors/denied.jsp".
The following is the diff.
    Shing Wai Chan


--- tiles.xml   Wed Sep 26 13:00:51 2007
+++ tiles.xml.orig      Wed Sep 26 12:58:33 2007
@@ -69,11 +69,11 @@
     </definition>
     
     
     <!-- error pages -->
     <definition name=".denied" extends=".tiles-errorpage" >
-        <put-attribute name="content" 
value="/roller-ui/errors/denied.jsp" />
+        <put-attribute name="content" value="/errors/denied.jsp" />
     </definition>
     
         
     <!-- core pages (and associates) -->
     <definition name=".Login" extends=".tiles-simplepage" >


Re: .denied in tiles.xml

Posted by Dave <sn...@gmail.com>.
Thanks Shing Wai, that was an error in both trunk (i.e. 4.0) and the 4.1 branch.

- Dave



On 9/26/07, Shing-Wai.Chan@sun.com <Sh...@sun.com> wrote:
> While debugging, I notice that the ".denied" in tiles.xml points to an
> inexistence url "/errors/denied.jsp". I think it should be
> "/roller-ui/errors/denied.jsp".
> The following is the diff.
>     Shing Wai Chan
>
>
> --- tiles.xml   Wed Sep 26 13:00:51 2007
> +++ tiles.xml.orig      Wed Sep 26 12:58:33 2007
> @@ -69,11 +69,11 @@
>      </definition>
>
>
>      <!-- error pages -->
>      <definition name=".denied" extends=".tiles-errorpage" >
> -        <put-attribute name="content"
> value="/roller-ui/errors/denied.jsp" />
> +        <put-attribute name="content" value="/errors/denied.jsp" />
>      </definition>
>
>
>      <!-- core pages (and associates) -->
>      <definition name=".Login" extends=".tiles-simplepage" >
>
>