Re: GWT designer keeps hanging!! going mental

2011-09-04 Thread Sudhakar Abraham
Change the eclipse.ini file configuration in eclipse installed
directory.
 -Xms512m
-Xmx1024m
-XX:PermSize=128m
-XX:MaxPermSize=512m

S. Abraham
www.DataStoreGwt.com



On Sep 2, 8:40 pm, Elhanan  wrote:
> i'm sorry, but is way too much, i'm trying to use SplitLayoutPanel,and
> i've added a few buttons, after pressing save, the designer completely
> hangs, i have no idea what's going on. i have 6 gb ram, i7 core, java 6 (64
> bit, could this be it?)

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: redirect GWT application URL

2011-09-04 Thread Y2i
Are you worried about aesthetic aspects of URL or do you have other 
considerations?

My URLs, generated by a request factory, look like 
http://www.mything.com/#IjEzIg==@0@x0YxERJkFbt63LMv1j1lE_PUvL8= 

They go deeply into the application internal state, are bookmarkable and 
work with browser taps as regular URLs.

-- 
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/-/532wU-2sw2cJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



redirect GWT application URL

2011-09-04 Thread maq
Hi,

I want to have people bookmark some internal state of my GWT app.
The URL has format of http://mything.com/#blah or http://mything.com/#!blah
(! added for google crawler).
This URL doesn't look good. It will be nicer to just have 
http://mything.com/blah

I am playing with a filter in the web.xml so it can redirect, but
having issues.

Has anyone dealt with this problem?

Thanks in advance!

-maq

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: when would the onBrowserEvent method of Widget be triggered ?

2011-09-04 Thread Jim Douglas
It will be invoked for all DOM events passed to the Widget.

You can pass selected events to the widget with sinkEvents() or
addDomHandler:

http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Widget.html#sinkEvents(int)
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Widget.html#addDomHandler(H,%20com.google.gwt.event.dom.client.DomEvent.Type)
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Widget.html#onBrowserEvent(com.google.gwt.user.client.Event)
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/Event.html

On Sep 4, 6:57 pm, wahaha  wrote:
> when and in what situation would the onBrowserEvent method of Widget
> be triggered ?
>
> sorry for my poor english,i hope you can understand what i say.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



when would the onBrowserEvent method of Widget be triggered ?

2011-09-04 Thread wahaha

when and in what situation would the onBrowserEvent method of Widget
be triggered ?

sorry for my poor english,i hope you can understand what i say.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Gwt RequestBuilder + Servlet issue

2011-09-04 Thread Abduxkur Ablimit
try this 


    export.addClickHandler(new ClickHandler(){
            public void onClick(ClickEvent event) {
                String link = GWT.getModuleBaseURL() + 
"exportServlet?year="+year.getValue(year.getSelectedIndex())+"&month="+month.getValue(month.getSelectedIndex());
                Window.Location.replace(link);
            }
        });


because using Ajax request to download file is not possible.



From: Praveen Ramachandran 
To: Google Web Toolkit 
Cc: praveen...@gmail.com
Sent: Friday, September 2, 2011 8:40 PM
Subject: Gwt RequestBuilder + Servlet issue



HI,

I am using a RequestBuilder object from Gwt to send a innerHtml string
from a panel to generate a PDF report in the servlet

SomeWhat like this:
RequestBuilder rb = new RequestBuilder("RequestBuilder.POST","URL");
rb.sendRequestData ("Some String");

So the servlet is some class which extends HttpServlet.

I am able to see that the Request is invoking the Servlet , but some
how it is neither opening an inline window or any attachment.
And there are no exceptions caught at the console. Can you please
suggest me how to go about it

Many thanks for the time

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT : How to call SERVLET FROM GWT_SERVLET and How to return value from target servlet to source servlet?

2011-09-04 Thread Abduxkur Ablimit
you can put those code in client side AsyncCallback method body, that mean 
AsyncCallback impl == BasicServiceImpl .



From: vaibhav gwt 
To: Google Web Toolkit 
Sent: Friday, September 2, 2011 3:52 PM
Subject: Re: GWT : How to call SERVLET FROM GWT_SERVLET and How to return value 
from target servlet to source servlet?

Thanks for reply
In your provided code , you are calling TargetServlet from client.
I  want to call targetServlet from BasicServiceImpl(GWT Servlet).



On Sep 1, 6:41 am, Abduxkur Ablimit  wrote:
> you can call a servlet from client side like this (may be you want put these 
> code into AsyncCallback method body, from gwt servlet):
>
>         btn.addClickHandler(new ClickHandler(){
>             public void onClick(ClickEvent event) {
>                final String link = GWT.getModuleBaseURL() +
> "someServlet?year="+year.getValue(year.getSelectedIndex())+"&month="+month.getValue(month.getSelectedIndex());
>                 RequestBuilder builder = new 
> RequestBuilder(RequestBuilder.GET,link);
>                 try {
>                
>  builder.sendRequest(null, new RequestCallback() {
>                         @Override
>                         public void onResponseReceived(Request request,
>                                 Response response) {
>                             if (response.getStatusCode() == 200) {
>                                // response.getText();
>                          } else if (response.getStatusCode() == 404) {
>                                 Window.alert("Service not available.");
>                             }
>                        
>  }
>                         @Override
>                         public void onError(Request request, Throwable 
> exception) {
>                             Window.alert("Service not available.");
>                         }
>                     });
>        
>      } catch (RequestException re) {
>                     GWT.log("Error", re);
>                 }
>             }
>         });
>
> 
> From: vaibhav bhalke 
> To: google-web-toolkit@googlegroups.com
> Sent: Wednesday, August 31, 2011 4:30 PM
> Subject: GWT : How to call SERVLET FROM GWT_SERVLET and How to return value 
> from target servlet to source servlet?
>
> I have 2 servlets.
> One In GWT module i.e BasicServiceImpl extends RemoteServiceServlet 
> implements BasicMassUpdateService
> and other servlet TargetServlet extends HttpServlet in TargetServlet in diff 
> module/package com.comp.server.servlets
> I am using GWT-RPC in my gwt module. I want to write one method
> getRecordList() in BasicServiceImpl which returns list of record on
> client side.(right now I am sending dummy data in record list)
> In other servlet i.e TargetServlet RecordList formed from database value.
> Use case:
> When we call getRecordList() method using rpc then I want to call
> SERVLET : TargetServlet to get recordlist, TargetServlet will return
> recordlist to getRecordList of Gwt_servlet and finally getRecordList()
> returns recordlist on client side
> 1: How to call other servlet(TargetServlet) from GWT_SERVLET i.e 
> BasicServiceImpl
> 2: How to send recordlist from TargetServlet to getRecordList() of 
> BasicServiceImpl(GWT SERVLET)
> Any help or guidance in this matter would be appreciated
>
> --
> Best Regards,
> Vaibhav
>
> --
> 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 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Tree and OpenHandler, opened item always nulll

2011-09-04 Thread Gervais.b
Hi everyone,

I try to add an OpenHandler on a tree to lazilly load the tree
structure. But when I try to retrieve the node with
OpenEvent.getTarget().getUserObject() I always get a null reference.

I don't understand why the userObject is null.. Please help me.


...
private final Tree hierarchy = new Tree();

public void onModuleLoad() {

hierarchy.addOpenHandler(new OpenHandler() {
@Override
public void onOpen(final OpenEvent event) {
TreeItem item = event.getTarget();
Object userObject = item.getUserObject();
// userObject is null !!
}
...
}
}

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



what EXACTLY influences gwt designer preview??

2011-09-04 Thread Elhanan
i have 2 indigo's , the first at my home running on windows 7 64 bit, 
freshly installed , and another and my xp machine at work.. 
however the designer on the xp machine doesn't work well, for example if i 
try to add RootLayoutPanel to the entry point class on the xp machine it 
appears a mini dot (size 0,0 as default)  while on the windows 7 it appears 
ok (size 450,300 as default) 

further more, trying to resize stuff on the xp machine behaves incorrectly, 
so much so i begun to think i misunderstood the LayoutPanel system, i even 
attempted to use the exact same project, but still on the xp machine it 
behaves abnormally. 

on the xp machine i have IE 6 btw...

-- 
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/-/EGh1nTppDpcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Tracing GWT exceptions

2011-09-04 Thread mihu
I made RequestFactoryServletMihu() constructor public and it's work!:)

Thanks:)

-- 
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/-/XioAM_oDl10J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Detecting ONPASTE on a richtextbox? (possible?)

2011-09-04 Thread darkflame
Is it possible to detect a onpaste event in a richtextbox?

I followed this method here for a textbox;
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f8fb744fd4e0614a/0d02b5302194d55c

(basicly just extending a richtextbox instead)

Nothing seems to fire though in Chrome.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Setting CellTable#setEmptyTableWidget using uibinder???

2011-09-04 Thread -sowdri-
Hi,

Is is possible to setEmptyTableWidget using uibinder??

Thanks,

-- 
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/-/qSUTay-rb_AJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!

2011-09-04 Thread -sowdri-
Any updates on this issue??

-- 
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/-/Y8H6VYMM59UJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: does GWT desginer has problems with jetro cockpit?

2011-09-04 Thread Eric Clayberg (Google)
I don't know what jetro is, but I don't see how typing anything at the 
command line would have anything to do with GWT Designer.

Can you provide more details?

-- 
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/-/LvXCL1_8fzsJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT designer keeps hanging!! going mental

2011-09-04 Thread Eric Clayberg (Google)
Hitting Ctrl+Break in the Console window should create a thread dump that 
will show where it is hanging up.

What happens with a 1000 ms delay?

WHat happens if the editor is in tabbed mode and you switch from source to 
design?

-- 
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/-/iwWGee7KKoUJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Using custom class as the entity id in requestfactory framework

2011-09-04 Thread Maxim Ivanov
Hi Andy.

As I know you don't need manual proxing for ObjectId's.
You should import gwt module prepared for it specially as described here 
http://code.google.com/p/morphia/wiki/GoogleWebToolkit
This module provides custom serializator for mongo ObjectId - 
http://code.google.com/p/morphia/source/browse/trunk/gwt/src/main/java/org/bson/types/ObjectId_CustomFieldSerializer.java

-- 
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/-/Tk2qJ-YQbgwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



does GWT desginer has problems with jetro cockpit?

2011-09-04 Thread Elhanan
i see suddenly when i type localhost in my command line, jetro suddenly pops 
up in the backround..

-- 
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/-/Rzud4UdiNnQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Good way to strip a string of tags?

2011-09-04 Thread darkflame
oh, put it in a HTML object and use "getText"...that was simple ;)

On Sep 4, 1:42 am, darkflame  wrote:
> Sorry if this is already covereddidnt have much luck searching.
>
> I need a way to return a simple plane text version of a string that
> may or may not contain other formatting.
> Ideally this would cover formatting from a RichTextBox, HTML tags or
> something pasted in from Word.
> Basically anything not normal text I want removed.
>
> After googleing I got suggestions of various Regexs, but also warnings
> that it isnt a very good way to do it and you need a full HTML parser.
> So I'm now wondering whats the best way to do it in GWT.
>
> Thanks,

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT designer keeps hanging!! going mental

2011-09-04 Thread Elhanan
btw this happens when i'm doing side by side configuration (source first on 
the left, and desgin on the right) with -1 in delay..

-- 
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/-/KvE6Dy2leeoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Date 'week of year' and 'day of week' problem

2011-09-04 Thread maticpetek
Maybe you should try goda-time, if you don't need TimeZones. See 
https://groups.google.com/forum/#!topic/goda-time/lIcnmLB-0ww

Regards,
   Matic
--
GWT stuff twitter  - http://twitter.com/#!/gwtstuff

-- 
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/-/KzTHZ_sjxGEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.