gwt

serialization problem in gwt

醉酒当歌 提交于 2019-12-24 12:22:48
问题 I have read that: GWT serialization issue but there is no the solution. my packages are: package gwt.web package gwt.web.client; etc... and i have package models Where is located my class 'models.Word' As you can see this class is located not int gwt.cleint, but it should not be there, it is not client side class. this class has default constructor, so this is not issue. I have exception: Service method 'public abstract java.util.List gwt.web.client.WordService.getWords(java.lang.String)'

Intercepting and forwarding client certificate to webservice

旧城冷巷雨未停 提交于 2019-12-24 11:54:06
问题 I have a web application (gwt) that is running on a tomcat application server. This web application consumes several web services (login, application data transfer, queries, etc.). The web service client on the tomcat is implemented as apache axis2 web service client. For user log on I provide a form in the web application with username and password. This data are transmitted via web service to authenticate the user. It is planned to change the hole authentication mechanism to client

GXT KeyListener.componentKeyDown() immediately closes MessageBox.alert()

戏子无情 提交于 2019-12-24 11:50:11
问题 In GXT, MessageBox methods are asynchronous, meaning that the application does not "lock up" while the message box is displayed. I using a KeyListener to process enter key presses in a form (to increase usability, i.e., allowing the form to be submitted by the enter key) and subsequently disabling the form fields while the application processes the user's credentials. If they are incorrect, I show a MessageBox.alert() and then re-enable the form fields. However, since alert() returns

gwt file permission

删除回忆录丶 提交于 2019-12-24 11:16:57
问题 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? //JAXB powered XML Parser public PoiList readXML() { try { unmarshaller = jaxbContext.createUnmarshaller(); unmarshaller.setEventHandler(new XMLValidEventHandler()); db = (PoiList) unmarshaller.unmarshal(new File("src

Client Side GWT Debugging in Super Dev Mode

旧时模样 提交于 2019-12-24 10:59:35
问题 I was debugging a GWT in Eclipse using "Super Dev Mode", Java 8, and Eclipse Photon. I've put breakpoints in the client side of the code, but none of them seem to trigger. I'm reading the documentation, but it appears to relate to "Legacy Dev Mode" debugging. http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html Does anyone have any recommendations to "step through" client side code with "Super Dev Mode"? 回答1: If you use GWT's Super Dev Mode, debugging is done completely in

Model-View-Presenter with Google Web Toolkit (GWT)

不打扰是莪最后的温柔 提交于 2019-12-24 10:56:03
问题 I am thinking about developing a new application using web toolkit. I decided that the best option is going to be to use the Model-View-Presenter Design Pattern. After doing plenty of research, I found two different ways of implementing the skeleton code. (I am still trying to learn MVP and how to best utilize the disjunction between the model and the view) Here are the two links discussing GWT MVP https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces https:/

In PlayN, how can I get the HTML version of my project using Google's Guava libraries to compile?

╄→尐↘猪︶ㄣ 提交于 2019-12-24 10:52:09
问题 I can run the Java version of my project fine by simply importing Guava libraries like so: import com.google.gwt.thirdparty.guava.common.collect.ImmutableList; Following the advice here, I've added this line to html/pom.xml: <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-gwt</artifactId> <version>10.0.1</version> </dependency> And this line to html/project.gwt.xml file: <inherits name="com.google.common.collect.Collect"/> But when I try to GWT-Compile my HTML version in

Using GWT backend but not frontend

亡梦爱人 提交于 2019-12-24 10:51:35
问题 I just joined a GWT project. Our goal now is to create more pages with login. I would like to add these pages as simple HTML and use the existing GWT backend. Is this possible? When I look at the network in the current login page, I see GWT uses a long string concatenated with vertical bars, something like : 7|0|11|http://15.165.128.219:8099/welcome/|B080515AD1EBC13C065F38E72385F941|com.company.AdminService|login|com.company.LoginDetails/94248548|java.util.HashSet/3273092938|java.lang.String

GAE Datastore with GWT, making more friendly/smaller keys

坚强是说给别人听的谎言 提交于 2019-12-24 10:39:40
问题 I am currently working with GWT, GAE and using JPA as my ORM. I have an issue where the keys that GAE is generating are too large reasonably to be used on a mobile device with RequestFactory. The amount of data in a small list is overwhelming due to the size of the ID/KEY when converted to String. I am using String for my key's so that I can handle inheritence. @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Extension(vendorName = "datanucleus", key = "gae.encoded-pk", value = "true"

Computer-assisted translation for GWT recommendations

妖精的绣舞 提交于 2019-12-24 10:38:17
问题 We are looking for a suitable solution to translate our GWT application collaboratively. We have a bunch of constants and messages property files that need to be translated by different people. Till now we've emailed the files and manually merged the translated content back which obviously doesn't scale very well. Is there any tool (preferably an open source project) you can recommend that does play well with the i18n support of GWT and allow for collaboratively translation? 回答1: There is a