GWT ComboBox isn't working after SmartGwt Integration [duplicate] - gwt

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Smart Gwt components are not rendered in html div tag
My problem is that I had a project which was running gwt widgets nicely. Now for some client requirements, we introduced some smartGwt changes in it.
The problem is that all those requirements have been done successfully, but as a result or something, the previous ComboBox dropdown isn't working, none of them. Please help.
Do I have to post the code also (because its too large)? If you want it, I will try to paste it here.
Thanks in advance.

What do you mean by "isn't working". There are zindex issues when you use Gwt and Smartgwt side by side. You can have a look at this thread ( here)if it's this sort of problem. If not give us more details.

Related

Styling Help Framework

I've read the documentation and I can't figure out how to override the help system framework that eclipse generates (eg. Search Scope All Topics etc). It shows as a grey boring style, and the plugins seem to build it automatically. I can add css to the toc.xml which affects my pages, but not the frame that goes around it. Is there a guide for this?
The modernization of the help system which is still based on HTML frames and which is not responsive has not yet been implemented (see Eclipse bug 501718). Eclipse is open source and help is welcome. ;-)
However, it is possible to create your own responsive HTML 5 page with an iFrame for the content and which loads TOC elements, search results, etc. via JavaScript from the Eclipse help system as it is. In this way, I realized a search field with search suggestions and a preview (see my blog post: Like to pimp your help, eh?).

"Submit" for review button grayed out - Xcode 6 [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I am trying to submit my first app for iOS 8 and i am going through the new procedure of Apple's iTunes connect. I have upload my binary, fill all the details and upload all screenshots. Then i press submit for review and I see this screen with 2 option. Whatever I select the "submit" button stays greyed out.
Apple made a HTML coding mistake on this page. Specifically they forgot a quote on one of the tags making the HTML invalid. Using FireFox you can change the HTML and then the submit works. I submitted my app this way just now and it is "Waiting for Review"!
On the Export Compliance Tag they are missing a quote (") after the "section" in a tag. If you add that (") in the Inspector on FireFox (or using similar methods on other browsers to modify the HTML you are looking at) the Export Compliance question will show up and then you can answer it and submit your app.
OR you could just wait till tomorrow and Apple will probably fix their HTML coding mistake.
Removed just one "ng-hide" tag to enable third question about Export Compliance and the button submit appeared.
Finally I got the solution for this.
Last night also I tried to upload the build on App Store. I left the window idle for 2 hours after uploading the build and the button appeared. Seems to be a bug or feature in the new upload system.
Are you trying this through Chrome? Try Safari and you should get three options and the submit button will be available when all three are checked
It's and interface bug by Apple. (Wow, Apple) I cannot reach the page again so I can only give so much detail on how I could get through it and submit: I opened up Chrome inspector on the page to look at the HTML, looked for the "cryptography" string as the mistakenly hidden question is about that. I removed the "ng-hide" class off of some of the tags, and finally the crytography question appeared. (Along with the "Is your app going to be sold in the French App Store?" question for some reason.) I checked no, and the submit button was enabled.
We may have caught Apple in a middle of a deployment. It looks like they added a new question to this page for "Export Compliance". Either way, it looks like they fixed the submit button now.

How to find and view the DOM? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
What is DOM element?
I'm learning HTML and CSS and are now trying to learn JavaScript. Came across something called DOM.
I don't really get when the DOM are created. And I don't really get where it is located?
Is it some sort of file? Where can I find it and how can I view it.
Is it created automatically when save my index.html
The Document Object Model (DOM) is just the way your browser internally represents the HTML. It is a perfect tree-structure, which makes it very easy to visualize/manipulate.
The easiest way to see it is probably in the developer tools of your browser. For example in Chrome, press ctrl-shift-I (or F12) to open the developer tools. Then you can find the DOM in the Elements tab.

GWT Page Navigation [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
GWT: How to create a new page
i'm new to GWT. I want to know, how to navigate from one page to another one?
In my application, in the home screen, after enter the username, password. If the username, password matches. A new page should open to display the contents. I'm using the MVP Architecture.
In GWT application navigation is different from a classic webapp model. GWT is an asynchronous framework, you rather switch content of your page and manage the History by built in tools rather that opening new webpages. Plese refer to Expenses sample located inside GWT SDK or try to use Spring ROO to scaffold your app using MVP.
Expenses in particular uses custom sliding panel to switch contents between for instance Details View and list view of all expenses.
If you really need to move to a new page, please see this solution.
I think your best bet is to study Activities and Places. Work through the documentation and the examples. When you figure it out, you'll realize that it gives you the page-to-page experience that a user expects from a website, including navigation via history, bookmarks, and the Back button, but in an MVP achitecture (also built into Activities and Places via the ActivityManager) and within a single actual page with GWT swapping in and out the contents (as per the answer from VoodoRider).

Why is there no isFocused() in GWT?

In a programming scenario, I needed to check if my GWT textbox was focused or not. I ended up adding a boolean and a pair of Focus & BlurHandler to manually keep the focus state which makes me wonder why is there no such method that returns if a focusable component is focused in gwt?
Because there wasn't any cross-browser way of doing it until a few years ago (Firefox 3, Safari 4, to point at the last players in the game having added support document.activeElement).
GWT still officially supports [1] Safari 3 (I believe Safari 2 support has been deprecated) and maybe even Firefox 2 (no DevMode plugin, but that doesn't mean the browser isn't supported: Opera is supported but has no DevMode either), so it's not possible to provide such a feature that would work in all supported browsers.
Last, but not least, I think no one ever filed a request for enhancement in the issue tracker (I couldn't find any at least); and as you said, you can already do it today using FocusHandler/BlurHandler (which works cross-browser).
[1] http://code.google.com/webtoolkit/doc/latest/FAQ_GettingStarted.html#What_browsers_does_GWT_support? I believe that page is a bit out of date, as it still lists Firefox 1.0, whose support (user.agent=gecko, vs. gecko1_8) has been removed in GWT 2.1.0, and doesn't list IE9, whose support has been added in GWT 2.3.0, and last but not least, I believe only the latest version of Opera is supported, whereas the list talks about Opera 9.
To find which widget has focus, I don't know whether you have solution already. As a novice to GWT , I propose my solution to share:
Declare private field in the object, like 'focusedWidget'
Create focus handler for the widget, here's class TextBox. In OnFocus block, just assign the widget to 'focusedWidget'. You can add this kind of event to every widget that can be focused. ![step 2][2]
That's all. Every widget you tied the focus event will set itself to 'focusedWidget' everytime it is focused. We can then use 'focusedWidget' to determind which current widget is focused. ![step 3][3]
I test it in JUnit, it works!
see image of snippet here
Hope that help.