How to remove Space between disclosure panels

2010-12-21 Thread gandham satish
Hi All, I am trying to add 2 disclosure panels to main panel (vertical panel) but the promblem is that I am gettign a space in between disclosure panels even after I set the width properly. Here is the sample code SimplePanel simPanel = new SimplePanel();

Re: GWT 2.1.1 is here!

2010-12-21 Thread zixzigma
one of the things that is great about RequestFactory 2.1.1, is support for end-to-end testing (client to server calls), without the need to use GWTTestCase. this is very important. because GWTTestCase is very slow, I have a very powerful machine, but it is still very slow, similar to JavaEE

Re: How to remove Space between disclosure panels

2010-12-21 Thread zixzigma
use DockLayoutPanel, and use your other panels within regions of DockLayoutPanel. DockLayoutPanel, can have multiple north region, multiple west, multiple east, you can have DockLayoutPanels within DockLayoutPanels. avoid using Vertical/Horizontal Panel, in favor of DockLayoutPanel/

Re: Serve image from blob store

2010-12-21 Thread Subhrajyoti Moitra
Hello Ahmed, http://anansu.blogspot.com/2010/12/upload-serve-and-search-images-using.html Here's a small write-up and sources to a GWT+GAE+Eclipse project, using BlobStore to store and serve images. This is meant for learning purpose only. Also this is not the only way you can do it. There are

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread zixzigma
I realized I was using the 2.1 style to create my RequestFactory I came across this, while digging into code: * ServiceLayer serviceLayer = ServiceLayer.create(); * SimpleRequestProcessor processor = new SimpleRequestProcessor(serviceLayer); * EventBus eventBus = new SimpleEventBus(); *

Re: Serve image from blob store

2010-12-21 Thread zixzigma
I believe you are using an API that is restricted on GAE. support for File/IO operations are very limited on GAE, and when using third party libraries such as Apache Commons, not all of their features is supported. check GAE WhiteList to see what is supported. Often you have to look for

Modular rpc blues

2010-12-21 Thread Metronome / Basic
Hello What seems to me great in GWT is that it's easy to build client code and server code that can communicate through GWT-RPC. What 's great too is that you can write modules and your webapp can use those modules. Then why is it so complicated ( is it possible ? ) to have a module

Re: FileUpload - Widget - Not giving full path in FireFox

2010-12-21 Thread zixzigma
why do you want to sure the Path to a file ? what if users move the file to another folder/directory ? what if they delete the file ? please explain what is it that you are intending to do. there might be better alternatives. -- You received this message because you are subscribed to the Google

Re: FileUpload - Widget - Not giving full path in FireFox

2010-12-21 Thread zixzigma
store* -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

Re: How do you deal with dead EvenHandlers?

2010-12-21 Thread Thomas Broyer
Actually, because the EventHandler has a reference to the class that created it (in most cases, and it's true in your case), then as long as it is referenced by the EventBus, it won't be garbage collected, and neither will be its owner class. There's no dead event handler, only things that you

Re: Serve image from blob store

2010-12-21 Thread Subhrajyoti Moitra
yes, u are right. Have to be careful about that on GAE. For the common-libs, i am only using the file upload apis, which seems to be allowed on GAE. Also some utils from commons-lang lib, which are compatible. Thanks, Subhro. On Tue, Dec 21, 2010 at 2:20 PM, zixzigma zixzi...@gmail.com wrote:

Re: How to remove Space between disclosure panels

2010-12-21 Thread gandham satish
Hi zix, Thanks for your quick reply. As you mentioned I have added my 2 disclosure panels in a DockLayout panel.But still I am seeing the spacing problem between the panels.What I am expecting is that whenevr I close the first disclosure panel then the second panel should occupy the remaining

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread Henrik Schmidt
From the RequestFactory documentation: Four special methods are required on all entities as they are used by the RequestFactory servlet: A no-arg constructor. This may be the implicit default constructor. 1. id_type getId() -- IDs can be String or Long 2. static entity_type findEntity(id_type id)

Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread Thomas Broyer
Classes referenced from annotations have to be compiled for GWT to be able to process them from within generators (as is the case for @WithTokenizers on a PlaceHistoryMapper). GWT can work from *.java files only for everything else (AFAICT) but classes referenced from annotations. So, you just

Re: Modular rpc blues

2010-12-21 Thread Thomas Broyer
On Tuesday, December 21, 2010 9:51:38 AM UTC+1, coelho wrote: Hello What seems to me great in GWT is that it's easy to build client code and server code that can communicate through GWT-RPC. What 's great too is that you can write modules and your webapp can use those

Re: How to remove Space between disclosure panels

2010-12-21 Thread Thomas Broyer
VerticalPanel are hardly necessary. Most of the time, a FlowPanel would work seamlessly. Give it a try (with no guarantee though, you'd have to first understand what this gap comes from, using browser developer tools such as Firebug or Web Inspector). -- You received this message because you

rest / json command pattern implementation project

2010-12-21 Thread Raphael André Bauer
Hi, in many projects large scale GWT apps the command pattern comes in handy. It provides a central point for chaching, batching, retrying of flaky connections - and also functionality for undo operations. Great :) But what about Command pattern for REST interfaces (possibly using JSON)? There

Re: AbstractCell, is it possible to put ScrollPanel into cell?

2010-12-21 Thread vkrejcirik
Ok, thanks for reply ;) On 18 pro, 17:50, John LaBanca jlaba...@google.com wrote: You cannot embed the ScrollPanel widget in a Cell, but you can wrap the table element in a div with a fixed height and set overflow to auto, which will add scrollbars if needed. sb.appendHtmlConstant(div

Junk characters in response payload

2010-12-21 Thread Abdullah Shaikh
Hi All, I have 2 webapps, webapp1 gets the request but the gwt rpc service is on webapp2, for this I have overridden the loadSerializationPolicy of the RemoteServiceServlet and pointed it to correct .gwt.rpc file, but the request fails and lands into onFailure method. I am pasting request

Re: How to remove Space between disclosure panels

2010-12-21 Thread Ian Bambury
I seem to remember that you get this if the disclosure panel is empty - disPanel1 is empty since you add simPanel to it but then add simPanel to disPanel2 Ian On 21 December 2010 10:27, Thomas Broyer t.bro...@gmail.com wrote: VerticalPanel are hardly necessary. Most of the time, a FlowPanel

Re: rest / json command pattern implementation project

2010-12-21 Thread Raphael André Bauer
On Tue, Dec 21, 2010 at 11:27 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: ... I am not sure if anybody is interested, but I released an alpha version of my rest (json) command pattern at google code. It is fully functional, completed with testcases and can be built out of the

Re: GIN MVP 2.1 Example

2010-12-21 Thread sheamus
See etienne's blog.. http://wanderingcanadian.posterous.com/ Both the multiple activity mappers example and the Hello MVP work brilliantly. -- 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: How do you deal with dead EvenHandlers?

2010-12-21 Thread Jeff Schwartz
Hi Thomas, Yes, that would explain it and thank you very much for your input. About life cycle management, most of the classes in question are created anonymously as in my original example with the FluidTmpltDeletedGWTEvent.Handler. I guess I could keep a reference to the returned EventHandler

Re: rest / json command pattern implementation project

2010-12-21 Thread Gal Dolber
Looks nice! I'll check it out On Tue, Dec 21, 2010 at 6:58 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: On Tue, Dec 21, 2010 at 11:27 AM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: ... I am not sure if anybody is interested, but I released an alpha version

Re: Dev Mode Font Size != Production Mode Font Size

2010-12-21 Thread Jeff Schwartz
Hi George, Thank you very much for your input. You know, it could have. I also notice that since the latest FF v3.6.13 upgrade (Windows Vista) I am not noticing it any more so for now at least I will put this to rest. Thanks again. Jeff On Mon, Dec 20, 2010 at 5:29 PM, George Georgovassilis

Re: Handling sessions in gwt multipage application

2010-12-21 Thread Brian Reilly
When the user logs in, store something in the HttpSession. Then, when the next page loads and your entry point is invoked, make a GWT-RPC call to check the session to see if the user is logged in and who they are. You can access the session from a GWT-RPC service implementation (subclass of

Re: UiBinder or GWT Designer

2010-12-21 Thread Ice13ill
I believe that junaidp was expecting a more detailed answer :) On Dec 20, 6:37 pm, Thomas Broyer t.bro...@gmail.com wrote: UiBinder is a feature of GWT that generates Java code from XML files to describe user interfaces. GWT Designer is a developer tool that allows you to generate Java code *

Re: UiBinder or GWT Designer

2010-12-21 Thread Thomas Broyer
Er, he wanted to know the difference between them and which one would be better; and the answer is that they're not comparable. Is Eclipse better than Java ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

KeyFactory.keyToString() and KeyFactory.stringToKey() emulation for gwt

2010-12-21 Thread Gal Dolber
Is there any safe way of emulating those methods? I looked into the implementation(sorry), and doesn't look very nice: public static String keyToString(Key key) { if(!key.isComplete()) { throw new IllegalArgumentException(Key is incomplete.); }

Developing GWT app on both mobile and desktop browsers

2010-12-21 Thread Ice13ill
I have a gwt application developed for desktop computer browsers and i need to modify it's architecture so that widgets can adapt to mobile screens. The app is using an MVC pattern (with some enhancements from the MVP pattern, like events distributed through an event bus). So i need some pointers

Re: GWT 2.1.1 and DAOs

2010-12-21 Thread Sebastian
Further investigation has revealed that SimpleRequestProcessor call's ServiceLayer#isLive() for every non-null domain object to check if it's still there. Otherwise the write operation is set to DELETE. IMO that's terrible: I don't want to do two entity manager/db lookups for every find (even if

Re: Handling sessions in gwt multipage application

2010-12-21 Thread Subhrajyoti Moitra
One more possible way to accomplish this: 1. User sends login request to the server (with username and pass) 2. The server authenticates using whatever mechanism. On successful auth, it generates a token or session id (not necessarily using HttpSession) and send it back to the GWT client (most

Re: UiBinder or GWT Designer

2010-12-21 Thread Jeff Schwartz
I use UiBinder and like it a lot because it allows me to do my markup using UiBinder's HTML like XML tags which, if you like to code in HTML, is a real benefit over coding your interface using Java. I don't but I could pass off any one of my UiBinder xml files to a designer and they wouldn't feel

Re: UiBinder or GWT Designer

2010-12-21 Thread Eric Clayberg
GWT Designer is a GUI design tool while UiBinder is an XML-based framework for specifying GWT UIs. GWT Designer can generate GWT code using Java or XML (UiBinder), so you can consider GWT Designer to be a tool for using UiBinder. It would not be appropriate to compare/ contrast them (as has

Re: GIN MVP 2.1 Example

2010-12-21 Thread Matthew Hill
These two posts were very helpful: http://wanderingcanadian.posterous.com/hello-mvp-with-gin http://wanderingcanadian.posterous.com/using-binding-annotations-with-display-areas ~Thanks :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: UiBinder or GWT Designer

2010-12-21 Thread Matthew Hill
The true question he is probably asking is should he use a WYSIWYG tool or write the interface by hand. My advice would be to try both. The latter will give you more flexibility. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Junk characters in response payload

2010-12-21 Thread Matthew Hill
I see these numbers a lot. I doubt they are junk. I'd like to know what purpose they serve though. -- 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-tool...@googlegroups.com. To unsubscribe

Re: UiBinder or GWT Designer

2010-12-21 Thread Jeff Schwartz
If that is indeed the question he is asking then no one but himself can answer it but perhaps he can come to an answer by asking himself the following: Am I knowledgeable in HTML and CSS and am I comfortable hand crafting my markup? If he answers yes to this then perhaps he will prefer to use

gwt + spring security

2010-12-21 Thread asianCoolz
I use gwt requestBuilder to query server result, if server-side spring checked user is not authenticated, it will forward to form-login login-page=/gwtapplication.html#!login , but gwt is not forwarded to that page. see below requestBuilder.setCallback(new RequestCallback() {

Re: gwt + spring security

2010-12-21 Thread Travis Camechis
instead of using that I created my own custom Spring Security SuccessHandlers and Failure Handlers that returns JSON back to the client. I then let the client handle the place management based on success:true/false. At this point I can also send credentials back in the JSON as well. On Tue, Dec

Re: UiBinder or GWT Designer

2010-12-21 Thread a...@mechnicality.com
Totally agree with you comments, Jeff. I evaluated GWTDesigner because, generally speaking, I like RAD tools. However, I found it very slow to start - maybe a bug or something - but, being comparatively happy with XML, HTML and CSS I found that my workflow was smoother using UiBinder and it was

HTTP Session Problem

2010-12-21 Thread skippy
I am using this in a serviceImpl class: HttpSession session = getThreadLocalRequest().getSession(); Sometimes when a user has two tabs in IE opened to different logons to different banks, the getSession() returns the wrong HTTP Session and the user is able to see data from the wrong bank. We

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread Matt Moriarity
@ProxyFor(value = Person.class, locator = PersonLocator.class) then having a PersonLocator which implements LocatorPerson would fix this for you. But in order to get your static service methods (besides just the find method), you need a ServiceLocator for your service: @Service(value =

Re: GWT 2.1 CELL TABLE

2010-12-21 Thread Hagar
bradr brad.rydzew...@... writes: To do this, you have to override the CellTable's default style. Because CellTable uses a CssResource, which ultimately gets obfuscated when you compile, you have to create your own implementation and pass it to the CellTable in the constructor. Here is

Re: HTTP Session Problem

2010-12-21 Thread Jeff Schwartz
It would probably help to know if this is in dev or prod. On Dec 21, 2010 9:22 AM, skippy al.leh...@fisglobal.com wrote: I am using this in a serviceImpl class: HttpSession session = getThreadLocalRequest().getSession(); Sometimes when a user has two tabs in IE opened to different logons to

Re: Idea of RequestFactory

2010-12-21 Thread Matt Moriarity
You could add the with(address) to the findAll call: requestFactory.personRequest().findAll().with(address).fire(...); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

RequestFactory entity proxies can't be cloned.

2010-12-21 Thread Matt Moriarity
I posted this in gwt-contributors but I feel this might be the more appropriate group. I'm attempting to switch to using RequestFactory instead of GWT-RPC and manually creating DTOs. It's been going pretty well, except I've hit one use-case that is just a brick wall. I have a panel that is

Re: HTTP Session Problem

2010-12-21 Thread skippy
This is happining in production in a J2ee Struts like application. (Sun Blueprint MVC) Not Hosted mode. On Dec 21, 8:35 am, Jeff Schwartz jefftschwa...@gmail.com wrote: It would probably help to know if this is in dev or prod. On Dec 21, 2010 9:22 AM, skippy al.leh...@fisglobal.com wrote: I

Re: GWT 2.1 CELL TABLE

2010-12-21 Thread Owen Powell
Thanks hagar. I followed your instructions with two changes: 1. Added import import com.google.gwt.user.cellview.client.CellTable.Resources; the interface in Step 1. 2. I was getting an error regarding unobfuscated class names in my CSS file, so I appended cellTable to all the CSS classes

Re: GWT 2.1 CELL TABLE

2010-12-21 Thread Owen Powell
My code (files are all in the same directory): 1. Interface package amdb.client.ui.table; import com.google.gwt.core.client.GWT; import com.google.gwt.user.cellview.client.CellTable; import com.google.gwt.user.cellview.client.CellTable.Resources; public interface CellTableResource extends

UiBinder and event bubbling

2010-12-21 Thread alab
Prior to UIBinder in gwt, I wrapped elements in a HTMPanel which basically handled all the events for its child elements. So instead of attaching an eventlistener to multiple widgets, I just attached it to the parent container and used event bubbling. Can I do this in UIBinder? I know in the

RPC Serialization Format

2010-12-21 Thread travemm
Hi, I'm looking for details (references to code are fine) about how the rpc messages are formatted. I'm doing penetration testing for a client's GWT rpc servlets but cannot access their source or discuss with their developers (black/grey box testing). Looking at an rpc request it appears to be

how to debug service calls, which do not come through

2010-12-21 Thread ghost23
Hi, i am using the newest version of GWT. I have a service with a bunch of methods. Some work, some don't. The one, that does not work, seems simply not being called on the server side. If i put a breakpoint in the method of the service implementation on the server side, it doesn't get called.

CellTable: Style cells differently wihtin a column

2010-12-21 Thread Thomas
Hi, I have been searching through this forum and other places on the internet to find examples of how to style cells differently within a column - but without luck. I hope you can help me. Here is my problem: I have a CellTable showing a list of objects. A simplified example of this object

2.1.1 fails in SimpleRequestProcessor.processInvocationMessages when nothing to invoke

2010-12-21 Thread Cory Prowse
Hi, I believe I've uncovered an error in version 2.1.1 of SimpleRequestProcessor when there are no invocations and only operations in a RequestMessage from the client (stacktrack at end of email). I'm checking here before creating an issue. I am using an editor on the client to modify a

RPC call from GWT gadgets

2010-12-21 Thread दीपक B
Hi all, Has anyone tried Calling a remote SOAP service from GWT Gadget. The Call from the client side is unable to find the servlet. Can anyone please help.. Thanks Deepak -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Plugin fails to connect to hosted mode server

2010-12-21 Thread Sethu
Hi, When I try to run the GWTs sample application project in the hosted mode on chrome, the static parts of the page load and then it throws an error saying plug in fails to connect to the hosted mode web server. My system config is below: OS: Windows 7 Home Premium (Windows firewall off,

GWT JUnit ServletContainerLauncher?

2010-12-21 Thread Kevin Aloisi
Is it possible to use a custom ServletContainerLauncher with a JUnit test? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email

Re: how to debug service calls, which do not come through

2010-12-21 Thread ghost23
hi again, ok, my onFailure method was empty, never saw, what happened there. Now i see, that i have a serialization error. But it has no details about what the concrete problem is. On Dec 21, 4:09 pm, ghost23 sven.bu...@googlemail.com wrote: Hi, i am using the newest version of GWT. I have

Re: CellTable: Style cells differently wihtin a column

2010-12-21 Thread Subhrajyoti Moitra
Here some code snippet might help.. CellMyQuote qCell=new MyQuoteCell(click);//custom abstract cell defined below. ColumnMyQuote, MyQuote qCol=new ColumnMyQuote, MyQuote(qCell) { @Override public MyQuote getValue(MyQuote object) { return

Re: DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-21 Thread mike b
So, I spent yesterday getting it to work in IE7 with unpredictable results. Basically, I used DockPanel in my Layer 4 (from above). This morning, re-re-reading the cryptic documentation on the website, I found that I had not inherited from ResizeComposite. This was actually plainly put, but I

Re: RPC Serialization Format

2010-12-21 Thread Sripathi Krishnan
Following blog posts should help you pen test your app. They aren't my posts - but I have found them useful. *a) RPC Format - * http://www.gdssecurity.com/l/b/2009/10/08/gwt-rpc-in-a-nutshell/ *b) How RPC can be fuzzed* - http://www.gdssecurity.com/l/b/2010/05/06/fuzzing-gwt-rpc-requests/ *c) How

Re: DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-21 Thread mike b
Also, this thread does not seem to be findable. When I search for DockLayoutPanel StackLayoutPanel IE7 only one result appears and its not this thread. Thanks, M On Dec 21, 10:46 am, mike b mbaker.t...@gmail.com wrote: So, I spent yesterday getting it to work in IE7 with unpredictable

Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread Ferney
Sorry friends, but i don't understand GWT/MVP model. I am a newbie and i consider GWT/MVP very dificult. I need a good example with: GWT/MVP, GAE, Request factory, Loggin, UIBinder, and GWT/MVP, Request factory, loggin, UIBinder with other SQL database (mysql or postgreSQL) Thanks my friends...

Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread a...@mechnicality.com
Please show us the stack trace Thanks - Reply message - From: Sethu writetose...@googlemail.com Date: Tue, Dec 21, 2010 2:36 am Subject: Plugin fails to connect to hosted mode server To: Google Web Toolkit google-web-toolkit@googlegroups.com Hi, When I try to run the GWTs sample

Re: GWT 2.1.1 and DAOs

2010-12-21 Thread Thomas Broyer
On Tuesday, December 21, 2010 1:25:18 PM UTC+1, Sebastian wrote: Further investigation has revealed that SimpleRequestProcessor call's ServiceLayer#isLive() for every non-null domain object to check if it's still there. Otherwise the write operation is set to DELETE. IMO that's terrible:

GWT for mobile

2010-12-21 Thread bruce
Can we use GWT for mobile web app development? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread Sethu
There isn't any. In the development mode, I dont see anything in red. In the console of the started application there is nothing printed either. This is while running the sample project. I have another project that I had developed which suffers from the same problem. This project works fine on

Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread kevin
I need to write a method on a share class that only exists on the server. Any change GWT has some way to annotate a method to be server- side only? -- 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: Plugin fails to connect to hosted mode server

2010-12-21 Thread a...@mechnicality.com
Hmm... Have you checked that port (if that's what you are using) is blocked in the Windows firewall? The times I've seen this there has been a networking problem such that the client can't reach the server. That would explain why it works on one m/c and not the other. I think the 32 bit

Re: DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-21 Thread Alejandro D. Garin
Hi, I'm using the new layout panels and works very well for me. Can you make a visual mock-up of your layout for the 5 levels? thanks. On Tue, Dec 21, 2010 at 1:00 PM, mike b mbaker.t...@gmail.com wrote: Also, this thread does not seem to be findable. When I search for DockLayoutPanel

Re: Trying to split deserialization process after RPC call

2010-12-21 Thread Damien Picard
Thank you for your advices. I think I will linearize the tree as a List by replacing the strong reference link between an Option and its childs to a String meaning the id (the id is an attribute) of the child options. Then, I will serialize the option list to a json String with flexjson and send

Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread a...@mechnicality.com
Following my previous comment - you can easily check by using a windows command prompt and telnet , e.g. telnet 127.0.0.1 if the firewall is blocking it, you'll get a 'can't connect to server' error, otherwise the screen will go blank and you'll get a weird prompt (the gwt rpc

Re: Applet Life Cycle not respected in IE browser family

2010-12-21 Thread shortpasta
I opened this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=5788 -- 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-tool...@googlegroups.com. To unsubscribe from this group,

Re: GWT for mobile

2010-12-21 Thread Falcon
bruce, I currently am doing just that. I'm having to make several of my own widgets as opposed to using some of the built-in GWT widgets (and you may have to make your own implementations of built-in widgets for certain platforms), and your mobile targets will need decent JavaScript support (i.e.

Re: DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-21 Thread mike b
Gladly, the issue is solved... and its another user error. It turns out that I wasn't initializing the lowest level view before it was attached to the Level 2 DockLayoutPanel. I'm not sure why IE7 was more picky about this FF. ...but its working. On Dec 21, 11:50 am, Alejandro D. Garin

Re: GWT for mobile

2010-12-21 Thread Sean
Just for poops and giggles I have tried my site out on my iPod Touch and I was surprised how much stuff works right out of the box. The one thing that I know doesn't work is Text Area, the iPhone doesn't realize it's a text input. I haven't tried to mess with it too much since this wasn't

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread Mauro Bertapelle
In the source tag of the module XML file you can specify the subpackage associated with the classes you want GWT to compile. You can even exclude some particular classes using a pattern based filter:

Re: Exposing my GWT API via web/RESTful service - can it be done (easilyish)?

2010-12-21 Thread Sean
I have used GWTRPCCommLayer with much success. I have my normal GWT App on the web, and I also have a service running on my home PC that also calls some of my RPC functions to find status, keep things updated, etc., -- You received this message because you are subscribed to the Google Groups

Re: google maps api

2010-12-21 Thread Eric Ayers
Did you see the Hello Maps sample from the AdsManager demo for the gwt-google-apis version of the gwt-maps wrapper? http://gwt.google.com/samples/hellomaps-1.1.0/HelloMaps.html#Ads%20Manager On Mon, Dec 20, 2010 at 12:07 PM, pieceovcake bira...@gmail.com wrote: I'm using the google maps api to

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread A. Stevko
Are you referring to the super-source tag for overriding one implementation with another? On Tue, Dec 21, 2010 at 9:41 AM, Mauro Bertapelle mauro.bertape...@gmail.com wrote: In the source tag of the module XML file you can specify the subpackage associated with the classes you want GWT to

Re: RPC Get Requests

2010-12-21 Thread bconoly
Ha, you caught me, but thanks that looks like it may be exactly what we need. On Dec 20, 5:02 pm, George Georgovassilis g.georgovassi...@gmail.com wrote: To be precise, you haven't done _any_ research ;-) Try searching this group with RPC get [1]

Re: RPC Serialization Format

2010-12-21 Thread travemm
Perfect, thank you for pointing the way! On Dec 21, 9:58 am, Sripathi Krishnan sripathi.krish...@gmail.com wrote: Following blog posts should help you pen test your app. They aren't my posts - but I have found them useful. *a) RPC Format -

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread kevin
I was hoping to do it within a class. For instance, say have method a() only available on the server. On Dec 21, 12:41 pm, Mauro Bertapelle mauro.bertape...@gmail.com wrote: In the source tag of the module XML file you can specify the subpackage associated with the classes you want GWT to

Re: how to debug service calls, which do not come through

2010-12-21 Thread cri
You are mostly likely trying to pass object from the server to the client that are not serializable. On Dec 21, 9:39 am, ghost23 sven.bu...@googlemail.com wrote: hi again, ok, my onFailure method was empty, never saw, what happened there. Now i see, that i have a serialization error. But it

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread a...@mechnicality.com
Sorry for jumping in, but you could use: public void yourMethod(...) { if (!GWT.isClient()) { everything in your method. } } The complier should then ignore everything inside the conditional. However, it seems a bit of a kludge to exclude the whole method. Another option is

Re: Trying to split deserialization process after RPC call

2010-12-21 Thread A. Stevko
Wow Damien - I like it. Thanks for the tips. On Tue, Dec 21, 2010 at 8:50 AM, Damien Picard picard.dam...@gmail.comwrote: Thank you for your advices. I think I will linearize the tree as a List by replacing the strong reference link between an Option and its childs to a String meaning the id

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread John LaBanca
The GWT compiler performs dead code elimination, so if you never call the code from the client, it will not be compiled into javascript. You can create your own annotation if you want to annotate the method so other people on your team know not to use it. If you want the API to be technically

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread A. Stevko
I agree- if (!GWT.isClient()) {} is definitely going to be optimized out of the js. Even if you could mask out an entire method, how would you handle the server side only includes needed to make it interesting? On Tue, Dec 21, 2010 at 10:43 AM, a...@mechnicality.com a...@mechnicality.com

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread kevin
Yes. I agree it will be optimized out but the problem is I need to use a class thats only on the server. So the compiler says the class is not in a module. On Dec 21, 1:43 pm, a...@mechnicality.com a...@mechnicality.com wrote: Sorry for jumping in, but you could use: public void

Writing to an XML file

2010-12-21 Thread Sebe
Hello everyone, I'm new in GWT, and I can not solve a problem. I can not write to an XML file. I tried to look at the documentation but I did not understand much. Someone can give me a hand? Thank you for your cooperation! -- You received this message because you are subscribed to the Google

Re: Documentation 'Getting started with RequestFactory' is missing the 'inherits' point

2010-12-21 Thread Charles Joynson
Additional servlet mappings are required as well. See http://code.google.com/p/google-web-toolkit/issues/detail?id=5787 On Nov 23, 4:47 am, Eric ericbo...@gmail.com wrote: What about servlet mappings in web.xml ? I'm looking at the expenses example and the web.xml contains entries for few

Re: Junk characters in response payload

2010-12-21 Thread Thomas Broyer
See http://twitter.com/welkaim/status/11129636918398976 (the goo.gl link points to a PowerPoint presentation) -- 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-tool...@googlegroups.com. To

De-selecting a CellTable or CellView

2010-12-21 Thread Frank Mena
Looks like some of the behavior of CellTable and CellList has changed between v2.1.0 and 2.1.1. When you initially add data now, no item is selected. After any item is selected, there is no way to replace all the data in the table or list without it also selecting the first item. There is no

Re: RequestFactory entity proxies can't be cloned.

2010-12-21 Thread Thomas Broyer
IIUC, you should use 2 distinct RequestContext, creating a new RequestContext each time you open the dialog box. That way, when the use clicks cancel, you simply let the RequestContext be garbage collected, and any changes made to the object being scoped to a RequestContext would go away with

Re: De-selecting a CellTable or CellView

2010-12-21 Thread John LaBanca
The logic changed slightly from 2.1.0 to 2.1.1 to try to make it respond more naturally to use input, but there are a lot of special use cases. Just to make sure I understand correctly, this only happens when the KeyboardSelectionPolicy is set to BOUND_TO_SELECTION and you remove the selected

Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread zixzigma
are you suggesting we need to compile our custom annotations before compiling other classes that use them ? is this always the case ? or only if relying on generators ? I encountered this problem when I defined my custom annotations, which I used in conjunction with GIN BindingAnnotation. and

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread zixzigma
On Dec 21, 6:25 am, Matt Moriarity matt.moriar...@gmail.com wrote: But in order to get your static service methods (besides just the find method), you need a ServiceLocator for your service: do all these methods have to be static ? I thought the idea behind 2.1.1 was to get rid of static ?

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread a...@mechnicality.com
Then you have to go the 'subclass' route - create a common (shared) interface and have implementations for server and client You can superclass the common parts into a 'shared' (probably abstract) class. Solves the service side import issues. I've done that several times and it works just

Re: RequestFactory entity proxies can't be cloned.

2010-12-21 Thread Matt Moriarity
I can kind of see how your proposed solution would work, and I guess that could be done if necessary. I was trying to use separate request contexts, and got the aforementioned crossing streams error, but I was editing the whole document. The solution you suggest is hardly ideal though, so I'm

  1   2   >