[xwiki-devs] How to get the page references in javascript
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
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) <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
Jerome Velociter -
许凌志(Jamesxu)