forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Schaefer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-762) Breadcrumbs
Date Tue, 13 Dec 2005 18:38:46 GMT
    [ http://issues.apache.org/jira/browse/FOR-762?page=comments#action_12360328 ] 

Johannes Schaefer commented on FOR-762:
---------------------------------------

This is a more general problem.
Forrest should put in some reasonable default file for links to directories.
This may be "index.html" as a last resort or @indexfile from tabs.xml or something similar.
Suggestions?

With the following in site.xml

<chapter-x label="x" href="xdir/">
  <subchapter label="x.1" href="x1.html"/>
</chapter-x>

A link <a href="site:chapter-x"> gets resolved to <a href="xdir/"> which give
an error in Jetty.



> Breadcrumbs
> -----------
>
>          Key: FOR-762
>          URL: http://issues.apache.org/jira/browse/FOR-762
>      Project: Forrest
>         Type: Bug
>   Components: Skins (general issues)
>     Versions: 0.7, 0.8-dev
>     Reporter: helena
>     Priority: Blocker
>      Fix For: 0.8-dev

>
> When employing breadcrumbs,
> example generated links:  home > dir > subdir
> if the user is in node subdir, then clicks dir,
> cocoon returns "The requested resource "/dir /" could not be found.
> The link's absolute path during testing is http://localhost:8888/dir/
> Case 1. If you place an index.html file under http://localhost:8888/dir/ for a redirect
or viewable content,
> clicking on breadcrumbs'  dir link throws the error.
> Case 2. If you manually enter the index.html in the browser path after http://localhost:8888/dir/,
the request is handled.
> Case 3. If sitemap has match="dir/index.html", cocoon still isn't happy with request
dir/
> Cocoon does not appear to assume the end node directory is index.* and thus appends no
file automatically as tomcat or the http server does so it must be manually done. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message