Junit test, this.getThreadLocalRequest() always return null

2013-04-10 Thread tong123123
In normal user interaction through browser, in my servlet SearchServiceImpl which extends RemoteServiceServlet, calling this.getThreadLocalRequest() inside a method of SearchServiceImpl can return the request. but in JUnit test, if calling a method of SearchServiceImpl which includes

cursor:wait does not work when the mouse pointer is on a button

2013-03-21 Thread tong123123
in css, I write .waitCursor{ cursor:wait; } then in code, I write btnA.addClickHandleer(new ClickHandler(){ public void onClick(ClickEvent event){ RootPanel.get(uniqueID).addStyleName(waitCursor); // ... lengthy process here; RootPanel.get(unidquID).removeStyleName(waitCursor); } }); but

New DialogBox underneath the prevous DialogBox!!

2013-01-22 Thread tong123123
According to popuppanel (and so DialogBox) api, A panel that can pop up over other widgets. It overlays the browser's client area (and any previously-created popups). but I found that the new DialogBox is underneath the origin DialogBox, why? for the original dialogbox, I set

Re: new DialogBox is shown behind the old DialogBox

2013-01-22 Thread tong123123
I found the cause of the problem, but now I need to find a method to set the z-index of the glass of the new DialogBox. the old dialogbox has set its z-index. so I make the new dialogbox has z-index larger than the old one. but, the glass associated with the new dialogbox is still behind the old

Re: new DialogBox is shown behind the old DialogBox

2013-01-22 Thread tong123123
solved. use getClassElement(); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/h6VFXYx606kJ. To post to this group, send email to

Re: cannot break word in table td

2013-01-21 Thread tong123123
I found the solution, before I set the FlexTable table-layout:fixed then in td, set white-space:normal; word-wrap:break-word; in column, I set flexTable.getColumnFormatter().setWidth(0, 150px); flexTable.getcolumnFormatter().setWidth(1, 200px); the word in td cannot be broken, after I

rootPanel.addStyleName does not cover style in PopupPanel

2013-01-17 Thread tong123123
all my css class has the prefix class name .als to prevent css classname collision with other project, e.g. .als .class1{}; .als .class2{}; I plan to use rootPanel.addStyleName(als); so that all element will has prefix css classname als, and I can just use textbox1.addStyleName(class1);

Re: datagrid body is disappeared!! height is zero!!

2013-01-14 Thread tong123123
I see the following link http://code.google.com/p/google-web-toolkit/issues/detail?can=2start=0num=100q=colspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Starsgroupby=sort=id=7065 and I follow the suggestion to add a SelectionHandler to the TabLayoutPanel, but the result is the datagrid

Re: datagrid body is disappeared!! height is zero!!

2013-01-14 Thread tong123123
DataGrid inside a FlexTable which is then inside a DockLayoutPanel. it seem it is a bug of DataGrid inside a DockLayoutPanel as mentioned in

Re: How to modify a specific header style?

2013-01-11 Thread tong123123
I use pure css to finish it finally. to select a specific header, like the second header column, I use .projectCdGrid thead th:nth-of-type(2) for the button in thead, I use .projectCdGrid thead th button hope this can help others with simiilar problem. -- You received this message

Re: How to modify a specific header style?

2013-01-10 Thread tong123123
the topic in https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/bBe7GCVoVWQ may be useful, but all the link inside return error 404. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: How to modify a specific header style?

2013-01-10 Thread tong123123
So trouble, Header and ActionCell is not inherited UIObject, so cannot use ensureDebugId to give a specific header and actioncell an id to apply css!! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: In some situation, DataGrid record cannot be selected

2013-01-03 Thread tong123123
really strange, I find this behavior only occur when KeyboardSelectionPolicy.BOUND_TO_SELECTION is used, but why will this problem occur? and under what circumstance will use expect keyboardSelection is not same as selectionmodel.setSelected?? (that is, when to use

Re: dataGrid with onSelectionChange shield the button receive event

2013-01-02 Thread tong123123
to clarify, it is not onclick event, it is the execute method of the ActionCell. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dXyv4akC5lsJ.

Re: dataGrid with onSelectionChange shield the button receive event

2013-01-02 Thread tong123123
sorry, please ignore the first question, I found the execute method is triggered first before onSelectChange event of the datagrid. but for the second question, I still do not have any clue now. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Something unknown about the celltype of Header in 2.4 api

2013-01-02 Thread tong123123
in the api http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/cellview/client/Header.html#getValue%28%29 H - the Cell type but in fact, why the following can work ActionCellString addPCCell = new ActionCellString(add, new DelegateString(){ @Override public void

different gwt-textbox height in IE9 and FF13

2013-01-01 Thread tong123123
I found that for gwt-textbox (without modify any of its css attribute), when render in IE9, the height is 22px but NOT including padding-top, padding-bottom, border-top-width, border-bottom-width, so in IE, the gwt-textbox is in fact 22+1+1+1+1 = 26px; but in FF13, the height 22px is including

DataGrid, how to show multiline content in its cells?

2012-12-30 Thread tong123123
I use DataGrid, and I found if the content is very long (with space), the exceeding text is truncated, but i want the text can be wrapped to the next line, any method? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: DataGrid, how to show multiline content in its cells?

2012-12-30 Thread tong123123
Ok, I found remove white-space:nowrap; then it can show multiline. but I found something unknown, if I use white-space:nowrap; overflow:hidden; test-overflow:ellipsis; I expect the overflow text will show as ellipsis, but not, the overflow text is just truncated!! -- You received this

How to know the css used by the datagrid header?

2012-12-27 Thread tong123123
I use F12 in IE9 or FF13 but still cannot see the css used by the datagrid header, I want to create a label with the css property (like the height, padding...) same as datagrid header, how to accomplish it? -- You received this message because you are subscribed to the Google Groups Google

Re: if change css, need restart the server?

2012-12-23 Thread tong123123
no luck in refresh twice, maybe really need to change to CssResource or ClientBundle. I am using maven, my css placed under public folder as the first post mention, change css in that place will not be reflected in development mode, still need restart server everytime, very trouble. -- You

Re: if change css, need restart the server?

2012-12-23 Thread tong123123
For more information, we found if using jetty server and development, changing css will reflect in browser in development mode, if using externaml sever, then even using development, changing css will not cause browse UI change. I have a look about cssResources at

How to modify the height and width of the button in ActionCell

2012-12-21 Thread tong123123
In ActionCell, a button is automatically generated and I want to change the button height and width, but I found that there is no addStyleName, setCellStyle or etc to write css to modify the generated button height and width, any method to do it? -- You received this message because you are

if change css, need restart the server?

2012-12-21 Thread tong123123
my css is placed in structure like public my.css client xxx.java shared xyz.java server zzz.java I try to modify the css and then close the development mode and restart it, but the css effect is still not seen. Everytime I change css, I need restart server, is this a easier way to

Re: How to modify the height and width of the button in ActionCell

2012-12-21 Thread tong123123
{ height: 10px; width: 20px; font-size: 10px; } but all has no effect!! On Friday, December 21, 2012 4:48:04 PM UTC+8, tong123123 wrote: In ActionCell, a button is automatically generated and I want to change the button height and width, but I found that there is no addStyleName

if DialogBox is shown, debug window in IE8 or FF13 cannot be shown.

2012-12-19 Thread tong123123
the behavior is quite strange, in normal condition, if press F12 in IE8 or FF13, a debug window will be shown. But if DialogBox is shown (Dialog.center()), then even press F12, the debug window cannot be shown. why will this happen? -- You received this message because you are subscribed to

how to show horizontal scrollbar in scrollpanel automatically?

2012-12-18 Thread tong123123
I have a scrollpanel enclosing a tree. when the tree node expands, the scrollpanel can show the vertical scrollbar automatically. but it cannot show the horizontal scrollbar automatically, instead, only eclipse (...) is shown for overflow item. so how to show the horizontal scrollbar

problem of docklayoutpanel in IE9

2012-12-09 Thread tong123123
our colleague just found that in IE9, the following is not work: DockLayoutPanel dockLayoutPanel = new DockLayoutPanel(Unit.PX); dockLayoutPanel.setSize(1024, 768); the dockLayoutPanel will not shown (although it works in IE8). In IE9, we must write the px in setsize DockLayoutPanel

Re: how to modify the css of gwt-TabLayoutPanelContent

2012-12-04 Thread tong123123
if modifying the standard.css, it will affect all the tablayoutpanel, it is difficult to change just one tablayoutpanel .gwt-TabLayoutpanel .gwt-TabLayoutPanelContent css class padding property, right? -- You received this message because you are subscribed to the Google Groups Google Web

Height of DataGrid

2012-11-29 Thread tong123123
I placed a datagrid inside a column of flextable and I found that I must expliciitly set the height, and cannot use % like 100%, but % is allowed to use in the width, why this happens? due to Datagrid implements

Re: HasHorizontalAlignment.ALIGN_RIGHT has strange result in datagrid column

2012-11-20 Thread tong123123
any one how to solve? I try to use css .class1{ text-align:right; } and then in code, write resultGrid.getColumn(5).setCellStyleNames(class1); but the result is the same, the data can show in FF but not in IE8!! -- You received this message because you are subscribed to the Google

ListDataProvider and VM use up memory

2012-11-07 Thread tong123123
for using LIstDataProvider, if the search result contains many records and many users use similar criteria to search simultaneously, it will use up the memory of the server JVM easily, is this correct? So for searching record with large result, we should use celltable with pager and data

Re: ListDataProvider and VM use up memory

2012-11-07 Thread tong123123
the title VM means server JVM. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/_FGJnN4mmzAJ. To post to this group, send email to

Re: GWT vs SmartGWT

2012-10-31 Thread tong123123
I found pure gwt developer guide, documentation and community forum is quite helpful, for GXT, I try to learn but there is no any tutorial like the stockwatch program, and no developer guide, the forum has poor response..., so I really do not know how to start with GXT although its UI is very

why no getTabBar() in TabLayoutPanel?

2012-10-30 Thread tong123123
I have a tablayoutpanel, one tab display a grid with many record, user can select one record and then press edit, then it will jump to other tab for edit, I want to disable the first tab when edit, but I found that there is no getTabBar() in tablayoutpanel but has this function in TabPanel!!

ListDataProvider.addDataDisplay() and setRowData

2012-10-26 Thread tong123123
if I called ListDataProvider.addDataDisplay(DataGrid); I found no need to use setRowData(List); so when to use setRowData and when to use ListDataProvider as the data source for DataGrid? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

SimplePager.Resources.class

2012-10-26 Thread tong123123
I found SimplePager.Resources resource = SimplePager.Resources.class; will return error Type mismatch: cannot convert from ClassSimplePager.Resources to SimplePager.Resources And need to use SimplePager.Resources resource = GWT.create(SimplePager.Resources.class); why need to use

Will PopupPanel.hide() clear the memory it used?

2012-09-18 Thread tong123123
I display the search result using PopupPanel, the PopupPanel has a button filter which allow user to refine the criteria and show the result (PopupPanel) again.I found that after several this operation (hide(), then new the PopupPanel again, center() it), the weblogic will throws

Re: Will PopupPanel.hide() clear the memory it used?

2012-09-18 Thread tong123123
Not devMode, but in production mode. Each time the user press filter button, a GWT-RPC is called, at first I think this is related to the popuppanel does not release memory. On Tuesday, September 18, 2012 9:13:18 PM UTC+8, Joseph Lust wrote: java.lang.OutofMemoryError: Java heap space Are

Re: when compile, cannot found the file in jar

2012-09-06 Thread tong123123
I answer myseslf, hope could benefit to others with similar problem. inherits name='hk.gov.ehr.service.tch. als.admin.viewer.AlsAdminViewerWebApp'/ is needed. Otherwise, cannot compile. And, if the dependent gwt app. has entry-point class defined in *.gwt.xml, it will run, that is, two

Re: when compile, cannot found the file in jar

2012-09-05 Thread tong123123
I even try to add source path='hk.gov.ehr.service.tch.als.admin.viewer.client'/ but the same error still prompted when compile, so how to compile the java source (java file) in a dependency jar? is inherits in *.gwt.xml related? On Wednesday, September 5, 2012 11:48:50 AM UTC+8, tong123123

Re: when compile, cannot found the file in jar

2012-09-05 Thread tong123123
I even try to add source path='hk.gov.ehr.service.tch. als.admin.viewer.client'/ but the same error still prompted when compile, so how to compile the java source (java file) in a dependency jar? is inherits in *.gwt.xml related? -- You received this message because you are subscribed to the

Re: when compile, cannot found the file in jar

2012-09-05 Thread tong123123
my origin GWT module AlsAdminViewerWebApp.gwt.xml has module rename-to='alsadminviewerwebapp' under package hk.gov.ehr.service.tch.als.admin.viewer I try to add inherits name='hk.gov.ehr.service.tch.als.admin.viewer.alsadminviewerwebapp'/ or inherits

Re: when compile, cannot found the file in jar

2012-09-05 Thread tong123123
, September 5, 2012 5:48:50 AM UTC+2, tong123123 wrote: [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 5 source files to D:\workspace\als-admin-viewer-webapp-forTesting\target\www\WEB-INF\classes [INFO

is it possible to migrate the existing gwt module as a jar?

2012-08-31 Thread tong123123
origin design: DB class in a jar package GWT module new design: DB class in a jar package previous GWT module packed in a jar package a new GWT module is this possible to packed the current GWT module as a jar and then new a new GWT module and call the previous GWT module which is already

Re: Any recommend tutorial for integration of Liferay portal with GWT application

2012-08-22 Thread tong123123
in the web to taught about integration of GWT into protal, so I know I am in trouble :( On Tuesday, August 21, 2012 5:08:33 PM UTC+8, Sipra wrote: Hi tong123123 , Can You Please Share how you have integrated the GWT RPC in Liferay Portal, i have the requirement on this, Please help me out

Re: many strange problem when change from rootlayout panel to rootpanel

2012-08-21 Thread tong123123
thanks, if html and body set height:100%, then the problem fixed. in attachment 100%Method.png, the yellow is the body margin:10px, then the blue is the body, everything is normal. But I try some other method and found some unknown. 1) I try not set height = 100% in html and body, instead I try

Re: GWT Portlets on Liferay

2012-08-19 Thread tong123123
after 4 year, I face the same problem, seems no any website to taught about GWT and Liferay protal integration, what I can found is the wiki from liferay which is no help http://www.liferay.com/community/wiki/-/wiki/Main/Build+a+GWT+Portlet it seems I really get into trouble this time. On

Re: GWT PORTLET

2012-08-14 Thread tong123123
I want to know more about step 3 and 4, could you provide more detail? what is the GWT sample project's files (the folder containing files *.nocache.js ,*.gwt.rpc ,cache.html and *.cahce.png?) copy to sample portlet which folder? (webapp folder, where view.jsp is placed?) On Tuesday, March 13,

Re: GWT PORTLET

2012-08-14 Thread tong123123
the link is dead. http 404 *The requested resource (/examples/pages/portal/portal.html) is not available. *I really want to find some step by step example for integration of gwt with portlet. On Wednesday, March 14, 2012 12:18:31 AM UTC+8, Joseph Lust wrote: You could also use Ext GWT. It

Any recommend tutorial for integration of Liferay portal with GWT application

2012-08-07 Thread tong123123
as cationed, Liferay portal 6.0.6 CE, GWT 2.4 with using RPC to communicate with server. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

how to use several html instead of just one hosted html

2012-08-02 Thread tong123123
although this requirement seems strange, but maybe I need to change so. Currently, my gwt application has just one hosted html with script type = src = nocache.js/script this is perfectly normal. But now, I may need to change it so that there is several html instead of this only one

in popuppanel, FF cannot support ctrl+c to copy the text

2012-07-12 Thread tong123123
http://gwt.google.com/samples/Showcase/Showcase.html#!CwDialogBox I do not know is this GWT problem or firefox problem, in showcase, popup panel, click the show dialog box button, the in the popup, highlight the text This is an example of a standard dialog box component. and press Ctrl + c,

Re: Layout great difference between IE8 and FF13 after using window.getClientWidth() and window.getClientHeight()

2012-07-11 Thread tong123123
After add the px unit, FF can show the image correctly. image1.setSize(String.valueOf(clientWidth * 0.1) + px, String.valueOf(clientHeight * 0.1) + px); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the

Re: unknown style in CellTable and scheduledCommand not work

2012-07-09 Thread tong123123
My KeyboardSelectionPolicy is set to KeyboardSelectionPolicy.BOUND_TO_SELECTION. in fact, in page 3 lower part, the detail information is come from singleSelectionModel.getSelectedObject(); and the upper part CellTable (with pale yellow style), it is attached to the same

Re: PopupPanel size problem

2012-07-09 Thread tong123123
is using a percentage of Window.getClientHeight() and Window.getClientWidth() the correct direction? On Monday, July 9, 2012 4:37:33 PM UTC+8, tong123123 wrote: In developer guide https://developers.google.com/web-toolkit/doc/2.4/DevGuideUiPanels seems it must explicit set the size inside

speed of debug mode in eclipse is very slow or even hang

2012-07-05 Thread tong123123
the problem is very strange, if the project is run outside eclipse, the speed is ok. if run in eclipse but not in debug mode, the speed is also ok. but if run in eclipse and in debug mode (right click project debug as web application (running on an external server),the speed is very slow, and

Re: reordering of column in celltable

2012-06-30 Thread tong123123
If the celltable has something like addColumn(ColumnT,? col, int insertIndex) then I know how to do the reordering, but without this, I really cannot think any method to control the ordering of columns in CellTable. I type the keyword celltable gwt column reorder in google and cannot found any

Re: reordering of column in celltable

2012-06-30 Thread tong123123
Oh, sorry, I overlook it. On Saturday, June 30, 2012 5:23:08 PM UTC+8, Thomas Broyer wrote: On Saturday, June 30, 2012 11:17:03 AM UTC+2, tong123123 wrote: If the celltable has something like addColumn(ColumnT,? col, int insertIndex) insertColumn(int beforeIndex, ColumnT,? col)http

Re: reordering of column in celltable

2012-06-29 Thread tong123123
anyone has idea? in fact, for the first requirement, I see GXT can do it as following link http://www.sencha.com/examples/#ExamplePlace:basicgrid but GXT can do it but GWT cannot? I think it is common to allow user to change the column ordering in a table, but no method to do it in GWT? -- You

reordering of column in celltable

2012-06-28 Thread tong123123
current, the column order in CellTable is fixed in coding, that is, something like Celltable.addColumn(col1, col1); Celltable.addColumn(col2, col2); Celltable.addColumn(col3, col3); .. Celltable.addColumn(col10, col10); 1) if user want to change this column order

result not as expected in TextArea.setFocus

2012-06-22 Thread tong123123
there is a Tree and a TextArea, when user double click on the TreeItem, the TreeItem text will be copied to the TextArea, and I want the mouse cursor (focus) remain on the TextArea so when using type some text, the text will be added in the TextArea. I try to use ScheduledCommand but not work.

TextArea.setFocus not function as expected

2012-06-22 Thread tong123123
there is a Tree and a TextArea, when user click on the TreeItem, the TreeItem text will be copied to the TextArea, and I want the mouse cursor (focus) remain on the TextArea so when user type some text after click on the tree item, the text will be added in the TextArea. I try to use

Re: how to set the row color of CellTable based on values in a column

2012-06-21 Thread tong123123
In gwt-user-2.4.0.jar CellTable.css, there is many css class like .cellTableSelectedRow{ .. } but I can not understand how this is applied to CellTable even I see the CellTable class source code. -- You received this message because you are subscribed to the Google Groups Google Web

Re: how to set the row color of CellTable based on values in a column

2012-06-20 Thread tong123123
I found another related problem, as shown in the attachment, if the row is highlighted, the font color is white, which is difficult to see under yellow background color, how to change the color property when the row is selected? On Wednesday, June 20, 2012 6:36:49 PM UTC+8, tong123123 wrote

Re: how to set the row color of CellTable based on values in a column

2012-06-20 Thread tong123123
the problem becomes very complicated, as the row background color depends on a column value, but when the row is selected, the font color is white, so if the background color is yellow as attaced and when the row is highlighted, the font is in white color and so difficult to see. But the worst

Re: how to export a ArrayListString in gwt to external file?

2012-06-19 Thread tong123123
response What does this exactly means? the response generated with ServletOutputStream.flush is not allowed, right? Thanks for the help!! On Tuesday, June 19, 2012 11:52:17 AM UTC+8, tong123123 wrote: Thanks for your reply. yes, I am using rpc for the previous code. to post a form, I remember

About fixed sized panel (in px)

2012-06-19 Thread tong123123
This question may be some silly, but I have no different size monitor to test. Assume a LayoutPanel enclose a fixed sized panel with setSize(100px, 100px); if the same layout show in a larger size monitor with larger resolution, then the layoutPanel can resize according to the new monitor

Re: how to export a ArrayListString in gwt to external file?

2012-06-18 Thread tong123123
Thanks for your reply. yes, I am using rpc for the previous code. to post a form, I remember FormPanel. but the example above is just a simplified case. in real, I need to pass a search history Map (time as the key, criteria string as the value) to servlet and use the servlet to export the Map

About nested RPC call

2012-06-15 Thread tong123123
just for example of nested server call, assume I need the following three server call in sequence 1) call server to select the count of records satisfy the criteria 2) if call1 success, call server to select the content of records satisfy the criteria 3) if call1 and call2 success, call server

how to export a ArrayListString in gwt to external file?

2012-06-14 Thread tong123123
as captioned, assume I have an ArrayListString() sqlHistory in a gwt file, how to export this arraylist to an external file (prompt a save dialog and let user select where to save the file) on window platform? -- You received this message because you are subscribed to the Google Groups Google

Re: HTML-safety best practices

2012-06-14 Thread tong123123
I found in gwt 2.4, the ImageCell Class is interface Template extends SafeHtmlTemplates{ @Template (img src=\{0}\/ SafeHtml img(String url); } so it will rise the warning Template with variable in URL attribute context:The template code generator cannot guarantee HTML-safety of the

panel that implements RequiresResize

2012-06-13 Thread tong123123
if a panel that implements RequiresResizehttp://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/RequiresResize.htmladd a widget, the panel always cannot be visible. is it a necessary that a panel implements

how to set the padding-left property of a specific column in a celltable?

2012-06-11 Thread tong123123
I try to use css .iconColumn{ Column.setCellStyleNames(iconColumn); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PFgdWQ4BZ2sJ. To post to

how to set the padding-left property of a specific column in a celltable?

2012-06-11 Thread tong123123
I try to use css .iconColumn{ padding-left:2px; } and then in gwt, write Column.setCellStyleNames(iconColumn); but I found no effect on the specific column left padding!! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: how to set the padding-left property of a specific column in a celltable?

2012-06-11 Thread tong123123
the column is inside a table with css class name ellipsis, so I try to change .ellipsis .iconColumn{ padding-left:2px; padding-right:2px; } and then in gwt, write Column.setCellStyleNames( iconColumn); very strange, padding-left is in effect now, but now padding -right!! in IE, if I

textbox in showcase lower right corner, has a dragger to resize the textbox

2012-06-08 Thread tong123123
in the showcase http://gwt.google.com/samples/Showcase/Showcase.html#!CwBasicText the textbox lower right corner has a dragger to resize the textbox, how to do it? I try TextArea ta = new TextArea(); ta.setCharacterWidth(80); ta.setVisibleLines(5); but the textbox generated has no such

constant in gwt showcase

2012-06-07 Thread tong123123
there is many predefined constant used in gwt showcase http://gwt.google.com/samples/Showcase/Showcase.html#!CwTree e.g. String[] cwTreeBeethovenWorkConcertos(); from the abouve link, is it possible to see the source (the contents) of this constant? -- You received this message because you

where to download gwt 2.4.0 source code?

2012-06-02 Thread tong123123
I try the following link http://google-web-toolkit.googlecode.com/svn/trunk/google-web-toolkit-read-only and has error Bad URL passed to RA layer svn: URL 'http://google-web-toolkit.googlecode.com/svn/trunk/%20google-web-toolkit-read-only' non-existent in revision 11007 Filesystem

Re: where to download gwt 2.4.0 source code?

2012-06-02 Thread tong123123
help to you without a Subversion client. svn checkout http://google-web-toolkit.googlecode.com/svn/tags/2.4.0/gwt-2.4-read-only On Saturday, June 2, 2012 11:30:35 AM UTC+2, tong123123 wrote: I try the following link http://google-web-toolkit.googlecode.com/svn/trunk/google-web-toolkit-read

Re: can DialogBox has a x close button in the upper right hand corner like most window have?

2012-06-02 Thread tong123123
. On Friday, June 1, 2012 5:05:40 AM UTC-4, tong123123 wrote: from http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/DialogBox.html I think I need create a class that implements *DialogBox.Captionhttp://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com

Re: where to download gwt 2.4.0 source code?

2012-06-02 Thread tong123123
sorry, where is the checkbox download sources? Joseph Lust於 2012年6月2日星期六UTC+8下午10時48分32秒寫道: Are you familiar with Maven? It makes this very simple. Just check the box for download sources. Joe -- You received this message because you are subscribed to the Google Groups Google Web

Re: can DialogBox has a x close button in the upper right hand corner like most window have?

2012-06-01 Thread tong123123
a x image in a column of flextable? On Thursday, May 31, 2012 4:54:44 PM UTC+8, tong123123 wrote: I think it is very difficult if not impossible, just requested by my company and try to ask here. On Thursday, May 31, 2012 4:54:44 PM UTC+8, tong123123 wrote: I think it is very difficult

can DialogBox has a x close button in the upper right hand corner like most window have?

2012-05-31 Thread tong123123
I think it is very difficult if not impossible, just requested by my company and try to ask here. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: the gwt-PopupPanelGlass height increase unexpectedly

2012-05-30 Thread tong123123
, 2012 11:09:39 AM UTC+2, tong123123 wrote: as show in the image, beforesearch, there is no scrollbar in the right hand side, and then press search, in the searching.png, it show a warning message, and after press ok, the result is shown (result.png), but one point very strange

what is the function of gwt-unitcache directory (not under target directory)?

2012-05-29 Thread tong123123
I try to run mvn:clean install and the content in gwt-unitCache (not the one in target directory, but the one directly under the project folder) will not changed, so what is its use? Could I not commit this folder in svn if it is not important? -- You received this message because you are

How to make CellTable Header always on top

2012-05-29 Thread tong123123
In my application, I have a scrollpanel and a celltable inside the scrollPanel, most of the column in the celltable is sortable, the problem is that when the record in the celltable is large and when the user scroll down, the celltable header will be hide. is it possible to make the celltable

both CellTable.setWidth(100%, true). or css property table-layout:fixed fail

2012-05-28 Thread tong123123
I want the topic Controlling Column Widths in the link https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCellTable and I already set the Celltable table table.setWidth(100%, true); I also try to use css property .tableLayout{ table-layout:fixed; } and then set this property

Re: both CellTable.setWidth(100%, true). or css property table-layout:fixed fail

2012-05-28 Thread tong123123
it will not truncated!! On Monday, May 28, 2012 4:05:41 PM UTC+8, tong123123 wrote: I want the topic Controlling Column Widths in the link https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCellTable and I already set the Celltable table table.setWidth(100%, true); I also try to use

Re: both CellTable.setWidth(100%, true). or css property table-layout:fixed fail

2012-05-28 Thread tong123123
Thanks for the reply. Finally I use the css .ellipsis td{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } the ellipsis cannot be shown on IE8, but at least the content kept on a single line and the overflow content is hidden. but I still have one thing no

Re: maven gwt module depends on a external jar

2012-05-23 Thread tong123123
how to run my mavenize core project (which is called by webapp project written in gwt) in eclipse debug mode so I can run it step by step? I do not know where to ask, I try to subscribe http://dev.eclipse.org/mhonarc/lists/m2e-users/ and send the question to that email address, but I cannot see

Re: maven gwt module depends on a external jar

2012-05-22 Thread tong123123
-plugin/user-guide/library.html#Using_general_purpose_JARs_as_GWT_library but is it need to create a ''gwt.xml'' module file in core project? this is totally ridiculous as it is not a gwt module On Monday, May 21, 2012 4:57:49 PM UTC+8, tong123123 wrote: I have a mavenize gwt module depends

maven gwt module depends on a external jar

2012-05-21 Thread tong123123
I have a mavenize gwt module depends on a jar(this jar is simple jar, no gwt related). the project name of the jar is als-admin-viewer-core with maven coordinate groupIdhk.gov.ehr.service.tch.als/groupId artifactIdals-admin-viewer-core/artifactId version1.0.0/version packagejar/package and

Re: maven gwt module depends on a external jar

2012-05-21 Thread tong123123
as a dependency in als-admin-viewer-webapp.pom.xml? sorry as the task is already delayed and anyway, thanks for your reply. On Monday, May 21, 2012 5:20:16 PM UTC+8, Thomas Broyer wrote: On Monday, May 21, 2012 10:57:49 AM UTC+2, tong123123 wrote: I have a mavenize gwt module depends on a jar

modulename cannot contains hyphen - in WebAppCreator?!!

2012-05-18 Thread tong123123
WebAppCreator -maven -out test2 abc.com.a-1 return error 'abc.com.a-1' does not appear to be a valid fully-qualified java class name. in fact, I can success copy a gwt application to maven project, but the problem is now we need the artifactid id(and so the folder name) has hyphen -!! in

GWT-RPC dto object must implements rpc.IsSerializable, cannot java.io.Serializable?

2012-05-18 Thread tong123123
the application use gwt-rpc and sent the searchcriteria object and log object to and from server, these object implements rpc.IsSerializable. Now our company want to abstract the server layer and allow it to accept other search request from non gwt client, but as the method in server already

Re: GWT-RPC dto object must implements rpc.IsSerializable, cannot java.io.Serializable?

2012-05-18 Thread tong123123
I check the developer guide https://developers.google.com/web-toolkit/doc/latest/FAQ_Server#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable it mentions Also, the serialization policy file must be deployed to your web server as a public resource, accessible from a

maven gwt

2012-05-15 Thread tong123123
I do not know where to ask about maven gwt I follow the link http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html and run mvn archetype:generate \ -DarchetypeRepository=repo1.maven.org \ -DarchetypeGroupId=org.codehaus.mojo \ -DarchetypeArtifactId=gwt-maven-plugin \

any method to migrate an existing gwt application to maven project

2012-05-15 Thread tong123123
as captioned, the website http://mojo.codehaus.org/gwt-maven-plugin/project-info.html seem for create new gwt application, not for migrate, and the information inside is seem outdated, some option cannot be found in current m2eclipse now. -- You received this message because you are subscribed

Re: maven gwt

2012-05-15 Thread tong123123
Great thanks for your reply. In fact, I am very new to maven, there is many thing I still do not understand. 1) is GWT Maven Plugin = M2Eclipse + Google Eclipse plugins? I use eclipse install new software and get the M2Eclipse from following site:

  1   2   >