I have a little GWT/AppEngine Project which uses RPC. Basically I need to get some data from a XML file that resides on the server. But when I use the RPC to read the file in my server-package I am getting a AccessControlException (access denied). Any ideas what the problem is?
cheers hoax
I am comfortable with both Java and C#. Both with Eclipse and VisualStudio. So except I'll have to annoy people with installing Silverlight, is there something that should make me use GWT instead?
Is there a way to setPadding on GWT HorizontalPanel.
I wanted to just have 20px left padding and then add few buttons.
Currently I can only add setSpacing() and that puts padding on top,left,right,bottom.
-Thanks in advance!!
Is it possible to change the element's node name in GWT? I mean something like this:
HTML h = new HTML();
h.getElement().setNodeName("mydiv")
while there is no setNodeName() method for Element.
I'd like to acquire <mydiv>some contents</mydiv> instead of default tag <div>some contents</div>
Thanks for any hints.
Still new to GWT and was attempting to create a dynamic grid using the UiBinder. However I got a strange (and horribly misleading) error about the tag for grid not being properly closed. After a bit of research I found out Grid isn't currently supported for UiBinding. For those of you in the 2.0 world how have you been handling tabular layout?
I have a gwt application that uses the map api for a mapWidget. I added the integrated search for the map with setGoogleBarEnabled(true). It works fine, but the input field is 6px height.
How can I resize it?
Thanks
Balint
Is there a way to disable the caching of html pages in the browser with GWT ?
I'd rather avoid using inserting META HTTP-EQUIV="EXPIRES" CONTENT=... in the header of my html pages, and do it programmatically instead - if possible.
how to load the other HTML page when i click a button? i'm using GWT 2.0.3.
p.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
// TODO Auto-generated method stub
// is there a syntax to load other HTML?
}
});
thanks before, Rafael.
Are there any tools that would assist us less artistic types in GWT 2.0 layout that use GWTxl? I'm fairly CSS impaired and would like to see how my changes look "on the fly".
Is it normal the GWT to be so slow?
I'd created a new project in Eclipse, and run the default code created. The text field take almost a minute to show... is this slow normal?
I'm using GWT 1.6.
I am creating a panel that contains a Button and a Label, which I then add to a FlexTable as one of its cells.
The Button is not receiving any Click events. I see that the table supports determining which Cell is clicked on, but in this case, I want the Mouse events to propagate to the various widgets inside the cell. Any idea on how to do that?
I need to let users upload videos in GWT site, and after uploading I should allow them to preview it. I don't need any controls, just a play and stop button would be enough so that I can show them a preview?
Hello there,
I created a few styles into a CSSResource and it works well whether I use
GWT.<MyResources>create(MyResources.class).myStyles().ensureInjected();
or not.
Could anyone shed a light on this and explain when to use ensureInjected or not?
Thank you!
Daniel
I'm new to GWT development and I'm putting myself through the paces with Google's tutorial but I'm getting errors:
java[10574:80f] [Java CocoaComponent compatibility mode]: Enabled
2009-11-06 15:27:38.769 java[10574:80f] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
I checked my Java prefs and I have Java SE6 (64 bit) as the preferred JVM. I'm really not sure how to clear this up.
Has anyone successfully use the above statement to catch the exception before it goes to the browser as an alert?.
I did set an exception handler in the first line of my entry point. But it does not catch the exception as expected.
public void onModuleLoad(){
GWT.setUncaughtExceptionHandler(new MyExceptionHandler());
...
....
}
can i import and show the content of an existing svg file with the gwt-graphics library? or exist a possibility to do this?
ps: i don't have the svg file but i recive the code in a stream
I my application we sent registration email to customer and sends link in that email which contains url#historytoken. On click of this link customer should go to the page specified by that url for historytoken.We are using GWT so entry point handle the request for historytoken.
This works on all browsers except Safari.
Safari go to the url but cannot recognise the history token after that and remains on the url page.
Please help me solve this problem.
Hi All,
I handle a website which is designed in GWT and I want to check if internet connection goes down in between accessing the website. If internet is down I want to give message as cannot connect to server or something like Gmail handles it.
Can anybody suggest what will be the best way to handle this?
Is there a possiblity to get or generate a version ID on every GWT compile is performed, from ant Build File or using 'Compile' button Google Eclipse Plugin?
We have a GWT application that needs to display various holidays. Is there a library available to do these calendrical calculations? If not, we'll have to do our own that we can ingest a set of rules to.
Cheers
I'd like to get a quick overview of available solutions (libraries, ...) that allow me to work with XML documents with namespaces on a DOM level - in GWT's client side.
Additionally, I'm looking for an XPath solution that can work on that DOM (even if it requires writing my own XPath Navigator).
XML parsing and serialization isn't necessary on the client - this can be done on the server.