Re: XMLParser EndOfFile question

2011-10-18 Thread Ahmet Dakoglu
Jaxb +1 On Mon, Oct 17, 2011 at 3:33 PM, J.Ganesan j.gane...@datastoregwt.comwrote: An alternative way is to use JAXB in the server side, convert XML documents into object hierarchy and fetch them to client by rpc. It is likely to be much faster as string data becomes binary data. Besides,

Re: Using images as Background image which are defined in client bundle

2011-10-18 Thread Sudhakar Abraham
Add your image in project directory. Add the .gwt-Button Property in global css file. Edit the property in background:url(your_image) repeat-x; .gwt-Button { margin: 0; padding: 5px 7px; text-decoration: none; cursor: pointer; cursor: hand; background: url(images/hborder.png)

How to handle custom server side exceptions

2011-10-18 Thread rakesh wagh
Hi, I am using gwt's bean validation framework for error validation. I am trying to understand the mechanism to create custom ConstraintViolationImpl in my server's service code and send it over to client. Following is my code in persist() method: SetConstraintViolation? set =

Re: Places Activities any suggestion?

2011-10-18 Thread -sowdri-
Hi Rohan, I guess you are trying to user PlaceController in isolation. PlaceController control = new PlaceController(eventBus); This is not supposed to work. Have you referred the documentation on Activities and Places? Have you run the sample application given in the below link?

Re: Places Activities any suggestion?

2011-10-18 Thread sridevi macherla
Ya i have ran the application see my problem when i click on the hyperlink in one of the page i need to navigate to another page with those parameters in URL , please guide me how to achieve this... On Tue, Oct 18, 2011 at 1:05 PM, -sowdri- sow...@gmail.com wrote: Hi Rohan, I

Re: Long running RPC request.

2011-10-18 Thread Jens
RPC requests are non-blocking as they are async. This shouldn't be a problem. Your browser will only freeze when you do a way to much synchronously. In that case IncrementalCommand can help by splitting the large work into smaller chunks. -- You received this message because you are

Re: How to handle custom server side exceptions

2011-10-18 Thread Thomas Broyer
Validation in RequestFactory is done after the object graph has been reconstructed but before any service method is invoked. It's the only place where validation errors will lead to onConstraintViolations being called back on the client side (for all the Receivers attached to the

Question on GWT Designer license expiring

2011-10-18 Thread TBirch
I still have to use the Galileo version for some older GWT apps and I purchased a two year license on GWT Designer in September of 2009. Now when trying to open the designer I am getting the Product Registration and Activation license has expired prompt. I believe that GWT Designer is free now so

Re: UiBinder CSS URL

2011-10-18 Thread Freddie Jefferson
Thank you both. Regards, SigmaBlu On Mon, Oct 17, 2011 at 9:54 AM, Jens jens.nehlme...@gmail.com wrote: Yeah the GWT theme is referenced in your HTML page source via link rel=stylesheet href=http:// domain/appname/gwt/standard/standard.css This will always be done when you include a

Re: Question on GWT Designer license expiring

2011-10-18 Thread András Csányi
On 18 October 2011 13:58, TBirch tjfbi...@bellsouth.net wrote: I still have to use the Galileo version for some older GWT apps and I purchased a two year license on GWT Designer in September of 2009. Now when trying to open the designer I am getting the Product Registration and Activation

Re: plz,solve this error

2011-10-18 Thread Sudhakar Abraham
This problem usually happens when you have the Xerces classes bundled along with your application classes. You don't need to bundle Xerces, since it is already provided by the JRE. S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine On Oct 17, 12:01 am, patel mitesh

Re: RequestFactory List of Entities property

2011-10-18 Thread 007design
Thank you so much for your reply. I modified the request like so: requestFactory.formRequest().findForm(1).with(fieldsList).fire(... but now I get an UnexectedException with this message: Could not determine getter for property value on type Field Thanks again. On Oct 17, 11:20 pm, Aidan

Hi all,

2011-10-18 Thread prasad korrapati
When i am Debugging my GWT application in Development mode and host mode which is working fine in except Chrome browser. When i am debugging in chrome it's working fine but when i leave the tab and move to another after five minutes category tree which is not clickable. I am using GWT 2.3 in

Unable to load class [com.google.gwt.app.rebind.package-info]

2011-10-18 Thread Claudio Pomo
Hi! I've compiled correctly my application by gwt 2.3, but when I try to deploy into Tomcat 7.0.22 I receive the follow error: Unable to load class [com.google.gwt.app.rebind.package-info] to check against the @HandlesTypes annotation of one or more ServletContentInitializers.

eclipse plugin jar container problems

2011-10-18 Thread Joe Kearney
Hi, I'm having a problem using WindowBuilder 1.2.0.r37 in the Google Eclipse Plugin 2.4.2.relr37 with IvyDE 2.1.0 on Eclipse 3.7.1 that I've narrowed it down to being the same as issues 5126http://code.google.com/p/google-web-toolkit/issues/detail?id=5126 and 6225

newInstance() is undefined for the type Classcaptur e#1-of ? extends BaseAppInput

2011-10-18 Thread Chandan B
I am facing an issue - exception: [java][ERROR] Errors in 'jar:file:/C:/project/performance/p4/ chandanb_p4netapp_1666/sizer_2 .0/c_mode/filters/applogic/dist/applogic_ui.jar!/com/netapp/perf/ applogic/framework/SizingInputWrapp er.java' [java] [ERROR] Line 261: The method

windowbuilder add jpopupmenu weak point

2011-10-18 Thread Peter Cheung
hi all, in windowbuilder, i can add jpopupmenu on top of components only. But in Jigloo, I can add a stadnalone jpopmenu, which mean the jpopupmenu is not related to any component. The reason i do that is because, i want to decide which jpopupmenu to show in runtime. But I just can't design my

How to support multiple custom cache manifest for offline use in GWT, on a user by user basis?

2011-10-18 Thread David Sauvier
My app uses the concept of Projects, each Project has multiple support files (primarily image files and pdf's) that need to be made available offline. I want to use HTML5 cache to accomplish this. If I include all the support files for all the projects in the cache- manifest it would be massive

Re: windowbuilder add jpopupmenu weak point

2011-10-18 Thread Eric Clayberg (Google)
First, this is way off topic for this forum. You should post WindowBuilder questions/comments to the WindowBuilder forumhttp://eclipse.org/forums/index.php?t=threadfrm_id=214 . Second, the behavior you describe in WindowBuilder is quite intentional (i.e., not allowing you to create loose

Re: Question on GWT Designer license expiring

2011-10-18 Thread TBirch
Yes, even on a new workspace. On Oct 18, 8:11 am, András Csányi sayusi.a...@gmail.com wrote: On 18 October 2011 13:58, TBirch tjfbi...@bellsouth.net wrote: I still have to use the Galileo version for some older GWT apps and I purchased a two year license on GWT Designer in September of

Re: Question on GWT Designer license expiring

2011-10-18 Thread Eric Clayberg (Google)
It sounds like you are using an ancient version of GWT Designer (pre-Google), so you should uninstall that version and then re-install the current versionhttp://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html(use the Eclipse 3.5 build). It is free and does not require a

Re: JSNI - interactive chart

2011-10-18 Thread George Agiasoglou
Hi Tomasz, and thanks again for your guidance. I had partial success but only after a made few changes. Running the above code throws an exception com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read property 'document' of null which is probably related to what you

Re: newInstance() is undefined for the type Classcaptur e#1-of ? extends BaseAppInput

2011-10-18 Thread Paul Robinson
GWT doesn't emulate all the java classes or methods. See: http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html In particular, there's no reflection available in the client. Paul On 18/10/11 12:51, Chandan B wrote: I am facing an issue - exception: [java][ERROR] Errors

Re: How to support multiple custom cache manifest for offline use in GWT, on a user by user basis?

2011-10-18 Thread StrongSteve
Hi David, Let me point out the steps I have performed to solve a similar task. A while ago I wanted to create different manifest files - specific for the browser type - because I did not want to cache all HTML files (even the ones that are not relevant for a specific browser) in its cache. Here

Re: what's the big secret to debug for external server??

2011-10-18 Thread divStar
Hi there. I actually had pretty much the same issues you're experiencing. The only thing I can recommend to you is to try and setup a rather basic project first and get it to work first. My application is certainly more simple than yours, but I first set up a regular web application to run and

Re: Question on GWT Designer license expiring

2011-10-18 Thread TBirch
Hi Eric, Will the new version work under the older eclipse and gwt 2.3? Thanks On Oct 18, 9:46 am, Eric Clayberg (Google) clayb...@google.com wrote: It sounds like you are using an ancient version of GWT Designer (pre-Google), so you should uninstall that version and then re-install the

Re: Determine widget size after load

2011-10-18 Thread Uemit
I think there are two ways to do that. 1.) Call forceLayout() on your LayoutContainer. This will call onResize on all client widgets which implement the RequireResize interface. In the onResize method of your canvas widget you can retrieve the available width by calling

Re: SuggestBox's SuggestionDisplay PopupPanel's div is last element

2011-10-18 Thread Stephen Haberman
I think this is worth filing a bug about. If you could include a minimal example that reproduces the problem, that would be helpful. -- 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: AutoBean: decoding JSON with an array at the root?

2011-10-18 Thread Colin Alworth
Yes, your JSON is expected to have an object, not a collection, at its root. This turns out to be a good idea in general as well - in some browsers it is possible to load json that starts in an array from another site, and read the contents of those objects, something which is not possible if

Re: SuggestBox's SuggestionDisplay PopupPanel's div is last element

2011-10-18 Thread Thomas Broyer
There are already a few actually: http://code.google.com/p/google-web-toolkit/issues/detail?id=3855 http://code.google.com/p/google-web-toolkit/issues/detail?id=3369 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion

Re: Question on GWT Designer license expiring

2011-10-18 Thread Eric Clayberg (Google)
Yes. It should work for Eclipse 3.5 or higher and GWT/GPE 2.2 and higher. -- 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/-/HVkzfglIEKIJ. To post

Re: RequestFactory List of Entities property

2011-10-18 Thread 007design
I don't know what the issue was exactly but I seem to have gotten it to work. Now my question is if there's a better way to fetch complex object graphs from the server than having to write: request.findEntity.with(itemA.itemB.itemC, itemA.itemD.itemC ...) Is there a more efficient way to do this?

Re: Convert Java bean Object to JSON in GWT 2.4

2011-10-18 Thread GereMora
Hey guys, I'm using piriti (http://code.google.com/p/piriti/) for convert POJO to JSON and reverse. Works fine. Thanks for your help. Gere. On Oct 13, 1:09 pm, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: Gere, Can you elaborate what you're trying to do here? What kind of datasource are you

css margin problem after upgrading to GWT 2.4

2011-10-18 Thread Deepak Singh
Hi, I have a css class for body id=container as follows #container {width:100%; height:auto; margin:0px auto;} It was working fine with 2.3 but now with 2.4 html page has equal gap/space left from top, left, right corners. It is almost 10px left from all sides. How to resolve this? Thanks --

Hosted Mode Exception when returning an Object from Server to Client

2011-10-18 Thread coffeMan
I am reading in a file, parsing it on the server, then storing data into an object. I then pass the object back to the client, but i keep getting an error: com.google.gwt.dev.shell.HostedModeException: Something other than an int was returned from JSNI method

Hyprelink eg for Activities an dPlace

2011-10-18 Thread Rohan Aggarwal
Hi, Any basic example available or anyone aware of using Hyperlink with Activities and Places, please can provide me... Thanks Rohan. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Determine widget size after load

2011-10-18 Thread Glenn
The 2nd method appears to work. See comments below. On Oct 18, 7:50 am, Uemit uemit.se...@gmail.com wrote: I think there are two ways to do that. 1.) Call forceLayout() on your LayoutContainer. This will call onResize on all client widgets which implement the RequireResize interface. In the

Re: SuggestBox's SuggestionDisplay PopupPanel's div is last element

2011-10-18 Thread Stephen Haberman
There are already a few actually: http://code.google.com/p/google-web-toolkit/issues/detail?id=3855 http://code.google.com/p/google-web-toolkit/issues/detail?id=3369 Awesome, thanks, Thomas. - Stephen -- You received this message because you are subscribed to the Google Groups Google Web

Re: RequestFactory List of Entities property

2011-10-18 Thread Aidan O'Kelly
If you are using the Editor framework to edit (or display) the object, RequestFactoryEditorDriver can build a list of paths based on the tree of editors. If your object graph is that complex, the Editor framework is probably worth looking into! One thing to note about with(), is it silently

Load CellTable data throught an external Button

2011-10-18 Thread Gabejazz
Hi my name is Gabriel and I'd like to know how to refresh data from a CellTable. Look, I've been searching for a clear example, but there are not a good one that meet my requirement. I need to display a form with input filters, an empty CellTable and a button that will fire the event to display

Re: How to handle custom server side exceptions

2011-10-18 Thread rakesh wagh
with that said, what is the right way to reconstruct server side business validations(ConstraintViolation) on client (so that they can be directly added to editor.setErrors(voilations))? Also, I didnt understand how to set a callback in Request (to catch server exception). At this point as you

Re: AutoBean: decoding JSON with an array at the root?

2011-10-18 Thread alexp
Hi Colin, Thanks for replying Can you elaborate a little on your response? I am not sure I quite got the context of the response. Are you stating that not having an array at the root would prevent that data from being injected into another JSON structure? What makes it not possible to do what

Editor doesn't show server validation errors

2011-10-18 Thread Jens
In an example project I set up client side validation and server side validation. Both validations work as I receive ConstraintViolation instances if for example a person's name is null. When I call EditorDriver.setConstraintViolations(..) using the violations from client side validation the

Re: how to wait until all the modules are loaded to show the page?

2011-10-18 Thread Raymond Cidad
Great. I'm going to try that. I'm not really sure how when the module is completely load. But I'll google it. At least I have a guide now thanks rc On Oct 12, 9:49 am, jhulford jhulf...@gmail.com wrote: You can put your whole page in a hidden div and then when the module is loaded show the

How to set stylesheet on a per page basis?

2011-10-18 Thread Mike Dee
How can a stylesheet be applied for one page - not an entire module? Our app runs fine with a single stylesheet, but for a couple of pages a client specified look and feel (with CSS) are needed. I'd like to apply (add) an additional stylesheet to just those. How can that be done? Thanks, Mike

ScriptInjector

2011-10-18 Thread Thomas Lefort
Hi I'm using ScriptInjector to load a library first and added a callback calling a new ScriptInjector, this time with a string js. The local js calls a function that is implemented by the loaded library. The library loads well but the local script won't execute because it can't find the library

Re: How to set stylesheet on a per page basis?

2011-10-18 Thread Mike Dee
Upon a little more investigation (ie. actually reading some documentation) this can be done with UIBinder, but I still need a little help. With UIBinder a stylesheet can be included easily, like this: ui:style src=client-specific.css / That works out nicely, especially since I'm already using

PatternSyntaxException? GWT has matchs but no exception for it :?

2011-10-18 Thread darkflame
I'm a little confused. I know GWT doesnt emulate the Regex class in full, but we can use String.matches with Regexs (as long as we remember its javascript style and not java style). However, the .matches is supposed to throw PatternSyntaxExceptionyet that results in a compile error. No

Re: Question on GWT Designer license expiring

2011-10-18 Thread TBirch
I have been trying all day to update the designer but with no luck. It hangs with errors every time. The latest is Transfer Exception Read timed out. I may try again tomorrow. On Oct 18, 11:10 am, Eric Clayberg (Google) clayb...@google.com wrote: Yes. It should work for Eclipse 3.5 or higher

Serialization Alternatives

2011-10-18 Thread Bruno Sandivilli
Hi, i'm serializing my objects with GSON, but i'm thinking in make a pattern in my solution, so i'm trying to understand how the GWT-RPC Serializtion works. Anyone have a good explication? Or some code demonstrating it? Thanks -- You received this message because you are subscribed to the Google

Bizzare [ERROR] Invalid module name Bug Upon Launching Dev Server

2011-10-18 Thread Simon
This is without a doubt one of the most bizzare/inexplicable issues I've experienced since I've begun programming. I'm developing a multi-module GWT project that formerly had one of its modules contained entirely within a JAR file. I decided that this particular module (the

Re: Determine widget size after load

2011-10-18 Thread Glenn
OK, now that I have a workaround for a basic LayoutPanel I've discovered that when the Canvas is on one of the tabs of a TabPanel I have the same problem - when a tab becomes visible how do I communicate the size information to the canvas drawing routine? I tried making a SelectionHandler for the

Re: AutoBean: decoding JSON with an array at the root?

2011-10-18 Thread Colin Alworth
Quoting from http://www.sitepen.com/blog/2008/09/25/security-in-ajax/ It is only possible to hijack JSON data with a root that is an array. When the root is a primitive, primitive values do not trigger a constructor. When the root is an object, it is not valid JavaScript syntax, and therefore

How to guarantee HTML-safety of the template?

2011-10-18 Thread Hilco Wijbenga
Hi all, I have been getting the warning below for quite some time now and I decided I finally wanted to do something about it. [WARN] Template with variable in URL attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use

Re: How to handle custom server side exceptions

2011-10-18 Thread rakesh wagh
How I resolved this: public class MyServiceLayerDecorator extends ServiceLayerDecorator { public T extends Object java.util.Setjavax.validation.ConstraintViolationT validate(T domainObject) { SetConstraintViolation? set = new HashSetConstraintViolation? ();

Re: How to handle custom server side exceptions

2011-10-18 Thread rakesh wagh
also changed web.xml mapping of servlet class from servlet- classcom.google.web.bindery.requestfactory.server.RequestFactoryServlet/ servlet-class to servlet-classcom.test.server.MyRequestFactoryServlet/servlet-class On Oct 18, 4:15 pm, rakesh wagh rake...@gmail.com wrote: How I resolved this:

Re: how to forgive table's padding?

2011-10-18 Thread wahaha
is my english so poor that you can not understand what i said? On Oct 18, 10:49 am, wahaha il...@yahoo.com.cn wrote: the widgit VirticalPanel is made by table tag,and in a table,the tbody box is smaller than the table box. so,in the VirticalPanel,the inner widgits added in it will can not

dev mode locks up browser on mac

2011-10-18 Thread Glen Marchesani
I am using eclipse and firefox 6.0.2 on mac. It was working well until recently where now when I bring up the gwt app in firefox or chrome the browser page locks up and I can see the gwt server locked up. It appears to be compiling the code as I can see the java process churning away at 100%

Re: How to set stylesheet on a per page basis?

2011-10-18 Thread Mike Dee
After doing some testing, it doesn't looks like this works as expected. It appears that after adding: ui:style src=mycss.css/ that the CSS in that stylesheet appears in ALL pages, even though the above line only appears in on view's UIBinder code. On Oct 18, 12:53 pm, Mike Dee

widget's order

2011-10-18 Thread wahaha
i declared a lots of widget in ui.xml,and they should show in the same place. how to detimine the order of them? -- 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

[gwt-contrib] Re-submit: Iterating over all attributed when realizing PotentialElements. (issue1573804)

2011-10-18 Thread rdcastro
Reviewers: rjrjr, Description: Re-submit: Iterating over all attributed when realizing PotentialElements. Review by: rj...@google.com Please review this at http://gwt-code-reviews.appspot.com/1573804/ Affected files: M user/src/com/google/gwt/user/client/ui/PotentialElement.java M

[gwt-contrib] Re: Re-submit: Iterating over all attributed when realizing PotentialElements. (issue1573804)

2011-10-18 Thread rjrjr
LGTM Looks good again. What was the fix? http://gwt-code-reviews.appspot.com/1573804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Re-submit: Iterating over all attributed when realizing PotentialElements. (issue1573804)

2011-10-18 Thread Rafael Castro
The element had the style field defined, which is neither a string nor a number. So I added a TODO to handle it separately. On Tue, Oct 18, 2011 at 3:00 PM, rj...@google.com wrote: LGTM Looks good again. What was the fix? http://gwt-code-reviews.appspot.com/1573804/ --

[gwt-contrib] Re: Makes sure the RenderablePanel inherits all attributes from the PotentialElement when realizing ... (issue1556805)

2011-10-18 Thread rdcastro
http://gwt-code-reviews.appspot.com/1556805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Makes sure the RenderablePanel inherits all attributes from the PotentialElement when realizing ... (issue1556805)

2011-10-18 Thread rjrjr
LGTM http://gwt-code-reviews.appspot.com/1556805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] The rest of the TCK xml tests. (issue1573805)

2011-10-18 Thread nchalko
Reviewers: rjrjr, Description: The rest of the TCK xml tests. [JSR 303 TCK Result] WARNING only 245 of 258 (94.96%) TCK Tests Covered. [JSR 303 TCK Result] 151 of 205 (73.66%) Pass with 34 Failures and 7 Errors. Please review this at http://gwt-code-reviews.appspot.com/1573805/ Affected

[gwt-contrib] Re: The rest of the TCK xml tests. (issue1573805)

2011-10-18 Thread rjrjr
LGTM http://gwt-code-reviews.appspot.com/1573805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Add the final two TCK test classes. (issue1576803)

2011-10-18 Thread nchalko
Reviewers: rjrjr, Description: Add the final two TCK test classes. [JSR 303 TCK Result] WARNING only 252 of 258 (97.67%) TCK Tests Covered. [JSR 303 TCK Result] 157 of 205 (76.59%) Pass with 35 Failures and 7 Errors. Please review this at http://gwt-code-reviews.appspot.com/1576803/ Affected