Dynamic Properties File Creation not effective

2009-05-20 Thread Bhavik
I am using GWT 1.6.4, with OS WinXP, Browser : IE6, IE7, FF I want to create dynamic properties file as per user requirement. On server side, I am creating a properties file in the Folder - \war\WEB-INF\classes\com\abcProject\client\abc.properties I have made entries in abc.GWT.xml file

ListBox how set selected item by value

2009-05-20 Thread zeroonea
when i load data to form to edit, how i set selected item in listbox by value --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

getting the same error

2009-05-20 Thread DanielK
I am getting the same error, is there a solution yet? --~--~-~--~~~---~--~~ 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

Re: getting the same error

2009-05-20 Thread Daniel
Somehow the reference to the original post got lost strange: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/e39670388248ada8 On 20 Mai, 09:38, DanielK dkim...@googlemail.com wrote: I am getting the same error, is there a solution yet?

Re: Hosted mode servlets in GWT 1.6

2009-05-20 Thread Ramanathan
Got it. But the bad part is that, if I specify the servlets in module.xml only, then the hosted mode gives me warning that they should be in web.xml. So it looks like I will have to have the servlets specified in both module.xml and web.xml, even though I do not need them when I ship my

Help with storing into session and accessing the session value in a Panel

2009-05-20 Thread Chetan
Hi, I am new to GWT.We have a requirement to hide a button based on the role of the user. We are able to get the correct data from the database based on SOP statements but invariably it is getting overwritten elsewhere. Is there a way where I can add this role that we get from the DB to add it

Compilation takes more than 1 hr

2009-05-20 Thread my
Hi, I am trying to compile my project in windows xp professional and it take around 15 min to compile, where as the same code when I try to compile on Solaris it takes around 100 min to compile the same exact code. Does any of you encountered this issue or any suggestion. Here is my build

Re: Hosted mode servlets in GWT 1.6

2009-05-20 Thread Thomas Broyer
On 20 mai, 10:21, Ramanathan rama...@gmail.com wrote: Got it. But the bad part is that, if I specify the servlets in module.xml only, then the hosted mode gives me warning that they should be in web.xml. So it looks like I will have to have the servlets specified in both module.xml and

Re: ListBox how set selected item by value

2009-05-20 Thread zeroonea
were you read my post? --~--~-~--~~~---~--~~ 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

Re: Dynamic Properties File Creation not effective

2009-05-20 Thread Magius
I'm not sure if I understand you, do you want to create dynamically new files (property or any other) inside a deployed war? It's impossible, you don't know how the server manage the WAR files (usually it decompresses it in a temporal folder), you'll need to access to the deploy directory (using

Re: reset a widget

2009-05-20 Thread George
Hi again, thanks for your fast reply. Your Tip was very useful, even though the mentionend method was not available for me as i didn't switch to 1.6 yet. Nonetheless, i understood the technique and implemented it with onTabSelected. Thanks a lot George On 14 Mai, 16:06, Salvador Diaz

Any way to set tooltip text for a individual Grid cells?

2009-05-20 Thread Suren
Hi All, i just wanted to know anyway I can set tooltip text only to certain cells in a Grid?? I saw setTitle()..but thats for the entire Grid Any advise welcome Thanks Suren --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Inherit java.seurity and commons-codec-1.3.jar

2009-05-20 Thread abbu
Im using java.security and commons-codec-1.3 jar for passwprd hashing. but im unable to inherit those jars. I always get a compilation error that the required module is not inherited. How to inherit external jars even when they are included in ur lib folder and classpath. Or does gwt provides any

Re: Exception Handling

2009-05-20 Thread abbu
Thnxfor the reply. what do u mean by specific? can u explain it a lil bit clearly please? what wrong im doing in the above code? Can u give me an working example please On May 12, 11:30 am, Paul Grenyer paul.gren...@gmail.com wrote: IIRC GWT doesn't like serializing Object. You need to use

Imports in the Client Side

2009-05-20 Thread abhiram
Hi all, I am developing a password hashing approach for my project. I first convert my password string into a MD5 String and and send it across to the server side where i compare it with the MD5 string saved in the database. I used a code for doing the string conversion to MD5 at client

Re: Design best practice

2009-05-20 Thread Dalla
Oh forgot to mention something important... I have to be able to add/subtract dates aswell... Back to using Calendar object I guess? On 19 Maj, 20:29, Dalla dalla_man...@hotmail.com wrote: Thanks, that seems like a better solution :-) On 19 Maj, 17:26, Salvador Diaz

Re: Hosted mode servlets in GWT 1.6

2009-05-20 Thread Ramanathan
Thanks a lot Thomas ! That worked. --~--~-~--~~~---~--~~ 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,

Using Class.forName

2009-05-20 Thread Pints
Hi, I am tring to use Class.forName at cleint for object creation and getting the following exception. [ERROR] Line 196: The method forName(String) is undefined for the type Class [ERROR] Line 197: The method newInstance() is undefined for the type Class Can't we use it? Any possible way

Re: Using Class.forName

2009-05-20 Thread rudolf michael
hello,No you cannot use it, bc java reflection is not supported. The alternative is to use GWT.create(yourClass.class) and deffered binding. On Wed, May 20, 2009 at 2:27 PM, Pints rohitvad...@gmail.com wrote: Hi, I am tring to use Class.forName at cleint for object creation and getting the

Re: Can not debug in Eclipse

2009-05-20 Thread sfeinst
On May 19, 4:40 pm, Miguel Méndez mmen...@google.com wrote: Wow.  That seems pretty strict.  Seems like you should be able to get a waiver for that... otherwise it's a productivity killer. I'm not that familiar with the security app, but it usually asks if I want to allow app A to run app B

Re: Any way to set tooltip text for a individual Grid cells?

2009-05-20 Thread Thomas Broyer
On 20 mai, 12:14, Suren nsurendi...@gmail.com wrote: Hi All, i just wanted to know anyway I can set tooltip text only to certain cells in a Grid?? I saw setTitle()..but thats for the entire Grid Any advise welcome Try this: grid.getCellFormatter().getElement(x, y).setTitle(title) but

Validation problem

2009-05-20 Thread poonam
Can anyone help me in writing a simple gwt class for validating the input. My requirement is that, I need to check that the input in the textbox is alphabetic, and if the input is anything other than alphabet it displays the error message. Thanks

Re: ListBox how set selected item by value

2009-05-20 Thread Thomas Broyer
On 20 mai, 09:32, zeroonea zeroo...@gmail.com wrote: when i load data to form to edit, how i set selected item in listbox by value Loop over the items until you find the one you want to select, and set it selected (though depending on whether you have a multiple-selection- enabled ListBox or

Re: Imports in the Client Side

2009-05-20 Thread Sean
What are you using a FileInputStream and InputStream for on the client side? I don't think they would be valid for GWT client Side code. If you want input you either have to get it from one of your widgets (TextBox, TextArea..etc) or from the server via an RPC call or HTTP request. On May 20,

Re: Can not debug in Eclipse

2009-05-20 Thread Miguel Méndez
We extend the standard eclipse java launch configurations to add some program arguments. We don't do anything special. It should work just like debugging a desktop app in eclipse. The only think that I could think to try would be to use a regular java launch configurations and see if it has the

Apache JNDI dbcp connection pool working w/ GWT 1.6 and Oracle

2009-05-20 Thread simon
I hope i can save some people a little time... below is what is required to get Jetty and Apache JNDI dbcp connection pool working w/ GWT 1.6 and Oracle 1) these 2 jars are needed in the WEB-INF/lib directory, : jetty-plus-6.1.11.jar jetty-naming-6.1.11.jar 2) for the Apache dbcp connection

Re: GWT widget - HTML rendering

2009-05-20 Thread JK
Alyxandor, thanks a lot! That was exactly that help I needed. The only problem now is that it perfectly works in Hosted mode and in Safary but totally fails in Firefox. Firebug sais: uncaught exception: [Exception... Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER)

Re: ListBox how set selected item by value

2009-05-20 Thread zeroonea
Okay, i have many listbox in some module, so i decided write a method to do this loop, share it between several module, a problem is i put this method in a tool class, but gwt do not allow i import it into entry point class, so it must be in same package with entry point class, but i do not want

GWT and Hibernate XML files vs Annotations

2009-05-20 Thread Rafael
Hello everyone! I have the following problem and was hoping you guys could help me out. I have the need to implement a relation inheritance (table per subclass) so i searched the hibernate documentation. The thing is that i am using a project structure which i took from a tutorial i found,

Failed to resolve 'client.DataService' via deferred binding

2009-05-20 Thread pasi
Hi, I am building applications using GWT 1.5.3 on JDK 1.5.0_09. While trying to build an application regarding GWT RPC, I got stucked with the following compilation error.. E:\GWT_WORKSPACE\HelloServletHelloServlet-compile

Re: GWT and Hibernate XML files vs Annotations

2009-05-20 Thread Paul Grenyer
Hi If you find Hibernate is difficult to use, you may try Dreamsource ORM for your application. You can find an GWT example in http://www.gwtorm.com/mail/Mail.html. Is anyone else getting a little sick of this constant gratuitous on-list plugging? -- Thanks Paul Paul Grenyer e:

GWT Button does not work after asigning a stylename

2009-05-20 Thread Paul van Hoven
I wrote the following code Button firstPB = new Button( msgs.srw_first(), this ); hPanel.add( firstPB ); This works fine and i have no problems. But after adding... Button firstPB = new Button( msgs.srw_first(), this ); hPanel.add( firstPB ); firstPB.setStyleName(PaginationButton-Passive);

i cant run Web Application Project in eclipse

2009-05-20 Thread taha
i want to create an application with gwt+eclipse+googleAppEngine i create new project with Web Application Project button in the toolbar whene i try to run or debug it i recive this messages Exception in thread main java.lang.UnsatisfiedLinkError: /media/sdb8/

[ANN] SmartGWT 1.1 Released

2009-05-20 Thread Sanjiv Jivan
Hi, SmartGWT 1.1 has been released. Here's the release announcement : http://www.jroller.com/sjivan/entry/smartgwt_out_of_beta_v1 Project Page : http://code.google.com/p/smartgwt/ Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ The new samples can be found under the New Samples

Re: Links within widgets

2009-05-20 Thread Shawn Pearce
On Wed, May 20, 2009 at 10:42, Alfred S freddi...@gmail.com wrote: I've been using GWT for some time now, so I know my way around. I did my homework, but for the life of me, I can't figure out how to open a link aside from having some sort of: new HTML(a href=.my link/a); Look at the

Introducing Shandor Xul: Run you app as Gwt, Swing and SWT

2009-05-20 Thread codeoncoffee
For the past year Pentaho has been developing a Java Xul framework for writing apps that run in Swing, Swt and Gwt without code modification. It's been open source from the start (LGPLv2) but not advertised. We've recently moved the project out into BitBucket.org as Shandor Xul and are looking

move the row in flextable

2009-05-20 Thread sushil
Hi All, I am new to GWT. I am doing some project where i need to use flextable to store the data.Even i have requirement to edit,delete ,up and down the inserted row data.I am able to delete using a button which i have put on each row same like that i want to add another three button to edit ,up

Links within widgets

2009-05-20 Thread Alfred S
I've been using GWT for some time now, so I know my way around. I did my homework, but for the life of me, I can't figure out how to open a link aside from having some sort of: new HTML(a href=.my link/a); Obviously, that works. But what do I put in a ChangeListener, for example? Sample:

Events on non HTML DOM elements

2009-05-20 Thread Olivier Hoareau
[GWT 1.5] Hello! I'm using SVG tags to draw diagrams in my window. I use a JS library to manipulate the DOM and add my SVG elements. No problem with that, it works perfectly fine with Firefox3 and IE7 (still a big work in progress, so not tested in other browsers). So i get things like : svg

Re: GWT and Hibernate XML files vs Annotations

2009-05-20 Thread Jim
Rafael, If you find Hibernate is difficult to use, you may try Dreamsource ORM for your application. You can find an GWT example in http://www.gwtorm.com/mail/Mail.html. Jim http://www.gwtorm.com for GWT ORM http://code.google.com/p/dreamsource-orm/ On May 20, 12:52 pm, Rafael

GWT developer - Georgia Tech - Summer

2009-05-20 Thread Saurav Sahay
The Cognitive Computing Lab (CCL), Georgia Tech is looking for a web developer with experience in Google Web Toolkit framework, to enhance a social interactive search and recommendation website. The work involves re-designing and extending pages and modular widgets and work with XMPP technologies

Capture right-click / control-click events? (oncontextmenu and NativePreviewEvent)

2009-05-20 Thread Gavin Andresen
I want my NativePreviewHandler to intercept oncontextmenu events. Is that possible? Details on what I'm doing: I've got a page with a bunch of hyperlinks on it. If the hyperlink is of a certain form (...author/AUTHOR_ID), then when the user shift- clicks on the link my NativePreviewHandler

Re: GWT and Hibernate XML files vs Annotations

2009-05-20 Thread gpike
Rafael, You could use annotations to describe the mappings but if not use the following. Since you are using Spring you can use their Hibernate support to look for mapping files in a particular directory. This way you don't have to call them out in the hibernate file. Lookup

Re: GWT and Hibernate XML files vs Annotations

2009-05-20 Thread noon
Hi, Looks like the hibernate.cfg.xml file is the one used to define relationship (the good practice is to have a mapping file for each Domain class, such as User.hbm.xml, Message.hbm.xml, and so on). Of course, since GWT 1.5, you can define your mapping attributes using annotations (so you can

Re: i cant run Web Application Project in eclipse

2009-05-20 Thread Alex Rudnick
Hey Taha, It sounds like the problem is that, while GWT comes with a 32-bit version of SWT, you're using a 64-bit JVM. If you switch to a 32-bit JVM, then you'll be set! (and in future versions of GWT, once we have the OOPHM feature, it won't be an issue) We should probably document this better

Re: GWT best Practices - JS Library Wrappers Overlay Types

2009-05-20 Thread Bobby
Thanks for the tips Eric. - I noticed that newInstance was used in Google Maps so i'm adopted the same convention. - I see what you mean about exception handling. I'll make use of your ExceptionHelper for Runnables. For the AsyncCallbacks, i'll try to mirror your ExceptionHelper implementation.

How to gray out readonly text in a text box

2009-05-20 Thread Rob Tanner
If I don't explicitly set a style for a TextBox widget, it picks up the stylesheet .gwt-TextBox and .gwt-TextBox-readonly from the standard.css file. That's fine except that I want to customize it using the css file in the WEB-INF folder which is where I set all my custom styles (styles specific

Re: [ERROR] Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); error

2009-05-20 Thread Cameron McKenzie www.hibernatemadeeasy.com
I was hitting the same error from the hosted mode in Eclipse once I added the gwt-ext library. Curiously, when I hit the 'Browse/Compile' button in the GWT plugin test environment, the code would actually recompile and run properly in a browser. So, if hosted mode gives you this error, it might

New to GWT -- Having Eclipse PlugIn Installation Problems

2009-05-20 Thread JAppetta
Hello All: I am a new GWT user who is having problems with installation. I installed the Eclipse plugin by extracting the zip file (per the instructions in the FAQ). I restarted Eclipse and did a File-New Web Application Project and the New Web Application Project dialog appeared. I noticed

Migration Instructions 1.5 to 1.6 rename-to

2009-05-20 Thread Steve C
The page at http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html is somewhat unclear regarding rename-to: module rename-to='testapp' Which left me wondering: is the value arbitrary, and, how does it relate to any other settings or directories? (Since the file tree shown under that

Right Click menu on an Image

2009-05-20 Thread ben
Is there anyway to add a right click menu on an Image class? I want to use my own right click menu, not the browsers. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: How to gray out readonly text in a text box

2009-05-20 Thread Jeff Chimene
On 05/20/2009 02:31 PM, Rob Tanner wrote: If I don't explicitly set a style for a TextBox widget, it picks up the stylesheet .gwt-TextBox and .gwt-TextBox-readonly from the standard.css file. That's fine except that I want to customize it using the css file in the WEB-INF folder which is

Re: Migration Instructions 1.5 to 1.6 rename-to

2009-05-20 Thread Jim
It doesn't appear after your creating static file structures. It appears after your running your application in hosted mode. Jim http://www.gwtorm.com - GWT ORM On May 20, 5:22 pm, Steve C st...@steveclaflin.com wrote: The page athttp://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html

Re: Help with storing into session and accessing the session value in a Panel

2009-05-20 Thread hazy1
Send the role information to your GWT client side application. On May 20, 1:38 am, Chetan chetan.minaj...@gmail.com wrote: Hi, I am new to GWT.We have a requirement to hide a button based on the role of the user. We are able to get the correct data from the database based on SOP statements

Re: GWT Upgradation error from 1.4 to 1.5/1.6

2009-05-20 Thread hazy1
Incubator releases have breaking changes so you will have to adjust. Some of the classes get moved to the main GWT trunk. On Apr 23, 5:56 am, Satya Bobba nasbo...@yahoo.com wrote: Hi hazy, thanks, i tried with latest version of incubator, but i am getting different errors means some of the

Re: Any way to set tooltip text for a individual Grid cells?

2009-05-20 Thread Suren
Hi, Thanks alot. It works. Yep, I checked the tooltip with mozilla and IE. Make sure with other browsers too. Our App. requires mouse anyway. But what you mentioned is a valid one to consider for only keyboard users as well. Thanks. Suren On May 20, 5:42 pm, Thomas Broyer t.bro...@gmail.com

Re: How to gray out readonly text in a text box

2009-05-20 Thread Peter Ondruška
Anything you put to WEB-INF folder will not be served by the web server. That folder is for configuration files. Place css into root folder or any other folder. 2009/5/20, Rob Tanner caspersg...@gmail.com: If I don't explicitly set a style for a TextBox widget, it picks up the stylesheet

Re: How to gray out readonly text in a text box

2009-05-20 Thread Rob Tanner
On May 20, 3:16 pm, Jeff Chimene jchim...@gmail.com wrote: On 05/20/2009 02:31 PM, Rob Tanner wrote: If I don't explicitly set a style for a TextBox widget, it picks up the stylesheet .gwt-TextBox and .gwt-TextBox-readonly from the standard.css file.  That's fine except that I want to

Re: How to gray out readonly text in a text box

2009-05-20 Thread Rob Tanner
I was looking the Eclipse layout and somehow just thought it was in WEB-INF. You know how that goes, you press send and then hit yourself in the forehead for being a dork. It's in the war folder at the same level as WEB-INF and the problem turned out to be a spelling error. Thanks, Rob On May

[gwt-contrib] [google-web-toolkit commit] r5437 - Addresses public issue 3566: Offer option to not decode cookies

2009-05-20 Thread codesite-noreply
Author: kpro...@google.com Date: Wed May 20 06:17:16 2009 New Revision: 5437 Modified: trunk/user/src/com/google/gwt/user/client/Cookies.java trunk/user/test/com/google/gwt/user/client/CookieTest.java Log: Addresses public issue 3566: Offer option to not decode cookies Addresses public

[gwt-contrib] Re: Small clean-up in SOYC dashboard

2009-05-20 Thread spoon
LGTM. There was earlier a reason for some to be non-static, then that got removed through the review process, and then I forgot to make them consistent again. http://gwt-code-reviews.appspot.com/34813 --~--~-~--~~~---~--~~

[gwt-contrib] [google-web-toolkit commit] r5438 - MakeTopLevelHtmlForPerm had some inconsistencies in which methods were static and which w...

2009-05-20 Thread codesite-noreply
Author: kpro...@google.com Date: Wed May 20 06:36:47 2009 New Revision: 5438 Modified: trunk/tools/soyc-vis/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java trunk/tools/soyc-vis/src/com/google/gwt/soyc/SoycDashboard.java Log: MakeTopLevelHtmlForPerm had some inconsistencies in which

[gwt-contrib] Re: Small clean-up in SOYC dashboard

2009-05-20 Thread Katharina Probst
Thanks, commited to trunk as r5438. On Wed, May 20, 2009 at 9:29 AM, sp...@google.com wrote: LGTM. There was earlier a reason for some to be non-static, then that got removed through the review process, and then I forgot to make them consistent again.

[gwt-contrib] [google-web-toolkit commit] r5439 - Merging /trunk r4820 into /releases/1.6.

2009-05-20 Thread codesite-noreply
Author: j...@google.com Date: Wed May 20 06:49:41 2009 New Revision: 5439 Modified: releases/1.6/user/src/com/google/gwt/user/client/ui/CheckBox.java releases/1.6/user/test/com/google/gwt/user/client/ui/RadioButtonTest.java Log: Merging /trunk r4820 into /releases/1.6. Modified:

[gwt-contrib] [google-web-toolkit commit] r5440 - Merging /trunk r5230 into /releases/1.6.

2009-05-20 Thread codesite-noreply
Author: j...@google.com Date: Wed May 20 06:50:05 2009 New Revision: 5440 Modified: releases/1.6/user/src/com/google/gwt/dom/client/DOMImplMozilla.java releases/1.6/user/src/com/google/gwt/dom/client/DOMImplMozillaOld.java

[gwt-contrib] [google-web-toolkit commit] r5441 - Updating branch-info again.

2009-05-20 Thread codesite-noreply
Author: j...@google.com Date: Wed May 20 06:51:52 2009 New Revision: 5441 Modified: releases/1.6/branch-info.txt Log: Updating branch-info again. Modified: releases/1.6/branch-info.txt == ---

[gwt-contrib] split up long var lines

2009-05-20 Thread spoon
Reviewers: jgw, Description: Per issue 3455, split up very long var lines to avoid a new Webkit bug. This also adds a CompilerParameters module. It looks useful for testing to be able to tune way down compiler settings such as this one. Please review this at

[gwt-contrib] Re: add -out to SoycDashboard

2009-05-20 Thread spoon
Thanks. Committed at r5442. http://gwt-code-reviews.appspot.com/33825 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] [google-web-toolkit commit] r5442 - Adds a -out argument to SoycDashboard specifying

2009-05-20 Thread codesite-noreply
Author: sp...@google.com Date: Wed May 20 07:16:36 2009 New Revision: 5442 Modified: trunk/tools/soyc-vis/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java trunk/tools/soyc-vis/src/com/google/gwt/soyc/Settings.java trunk/tools/soyc-vis/src/com/google/gwt/soyc/SoycDashboard.java

[gwt-contrib] Re: split up long var lines

2009-05-20 Thread spoon
It is still possible for super-deep expressions to come out of the compiler. As yet it is not a practical problem, however. The depth limit is 1. We are only bumping into such a large limit because of the unusual encoding used for var statements. That said, if it's a practical problem,

[gwt-contrib] Re: Patch for issue 3279

2009-05-20 Thread dannydaemonic
Thanks for getting back to me on this. I'll respond to the 5 issues here, saving the first issue for last, as it's the longest and it's easier to just skip over if it's not important to you, or if you wholeheartedly agree or disagree with me. (ii) BitSet.toString() is incorrect because it does

[gwt-contrib] Re: split up long var lines

2009-05-20 Thread t . broyer
I'm also concerned that it only splits var statements; are we sure GWT won't generate too deep expressions on other kind of statements? http://gwt-code-reviews.appspot.com/33826/diff/1/6 File dev/core/src/com/google/gwt/dev/js/JsBreakUpLargeVarStatements.java (right):

[gwt-contrib] Re: split up long var lines

2009-05-20 Thread Ray Cromwell
As a practical example, ClientBundle can already generate deep expressions for Css resource injection that exhaust the stack space of the JVM when compiling. You end up with something like: var cssText = a + b + c + . (hundreds) which produces a very deeply nested binary expression tree.

[gwt-contrib] Speed up escapeXml methods

2009-05-20 Thread rice
Reviewers: kprobst, Description: Convert \['] into their XML equivalents without using the (very slow) String.replaceAll method. Please review this at http://gwt-code-reviews.appspot.com/34814 Affected files: dev/core/src/com/google/gwt/core/ext/soyc/impl/StoryRecorderImpl.java

[gwt-contrib] [google-web-toolkit commit] r5444 - Note merge of trunk c5347

2009-05-20 Thread codesite-noreply
Author: rj...@google.com Date: Wed May 20 13:07:16 2009 New Revision: 5444 Modified: releases/1.6/branch-info.txt Log: Note merge of trunk c5347 Modified: releases/1.6/branch-info.txt == ---

[gwt-contrib] Add @external to CssResource

2009-05-20 Thread bobv
Reviewers: , Description: This patch adds an @external directive to the CSS system to allow for selective non-obfuscation of identifiers and to bypass strict-mode checks. Please review this at http://gwt-code-reviews.appspot.com/33827 Affected files:

[gwt-contrib] Re: Speed up escapeXml methods

2009-05-20 Thread kprobst
LGTM Like you mentioned, with a more intrusive change we might (in the future) be able to get away without ever converting to/from String. http://gwt-code-reviews.appspot.com/34814 --~--~-~--~~~---~--~~

[gwt-contrib] Re: Speed up escapeXml methods

2009-05-20 Thread jat
http://gwt-code-reviews.appspot.com/34814/diff/1/2 File dev/core/src/com/google/gwt/core/ext/soyc/impl/StoryRecorderImpl.java (right): http://gwt-code-reviews.appspot.com/34814/diff/1/2#newcode406 Line 406: private static String escapeXml(String unescaped) { Should this instead use the one in

[gwt-contrib] Re: Speed up escapeXml methods

2009-05-20 Thread jat
http://gwt-code-reviews.appspot.com/34814/diff/1/2 File dev/core/src/com/google/gwt/core/ext/soyc/impl/StoryRecorderImpl.java (right): http://gwt-code-reviews.appspot.com/34814/diff/1/2#newcode423 Line 423: char c = unescaped.charAt(index + 1); On 2009/05/20 20:47:23, jat wrote: You need to

[gwt-contrib] [google-web-toolkit commit] r5447 - Merging trunk c5445 into this branch.

2009-05-20 Thread codesite-noreply
Author: sco...@google.com Date: Wed May 20 14:35:08 2009 New Revision: 5447 Added: branches/snapshot-2009.05.12-r5406/dev/core/src/com/google/gwt/core/ext/soyc/impl/DependencyRecorder.java - copied, changed from r5414,

[gwt-contrib] Re: Add @external to CssResource

2009-05-20 Thread rjrjr
http://gwt-code-reviews.appspot.com/33827/diff/1/12 File user/src/com/google/gwt/resources/client/CssResource.java (right): http://gwt-code-reviews.appspot.com/33827/diff/1/12#newcode229 Line 229: * recommended as the default behavior for CssResources. hindsightShould have made it the default

[gwt-contrib] Re: SOYC story recording without indentation, with string builders

2009-05-20 Thread scottb
LGTM. BTW: if you want to go the extra mile, you can get even more speed up by reusing the StringBuilder. Call setLength(0) to start fresh, but it retains the internal char buffer so you can avoid tons of allocations. You could probably either pass a reusable buffer through as a param, or keep

[gwt-contrib] patch to allow forcing NumberFormat to use latin digits/separators

2009-05-20 Thread jat
Reviewers: andreasst_google.com, Description: This patch allows an app to force use of latin digits/separators instead of localized digits. Please review this at http://gwt-code-reviews.appspot.com/34816 Affected files: user/src/com/google/gwt/i18n/client/NumberFormat.java

[gwt-contrib] RadioButtons were not sinking click events

2009-05-20 Thread rjrjr
Reviewers: scottb, Description: Fix for http://code.google.com/p/google-web-toolkit/issues/detail?id=3679 Please review this at http://gwt-code-reviews.appspot.com/34817 Affected files: user/src/com/google/gwt/user/client/ui/RadioButton.java Index:

[gwt-contrib] Re: patch to allow forcing NumberFormat to use latin digits/separators

2009-05-20 Thread andreasst
LGTM http://gwt-code-reviews.appspot.com/34816 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: RadioButtons were not sinking click events

2009-05-20 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/34817 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To post to this group, send email to

[gwt-contrib] Re: patch to allow forcing NumberFormat to use latin digits/separators

2009-05-20 Thread John Tamplin
On Thu, May 21, 2009 at 12:19 AM, andrea...@google.com wrote: LGTM Thanks, committed to trunk in r5450. -- John A. Tamplin Software Engineer (GWT), Google --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit commit] r5450 - Allow an app to force use of latin digits/separators instead

2009-05-20 Thread codesite-noreply
Author: j...@google.com Date: Wed May 20 21:41:21 2009 New Revision: 5450 Modified: trunk/user/src/com/google/gwt/i18n/client/NumberFormat.java trunk/user/test/com/google/gwt/i18n/client/NumberFormat_ar_Test.java Log: Allow an app to force use of latin digits/separators instead of