Hi all, Sorry to bug all of you again and again with the same requirement. But I am also helpless till I get it done.
I have ebelow use case : 1. User selects some text on an xwiki page and hits some keyboard shortcut say Alt+ctrl+N 2. This opens a popup dialog like shown below : [cid:[email protected]] 3. As you can see in the screenshot, it displays list of projects, issue types from JIRA server. Issue summary field is pre-populated with the selected text from xwiki page. 4. Once user submits this dialog, an issue is created in JIRA and a link will be created on xwiki page besides selected text. So far I have achieved 1,2 and 3 but not able to achieve 4 One option I thought of is to create an annotation for the selected text with text as a link to JIRA issue But I don't understand how to achive this from javascript code. I have written javascript code in webapps/xwiki/resources/js/xwiki/xwiki-min.js file Please suggest me an approach to achive point no 4. Also suggest me if there is a better and cleaner approach. Thanks & Regards, ____________________________________________________________________ [cid:[email protected]]Abdulkadar Patel Consultant | GESBU Capgemini India | Pune Tel.: +91 20 6631 1755 - Extn: 20 12530 Mob.: + 91 8087683419 Email: [email protected]<mailto:[email protected]> www.capgemini.com<http://www.capgemini.com/> People matter, results count. _______________________________________________________________________ 7 Switch off as you go |q Recycle always | P Print only if absolutely necessary This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

