[ 
https://issues.apache.org/jira/browse/JSPWIKI-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782166#action_12782166
 ] 

Dirk Frederickx commented on JSPWIKI-613:
-----------------------------------------


Well, the [Edit] link is indeed generated client-side through some javascript.
It could be made a bit smarter and use the encoded page-name in the section 
header anchors.  But there is a little problem...

Format of a section header :

{noformat} #section-pagename-headertitle {noformat}

However, it the page is called Test-Test:

{noformat} #section-Test-Test-headertitle {noformat}


We will need to use a special separator between the encoded page-name and the 
remaining header title.
That will allow to jump to the inserted page instead.

Alternatively, we could put the page-name of the included page in another 
attribute of the anchor  (rel='...' ?)


dirk


dirk 



> InsertPage plugin and the feature of section editing do not fit together
> ------------------------------------------------------------------------
>
>                 Key: JSPWIKI-613
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-613
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.8.3
>         Environment: Current versions of Windows XP and Firefox running in a 
> virtual machine of VMWare Fusion on a Mac Server
>            Reporter: Mario Lotz
>            Priority: Minor
>
> I often used the *InsertPage plugin* to separate structure  of my 
> presentation from the content. Normaly I include pages into tabbed sections 
> to give my users a single point of entry to the same kind of information.
> If the *section editing feature* is enabled the rendered *edit links* are 
> pointing to the {color:red}_including_{color} page instead of the 
> {color:red}_included_{color} ones.
> I assume, that the links are added to the page after the includes are done. 
> To fix the wrong links, the edit links have to be inserted for each included 
> page independent of the parent and with a separate heading counter.
> This is my first bug report for your great JSPWiki and I hope to give you 
> enough information.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to