gwt

Setting styles on different faces of a GWT CustomButton using UiBinder

随声附和 提交于 2020-01-05 07:58:05
问题 I'm trying to set style names on different faces of ToggleButton (i.e. upFace, downFace, ...). It looks like setting styleName on a face doesn't work. For example the following won't work: <g:ToggleButton> <g:upFace styleName='{style.myToggleButton-up}' /> </g:ToggleButton> But I noticed when setting the style name on ToggleButton itself... <g:ToggleButton styleName='{style.myToggleButton}' /> ... the generated HTML will look something like this: <div class="GPAKHSCBGG GPAKHSCBGG-up" role=

Controlling the order of how JARs are loaded in the classpath

ぃ、小莉子 提交于 2020-01-05 07:57:25
问题 I'm using GWT 2.4 with gquery-dnd-bundle 1.0.4 so that I can construct trees with drag-and-drop nodes. I've bumped into an annoying bug (http://code.google.com/p/gwtquery-plugins/issues/detail?id=6). The gist of it is I need to guarantee that the file "gquery-dnd-bundle-1.0.4.jar" gets loaded by the classloader at runtime before the gwt-servlet.jar file in my WEB-INF/lib directory. How can I guarantee this? I'm using Eclipse Indigo with a GWT Web Application project if that is useful. Here's

NetworkError: 404 Not Found on firefox

爷,独闯天下 提交于 2020-01-05 07:51:14
问题 We have a gwt app deployed on gae for java. The app runs fine in google chrome but fails with below exception on ie and firefox NetworkError: 404 Not Found - http://www.sakshum.org/adminmodule/67883654A8944A4C561CF25763FB1D79.cache.html based on Setup a GWT Project correctly with SVN and Eclipse we have excluded the files in adminmodule directory to upload to app engine. Please advise what is reason for it to fail and how to make it working. The ignored patterns are: .svn *.bak classes/

ComboChart with annotation text in gwt google-visualization

折月煮酒 提交于 2020-01-05 07:39:11
问题 I'm using gwt-visualization (a wrapper around Chart Tools). I have a ComboChart that includes two bar charts (stacked) and a line chart, and I want to add an annotation and annotationText to some rows. The DataTable is defined like this: private DataTable buildData() { DataTable data = DataTable.create(); data.addColumn(ColumnType.STRING, "Day"); data.addColumn(ColumnType.NUMBER, "Domain"); data.addColumn(ColumnType.NUMBER, "Domain (Source 1)"); data.addColumn(ColumnType.NUMBER, "Domain

Is it possible to build jquery like stand-alone widgets (like sliders or date selectors etc.) with GWT?

不羁岁月 提交于 2020-01-05 07:07:51
问题 Is it possible to build stand alone widgets as opposed to full blown applications in GWT ? For example, I could use a create a slider widget as a jquery plugin and use it to add interactivity to my existing HTML page (which may be a JSF or JSF etc. generatd HTML) along side some other jquery based widgets from third parties on the same page ? Is this possible with GWT ? 回答1: Yes you can, and some of standard widgets have allready implemented static methods for attaching them without use of

Google Visualization : how to show some icon at the top of a column

ぐ巨炮叔叔 提交于 2020-01-05 06:47:49
问题 I have a simple bar chart in my app, and I need to place some ".", some icon, or anything else at the top of my bar. Here is the code: DataTable data = DataTable.create(); data.addColumn(ColumnType.STRING, "Year"); data.addColumn(ColumnType.NUMBER, "Sales"); data.addRows(2); data.setValue(0, 0, "Work"); data.setValue(0, 1, 14); data.setValue(1, 0, "Sleep"); data.setValue(1, 1, 10); BarChart barChart = new BarChart(data, options); vpnl.setHeight("500px"); vpnl.add(barChart); And here is the

GWT Runtime Dependencies

二次信任 提交于 2020-01-05 06:06:02
问题 Please note , not interested in using the Google-Eclipse plugin; I want to manage all dependencies manually. Just downloaded the GWT 2.5.1 SDK and am looking at all the JARs it ships with: gwt-api-checker.jar requestfactory-apt-src.jar gwt-codeserver.jar requestfactory-client.jar gwt-dev.jar requestfactory-client-src.jar gwt-elemental.jar requestfactory-client+src.jar gwt-servlet-deps.jar requestfactory-server.jar gwt-servlet.jar requestfactory-server-src.jar gwt-soyc-vis.jar requestfactory

GWT Runtime Dependencies

我是研究僧i 提交于 2020-01-05 06:03:05
问题 Please note , not interested in using the Google-Eclipse plugin; I want to manage all dependencies manually. Just downloaded the GWT 2.5.1 SDK and am looking at all the JARs it ships with: gwt-api-checker.jar requestfactory-apt-src.jar gwt-codeserver.jar requestfactory-client.jar gwt-dev.jar requestfactory-client-src.jar gwt-elemental.jar requestfactory-client+src.jar gwt-servlet-deps.jar requestfactory-server.jar gwt-servlet.jar requestfactory-server-src.jar gwt-soyc-vis.jar requestfactory

GWT FileUpload with Servlet

折月煮酒 提交于 2020-01-05 05:36:21
问题 I try to make a very simple GWT-Application: The User can choose a txt file an upload it to the Server. Later I want to implement more functionality but for now I'm stuck on the FileUpload: On the client Side I have the following Code working: public class GwtDemoProject implements EntryPoint { private static final String UPLOAD_ACTION_URL = GWT.getModuleBaseURL() + "upload"; private FormPanel form; private Label info; private FileUpload fileupload; private Button uploadFileBtn; public void

Seam GWT pageflow transition

北城余情 提交于 2020-01-05 05:11:07
问题 I am trying to integrate, Seam and GWT. I was wondering if can specify html pages in Seam page flow. Is it possible ? If yes what will the name in the tranisition stand for ? 回答1: We also use a combination of Seam page flow and GWT. Explicitly, we divide the login page from the main page to enable login via https. But, we do not use normal html pages, we still use xhtml pages. You can include a GWT html page within a Seam xhtml page by wrapping the <html></html> pair with a <f:view></f:view>