gwt maven - gwt:run manipulates web.xml (Web Deployment Discriptor)

2012-05-03 Thread saurabh saurabh
Hi all, I am very new to maven and using it with gwt. I have eclipse helios, installed required plugin for using maven for gwt. Now I have created a project *gwt-maven-acrhetype - I changed package names for some reason like: 1)in.co.bittechnology.HMS ---(including sub-packages)changed

Re: sending data from client to server

2012-05-03 Thread swathi
it returns the listof value proxy. i have one more query that how can i set data from client side to value proxy. if possible could you please provide me the sample example to meet my criteria. Thanks On Wed, May 2, 2012 at 11:22 PM, Jens jens.nehlme...@gmail.com wrote: Shall i use the same

Character mangling when string is passed from Java to javascript through JSNI

2012-05-03 Thread monkeyboy
Consider the following code: for (char c = 0; c 0x; c++) { printStr( + c, (int) c); } private native void printStr(String str, int c) /*-{ if (str.charCodeAt(0) != c) { console.log(c: + c + , code: + str.charCodeAt(0)); } }-*/; A simple loop that calls a simple javascript method

Re: where to place css file and image file?

2012-05-03 Thread tong123123
I try the easier method but fail, I place the css file in com.ha.als.public folder and after compile, the css file is placed in war\WEB-INF\classes\public, then I comment the hostpage html !-- link type=text/css rel=stylesheet href=ALS.css -- and add the following in gwt.xml stylesheet

Re: Character mangling when string is passed from Java to javascript through JSNI

2012-05-03 Thread Thomas Broyer
On Thursday, May 3, 2012 10:16:29 AM UTC+2, monkeyboy wrote: Consider the following code: for (char c = 0; c 0x; c++) { printStr( + c, (int) c); } private native void printStr(String str, int c) /*-{ if (str.charCodeAt(0) != c) { console.log(c: + c + , code: +

Re: where to place css file and image file?

2012-05-03 Thread tong123123
I even try add public path='public'/ in ALS.gwt.xml although the developer guide said it is by default, but the result is still the css placed under war\WEB-INF\classes\public!! - public path=*path* / : Each occurrence of the public tag adds a package to the public

GWT FormPanel does not submit the session

2012-05-03 Thread Carlos
I have the same problem that this issue: http://stackoverflow.com/questions/9114190/gwt-formpanel-does-not-submit-the-session-id-after-updating-on-gwt-version-2-4-0 How do we can trick this error? Thank you -- You received this message because you are subscribed to the Google Groups Google

Datagrid without text wrap

2012-05-03 Thread Dayananda B V
Hi All, How to make datagrid without text wrap. Kind regards, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Question about getModuleBaseURL

2012-05-03 Thread tong123123
I deploy my gwt 2.4 application to my localhost oracle weblogic server and context root is /ALS, so I expect the getModuleBaseURL is http://127.0.0.1:7001/ALS, but why the output is http://127.0.0.1:7001/ALS/ALS/ what is the last ALS/ means? -- You received this message because you are

Re: Datagrid without text wrap

2012-05-03 Thread Jens
https://groups.google.com/d/topic/google-web-toolkit/jo0LTmfl6ig/discussion -- J. -- 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/-/8QSGTY8ci5sJ.

Re: Question about getModuleBaseURL

2012-05-03 Thread Jens
Thats your module folder inside your war folder. war |--module folder //your module folder, in your case called ALS |-- index.html //your host page If you deploy to /ALS you end up having /ALS/ALS. You probably want to use GWT.getHostPageBaseUrl(). -- J. Am Donnerstag, 3. Mai 2012 11:38:10

Re: where to place css file and image file?

2012-05-03 Thread tong123123
and for more information, after compile, the css is placed in \war\ALS\ALS.css, not under WEB-INF\classes.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Datagrid with resiable column

2012-05-03 Thread Dayananda B V
Hi All, How to make DataGrid with resizable column. appreciate your help thanks Daya -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this

Re: Datagrid with resiable column

2012-05-03 Thread Jens
https://groups.google.com/d/topic/google-web-toolkit/y66eBBeOarI/discussion -- J. Am Donnerstag, 3. Mai 2012 12:40:26 UTC+2 schrieb Dayananda B V: Hi All, How to make DataGrid with resizable column. appreciate your help thanks Daya -- You received this message because you are

Re: private static final EntityManagerFactory emfInstance = Persistence.createEntityManagerFactory(transactions-optional);

2012-05-03 Thread Carlos Alexandro Becker
Hmm.. but, without exception? Please, make sure that your persistence.xml is in META-INF folder inside your war folder. JPA implementations usually cannot find the persistence unit if it arent inside this folder. On Thursday, May 3, 2012 1:25:45 AM UTC-3, laxman lingampally wrote: Hi

Re: Datagrid with resiable column

2012-05-03 Thread Dayananda B V
Hi Jens, thank you so much for replay, i tired the url you pointed out. how ever i am not able resize column, please check below demo, can you please let me what could be reason. import java.util.List; import com.google.gwt.core.client.EntryPoint; import

Re: using static hetml text input as datebox in gwt

2012-05-03 Thread Milan Cvejic
Hi, you can try something like Element textElement = DOM.getElementById(date); TextBox textBox = TextBox.wrap(textElement); later you can use textBox as any other TextBox widget. I haven't tried this but it should work. Cheers, Milan Cvejic On Wednesday, May 2, 2012 3:54:11 PM UTC+2, HDayi

Re: GWT Serialization error with HTML String content

2012-05-03 Thread dhoffer
Joseph, In this case I'm just trying to send some HTML to the server so it can be saved as a log file for the user, but the issue here really has nothing to do with HTML, it is due to new line characters in the string...could be any string. I found and fixed the problem. It was due to some

Re: Datagrid with resiable column

2012-05-03 Thread Dayananda B V
it's worked, problem in setting width of table. On May 3, 6:02 pm, Dayananda B V dayanand...@gmail.com wrote: Hi Jens, thank you so much for replay, i tired the url you pointed out. how ever i am not able resize column, please check below demo, can you please let me what could be reason.

Maven project in Eclipse Helios doesn't show error icon/marks

2012-05-03 Thread saurabh saurabh
Hi all, I am new to maven and currently working on GWT+Spring+Hibernate project with Maven on Eclipse Helios. (just moved on maven due to RequestFactory issues) I remember coding on eclipse without maven, after the project is build if there is a error it gives a red mark from package -- to --

Re: GWT Serialization error with HTML String content

2012-05-03 Thread Joseph Lust
Touche, glad you got it sorted. I'll be on the lookout for newline characters in the future. Sincerely, Joseph -- 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: GWT FormPanel does not submit the session

2012-05-03 Thread Joseph Lust
It's been answered in your SO question. GWT does not submit your JSESSIONID token, this is done by the browser using cookies automatically. If the browser is not sending it, you're either submitting your form to a different location than the cookie origin, or your cookie is expired. Sincerely,

Re: 3-tier architecture /gwt

2012-05-03 Thread Joseph Lust
This topic has been discussed on SOhttp://stackoverflow.com/questions/5079163/gwt-multi-module-vs-single-module-projectand other places. I am familiar with the suggested GWT archatype, but we found it limiting for large projects. Instead, we (40 devs) use the following Maven project structure

Code Formatting/Highlights for GWT Group Postings?

2012-05-03 Thread Joseph Lust
I've seen a few examples of contextually formatted and highlighted code submitted for questions/responses. I was curious how one achieves this in Google Groups as I've seen no facilities for it. Thx. Sincerely, Joseph -- You received this message because you are subscribed to the Google

Re: 3-tier architecture /gwt

2012-05-03 Thread Thomas Broyer
On Thursday, May 3, 2012 4:25:58 PM UTC+2, Joseph Lust wrote: This topic has been discussed on SOhttp://stackoverflow.com/questions/5079163/gwt-multi-module-vs-single-module-projectand other places. I am familiar with the suggested GWT archatype, but we found it limiting for large

help : hibernate+gwt

2012-05-03 Thread Assiya EL
Hello, I'm looking for how to integrate with my project with hibernate3 gwt2.4 example of a project or guidance on the project structure thank you for your reply -- Assiya EL Master Qualité du Logiciel Plz consider environment - Only print this if necessary -- You received this message

Re: help : hibernate+gwt

2012-05-03 Thread Sebastian Gurin
Please search in previus threads in this discussion group. On Thu, 3 May 2012 15:23:00 + Assiya EL missweb...@gmail.com wrote: Hello, I'm looking for how to integrate with my project with hibernate3 gwt2.4 example of a project or guidance on the project structure thank you for your

Help Help ::Gwt + RequestFactory + Hibernate + Any DataBase !!!

2012-05-03 Thread laxman lingampally
Hi all, please help me, I'm looking for how to integrate with my project with hibernate3 , gwt2.4 , RequestFactory and any database like mysql or sql server any. example of a project or guidance on the project structure thank you for your reply Thanks Regards laxman -- You received

Re: GWT and java mail api

2012-05-03 Thread Kris Reid
Did you ever get this fixed I have a similar problem. I have an OSGi application that is sending mail fine from the command line. How ever the bundle that loads a GWT interface throws an exception sending mail -- You received this message because you are subscribed to the Google Groups

GWT 2.4.0, class-level bean validations

2012-05-03 Thread Wayne Marsh
Hi all. I've marked an Editor up with HasEditorErrorsSomeEntity so that it can receive custom, class-level validations and report the errors appropriately. I'm probably doing this wrong, because I don't get the class-level errors passed to the top-level editor. It also gets sub-editor errors

Gwt Maven Project: web.xml got manipulate itself automatically

2012-05-03 Thread saurabh saurabh
Hi all I am new to maven and using it in my project with *dependencies* GWT +Spring+Hibernate n using RequestFactory on eclipse helios. Lets see the steps i did : 1) Created project with instructed artifact and have pom as instructed. I guess everything is set up here. 2) Now as I am using

MouseWheelHandler bug with webkit

2012-05-03 Thread ctasada
Hi everyone, I'm trying to add a MouseWheelHandler to a TextBox to manage some events. It works fine in Firefox, but both in Safari and Chrome it's only receiving deltaY = 0 events myTextBox.addMouseWheelHandler(new MouseWheelHandler() { public void onMouseWheel(MouseWheelEvent event) {

Re: Server detection of client crash

2012-05-03 Thread Alfredo Quiroga-Villamil
Hi Michael: I apologize for the delayed response. If you use GWT and say GWT-RPC for example, this will all be handled for you. Since each client will get its own session. The real challenge is going to be if my memory serves me right according to your initial requirements knowing when your

Navigatin in menu

2012-05-03 Thread abhishek2408
The examples given in GWT showcase for menu are for window.alert. I want a uibinder(ui.xml) file display to be shown below the menu instead of window.alert -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the

Re: how to make DataGrid column heading looks like swing table heading

2012-05-03 Thread Dayananda B V
please help on this regard On May 3, 11:57 am, Dayananda B V dayanand...@gmail.com wrote: Hi all, How to make DataGrid column heading looks like swing table heading, now DataGrid column shows plain text with vertical line but i need excel or swing table heading where the background color is

[gwt-contrib] Added style getters to UiRenderers (issue1700803)

2012-05-03 Thread rchandia
Reviewers: rdayal, Description: Added style getters to UiRenderers Now UiRendered templates with ui:styles can be retrieved with a getter. Please review this at http://gwt-code-reviews.appspot.com/1700803/ Affected files: M user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java M

[gwt-contrib] Re: Fixup class literals across fragments (issue1513803)

2012-05-03 Thread rdayal
On 2012/04/05 19:48:18, zundel wrote: Ping Ping. http://gwt-code-reviews.appspot.com/1513803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Less Name Mangling (issue1542804)

2012-05-03 Thread rdayal
On 2011/10/09 13:58:44, Lex Spoon wrote: For what it's worth, this patch does not seem necessary for the Scala+GWT project. It should be evaluated on its own merits. Stephen, at a high level, what is this patch for? How important is it for GWT 2.5?

[gwt-contrib] Re: Include non-client side types in dependencies (issue1569804)

2012-05-03 Thread rdayal
On 2011/10/13 00:25:02, stephenh wrote: This is just a spike, but client-side code now gets successfully recompiled if its binary-only annotations go-away/appear/change. A few notes: All of the getResourceAsStream calls (especially for the made up simple/qualified refs that come out of

[gwt-contrib] Re: Less Name Mangling (issue1542804)

2012-05-03 Thread stephen . haberman
Stephen, at a high level, what is this patch for? Basically fixing how GWT handles classes with $ in them. Right now there are a lot of places where GWT assumes $ can be replaced by . to go from, say, a binary class name of Foo$Inner to a source name of Foo.Inner. This is generally true for

[gwt-contrib] FF12 Plugin (issue1701803)

2012-05-03 Thread acleung
Reviewers: conroy, Description: FF12 Plugin Please review this at http://gwt-code-reviews.appspot.com/1701803/ Affected files: M plugins/xpcom/Makefile A plugins/xpcom/VisualStudio/ff120-xpcom.vcproj M plugins/xpcom/install-template.rdf M

[gwt-contrib] Re: Patch for http://code.google.com/p/google-web-toolkit/issues/detail?id=6704 (issue1684803)

2012-05-03 Thread jlabanca
On 2012/04/13 00:38:13, Jim Douglas wrote: LGTM Thanks for the patch, I'll submit it tomorrow. http://gwt-code-reviews.appspot.com/1684803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors