Hi all,
I am newbie to JIRA gadgets. I have created a JIRA gadget with the help of the tutorials.Will i be able to insert a form inside gadget and submit it? In that case what should be done to create a form inside the gadget. Upon clicking the submit button how this should be processed? how should the result be displayed inside the gadget? What about prepopulated fields like <select> field . How can the data be prepopulated upon displaying the gadget? Please give me some hints
Yes we have to write the html form code within the gadget.xml
We need not use the form tag. Instead ajax calls can be done to submit the data
You should certainly be able to do this. The gadget view is constucted using html elements and the interaction with server is done using REST. When you submit the form, you will have to use Ajax to capture the results and render it properly on the page. Easier said than done ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I understand that in the gadget.xml we should write javascript for displaying the datas. Will i be writing the whole html form code within the gadget.xml? Is there any good example ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I understand that in the gadget.xml we should write javascript for displaying the datas. Will i be writing the whole html form code within the gadget.xml? Is there any good example ? Also you said about submitting the form. Where and how would i handle the ajax call? how to i process and give back the result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should certainly be able to do this. The gadget view is constucted using html elements and the interaction with server is done using REST. When you submit the form, you will have to use Ajax to capture the results and render it properly on the page. Easier said than done ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.