It's all about the answers!

Ask a question

Using QueryDialog or equivalent for new client-side views


Irwin Kwan (11) | asked Jul 19 '07, 5:05 p.m.
I've been exploring for some time the Query Dialog to try to add a button on my Jazz-oriented view that allows the user to make a query for work items much like you see in the Work Item explorer. I would like to be able to take the results from that query and then do some customzied operations with it.

However to this date I've never been able to get this working - if I simply clone the QueryDialog, then change the showQuery function, I get a compile error with the TabFactory class and am unable to run the code. If I try to take the data from the tabs itself (ex: SimpleTab.java), then I run into issues with NPEs when I try to execute the query.

Can someone point me in a better direction in how to implement a good query dialog in which I can take the IResult and do my own work with it?

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.