Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to invoke a popup form in webwork plugin

kriffer August 18, 2014

Hi there,

I have a webwork plugin with web item in conditionals section that links to /secure/MyClass!default.jspa... In it's turn, doDefault() method returns "input" (input.vm for example), that is an html form itself. But there is a main problem - doDefault() method redirects to other page and there opens popup dialog! That is not what I would like to see of course, and I sure there is a nice, JIRA-style way to implement this (not to use as a link - javascript: window.open('/secure/.......')). I still don't realize how to make web-item open only form dialog as overthere in JIRA staying on current issue page. Please give me direction guys, I 'm lost )).

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
kriffer August 18, 2014

Got it! Actually this problem is described here https://developer.atlassian.com/display/JIRADEV/Displaying+Content+in+a+Dialog+in+JIRA#DisplayingContentinaDialoginJIRA-Step9.CreatingaStandardDialog

Just declare resources with AJS script in atlassian-plugin.xml and add it to the main class in doDefault() method...

TAGS
AUG Leaders

Atlassian Community Events