What does "retrieve data from web panel" mean? A panel is for display to the user, it's not for giving other bits of code data.
What are you trying to retrieve and why aren't you asking for the data directly from the appropriate source?
Hi Nic thanks for reply,
Retrive data from web panel mean, i make a table in velocity and add using a web panel and user fill some data in the table row.
There is a save button which save that data. How to do this i have no idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm confused now. Do you have this "web panel" that you want to take data from working or not?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic Don't be confused.. Look there is a velocity template that render editable table through web panel plugin module..... and there is a add button on velocity.
What i want when user add data to table and click on button all the value of table stored in db.
Now i am stuck how to get data from table and which class is responsible for handling that event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid your explanations are not helping.
You keep saying web panel. Originally you were asking to get data from this panel, now you've said you're trying to save data.
It's totally unclear what you want to do, or what you have working so far.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic, i want to get data from table which is generated by velocity template using web panel. In this table user fill data rows , when user click on button i want to get table rows data and want to store in db.
Problem is that, i dont know, how to get table data on button click so that i can save in db.
Hope u can understand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm really sorry, but repeating things I did not understand before does not add anything.
Could you please just tell us what you have working now (if anything) and what you are trying to get to (So far, all that is clear is that you want to save some table data? But you haven't said whether this belongs to an issue or not, or how you want to implement it)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is an issue view that render table through web panel and i want to get that table data from issue.
Is that fine Mr Nic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not really. It's gone back to the original description, to which I ask again:
What does "retrieve data from web panel" mean? A panel is for display to the user, it's not for giving other bits of code data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic..
I understood web panel is for rendering.
So help me to solve the problem, what i should do to make a table on issue and get their data on button click event without redirect to any other page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The last change of goal here now seems to be nothing to do with web-panels or getting data at all.
It seems to be that you want a field that behaves as a table. Your previous mentions of web-panels, getting data and saving things are utterly irrelevant, you just want a table like field. Is that right? (And I have no idea why you've now mentioned "redirect to other page")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup you are right, i wana a field that look like a table and also behave like a table user add data to field and i want to fetch that data.
Please help Nic to solve this problem.. I am stuck here..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right, so you want a table field. What does the rest of that mean? "also behave like a table user add data to field and i want to fetch that data." does not make sense.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup a table field and want to fetch table data that's it nothing else.
How ? Don't know. Help !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What does "fetch table data" mean?
You keep saying it without explaining it. If it's a field, the data will be in it, in front of the user. So why do you keep saying "fetch data"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seriously, I can't help you "fetch data" when you refuse to tell me what you mean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic.. i am not refuse to tell you anything .Fetch data is getting data from field(table)
My goal is to implement a table like field in issue through which user add data and their is a button for save that data in db.
I don't know to do implement this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please, please, answer the question.
>Fetch data is getting data from field
What does that mean? It tells us nothing about what you want.
What would a "fetch" actually do?
You have some data in a field. You "fetch" it. What happens?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic.. Fetch data is getting data from field ? Ans is " Yes "
after fetch data from field i want to operate some operation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, let me explain the problem with your question this way.
Now, can you please tell me how to argfrwangle it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My question is simple.....
you are the expert not me..
What you understand tell me i make you clear.... don't stretch the word fetch.
I further down my question i want to implement such like this...
1.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not "stretching" the word. I am asking you to explain what it means in this context. All I can tell you when you say "I want to fetch my data" is that "you can fetch it".
When you "fetch" your data, what do you expect to happen?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We've established that you want a table like field.
You need to explain what your "fetch" is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look at pic i want to make something like this.
If you are an expert who handle this support then help me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cannot help you when you do not explain what you want to do.
Yes, you want a table field, we got to that in the end.
But you need to explain "fetch". What does it do? Think of the end-user - what do they do that does this "fetch" and what do they get back?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Argh. <rant>Then why did you waste so much time saying it and then avoiding explaining it? </end rant>
The answer to the table part of the question is two parts
1) Keeping it simple - just ask your users to fill in a text field with table formatting. (Additionally, you could write a simple validator add-on to check that the data they've entered is in the right format)
2) Probably closer "you'll need code, and quite a lot of it". It probably should be a field, as it's issue data, and to do that, you'll need to write a set of templates for rendering and accepting inputs, plus back end code to store it somehow (JIRA's custom field storage is simple numbers or strings, or arrays of them, so you'll either need to come up with a way to convert from table to string/array, or implement a new storage format)
On the second point, I'd avoid writing all that code by using https://marketplace.atlassian.com/plugins/com.idalko.jira.plugins.igrid/server/overview instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vola..
Can you explain it more.. how to acheive this..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I already said, I'd get the table add-on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic for this..
can you solve my one problem..
there is a button on issue page render through web panel..
when user click on the button how can i handle that event..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, because you have not explained the context. Again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic context is this..
1 > I render table using webpanel with a save button.
2 > When user click on save button i want to call a method on any java class with parameters and that parameters contains data from table.
3> Java class method save that data.
So help me to achieve this. if it is feasible in jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you should be able to do it, but I don't recommend it. Do this as a field instead, then you won't need buttons or complex classes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you do this as a field, then JIRA's edit functionality will do most of the work for you. You will need to provide a "view" template to show the user the current values, and an "edit" template to allow them to change the data when it's on an edit screen. You will also need some java to save and retrieve the data if you are translating it between storage and screen (e.g. your templates display a table, but you're actually storing xml). If you do it that way, then you don't need "save" buttons - the data will be saved by the edit action in JIRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok that sounds good..
but if i click on button how can i handle that event
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know it's been a while, but have you found a solution @Mr Parashar other than buying the plugin?
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.