Hi Peter
I think what you are going to need to do is have the perl module create a
bit of WikiTalk where you want the link to the anchor to be displayed.
The perl should output code that looks like:
@@Presentations.Link(["#", "<anchorname>"].ToOneString, "<anchorname>")@@
where the perl has to provide the <anchorname> string. This only works when
the anchor is on the current page (you do not need to provide any reference
to the current page - that will be assumed in this link).
John Davidson
On Sat, Apr 12, 2008 at 8:36 PM, Peter Schwenn <[EMAIL PROTECTED]> wrote:
> Flexwikers,
>
> How does one write a link to a local anchor in flexwiki? (I know how
> to define the anchor.)
>
> What I'm finding is that one MUST know the TopicName in order to write
> the link, as in <TopicName>#<anchor>. But there doesn't seem to be a
> reserved <TopicName> for the Current Page and writing a link like
> "#<anchor>" without a topicname doesn't work (as it DOES work in
> HTML), nor does "[]#anchor>.
>
> Why don't I know the TopicName? -- because I'm writing a translator
> program which generates links to anchors in FlexWikiText before run
> time.
>
> Thank you
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users