Hi
Once I had to do redirect with anchor and used JavaScript
##could not redirect with anchor using $response.sendRedirect
<script lang="JavaScript">
window.location = "$xwiki.getURL($doc.fullName,"save")"+"#tagsAn"
</script>
I think you could write a js function and call it with OnClick embedded
in you're "a" tag.
In your function you could have
window.location = "$xwiki.getURL($doc.fullName,"view")"+"#anchorName"
Ajdin
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Reto Hotz
Sent: 02 June 2009 10:32
To: XWiki Users
Subject: Re: [xwiki-users] Anchors in 2.0
Vincent Massol wrote:
> I guess this could be added. Could you create a jira issue for this
> improvement request?
Done: http://jira.xwiki.org/jira/browse/XWIKI-3931
Thanks.
Greetings
Reto
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee
only and may contain information that is confidential or privileged.
Unauthorised use is strictly prohibited. If you are not the addressee, you
should not read, copy, disclose or otherwise use this message, except for the
purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and
do not necessarily represent those of Coventry University.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users