You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2004/09/04 23:52:33 UTC

[JIRA] Updated: (FOR-276) fork / jump functionality in document-v20

The following issue has been updated:

    Updater: Rick Tessner (mailto:rick@onnadayr.ca)
       Date: Sat, 4 Sep 2004 4:52 PM
    Comment:
src/core/context/skins/common/xslt/html/document2html.xsl
---------------------------------------------------------

This patches fixes the <xsl:template match="link"> rather than adding an <xsl:template match="a">.  The reason for this is that document-v20 docs are first transformed to document-v13 via the docv20todocv13.xsl stylesheet.

This will transform the <a> elements into <link> elements.  These are then processed via document2html.xsl.  Hence, this patch modifies the <xsl:template match="link">.

src/core/fresh-site/src/documentation/content/xdocs/samples/sample.xml
----------------------------------------------------------------------

Added a section on the "Using class attributes on links".
    Changes:
             Attachment changed to j276-43353.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.cocoondev.org//browse/FOR-276?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-276

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-276
    Summary: fork / jump functionality in document-v20
       Type: Improvement

     Status: Unassigned
   Priority: Minor

    Project: Forrest
 Components: 
             Forrest skins
   Versions:
             HEAD

   Assignee: 
   Reporter: Rick Tessner

    Created: Sat, 4 Sep 2004 4:45 PM
    Updated: Sat, 4 Sep 2004 4:52 PM

Description:
Document V1.x had the <fork> and <jump> elements available for defining hyperlinks.  Document V2.0 removed those elements in favour of a single <a> element.

The attached patch will restore that functionality in Document V2.0 via the use of the class attribute on <a>.

<fork href="xyz.html"> in document v1.3 would become <a href="xyz.html" class="fork"> in document v2.0.

In the same manner, <jump href="xyz.html"> becomes <a href="xyz.html" class="jump">



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira