I am using h2 console
how can I have multiple tabs, with one query per tab? Is it possible?
H2 Console doesn't have tabs by itself, this is a very old tool.
You can only open multiple tabs with H2 Console in your browser and login into each of them separately.
(It isn't possible with unnamed connection-private databases with URL jdbc:h2:mem:, in that case each tab will have an own database instead of shared one.)
Related
The "Manage Pages" option is greyed out from the dropdown. When in view mode, I can see all of the pages and sections that I set up at the beginning, but now I am unable to go in and update this.
It was working fine yesterday and is only affecting one of my dashboards. This issue only occurs in my dashboards, which have all of their tabs as multi-layered sections (no independent dashboard tab is a separate page).
Is there a reason why the option is unavailable?
Note that this is a sporadic issue and only affects certain dashboards (worked in the report and GIF below), though in any case, the method that I've been using as well as the recommended method on the Add pages and report navigation support page is:
Manage report pages
To manage the pages you've added to your reports:
Edit your report.
In the upper left, click "Page X of Y."
Publicly editable Google Data Studio report (embedded Google Analytics data source based on the Tutorial Report) and a GIF to elaborate:
I found that adding a blank "helper" page on a fully independent tab (with no sections) provides a fix for this issue (just hide the blank page so it doesn't look out of place). I believe the "Manage Pages" option ends up getting disabled when the dashboard is built with multi-layered sections for each and every tab.
How can I've got an app which uses SQLite database and Storage Native Component. It works fine but let's say I want to display it in form of tables (SELECT * FROM ...). Is there any way to do it? I tried Inspecting it using Chrome's DevTools under Application -> Storage and checked all the available options and everything is empty.
I have 2 questions here:
1. How to hide unwanted Tabs in the Tab navigator of Hawtio?
There are other tabs on home page as well as Connection page of Hawtio. I want to remove few and keep only my custom tabs.
2. By default, after connecting to remote server, it lands on Active MQ page.
Here, I want it to land on my custom plugin html.
I know the URL which is being hit for landing on ActiveMQ page. But I want to figure out from where it is being hit. If not that, I want to find out how can I pass my own URL (for landing on custom Plugin html, which opens only when I click on the custom Tab.)
The changes need to be done at the code level.
Any help is appreciated.
Ad 1.
In the preference you can disable/enable plugins, and change the order they are listed.
Ad 2.
In the preference you can reorder the plugins so your custom plugin is listed first.
I have a windows forms application and which provides a way to search the database based on the provided value. Sometime I need to open the application through a simple html hyperlink with the search result while loading itself. There are two questions/doubts from here.
How to access the existing running windows forms application as url? If this is possible, how can I pass the argument?
If the application is not running, we have to start the application and search the value. This also has to be happened when I click the link.
Simply we can say like, if you open a website link from your outlook email, the link will be opening in existing opened default browser or it will start the new browser(if the browser is not already opened.) I want to achieve the same behavior.
Seems to be the below post is somewhat related to my queries, but this does not solve my problem.
Activate existing browser window with given URL from C# application (without triggering reload)
You can't do this. The default browser launches when you click on a link because it is set up in the registry as the default handler for hyperlinks.
I have one problem with IE7. Let me explain the scenario
I have opened my web based application in IE7 browser in TAB1 by using normal login feature. After successful login, i entered to the application home page and i do with my normal transaction say Trans1. Now i want to open my application again in another tab TAB2 in the same browser window.. what happens IE7 won't allow me to login on my application in the login page, it directly enters to the home page and when i do one transaction say "Trans2" it is going smoothly. Now when i again went to the TAB1 and doing one transaction it is opening the TAB2 page that i opened in TAB2.
It seems IE7 is sharing same session cookie in multiple tabs. Is there a workaround for the same scenario.
Anyone have any solution for this problem.
Appreaciate your help in this regard.
Thanks,
Manoja Swaro
It seems IE7 is sharing same session cookie in multiple tabs. Is there a workaround for the same scenario.
Well no. Cookies are by design shared between all instances of the same browser, whether in multiple tabs or multiple windows. You can only get two separate sessions by using different browsers, like an instance of IE and one of Firefox.
This changes a little in IE8, but in quite a complicated way you probably don't want to rely on. See http://blogs.msdn.com/ie/archive/2009/05/06/session-cookies-sessionstorage-and-ie8.aspx
This is why you should generally not be using cookies/sessions for keeping track of partially-completed transactions; one transaction will always interfere with the other. Better to either:
keep track of all incomplete transaction data in page/form data, like hidden fields
if that's too much data to keep passing back and forth, create an ID for the transaction that is remembered through page data, and store the actual data in the database.
You can also use a unique ID tied to the page to generate more unique cookie names, eg. 'preference.1234=foo' instead of just 'preference=foo', so that each instance will have its own cookies.
Yes. IE shares session/cookie between tabs.
Try to run a new browser (i.e. from Start menu) -- it helped with older versions of IE
and it works with my IE7.
AFAIK This happens with all tabbed browsers (FF for example).
Indeed, this is how all tabbed browsers work. Cookies are shared among all tabs. However they are not shared among multiple instances of the same application, but I doubt this will help you.
This is actually a serious problem for many applications. It is very difficult to keep track of the tabs - which are open, which are closed, when a new tab opens, and when an existing one makes a request.
There is one workaround I have found, but it's pretty messy. The idea is that you have to assign a unique ID to every tab yourself. Then, when a tab performs some actions, this ID has to be posted back to the server. Depending on the architecture of your application, the ID can be passed around in URLs or hidden form fields. If you're doing AJAX, this can make it easier to find a common place to add the ID. ASP.NET also has just one form at all times, so the hidden field is easy to do.
Naturally, on the server side you must check this ID and implement your own "tab sessions" based on it.