Re: The new shiny GwtRpcCommLayer

2010-07-19 Thread monkeyboy
Jeff kindly answered here: http://groups.google.com/group/gwtrpccommlayer/browse_thread/thread/8ab1139854ef8858 On Jul 15, 4:19 pm, monkeyboy wrote: > This is great news for > me:http://googlewebtoolkit.blogspot.com/2010/07/gwtrpccommlayer-extendin... > > It is about a GWT RPC library that works

GWT response is allowing only boolean value in IE

2010-07-19 Thread raj
Hi All, I am new to GWT, when i am passing GWT response from server as String value, it is going to infinite state in IE. But in Mozilla String response is getting well with html tag Success . Here is the code what i am doing is At client request: save.addListener(new ButtonListenerAdapter() {

Cache static data?

2010-07-19 Thread mk
How to cache data in browser. I want to cache data which changes infrequently (thus static common data changing bi-weekly and NOT html, js, css etc). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to go

Re: Need strategy to implement window layout

2010-07-19 Thread David Vree
Thank you very much for the big help. To take advantage of window resizing, should I be setting the size of the panes as a percentage (of total window size)? On Jul 19, 6:19 pm, Thomas Broyer wrote: > On 19 juil, 23:01, David Vree wrote: > > > Brand new GWT developer here -- tasked with implem

GWT UI spacing issue

2010-07-19 Thread vbhansaly
Hi, I have designed a GWT based form in my webapp. It looks fine in firefox at normal zoom level (ctrl + 0). However with each zoom in (ctrl + -) the spacing between the form fields tends to decrease. Which layout should be layout used to prevent the above issue. Thanks, -- You received this m

Re: Share user input data within MVP + Lady_Gaga

2010-07-19 Thread mk
Thanks a lot. Now if there are three DIFFERENT presenters (say 2a,2b,2c) listening event from 1st presenter. Than do 1st presenter has to create event with all the appro. values required by 2a,2b,2c presenters? Plz respond. On Jul 19, 3:59 pm, Arthur Kalmenson wrote: > Isn't the second present

Re: Error while running my web app....

2010-07-19 Thread Blagoja Chavkoski
Compile the application...u made a big changes probably (I would say u implement locale or something like that ) so the app dose not have all needed permutations for the pages. Just compile, if using gwt plugin for eclipse the red icon..if using stand alone with ant build then call compile target

Re: Remove event handlers or not?

2010-07-19 Thread jay
Ah, so that's good for handlers of *DOM* events [e.g., using addDomHandler()]. For "logical" events [those added via addHandler()], however, it seems like you may still need to manually remove listeners. Is that correct? thanks! jay On Jul 19, 3:23 pm, Thomas Broyer wrote: > On 19 juil, 23:15,

Re: Remove event handlers or not?

2010-07-19 Thread Blagoja Chavkoski
Hi, I have some small question related to events..but other way around: How can we fire a native(browser) event in gwt 2.xx ?! On 1.6 there was a method.Document.fireXXXEvent but not in the newer relies. tnx! On Tue, Jul 20, 2010 at 12:23 AM, Thomas Broyer wrote: > > > On 19 juil, 23:15, jay

Re: Eclipse - Google Addons are gone after update

2010-07-19 Thread Rajeev Dayal
As an FYI, this issue is being tracked here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5080 On Mon, Jul 19, 2010 at 5:57 PM, Jeff Chimene wrote: > On 07/19/2010 07:44 AM, Magnus wrote: > > Well, I just found that tar tvfz shows "tomcat/ > > users" as the owner of the files.

Re: Remove event handlers or not?

2010-07-19 Thread Thomas Broyer
On 19 juil, 23:15, jay wrote: > Where do you see the automatic removal of handlers? There's nothing > when a widget is unloaded, and I can't find anything that would do any > cleanup.  Maybe there's some code somewhere to do cleanup as the app > is shutting down? onDetach calls setEventListener

Re: Need strategy to implement window layout

2010-07-19 Thread Thomas Broyer
On 19 juil, 23:01, David Vree wrote: > Brand new GWT developer here -- tasked with implementing a thin client > that will replace a rich client .NET program that used to make use of > this dockable window library: > > http://www.divelements.com/net/controls/sanddock/screenshots.aspx > > I'm curr

Re: Share user input data within MVP + Lady_Gaga

2010-07-19 Thread Arthur Kalmenson
Isn't the second presenter setting the value in the second view based on the event it just caught? You're describing the interaction right there. -- Arthur Kalmenson On Mon, Jul 19, 2010 at 5:54 PM, mk wrote: > How to share user input data within MVP. > > Following is one of MVP sequence for T

Re: Eclipse - Google Addons are gone after update

2010-07-19 Thread Jeff Chimene
On 07/19/2010 07:44 AM, Magnus wrote: > Well, I just found that tar tvfz shows "tomcat/ > users" as the owner of the files. > > I think that this UID corresponds to my "Debian-exim" id. > > However, I extract the tar files with "tar xvfz". > > Magnus OK. I can reproduce what you're seeing. I

Share user input data within MVP + Lady_Gaga

2010-07-19 Thread mk
How to share user input data within MVP. Following is one of MVP sequence for TWO widgets 1) 1st VIEW has a simple textbox and submit button, wherein use enters her name "Lady_Gaga" and click submit. 2) 1st PRESENTER fires an event ( cuz of button click). 3) 2nd PRESENTER catches that event and d

Re: Remove event handlers or not?

2010-07-19 Thread jay
Where do you see the automatic removal of handlers? There's nothing when a widget is unloaded, and I can't find anything that would do any cleanup. Maybe there's some code somewhere to do cleanup as the app is shutting down? I'm *really* interested in this because I'm in the process of tracking d

Need strategy to implement window layout

2010-07-19 Thread David Vree
Brand new GWT developer here -- tasked with implementing a thin client that will replace a rich client .NET program that used to make use of this dockable window library: http://www.divelements.com/net/controls/sanddock/screenshots.aspx I'm currently struggling with the layout of the main window.

Re: Adding Log4J to GWT?

2010-07-19 Thread Freller
Try http://code.google.com/p/gwt-log/ very good integration with log4j Regards, Freller On Jul 19, 1:15 pm, AthlonRob wrote: > Is there a simple way to add Log4J ability to GWT? > > I am using GWT with MyBatis (formerly iBatis) and am having a > problem.  If I drop log4j-1.2.16.jar in to my cl

Share user input data from + MVP + Lady_Gaga

2010-07-19 Thread mk
Following is one of MVP sequence for TWO widgets 1) 1st VIEW has a simple textbox and submit button, wherein use enters her name "Lady_Gaga" and click submit. 2) 1st PRESENTER fires an event on submit_button_click. 3) 2nd PRESENTER catches that event and displays 2nd VIEW as dialog box with user e

Re: Client-server synchronizing problems

2010-07-19 Thread Gustavo
Hi Raj, Thank you for your suggesion, i will try it as soon as i can understand it correctly, my skills are really not good, so i have to struggle a little. Btw, i don't know about this hanging problem on IE8, what causes it? can you reproduce it? Thanks again, Gustavo -- You received this mes

Re: Software testing

2010-07-19 Thread Peter Simun
Don't forget to have a look on GWT testing best practices presented on Google I/O 2010: http://www.youtube.com/watch?v=T_CLzgEL7FA Peter On 15. Júl, 00:39 h., Thomas Broyer wrote: > On 13 juil, 00:17, anabillo wrote: > > > Hello Guys , > > > I start writing a blog about software testing and I

Re: Java 7 And Closures

2010-07-19 Thread dolcra...@gmail.com
I think GWT should refrain from including Java 7 features until it is released at least... On Jul 19, 1:48 pm, Daniel Simons wrote: > Hey Guys, > > I was wondering if there have been plans centered around including Java 7 > features such as closures to future versions of GWT. > > Thanks, > Daniel

Re: Java 7 And Closures

2010-07-19 Thread Nabeel Ali Memon
I guess GWT has been in great need of Closures. Just look at all the async callbacks. So i think we'll see a quick adoption of Closures, at least. Nabeel On Mon, Jul 19, 2010 at 10:48 PM, Daniel Simons wrote: > Hey Guys, > > I was wondering if there have been plans centered around including Java

Java 7 And Closures

2010-07-19 Thread Daniel Simons
Hey Guys, I was wondering if there have been plans centered around including Java 7 features such as closures to future versions of GWT. Thanks, Daniel -- 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: GinInjection

2010-07-19 Thread Eric
On Jul 18, 10:48 am, Thomas Broyer wrote: > GIN and UiBinder don't know of each other. If you want your instances > injected by GIN, then you should provide them to UiBinder so it > doesn't instantiate them by itself. This is generally done using > @UiField(provided=true), and initializing the f

Adding Log4J to GWT?

2010-07-19 Thread AthlonRob
Is there a simple way to add Log4J ability to GWT? I am using GWT with MyBatis (formerly iBatis) and am having a problem. If I drop log4j-1.2.16.jar in to my classpath, as soon as I obtain a MyBatis connection, it starts throwing exceptions: [WARN] Exception while dispatching incoming RPC cal

Re: A couple of (probably) simple questions about using _escaped_fragment_ / ajax crawl-able.

2010-07-19 Thread darkflame
Thanks that clears things up a lot. I'll change them all to #!. I knew that if I used ? the user would need page refreshes, but this would only have been seen if the user has javascript disabled. I figured I could possibly use the search-engine crawlable version also has a "javascriptless" version

Re: Eclipse - Google Addons are gone after update

2010-07-19 Thread Magnus
Well, I just found that tar tvfz shows "tomcat/ users" as the owner of the files. I think that this UID corresponds to my "Debian-exim" id. However, I extract the tar files with "tar xvfz". Magnus On Jul 18, 7:12 am, Jeff Chimene wrote: > On Sat, Jul 17, 2010 at 8:53 PM, Jeff Chimene wrote:

Re: Eclipse - Google Addons are gone after update

2010-07-19 Thread Magnus
Hi Jec! On Jul 18, 5:53 am, Jeff Chimene wrote: > > drwxr-sr-x 3 rootroot 4096 2010-07-18 05:07 . > > drwxr-sr-x 12 rootroot 4096 2010-07-12 19:10 .. > > drwxrwsr-x 9 Debian-exim users 4096 2010-06-17 17:15 eclipse > > Well, it's pretty clear that you're not root when the file

Re: DeferredCommand. When should an RPC use it?

2010-07-19 Thread Stefan Bachert
Hi, I do not see a specific relationship between RPC and deferred command. You could you deferred command to have a easy trigger after "all done". For example: Assume you are using method chaining / fluent interfaces or similar techniques. With a deferred command you could solve the finishing pr

Re: need best GWT book for a begginner to start career

2010-07-19 Thread Akshay Kumar
I suggest - start with the http://code.google.com/webtoolkit/doc/latest/tutorial/ Follow its all the steps, get your hands dirty and dirtier. And then if you still need to learn from examples, then I liked the contents of this book: 1. Google Web Toolkit - Applications by Ryan dewsbury ( http://www

Re: How to find correctly the client's locale?

2010-07-19 Thread Stefan Bachert
Hi, the startup code detects the locale. As documented in stockwatcher demo, you could either supply a locale in the url (query parameter) or put it into host page as a fixed value Stefan Bachert http://gwtworld.de On 19 Jul., 10:19, Sorinel C wrote: > I have used the following code, trying to

Re: How do I make alternative style sheets for IE7 etc. in GWT?

2010-07-19 Thread Stefan Bachert
Hi, > Supported values are: > ie6,ie8,gecko,gecko1_8,safari,opera > > You'll notice particularly vexingly there is no good way to specify an > IE7 specific style rule. > > You'll find a justification for that decision > here:http://code.google.com/p/google-web-toolkit/wiki/IE8Support When there

Re: How to find correctly the client's locale?

2010-07-19 Thread Glimpse
I've renamed my "index.html" to "index.jsp" and I've added the following line in the section: My application now uses the preferred language defined in the browser's settings. This works fine! On 19 juil, 10:24, Sorinel C wrote: > I have in my module .gwt.xml file definition the following li

Re: Can we go project like www.blockbuster.com using GWT ?

2010-07-19 Thread Stefan Bachert
Hi, Anything I have seen on this site could be done with GWT. I would expect a GWT approach to have a better startup time, maybe the half. On my slow line blockbuster take up to 60 seconds. 1.4 MByte size GWT is mostly GUI/client so you are free to choose the technology on server side. SPring, JP

Re: Sending byte[] to Server

2010-07-19 Thread Lothar Kimmeringer
pk schrieb: > I am trying to send a byte[] to server (which is a file stream read > thrugh a trusted applet and converted to byte[] and returned to the > gwt client using gwtai). I am not getting any exception either in > client side or in the server side, but the RPC call is not able to > reach t

Can we go project like www.blockbuster.com using GWT ?

2010-07-19 Thread mrjayarajj
I am doing a R&D on choosing the technology,framework etc.. I understand some benefits of gwt but still my client expect to do project simillar to www.blockbuster.com please some one tell me can we do project like www.blockbuster.com using gwt with same look and feel .. i hope that is very very d

Sending byte[] to Server

2010-07-19 Thread pk
HI, I am trying to send a byte[] to server (which is a file stream read thrugh a trusted applet and converted to byte[] and returned to the gwt client using gwtai). I am not getting any exception either in client side or in the server side, but the RPC call is not able to reach the server. Your va

Re: $_POST is empty when request made using RequestBuilder

2010-07-19 Thread RPB
Although I can't see anything obviously incorrect with your code, the following code snippet successfully sends a POST request in my code: public void postPHPRequest(String url, String postData){ url = URL.encode(url); RequestBuilder builder = new RequestBuilder(Req

need best GWT book for a begginner to start career

2010-07-19 Thread Santosh kumar
hi, this is santosh, i got a job on java platform, so here im working on eclipse environment also im using GOOFLE WEB TOOLKIT .. but im facing difficulty in understanding the concept of GWT so please will u suggest me the best GWT book or send me the link where i can download book for free of c

Re: $_POST is empty when request made using RequestBuilder

2010-07-19 Thread Thomas Broyer
On 18 juil, 14:44, malrawi wrote: > Hi, > I am really new to GWT, I tried searching the net for hours to get an > answer to my problem with no luck. Here is what I am doing: > I am creating a simple EntryPoint which shows some text fields, when > the user clicks on a button I want to send a POST

Re: $_POST is empty when request made using RequestBuilder

2010-07-19 Thread RPB
Apologies if this is a double-post, the thread didn't seem to update the first time. I don't see anything in particular that is wrong with your code, but the following works for me if you want to give it a try: public void postPHPRequest(String url, String postData){ url = URL.enc

Error while running my web app....

2010-07-19 Thread rohit kumra
GWT module "abc" may need to be (re)compiled. can anybody plz tel me the solution to this prob...? -- 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

Re: Compiler Bug in 2.1.0.m2

2010-07-19 Thread Björn
Hi George, hi Gal, thanks for you help! The Resymbolization did the trick. After having two days of real fun with compiled javascript I think I found a bug in the gwt compiler. If your interested take a look at http://code.google.com/p/google-web-toolkit/issues/detail?id=5133. Hope it will be fi

Re: GeoMap alternative?

2010-07-19 Thread Akshay Kumar
Once again, thanks for the tips Mikael. I shall give it a try.. On 19 July 2010 00:27, Mikael Couzic wrote: > Well, I know exactly how to do that with GWT-OpenLayers, but except > GeoMap I'm not familiar with the alternatives so I can't compare. > Anyway if you want to implement these features i

Re: A couple of (probably) simple questions about using _escaped_fragment_ / ajax crawl-able.

2010-07-19 Thread Katharina Probst
That's right - you'll want #!. You don't want to use _escaped_fragment_ because that's just meant as a temporary URL between the crawler and your site, not for the user (remember that if your user would click on _escaped_fragment_, they'll get a rendered snapshot, not a functioning JavaScript page

Re: New Java Documentation Tool from Sencha

2010-07-19 Thread Peter Simun
Are there any plans when will sencha use standard GWT APIs ? Like HasText, HasValue, HasWidgets interfaces? For example, TextArea does not implements any of interfaces above but the widgets itself should hasve such an implementations. Thanks, Peter On 19. Júl, 14:17 h., Brian Reilly wrote: > I

Re: New Java Documentation Tool from Sencha

2010-07-19 Thread Brian Reilly
It looks like some doc content isn't being displayed. I happened to go to com.extjs.gxt.ui.client.widget.Label and viewed the source and say a block. However it's not showing up in the app anywhere that I could see. -Brian On Jul 16, 3:17 am, Abraham Elias wrote: > We're very excited to share t

Re: DeferredCommand. When should an RPC use it?

2010-07-19 Thread Brian Reilly
I don't know about addPause, but I think that DeferredCommand is primarily for cases where you need to do something with the DOM before it's actually available. For example, you can put a setFocus call in a DeferredCommand block before the element that's receiving focus has been added to the DOM (a

Re: Client-server synchronizing problems

2010-07-19 Thread rajendra dasari
Hi Gustavo, I want to know the server side how you are adding data to JSONArray and sending this JSONArray as response. using Java GWT we are adding like this form. 1) we have to add JSONArray to ArrayList. For Example: in server side resonse I am adding String name = "Ram"; ArrayList alList = ne

Setting jsessionid client side

2010-07-19 Thread Sudheer
Hello there! Our development environment has client code and server code. Client side we are using GWT(GXT) and server side we are using RESTFul (Apache CXF) services. And the communication between client and server is via JSON. Also we need to maintain token for login user. Everything runs fine i

Re: menu got hanged

2010-07-19 Thread rajendra dasari
Hi all, I am also facing with the same issue, but which is working in FireFox, but in IE8 it is hanged, when i open a Window, or when i clearing and adding Panels to RootPanel. If u found any solutions please help me how to resolve. Thanks, Raj. On Sun, Jul 18, 2010 at 8:38 PM, Paachu wrote:

Re: GWT + Arrows + DisclosurePanel #2

2010-07-19 Thread rlebosse
I found the solution. Dont forget the "d" of "closedImage". closedImage="{disclosurePanelClosed}" On Jul 19, 11:43 am, rlebosse wrote: > Hi everybody, > I'm trying to change the arrow icons of the GWT disclosure panels. I > made it in a GWT class. > > public interface CustomDisclosurePanelImages

Re: DisclosurePanel + Custom images + XML

2010-07-19 Thread rlebosse
I found the solution. Dont forget the "d" of "closedImage". closedImage="{disclosurePanelClosed}" On Jul 19, 10:13 am, rlebosse wrote: > Thanks Thomas! > I tried your solution but I have this error when I try to display the > disclosure panel. > > 10:05:37.921 [ERROR] [ermin] In closeImage='{dis

GWT + Arrows + DisclosurePanel #2

2010-07-19 Thread rlebosse
Hi everybody, I'm trying to change the arrow icons of the GWT disclosure panels. I made it in a GWT class. public interface CustomDisclosurePanelImages extends DisclosurePanelImages { public AbstractImagePrototype disclosurePanelClosed(); public AbstractImagePrototype disclosurePanelOpen(); } Cu

Re: GWT 2.0.4 caused Class Not Found, TransformerFactoryImpl

2010-07-19 Thread Jan
@Shyam Visamsetty: I just tested your solution and it works. So thank you very much!!! @emurmur: I already starred this issue and I am also looking forward to a real fix by google Best regards Jan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: No Class Definition Found Exception : jexcelapi

2010-07-19 Thread rajan kochhar
I have already added jar file in WEB-INF/lib folder.I am using Eclipse plugin for GWT. Can you clearify what exactly you mean by keeping them "on the server"? On Jul 19, 4:33 am, mdwarne wrote: > Make sure your jars are in your webapp  WEB-INF/lib folder on the > server.. > Mike. > > On Jul 16, 1

Re: A couple of (probably) simple questions about using _escaped_fragment_ / ajax crawl-able.

2010-07-19 Thread RPB
I always use the "#!meep" syntax, which when the google crawler sees it interprets as ?_escape_fragment. I seem to recall reading in the google documentation that this is the correct way to do it. -Rob On Jul 17, 8:12 pm, darkflame wrote: > Thanks for both your help I'm almost there now. > The  

Re: How to find correctly the client's locale?

2010-07-19 Thread olivier nouguier
Hi, Don't much about recent GWT version. But I the beginning of GWT I18N a simple solution was to use the I18N resolution ... Simply provide in a key locale( ex: "locale=en" ) with the correct value in each bundle, then just bind this key like another i18n label and you're done ... HIH On M

Re: How to find correctly the client's locale?

2010-07-19 Thread Sorinel C
I have in my module .gwt.xml file definition the following lines: So, maybe something else is wrong, but I don't catch it :( Thanks! PS: some other GWT tricks you can find here: http://ui-programming.blogspot.com/ :-)) -- You received this message

How to find correctly the client's locale?

2010-07-19 Thread Sorinel C
I have used the following code, trying to detect the client's locale, but always I get the "default" one, which is the EN_US, even if I change the locale of my system to French, for example. [code] final LocaleInfo locale = LocaleInfo.getCurrentLocale(); decimalSepa

Re: DisclosurePanel + Custom images + XML

2010-07-19 Thread rlebosse
Thanks Thomas! I tried your solution but I have this error when I try to display the disclosure panel. 10:05:37.921 [ERROR] [ermin] In of , both openImage and closedImage must be specified, or neither Do you have any idea of what this problem could be from? Romain On Jul 16, 4:49 pm, Thomas Bro