You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/09/06 17:00:08 UTC
[jira] Created: (MPFAQ-15) Adding a "top" link after each answer
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPFAQ-15
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPFAQ-15
Summary: Adding a "top" link after each answer
Type: New Feature
Status: Open
Priority: Trivial
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-faq-plugin
Versions:
1.4.1
Assignee: Brett Porter
Reporter: Fabrice BELLINGARD
Created: Mon, 6 Sep 2004 10:59 AM
Updated: Mon, 6 Sep 2004 10:59 AM
Description:
That would be great to have this feature, as it's found on lots of FAQs.
This just needs some trivial modifications of the faq.jsl file :
* add an anchor after each question, like :
<x:forEach select="faq">
<li>
<j:set var="_id"><x:expr select="@id"/></j:set>
<j:set var="anchor"><doc:escapeNameToken value="${_id}"/>_question</j:set>
<j:set var="_id">#<doc:escapeNameToken value="${_id}"/></j:set>
<a name="${anchor}"/>
<a href="${_id}">
<x:copyOf select="question/node()"/>
</a>
</li>
</x:forEach>
* add the "TOP" link after each answer (a div with a class) :
<jsl:template match="answer">
<dd>
<jsl:applyTemplates trim="true" />
<div class="topLink">
<j:set var="_id"><x:expr select="../@id"/></j:set>
<j:set var="link">#<doc:escapeNameToken value="${_id}"/>_question</j:set>
<a href="${link}">TOP</a>
</div>
</dd>
</jsl:template>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MPFAQ-15) Adding a "top" link after each answer
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPFAQ-15?page=all ]
Arnaud Heritier updated MPFAQ-15:
---------------------------------
Version: (was: 1.4.1)
> Adding a "top" link after each answer
> -------------------------------------
>
> Key: MPFAQ-15
> URL: http://jira.codehaus.org/browse/MPFAQ-15
> Project: maven-faq-plugin
> Type: New Feature
> Reporter: Fabrice BELLINGARD
> Assignee: Arnaud Heritier
> Priority: Trivial
> Fix For: 1.4.1
> Attachments: top.patch
>
>
> That would be great to have this feature, as it's found on lots of FAQs.
> This just needs some trivial modifications of the faq.jsl file :
> * add an anchor after each question, like :
> <x:forEach select="faq">
> <li>
> <j:set var="_id"><x:expr select="@id"/></j:set>
> <j:set var="anchor"><doc:escapeNameToken value="${_id}"/>_question</j:set>
> <j:set var="_id">#<doc:escapeNameToken value="${_id}"/></j:set>
> <a name="${anchor}"/>
> <a href="${_id}">
> <x:copyOf select="question/node()"/>
> </a>
> </li>
> </x:forEach>
> * add the "TOP" link after each answer (a div with a class) :
> <jsl:template match="answer">
> <dd>
> <jsl:applyTemplates trim="true" />
> <div class="topLink">
> <j:set var="_id"><x:expr select="../@id"/></j:set>
> <j:set var="link">#<doc:escapeNameToken value="${_id}"/>_question</j:set>
> <a href="${link}">TOP</a>
> </div>
> </dd>
> </jsl:template>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MPFAQ-15) Adding a "top" link after each answer
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPFAQ-15?page=all ]
Lukas Theussl updated MPFAQ-15:
-------------------------------
Description:
That would be great to have this feature, as it's found on lots of FAQs.
This just needs some trivial modifications of the faq.jsl file :
* add an anchor after each question, like :
<x:forEach select="faq">
<li>
<j:set var="_id"><x:expr select="@id"/></j:set>
<j:set var="anchor"><doc:escapeNameToken value="${_id}"/>_question</j:set>
<j:set var="_id">#<doc:escapeNameToken value="${_id}"/></j:set>
<a name="${anchor}"/>
<a href="${_id}">
<x:copyOf select="question/node()"/>
</a>
</li>
</x:forEach>
* add the "TOP" link after each answer (a div with a class) :
<jsl:template match="answer">
<dd>
<jsl:applyTemplates trim="true" />
<div class="topLink">
<j:set var="_id"><x:expr select="../@id"/></j:set>
<j:set var="link">#<doc:escapeNameToken value="${_id}"/>_question</j:set>
<a href="${link}">TOP</a>
</div>
</dd>
</jsl:template>
was:
That would be great to have this feature, as it's found on lots of FAQs.
This just needs some trivial modifications of the faq.jsl file :
* add an anchor after each question, like :
<x:forEach select="faq">
<li>
<j:set var="_id"><x:expr select="@id"/></j:set>
<j:set var="anchor"><doc:escapeNameToken value="${_id}"/>_question</j:set>
<j:set var="_id">#<doc:escapeNameToken value="${_id}"/></j:set>
<a name="${anchor}"/>
<a href="${_id}">
<x:copyOf select="question/node()"/>
</a>
</li>
</x:forEach>
* add the "TOP" link after each answer (a div with a class) :
<jsl:template match="answer">
<dd>
<jsl:applyTemplates trim="true" />
<div class="topLink">
<j:set var="_id"><x:expr select="../@id"/></j:set>
<j:set var="link">#<doc:escapeNameToken value="${_id}"/>_question</j:set>
<a href="${link}">TOP</a>
</div>
</dd>
</jsl:template>
Fix Version: 1.4.1
Environment:
> Adding a "top" link after each answer
> -------------------------------------
>
> Key: MPFAQ-15
> URL: http://jira.codehaus.org/browse/MPFAQ-15
> Project: maven-faq-plugin
> Type: New Feature
> Versions: 1.4.1
> Reporter: Fabrice BELLINGARD
> Priority: Trivial
> Fix For: 1.4.1
> Attachments: top.patch
>
>
> That would be great to have this feature, as it's found on lots of FAQs.
> This just needs some trivial modifications of the faq.jsl file :
> * add an anchor after each question, like :
> <x:forEach select="faq">
> <li>
> <j:set var="_id"><x:expr select="@id"/></j:set>
> <j:set var="anchor"><doc:escapeNameToken value="${_id}"/>_question</j:set>
> <j:set var="_id">#<doc:escapeNameToken value="${_id}"/></j:set>
> <a name="${anchor}"/>
> <a href="${_id}">
> <x:copyOf select="question/node()"/>
> </a>
> </li>
> </x:forEach>
> * add the "TOP" link after each answer (a div with a class) :
> <jsl:template match="answer">
> <dd>
> <jsl:applyTemplates trim="true" />
> <div class="topLink">
> <j:set var="_id"><x:expr select="../@id"/></j:set>
> <j:set var="link">#<doc:escapeNameToken value="${_id}"/>_question</j:set>
> <a href="${link}">TOP</a>
> </div>
> </dd>
> </jsl:template>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MPFAQ-15) Adding a "top" link after each answer
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPFAQ-15?page=all ]
Arnaud Heritier closed MPFAQ-15:
--------------------------------
Resolution: Fixed
Patch applied. thanks
> Adding a "top" link after each answer
> -------------------------------------
>
> Key: MPFAQ-15
> URL: http://jira.codehaus.org/browse/MPFAQ-15
> Project: maven-faq-plugin
> Type: New Feature
> Reporter: Fabrice BELLINGARD
> Assignee: Arnaud Heritier
> Priority: Trivial
> Fix For: 1.5
> Attachments: top.patch
>
>
> That would be great to have this feature, as it's found on lots of FAQs.
> This just needs some trivial modifications of the faq.jsl file :
> * add an anchor after each question, like :
> <x:forEach select="faq">
> <li>
> <j:set var="_id"><x:expr select="@id"/></j:set>
> <j:set var="anchor"><doc:escapeNameToken value="${_id}"/>_question</j:set>
> <j:set var="_id">#<doc:escapeNameToken value="${_id}"/></j:set>
> <a name="${anchor}"/>
> <a href="${_id}">
> <x:copyOf select="question/node()"/>
> </a>
> </li>
> </x:forEach>
> * add the "TOP" link after each answer (a div with a class) :
> <jsl:template match="answer">
> <dd>
> <jsl:applyTemplates trim="true" />
> <div class="topLink">
> <j:set var="_id"><x:expr select="../@id"/></j:set>
> <j:set var="link">#<doc:escapeNameToken value="${_id}"/>_question</j:set>
> <a href="${link}">TOP</a>
> </div>
> </dd>
> </jsl:template>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MPFAQ-15) Adding a "top" link after each answer
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPFAQ-15?page=all ]
Lukas Theussl updated MPFAQ-15:
-------------------------------
Attachment: top.patch
I thought linking to the top of the FAQ page would be more useful than only to the
question that has just been answered. I attach a patch for faq.jsl to achieve this.
> Adding a "top" link after each answer
> -------------------------------------
>
> Key: MPFAQ-15
> URL: http://jira.codehaus.org/browse/MPFAQ-15
> Project: maven-faq-plugin
> Type: New Feature
> Versions: 1.4.1
> Reporter: Fabrice BELLINGARD
> Priority: Trivial
> Attachments: top.patch
>
>
> That would be great to have this feature, as it's found on lots of FAQs.
> This just needs some trivial modifications of the faq.jsl file :
> * add an anchor after each question, like :
> <x:forEach select="faq">
> <li>
> <j:set var="_id"><x:expr select="@id"/></j:set>
> <j:set var="anchor"><doc:escapeNameToken value="${_id}"/>_question</j:set>
> <j:set var="_id">#<doc:escapeNameToken value="${_id}"/></j:set>
> <a name="${anchor}"/>
> <a href="${_id}">
> <x:copyOf select="question/node()"/>
> </a>
> </li>
> </x:forEach>
> * add the "TOP" link after each answer (a div with a class) :
> <jsl:template match="answer">
> <dd>
> <jsl:applyTemplates trim="true" />
> <div class="topLink">
> <j:set var="_id"><x:expr select="../@id"/></j:set>
> <j:set var="link">#<doc:escapeNameToken value="${_id}"/>_question</j:set>
> <a href="${link}">TOP</a>
> </div>
> </dd>
> </jsl:template>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org