Hi,
You should have all this info in XWiki.currentDocument
Try typing XWiki.currentDocument in firebug console
Jerome
On Mon, Aug 8, 2011 at 5:30 PM, 许凌志(Jamesxu) <lingzhixu326(a)gmail.com> wrote:
Hi, how can I get the current edit page's details
information in javascript
like, its space and its page name.
Here I found that I can parse the url of the current edit pages, like
/xwiki/bin/edit/Main/Newpage?editor=wiki
Is there any other better ways for me to get them?
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs