Widgets and Graphs disappear in Datastax Opscenter‎ when I refresh browser - cassandra

I installed Datastax Opscenter‎ and everything seemed fine initially.
After some time all Widgets and Graphs disappeared from the Dashboard.
I can added them, but each time I refresh the browser they all disappear and Dashboard is empty.
Anyone face similar issue?

I don't know if you ever figured it out, but you were halfway there. Deleting the broken preset will allow you to create a new one.
Step 1 (As mentioned in comments on question):
curl http://:8888//rc/dashboard_presets/
This will return an id string for the preset in a {"id"{}} format.
Step 2: curl -X "DELETE" http://:8888//rc/dashboard_presets/id to remove the broken preset.
Note: A symptom of having to delete the preset is if the Default tab disappears from above the date selector.

Related

Userform multipage does not refresh

I'm working on a VBA application that consists of few pages on multipage.
I have a list of items on page 0 and when I click on that item, Excel should move to a different page.
The code:
Userform1.MultiPage1.Value = 1
This does not happen. Page 1 is not shown even though it is selected (tab on top of the multipage is selected).
I have quite a bit of code prior to above shown code and everything seems to be working.
I have read on Google that the problem could be due to declaring the same variable more than once. Code checked and looks ok now.
I also read that the form can be corrupted. I hope it isn't because there is a lot of stuff on it.
Any idea why the multipage doesn't change the page and how to fix it?
On attached picture you can see that the multipage has changed from 'page1' to 'video_exhibit', however it did not update the view. just stayed on the same page.
Multipage was working prior to this stage of the application.
I shared the files on Google drive at https://drive.google.com/drive/folders/12LTuaMoQ-HpI1z8g9F2419dHvHQU4f_4?usp=sharing
uploaded are: rar, zip and exports from app. userform and modules.
I'm aware there is lots to fix and unnecessary loops, but this can wait as I just need a draft working.
Thank you for your help.
So, after spending whole night trying to fix it, I decided to create new Userform and copy all the stuff on it. It works!
I've asked if the problem could be due to file being corrupted and it looks like this was the reason. Userform1 was behaving strangely and I could not understand it.
So unless someone will find different reason for the bug, the official version is - Userform1 was corrupted.

Tabulator - Right click menu doesnt work 2nd time round

I am using tabulator to build a table builder that my users can modify how the table looks(columns, pagination, data etc).
I have a right-click menu on the headers with options to edit the column title, or delete a column.
It all works fine and is how I want it the first time around.
When the user modifies how it looks, for example, changing from no pagination to pagination, I am destroying the table and rebuilding it... like this...
this.element.empty();
this.table.destroy();
this.table = null;
this.initTable();
Everything gets drawn right, with all the correct data, however I can no longer use the right click menu, it just does nothing and I get an error in the console..
tabulator.min.js:10 Uncaught TypeError: e.action is not a function
at HTMLDivElement.<anonymous>
I am guessing the problem is something to do with event listeners? Am I destroying the table in the best way?
Any advice would be appreciated.
I am using tabulator v4.8.4 - I cannot go to v5 right now as it's a substantial change.
You will need to upgrade to Tabulator 5.1 there were issues with the menu library in that version that did not properly clear out references to previous menus when the table was destroyed

Have to push button twice to get partial refresh to work

Background: Xpage with multiple data sources. Each row of tabbed table contains an edit panel bound to a different data source than the main page. Each page contains a table to enter new documents. These documents are children of the main document. There is a view control that shows the user created documents immediately. The button in the table saves the document in addition to adding some control fields. It does a partial refresh of the editPanel.
Recently I added validation to the fields in the entry table. I use a function, and prevent updating from anything but the button. I am using Tommy Valand's method from this blog post: http://dontpanic82.blogspot.com/2010/03/xpages-making-validation-behave.html. If I don't use Tommy's method, then the validators fire when switching tabs, and are useless.
All of this works sort of, but I am experiencing the following issues.
1) I have to push the button twice to get the partial refresh to fire. Not only that, but the validation messages to not fire until the button is pushed twice. The first part was still an issue prior to adding the validation.
2) The table values do not clear after the refresh does happen. This used to work prior to adding the validation. The only way to get the values to clear now, is to do a full refresh (F5).
I really just need partial refresh to behave like it should. Any help is greatly appreciated.
I am answering my own question because I think that I might have found out why the partial refresh was acting so flaky. Here is what I did that solved my issues: Each tab had an editPanel. If I make the edit panel do a partial refresh to itself then the buttons on that panel seems to behave as you would expect them to.
When I create a new core control panel, the default in No submission. I do not know whether this issue manifests itself only when using multiple data sources and/or tabbed tables. Hopefully this fix will be of use to someone down the road. It is worth a try if you are having issues with partial refresh working correctly.

SharePoint Error - Datasheet View refuses to show up!

Recently the DataSheet view of my list refuses to dispaly. I tried numerouse times and with no luck. Other lists works just fine, except for this one.
there is a Java error message on the left bottom corner of the screen that disapears in 2 seconds, then it renders the list in Standard view any time you try it.
I even created a new Datasheet View - the result a Standard View.
Any suggestions?
Thanks,
Here is a MS site regarding the data sheet view and why it may not be available - http://support.microsoft.com/kb/909506
The error occured after we installed an add-on to restrict users permissions. It looks like this solution afftects the functionality of the site (we tested it for a few days then disable it). Will wait for an improved solution.
http://www.codeplex.com/SPViewPermission

Using multiple UIWebViews in a UIScrollView

I am using 5 UIWebViews in a UIScrollView to show the result of my game. Intention is to allow the user to scroll through the results screen. I had a problem where the UIWebViews won't load when scrolled to the next page. This means the first page will load successfully however when you scroll to Page 2, you will see a white blank page. Page is loaded as I can see the alert which was given in all the 5 pages, but it won't show.
I tried a workaround as mentioned here
inserting various views into UIScrollView
http://pinchzoom.com/blog/items/view/1386/one-of-the-problems-with-the-uikit-at-the-moment-is-an-issue-embedding-a-uiwebview-within-a-table
This fixed my problem, however when I submitted the app to iTunes, it got rejected with the following comment.
"3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs."
The non-public API that is included in your application is _documentView
I would like to fix this issue and resubmit. Can someone help please ?
Thanks
Jugs
Just use one WebView for all results (which will scroll if it doesn't fit into the screen).

Resources