Creating a cascading input control with a multi-select input control - jasper-reports

I have to build some cascading multi select input controls in JasperServer Report, but I'm having the same problem as this guy here:
http://community.jaspersoft.com/questions/844760/creating-cascading-input-control-multi-select-input-control
The thread is very old, and people replied him to search for a "Cascading_multi_select_report" sample. I've searched for it, but I couldn't find it anywhere.
I'm struggling to make this type of cascading input control... Does anyone have any idea?
Thanks!

I don't have an answer for this, but I may have an answer to help you debug. Whenever you are trying to run your report on the jasper server and are just getting a blank page (no input controls), you can use Chrome developer tools or Firebug or whatever browser web developer tool you use (usually Ctrl + Shift + Q will pull it up) and in the Network pane, you can see the requests. Find the last GET request, and look at the response for it and you can see the error.

Related

editing a google form response and data lost

I have created a standard google form and added a record. i have set options to edit the response . one of the questions i have added allows me to jump straight to submit or continue editing .
However When i am editing a response and i choose the my option to jump to submit and then press submit , i find the information is lost when i go back to edit the response.
However if i scroll through all my answers and submit at the end, then the data is saved.
Is there an issue with google forms ? i am not using any scripts - it is standard editing and form options.
This appears to be an issue with Google Forms when editing responses and changing the "go to" path from the initial submission. I've opened a question with a Google "Community Specialist" in the Google Help forums but so far she has not identified how to avoid this problem nor reported escalating it to get it fixed.
For those curious what to avoid, here is the scenario that causes a form to lose data:
Create a form with multiple Go To paths
Fill out a response using one Go To path of questions
Submit response
Click Edit Response
Choose an option that takes you down a different Go To path of questions
Submit the edited response
Click Edit Response
Going back to the original option Go To path, the earlier submitted data will now be gone.
Here is a form I've created that demonstrates the issue.
Here is the thread that as of this writing the Google Community Specialist has not yet solved. Perhaps if more people were to comment that it really is an issue she will pay more attention to it and bring it to the attention of who might be able to fix it.

Mouseup event is not propagated to a popup window in IE 11

I've a legacy app that features a DND from a popup window to the main one.
It works fine in IE 8 but not in any of the newer versions of IE. The effect results in the drag ghost image being stuck in the source window and not going away after the drop had occurred.
Some debugging did in fact confirm that the 'mouseup' event does not get propagated back to the source window. What can be done to fix it? Many thanks!
ITs a bit hard to begin to answer your question without some code....
use the File>Properties menu to find out which IE security zones the two windows(domains) map too...IE uses a different security model to other browsers... drag/drop is probably not allowed between local web files (using file: protocol) and internet or intranet sites.
Have you used the Dev tool yet to debug it? If you are using showModalDialog (which normally disables context menus) you can right click on a link (a) or input element to display the context menu so you can display the debugger for showModal content page.
If possible include a link to your website or a mashup (jsfiddle) with your questions.

How to search through all the ajax responses in network tab in Chrome?

How to search through all the ajax responses in network tab in Chrome?
I want to do this is because it is difficult for a JavaScript developer to get to know which information is coming from which service call, especially if you are new to the project and business logic is not clear. Also, opening each service in a network tab and searching in responses of so many service calls is difficult and time consuming.
This has now been implemented on the Network tab. Whenever a search criteria is added, Chrome will offer searching through all headers and bodies.
More from offical doc,
Open the Network panel then press Command+F (Mac) or Control+F (Windows, Linux, Chrome OS) to open the new Network Search pane.
This is similar to another question this morning to search json responses. The solution is the same, star this issue this issue. Starring is triggered via the star icon in the far left area of the blue title are just under search.
Starring issues let's the developers know what people need. The more stars something has, the more likely it is to get worked on sooner.
Currently this functionality is not provided and extensions are unable to add this type of functionality since the network panel isn't extensible in this way.
In Firefox you can save all the responses as a HAR file and then search through the file in a text editor (Chrome truncates the responses).
Inspector of Microsoft Edge browser offer such feature. Useful when you need to search through traffic made by an HTTPS web site that Fiddler cannot inspect (like Facebook web site).
There doesn't seem to be a way to do this in Chrome or Firefox. My solution has been to use Fiddler, which does support it.
Edit: I believe this was working for all resources at the time of writing, but please see comments because people say it is not/no-longer working as expected.
As of Chrome version 91, if you want to search through all resources (not just AJAX/fetched resources), then you need to open DevTools and then press Ctrl+Shift+F to open a search box. If you just type into the "filter" text input then it only searches through the URLs, rather than also searching the contents.

Rest Console for Chrome won't let me input any info

I installed the Rest Console extension onto Chrome. I can't use this Rest Console for anything, because the only fields that accept text are 'Request URL' and 'Request Method'.
I ask here as there is no resources or community accessible for even simple instructions on how this extension works, and there are likely members of this community who have used this extension.
Use the Postman - REST Client it works perfectly!
your_url_to_post: Fill the URL
your_json_param: The name of the param that you'll pass you json
your_json_data: The json content
Don't forget to select x-www-form-urlencoded if you'll do a post
http://i.stack.imgur.com/TISW1.png
You should be able to enter text in the other field if you tick the checkbox associated to the field first.
I started having a similar issue myself (Forms wouldnt let me input data I could click them but thats as far as it went) across a lot of web pages to include my own php game and I know the form code hasnt changed at all before this issue started. I came across a article of someone else having a similar issue themselves that I was having and someone said that they needed position: relative on their forms that are not given specific instructions on positioning when dealing with google chrome. I have since made this change myself at www.immoralattack.com and the issue has stopped on that site but still continues on many others so its pretty safe to say that is the issue.
Its only happening on the dev build of chrome for me atleast and I hope this isnt something they plan on implementing on live or this will mess up alot of websites.
Also try turning off auto fill from chrome if its on, while I was looking for this bug I found alot of similar bugs but they delt with auto fill being on.

Chrome view-source versus POST

When you ask Chrome to View/Source, it resubmits your URL as a GET, even if it got there in the first place as a post. Is there some way around this for those of us debugging JAX-RS services invoked from forms that can't work with GET?
Two workarounds from this page:
http://www.google.com/support/forum/p/Chrome/thread?tid=1082a452e274f6db&hl=en
Find a working View Source plugin such as "View Source With": http://members.iinet.net.au/~bertdb/ryan/ViewSourceWith/help.html
Workaround:
Open developer tools.
Turn on resource tracking
LEAVE THE TOOLS OPEN. Click on Elements.
Top half should be page. Bottom half should be source code.
Click the Submit button in the top half. Your source code should now update to the proper POSTed source.
CTRL + SHIFT + I