Re: Newbie help with HandleManager (eventbus) not registrering handler for event in MVP tutorial (modified)

2012-02-15 Thread claus.jespep...@googlemail.com
Thanks for the reply Chris! Meanwhile I figured out the problem; it was a stub implementation by eclipse that I've forgotten in the LogOutEvent class... On Feb 15, 6:08 am, Chris Price wrote: > I can't see how it's happening in your case (either there's more > relevant code or it's very early in

Re: Menubar Sub-menu Arrows .

2012-02-15 Thread Abduxkur Ablimit
check * gwt.xml and remove code or some thing like theme, you can create your own css style and inherit it . From: Chris To: Google Web Toolkit Sent: Monday, February 13, 2012 7:26 PM Subject: Menubar Sub-menu Arrows . Hello, I currently building a websi

Re: GWT Compiler - java.io.IOException: Too many open files

2012-02-15 Thread Paul Robinson
When building a ClientBundle with images, the compiler holds all the source image files open at the same time, even if you never refer to the image in your code. This can be a problem if you've got a lot of images in the bundle interface. I think this is probably a bug, and I thought there was

Re: GWT Designer Not Visiible in IDE

2012-02-15 Thread Nitheesh Chandran
Hi, You cant open your entry point class using GWT designer . Though you can open other classes which you write using java on the GWT designer. You have to extend the Composite class for getting the designer of a particular class. Just right click on the class which extends composite and go to OP

Re: Which is the default value of "optimize" compiler flag?

2012-02-15 Thread Thomas Broyer
The default value is the maximum: http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/dev/jjs/JJSOptionsImpl.java -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web v

RPC call fails on remote server

2012-02-15 Thread gerry
Hi all, I have a very strange problem I have not been able to debug the last 3 days. I am using GWT 2.4, and the problem happens only on the remote server. Not in development mode, nor on a Tomcat I have installed on my PC. My application needs to contact a web service that runs on an external se

Re: How do I define servlet init-parameters in my .gwt.xml file?

2012-02-15 Thread Thomas Broyer
Create a subclass of your servlet for your tests, where you set these values (in your Java code). Something like (using a Map so the pattern is easily reusable when you have more than one such parameter): public class MyServletForTests extends MyServlet { private static final Map INIT_PARAMETE

Re: CssResource @def in UiBinder

2012-02-15 Thread Thomas Broyer
We're simply using: .outerLabel { color: COLOR_THREE; } Just like you'd do, without UiBinder: interface MyClientBundle extends ClientBundle { @Source("path/to/definitions.css", "foo.css") FooStyles foo(); interface FooStyles extends CssResource { ... } } -- You received

Re: Custom TextBox

2012-02-15 Thread Thomas Broyer
A TextBox is simply a ValueBox using PassthroughRenderer and PassthroughParser, so it's simpler to simply use ValueBox with your own renderer and parser. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web

Re: GWT Compiler - java.io.IOException: Too many open files

2012-02-15 Thread Jonas
Thanks, it turns it the limit of open files on my ubuntu server where I compile was 1024. If anyone have the same problem I solved it by using this guide: http://lj4newbies.blogspot.com/2007/04/too-many-open-files.html In /etc/security/limits.conf I added * soft nofile 65535 * hard nofile 6553

Re: Getting length of TextBox value during key event?

2012-02-15 Thread Thomas Broyer
The value should have been updated in KeyUp (it obviously won't be in KeyDown and KeyPress as, as you said, they're cancelable events) -- 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://group

Re: Custom TextBox

2012-02-15 Thread Fabricio Pizzichillo
Hi friends. I have made the implementation mentioned by Thomas. Works great! regards 2012/2/15 Thomas Broyer > A TextBox is simply a ValueBox using PassthroughRenderer and > PassthroughParser, so it's simpler to simply use ValueBox with your own > renderer and parser. > > -- > You received this

Permission denied to access property 'document' in firefox

2012-02-15 Thread milu
Hi, I am getting exception when i am running my app in development mode .Please find exception details below com.google.gwt.core.client.JavaScriptException: (Error): Permission denied to access property 'document' at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChan

Re: CssResource @def in UiBinder

2012-02-15 Thread Riley
Ok, this is what we've been doing too. Thanks for the response! -- 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/-/_d4AhxaTDbMJ. To post to this g

Re: CssResource @def in UiBinder

2012-02-15 Thread Riley
It's good to know the output JS is good for this. 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/-/bEnAsLa_FmAJ. To post to this group,

Re: Compiler in Eclipse plugin ignores target/classes

2012-02-15 Thread Marcel Stör
The ugly workaround: - have the plugin generate the i18n properties to target/generated- sources/myplugin - add target/generated-sources/myplugin as a source folder to the Eclipse project -> Eclipse will copy properties from target/generated-sources/myplugin to target/classes -> GWT compiler is hap

Re: Permission denied to access property 'document' in firefox

2012-02-15 Thread Patrice De Saint Steban
Do you use JSNI ? In your JSNI, do you use the $doc name instead of document ? http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on

Custom ResourceGenerator

2012-02-15 Thread fedy2
Hi, I've created a custom ResourcePrototype with a custom ResourceGenerator inside a test application. It worked fine, resource generated with no problems. Then, I've decided to move the custom resource and the generator into an existing GWT widget. Finally, I've tested the widget inside a new test

Client server login in GWT

2012-02-15 Thread Gianluigi
Hi all, i'm trying to organize a project using GWT. What should i do is to get data from google contacts and then show them in my application. in my test project i'm able to request access to gdata using oAuth2 and read contact list etc. All i did is inside three servler called PreAuth, postAuth an

help with overlaying panels

2012-02-15 Thread Srikanth "Jandy" Jandhyala
Hi All, I want to overlay two panels one over the other and order them. Is there any mechanism in GWT to do so. thanks Srikanth -- 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@googl

Styling of Leaf Nodes in cell tree

2012-02-15 Thread Qrunk
Hi, We have to implement an method which is something like setLeafIconStyle() how can we do that ?? Can someone help ?? 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.go

Re: How do I define servlet init-parameters in my .gwt.xml file?

2012-02-15 Thread laredotornado
Thanks for this creative solution. - Dave On Feb 15, 3:33 am, Thomas Broyer wrote: > Create a subclass of your servlet for your tests, where you set these > values (in your Java code). Something like (using a Map so the pattern is > easily reusable when you have more than one such parameter): > >

Unspecified error

2012-02-15 Thread skippy
I am running some code that loops through all the rows of a Gird. If the first column of the row has a expand/collapes image, I eather make visable true or false. When the list is large, this error pops up several times. Any ideas? Uncaught exception: com.google.gwt.core.client.JavaScriptExcept

Re: googlemaps library

2012-02-15 Thread Jamie
That would be gwt-maps. You can find it in this list. http://code.google.com/p/gwt-google-apis/downloads/list On Feb 14, 6:10 pm, gwt33 wrote: > Hello, > > I want to implement googlemap in my GWT application. > What is the gwt library to use ? > > Thanks -- You received this message because y

Re: Casting from raw JS to GWT class

2012-02-15 Thread Jamie
I don't think you can do that... bringing in a common pre-compiled-js module. That would be pretty cool. If your two sites are not that big, then you could compile them into one app, and then decide which widget(s) to show based on the URL in the onModuleLoad. Or perhaps you could try communicat

Re: Am I able to write a panel that likes DockLayoutPanel with scroll bar

2012-02-15 Thread Patrick Tucker
ScrollPanel is not a LayoutPanel, so you are correct it will not work without the developer writing extra code to instruct the DockLayoutPanel of its size and what not. On Feb 15, 1:52 am, linhua wrote: > Hi add a DocklayoutPanel to a ScrollPanel won't work. The inner layout > panel's height and

Re: Menubar Sub-menu Arrows .

2012-02-15 Thread Jamie
Usually, you can inspect the element in Firebug, and locate the CSS file/line/classname that is affecting a given control. You might have to watch what changes when you hover over the control. Usually you can see a name being added and removed from the control's class attribute when it changes styl

Re: Casting from raw JS to GWT class

2012-02-15 Thread Allyn
Unfortunately both projects are fairly sizable and it would not be ideal to merge the projects. It would create a lot of additional overhead maintaining the code separately especially since the release cycles are not in sync. I would rather do what we're currently doing to work around this...ma

Re: GWT DEveloper Plugin for Chrome

2012-02-15 Thread Jamie
You could try Firefox. It also has a GWT developer plugin. Maybe that will install correctly for you? On Feb 11, 10:06 pm, Ragsh wrote: > Hi All, > I am using GWT for the first time. I created project in Eclipse after > installing the relevant plug-ins. When I Run the application. The > Sample

Re: Casting from raw JS to GWT class

2012-02-15 Thread Allyn
After some thought I think I am going to try to see if I can use the raw JS message to identify what the class name should be (or, if necessary, send the class name as a string separately). Then I should be able to create an instance of the desired class on the destination side and get its ID on

Re: Share same CSS among different modules

2012-02-15 Thread STB Land
It don't seems to work with GWT 2.4.0 > > "http://google-web-toolkit.googlecode.com/svn/releases/2.4/distro-source/core/src/gwt-module.dtd";> > > ... > > > > > ... > 00:00:00,144 [WARN] 404 - GET /testjquerymobile/jquery-1.7.1.min.js > (127.0.0.1) 1422 bytes > 00:00:00,161 [WAR

Re: DataGrid and CheckBoxCell

2012-02-15 Thread Patrick Tucker
Col2 should represent a value in your object. If that is the case, change the value in the object and ensure the grid redraws. On Feb 14, 4:15 am, mo wrote: > Hi, > > I'm just exploring the DataGrid and have some questions about the > CheckboxCell. > > In the Grid are 4 CheckboxCells Col1, Col2,

Facebook Like button

2012-02-15 Thread bryanb
I've used the code from http://developers.facebook.com/docs/reference/plugins/like/ to generate a Like button. I've used both the XFBML and HTML5 code. It works in FF,Chrome and Safari with this code snippet (this is the HTML5 version): HTML fb = new HTML(); fb.setHTML("http://www.blah.com\"; da

compile to some html pieces

2012-02-15 Thread wahaha
there is a project has much classes,but GWT compile it into just one html file,and the file has a 1.5M capacity. could i set it to compile the code to some html pieces for very function part? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Selecting a row in a CellTable but not showing which cell was clicked

2012-02-15 Thread Kolban
Folks, Ive built a CellTable and can select rows just fine. However, the visual seems to show which cell was clicked to select the row. Is there a way to switch off or disable cell highlighting? I want the row to show selected but without any visual indication of which cell was clicked to sel

Re: Permission denied to access property 'document' in firefox

2012-02-15 Thread milu
Yes I am using JSNI in my project and using $doc .Is there any problem to use $doc ? Please clarify this exception. -- 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/

Re: compile to some html pieces

2012-02-15 Thread KevMo
Take a look at Code Splitting. If I'm understanding you correctly, it's exactly what you need. http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html On Feb 15, 7:02 pm, wahaha wrote: > there is a project has much classes,but GWT compile it into just one > html file,and the f

Re: Selecting a row in a CellTable but not showing which cell was clicked

2012-02-15 Thread Vasi Sándor
Can u ispect it with firebug, and modify the css property that is on the cell with the value 407, but not on the others on the same row? Sent from my iPhone On 2012.02.16., at 4:42, Kolban wrote: > Folks, > Ive built a CellTable and can select rows just fine. However, the visual > seems to s

How to save a file in server

2012-02-15 Thread yashujn
I am using tomcat server to for my GWT based project.. I have to create a folder in the server and save .xml files in that folder. Need help regarding saving the file. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g