gxt

TextField 'Change' Event only triggers on blur

限于喜欢 提交于 2019-12-10 14:56:23
问题 Normally, the Change event will trigger after the TextField loses its focus (on blur). But I need it to trigger as soon as the value of the field changes, without the need to lose the focus on the field. The KeyListener doesn't cut it, because the value may come, for example, from a barcode scanner. Is there any way to do achieve this? Thanks in advance! 回答1: I haven't worked with ext-gwt, but this is what you have to do: You have to use the KeyListener AND add a listener for ONPASTE. The

GXT (EXT-GWT) Default Grid Widget implementation. What's wrong?

依然范特西╮ 提交于 2019-12-10 12:17:55
问题 Sample Code for Grid public class GraduateProject implements EntryPoint { public static List<Student> getStudents() { List<Student> students = new ArrayList<Student>(); students.add(new Student("Kostas", "Trichas")); students.add(new Student("Dimitris", "Elotriviaris")); students.add(new Student("Dimitris", "Moutafidis")); students.add(new Student("Stavros", "Baltas")); students.add(new Student("Panos", "Paikos")); students.add(new Student("Nikos", "Antarakis")); students.add(new Student(

GXT 3.x EditorGrid: choose cell editor type on a cell by cell basis

ⅰ亾dé卋堺 提交于 2019-12-10 09:40:51
问题 Is there anyway to define the editor type on a cell by cell basis in GXT 3.0 ? I need to create a transposed table; the column become the row and the row is the column. That being the case, a column (from a normal table point of view) will have various editor type, whereby a row will have identical editor type. I am trying to use following approach - It seems to be working fine, and allow to open up editors based on data type but when i click out; it doesn't close/hide editor. I would really

Getting com.google.gwt.user.client.rpc.StatusCodeException: 0 in GWT

时间秒杀一切 提交于 2019-12-09 10:39:39
问题 I sometimes/often get this Exception in GWT but don't know why: SEVERE: com.google.gwt.user.client.rpc.StatusCodeException: 0 java.lang.RuntimeException: com.google.gwt.user.client.rpc.StatusCodeException: 0 at Unknown.java_lang_RuntimeException_RuntimeException__Ljava_lang_Throwable_2V(Unknown Source) at Unknown.de_ctech24_simplynews_web_client_util_SimpleCallback_$onFailure__Lde_ctech24_simplynews_web_client_util_SimpleCallback_2Ljava_lang_Throwable_2V(Unknown Source) at Unknown.com_google

Eclipse runs out of heap space on ant build

≡放荡痞女 提交于 2019-12-08 15:58:45
问题 ext-Myself and two co-workers have been working on a GWT project and coding in eclipse. The project is growing and we are bringing on several new developers to help out. I have been tasked with setting up their workstations before they start work. Our current systems all worked out of the box following the basic GWT set up guide (http://code.google.com/webtoolkit/usingeclipse.html) On my working system I have not changed any of the defaults that eclipse has set for memory size. The new system

Ext GWT vs GWT-EXT

半城伤御伤魂 提交于 2019-12-08 15:27:10
问题 is there a difference between Ext GWT and GWT-Ext? Cos i was surfing Ext GWT and saw this page http://gwt-ext.com/demo/. any help guys? 回答1: ExtGWT is marketed and maintained by the same guys who developed ExtJs library. ExtGWT shares its look and feel and API structure with ExtJS. Contrary to popular perception, ExtGWT is not a wrapper around ExtJS javascript, but written ground up using GWT DOM and other low level GWT API's. It is 99% java based and uses no (or very little) JSNI to get

multiple instance of a gwt application runing on the same server on different tomcat can't work

大憨熊 提交于 2019-12-08 12:04:27
问题 I have a GWT GXT application running on Tomcat. this application has multiple instances running on the same server and if a user running 2 of them in the same time in the same browser the one which is running on the background start refreshing immediately when he/she try to work with them(at the first RPC call) if the applications running different browsers e.g. IE and Firefox there is no problem. Or the two application are running on different server. Do you think this a possible tomcat

Diagram of two lists that connects elements n:m

霸气de小男生 提交于 2019-12-08 04:28:38
问题 There has been a question to a specific kind of grid: The question has already been answered but the questioner also asked if this kind of diagram has a formal name which is what I'm interested in and the accepted answer doesn't include such information. Is there any simple way to achieve something like this in GWT/GXT (apart from drawing the two lists and these lines manually)? 来源: https://stackoverflow.com/questions/33016050/diagram-of-two-lists-that-connects-elements-nm

GXT -coloring entire grid row according to one cell in row

僤鯓⒐⒋嵵緔 提交于 2019-12-07 12:28:58
问题 . . I colored one column according to the value of cell but i want to color the entire row (means the cell contained row ) in gxt grid help me here is my code for coloring the cell (i want to color the row instead of the cell) /*------------Coloring Area------------*/ GridCellRenderer<BeanModelType> ColoredGrid = new GridCellRenderer<BeanModelType>() { @Override public Object render(BeanModelType model, String property, ColumnData config, int rowIndex, int colIndex, ListStore<BeanModelType>

Gxt focus management

六月ゝ 毕业季﹏ 提交于 2019-12-07 04:56:07
问题 I am working with Gxt. I need to set focus to the first enabled field on the page. But I have a lot of pages and I want to centralize that behaviour. There is a lack of documentation in Gxt so I wonder if somebody has met such a problem and can help me. Now it goes like that in each component's class protected void resetFocus() { combobox.focus(); } @Override public void show() { super.show(); resetFocus(); } I have found com.extjs.gxt.ui.client.aria.FocusManager but is absolutely unclear how