icon and label as clickable anchor?

2010-12-22 Thread Magnus
Hi, I have an image and a label, e. g. a house icon and a Home text. Both should be clickable. In addition, they should be horizontally centered. How can I do this? Thanks Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: Modular rpc blues

2010-12-22 Thread Metronome / Basic
Hello Thanks for trying to help me ! One of my tries is : compile the maven-googlewebtoolkit2-sample using gwt-maven-plugin it was a three modules project war rpc and server I reduced it to war server , by merging rpc and server I join the pom and web.xml of the war mvn package

Re: RPC call from GWT gadgets

2010-12-22 Thread दीपक B
Hi Eric, If you can provide some sample for use then that will really help... I appreciate your efforts in replying to me. Regards, Deepak On Tue, Dec 21, 2010 at 9:00 PM, Eric Ayers zun...@google.com wrote: You need to use the Gadgets Io feature so your network calls are routed through

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-22 Thread Thomas Broyer
On Wednesday, December 22, 2010 12:59:16 AM UTC+1, zixzigma wrote: Thank you, it all makes sense now. However what you described is how GWT RF uses those details to do its magic behind the scenes. I am not clear what our responsibility is then ? Provide the right values so RF can do

Re: Last eclipse plugin update bugs

2010-12-22 Thread Thomas Broyer
Oh! Given that I don't use GWT Designer, I'll uninstall it and see if it really is it. 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-tool...@googlegroups.com. To unsubscribe from

Re: Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-12-22 Thread Thomas Broyer
On Tuesday, November 30, 2010 5:05:54 PM UTC+1, Thomas Broyer wrote: I'm lost. I'm very new to Eclipse WTP (a couple of weeks) and not much less to Maven (5 months), so maybe it's just me; but really, I don't understand why it worked, then deleted everything, then now works again... I

Re: requestfactory, entityproxy has reference is always null

2010-12-22 Thread Thomas Broyer
By default, RF does not send related entities, you have to explicitly ask for them using the .with() on the client sie when making your request (in your case, something like: ctx.getListOfA().with(bproxy).fire(...)) See

Saving state when redirecting to another url

2010-12-22 Thread Pablo G.F
Hello: I´ve a project with GWT + Spring + Hibernate. I have the next issue: i ´m redirecting from one page to another by Window.Location.assign from the GWT subproject (after that, is the Spring controller which manages the redirect). But now I wanna be able to return to last page and save the

Re: RPC call from GWT gadgets

2010-12-22 Thread Eric Ayers
Check out the Traveler sample code that is a part of the distribution: http://code.google.com/p/gwt-google-apis/source/browse/#svn%2Ftrunk%2Fgadgets%2Fsamples On Wed, Dec 22, 2010 at 4:47 AM, दीपक B kd.deep2...@gmail.com wrote: Hi Eric, If you can provide some sample for use then that will

Re: can AutoBean detect changes ?

2010-12-22 Thread Thomas Broyer
FYI, RequestContext#isChanged in Requestfactory is implemented using AutoBeanUtils.diff() on the frozen version and the edited version of the object (see code in com.google.gwt.requestfactory.shared.impl.AbstractRequestContext). I haven't checked, but I think messages are constructed using a

CellTable with AsyncDataProvider - clear rows

2010-12-22 Thread Opal
Hi, I use CellTable to display the data stored in db. Data are provided using AsyncDataProvider. The last row that is displayed is an empty row used to add the new entry to db. After adding the entry I download the data from visible range again to refresh the view. Here's how it's done: public

new window

2010-12-22 Thread Shiv shankar
HI all, On module load in the entry point only a new browser window has to be opened. does any body know this, how to do? kindly help me out. thanks in advance -shivu -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: new window

2010-12-22 Thread Cesar Ruiz
And normally what does it do?. Im confused. On 22 December 2010 13:37, Shiv shankar shivuc.8...@gmail.com wrote: HI all, On module load in the entry point only a new browser window has to be opened. does any body know this, how to do? kindly help me out. thanks in advance -shivu --

Re: Modular rpc blues

2010-12-22 Thread Andreas Horst
I just took a look at your configuration files. Actually I can't tell much from just them especially since I don't have the parent POM. Anyway I'm a bit confused about what you are trying to do. Are you only trying to compile the sample project or are you trying to reuse something of it? What

Re: new window

2010-12-22 Thread Shiv shankar
Actually in that new window tab buttons play a role in majority, by displaying graphs. so i need a new window, important thing is like presently running my code in local host so area am getting is very less, thinking that if the new window gets opened ill get enough space. thanks -shiv On Wed,

Re: StackLayoutPanel Behaving Strangely

2010-12-22 Thread Steve Moyer
Could it be a '' to end your opening UiBinder tag? smoyer On Dec 15, 3:11 am, Nirmal nirmaljpa...@gmail.com wrote: When using a *LayoutPanel inside a non-LayoutPanel; you need to explicitly set size of the LayoutPanel. Regards, Nirmal -- You received this message because you are

Re: Plugin fails to connect to hosted mode server

2010-12-22 Thread Glenn Davies
I have exactly the same problem on Vista 32-bit, Chrome (Stable 8.0.552.224), Java 6 u23, GWT 2.1.1. I get the unable to connect dialog. There are no errors in the Eclipse console - nothing at all, in fact, to indicate that anything has connected. The same application on the same machine works

GWT Tomcat 404 error RPC www.domain.com

2010-12-22 Thread kmemis
Hi, I have successfully deployed a simple GWT RPC application to Tomcat server. When I try http://my-public-ipaddress:8080/domain from my browser it successfully makes RPC . But when I call www.domain.com it gets 404 error after RPC. Here is my Tomcat server configuration: Host

Re: google maps api

2010-12-22 Thread pieceovcake
Yes i've seen these but all the example javascript v3. I want to use the java maps api library from within a gwt application. Thanks for you help. -- 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: Modular rpc blues

2010-12-22 Thread Metronome / Basic
In fact I simply want to be able to use a jar containing GWT-RPC code in any webapp As I had no succes with my code I tried to rely on maven-googlewebtoolkit2-sample that is a HelloWorld RPC example with code in different modules. here is the parent pom I did'nt change the code , I just

Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Roger Studner
Everytime I try to do GWT Dev mode (gwt 2.1) with Chrome on OSX, it gives me the Failed to connect to server error message i've tried bindAddress 0.0.0.0 and a pile of other workarounds. Anyone have this problem/success with this? Note - works 100% of the time using firefox.. i'd just like to

SmartGWT and Chrome vs Firefox

2010-12-22 Thread Roger Studner
When I try to start dev mode in firefox, things work perfectly. When I try with Chrome, I get the Failed to connect to server and this exception appears in the browser (note, nothing shows up in the dev mode window etc) java.lang.reflect.InvocationTargetException at

Re: UiBinder or GWT Designer

2010-12-22 Thread Eric Clayberg
The latter will give you more flexibility I'm curious about this. In the Java case, GWT Designer's parser can reverse engineer most hand-written code and its code generator can be configured to match most coding styles. It is general quite forgiving about manual refactoring and has nice support

Re: CellTable with AsyncDataProvider - clear rows

2010-12-22 Thread John LaBanca
Can you use CellTable#setVisibleRangeAndClearData() to clear the current data and request the new data from the database? http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/view/client/HasData.html#setVisibleRangeAndClearData(com.google.gwt.view.client.Range, boolean)

Re: requestfactory, entityproxy has reference is always null

2010-12-22 Thread Mike
Thanks very much Broyer, i just miss the description in the doc. 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: UiBinder or GWT Designer

2010-12-22 Thread Eric Clayberg
In order to provide the WYSIWYG editing and rendering experience, GWT Designer needs to start up the GWT dev mode the first time you access it during a session. That does lead to a slow start (which is not present in the companion tools for Swing and SWT), and is an area that we are investigating.

Re: HTML Link Cell

2010-12-22 Thread John LaBanca
I recommend that you use SafeHtmlCell, and be careful to ensure that the link is in fact safe. Check out SafeHtmlTemplateshttp://google-web-toolkit.googlecode.com/svn-history/r9089/javadoc/2.1/com/google/gwt/safehtml/client/SafeHtmlTemplates.html to generate a SafeHtml string from a potentially

Re: UiBinder or GWT Designer

2010-12-22 Thread Eric Clayberg
At design time in GWT Designer, the runtime environment needed to handle a live RPC call simply does not exist. If your UI is primarily constructed dynamically based on the results of info available at runtime, a static UI design tool like GTW Designer (or any UI builder for that matter) would not

putting two Anchor objects one below the other without BR tag

2010-12-22 Thread Magnus
Hi, I have two Anchor objects, an image and a label, and I would like to put the label below the image. The only way I know is to put a BR tag between them: add (new HTML (br)); But this results in to much vertical space, which I do not want. I also tried p. How can I put a newline

How to write an XML doc with GWT?

2010-12-22 Thread Sebe
By the Panel can retrieve values through the class and documents XMLParser com.google.gwt.xml.client .*; Now I would write / save to file. xml. I tried with the class Transformer (not good because it's the books javax.dom ..) and even with a BufferedReader raising exceptions. Does anyone have

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Matthew Hill
I thought that there wasn't a dev plugin for Chrome on OS X? -- 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-22 Thread Glenn Davies
...and it turns out that there's a simple answer. We use a hosts file entry (e.g. app.local.com) which resolves to 127.0.0.1 so we can use a development SSL certificate on all dev machines. Although this host is 127.0.0.1, you need to add app.local.com to the list of allowed hosts in the

Re: CellTable: Style cells differently wihtin a column

2010-12-22 Thread Thomas
Thanks for the response - I will try that. /Thomas On Dec 21, 4:44 pm, Subhrajyoti Moitra subhrajyo...@gmail.com wrote: Here some code snippet might help.. CellMyQuote qCell=new MyQuoteCell(click);//custom abstract cell defined below. ColumnMyQuote, MyQuote qCol=new ColumnMyQuote,

Textarea with line numbers

2010-12-22 Thread Musicman75
Hello, does anybody know if there's a possibility to add line numbers to a testarea? I have to create a code editor like this one: http://alexgorbatchev.com/SyntaxHighlighter/manual/demo/ Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: putting two Anchor objects one below the other without BR tag

2010-12-22 Thread Ben Imp
There are many ways of laying out a web page. The simplest in your case might be to add both widgets to a VerticalPanel that then lives inside of that FlowPanel you mention. You could then use CSS and make the VerticalPanel have little to no space between its cells. Another, and perhaps a more

Re: SmartGWT and Chrome vs Firefox

2010-12-22 Thread Chris Conroy
just guessing, but you could be hitting a different manifestation of this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=5778 On Wed, Dec 22, 2010 at 8:59 AM, Roger Studner rstud...@gmail.com wrote: When I try to start dev mode in firefox, things work perfectly. When I try

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Chris Conroy
Matthew: There is a plugin as of a few weeks ago. Roger: Do you see the GWT toolbox in the URL bar turn gray? If so this means you have a permissions issue and you need to click the toolbox (or just go directly to the extension's options page) to add the host. On Wed, Dec 22, 2010 at 9:49 AM,

Re: Plugin fails to connect to hosted mode server

2010-12-22 Thread Sethu
Unfortunately I dont have an entry in my hosts file. I added a localhost 127.0.0.1 for an extra measure and tried and still got the same error. Does anyone know why this is happening? The plug ins on chrome, firefox, and IE all of them consistently give me the same error. On Dec 22, 7:53 pm,

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Roger Studner
Yeah, toolbox stays red/no permissions issue.. I did go ahead and add localhost localhost:9997 127.0.0.1 127.0.0.1:9997 etc etc before I figured there might just be a bug ;) Roger On Dec 22, 2010, at 10:17 AM, Chris Conroy wrote: Matthew: There is a plugin as of a few weeks ago. Roger:

Re: SmartGWT and Chrome vs Firefox

2010-12-22 Thread Roger Studner
Certainly feels like this could be it Roger On Dec 22, 2010, at 10:15 AM, Chris Conroy wrote: just guessing, but you could be hitting a different manifestation of this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=5778 On Wed, Dec 22, 2010 at 8:59 AM, Roger Studner

request get header

2010-12-22 Thread asianCoolz
may i know is it possible to use com.google.gwt.http.client.Request to get header(Location) , i tried with that but return null ,but for other property like 'content-type' i able to get -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: How to force Spring to intercept RequestFactoryServlet

2010-12-22 Thread Ashton Thomas
Can you post your web.xml On Dec 22, 1:56 am, zixzigma zixzi...@gmail.com wrote: the default URL for RequestFactoryServlet is /gwtRequest. I have configured Spring, I have ContextLoaderListener and DispatcherServlet, they suppose to be the first to get initialized (bootstrapping application

Re: Plugin fails to connect to hosted mode server

2010-12-22 Thread Chris Conroy
You don't need to add entries for localhost since those are allowed by default. When you get the error do you see the GWT toolbox turn gray? Click it, then click Update Your Configuration. It will autofill the options page with the host it detected and you can add it to your whitelist. Once

Re: putting two Anchor objects one below the other without BR tag

2010-12-22 Thread Magnus
Hi, I migrated my app to strict mode, i. e. not using quirks mode panels like VerticalPanel. Thank you for the second recommendation. I am not used to work with CSS in detail. Which property should I use to position my anchors? Thanks Magnus On Dec 22, 4:12 pm, Ben Imp benlee...@gmail.com

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Chris Conroy
Roger, Try launching Chrome from the command line (close all open windows that you may have first). And see what the log reports. Also, can you verify that you can telnet into your codeserver? e.g. $ telnet 127.0.0.1 9997 Connected to 127.0.0.1. Escape character is '^]'. asdf Connection closed

gzippen all gwt output files?

2010-12-22 Thread Ed
I like to know how others gzip their gwt output files I think you have the following options: 1) Let the webserver (in my case apache) zip all gwt files by using mod_deflate (or mod_gzip) , just before they are send. 2) Gzip them yourself during the build and set the correct headers in your

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Roger Studner
Well, I definitely can telnet to 127.0.0.1 When I try to run it from command line: /Applications/Google Chrome/Contents/MacOS/Google Chome.app (not exactly whta it is, but you get the drfit) it actually crashes with:

Re: putting two Anchor objects one below the other without BR tag

2010-12-22 Thread Ben Imp
That is kind of a tricky question to answer, as it kind of depends on how you want to do your whole page. The URL I posted above has interactive demos to show you how each of them work, so you should be able to get a good idea of which one fits your situation best. Just play with them until you

Rebind result '...' must be a class on ImageResource

2010-12-22 Thread UseTheFork
Hi, I am following the guidelines available at: http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#ImageResource to create an image resource item: public interface ApplicationImageBundle extends ImageResource { public static final ApplicationImageBundle INSTANCE

Re: new window

2010-12-22 Thread Ben Imp
Opening a new window is as simple as a call to Window.open. However, since your GWT client keeps all of its state in javascript your new window will know nothing of the old window. You can pass some arguments to this new window to get it in the right initial state, but thats about it. -Ben On

gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Frank Bølviken
Hi, I dont know if there is anyting I have missed. But I'm trying to create a simple GWT project with the new gwt-maven-plugin. I run the following command: mvn archetype:generate -DarchetypeRepository=repo1.maven.org -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin

Re: putting two Anchor objects one below the other without BR tag

2010-12-22 Thread Daniel Simons
I think the css property you are looking for is display:block. You can assign this to your image or wrap your image in a div (divs have block display by default). Daniel Simons On Dec 22, 2010, at 9:57 AM, Ben Imp benlee...@gmail.com wrote: That is kind of a tricky question to answer, as it

Re: gzippen all gwt output files?

2010-12-22 Thread Thomas Broyer
3) add inherits name=com.google.gwt.precompress.Precompress/ to your gwt.xml and the GWT compilation will automatically GZip all emitted *.html, *.js and *.css (by default) as additional (by default) *.gz files; so you only have to have MultiViews enabled in Apache (or a similar setup that

Re: putting two Anchor objects one below the other without BR tag

2010-12-22 Thread Thomas Broyer
You can use display:block on a CSS stylesheet, or wrap eahc Anchor (or only one of them actually) into a SimplePanel. (btw the extra space comes from the HTML widget, which itself is a div, maybe try with an InlineHTML widget instead) -- You received this message because you are subscribed to

Re: Rebind result '...' must be a class on ImageResource

2010-12-22 Thread Thomas Broyer
Your interface should extend ClientBundle, not ImageResource. -- 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: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Metronome / Basic
You can create a simple project with the mvn achetype:generate # 232 with maven 3 - Original Message - From: Frank Bølviken frank.bolvi...@gmail.com To: Google Web Toolkit google-web-toolkit@googlegroups.com Sent: Wednesday, December 22, 2010 5:33 PM Subject: gwt-maven-plugin

Re: GWT JUnit ServletContainerLauncher?

2010-12-22 Thread kevin
I was reading through the source and it looks like it's hard-coded to a JettyLauncher. Anyone have any ideas how to initialize server side objects in a Junit test? On Dec 21, 9:30 am, Kevin Aloisi kalo...@gmail.com wrote: Is it possible to use a custom ServletContainerLauncher with a JUnit

Re: Rebind result '...' must be a class on ImageResource

2010-12-22 Thread UseTheFork
Problem solved. Many thanks Thomas, I was getting crazy !!! On Dec 22, 5:42 pm, Thomas Broyer t.bro...@gmail.com wrote: Your interface should extend ClientBundle, not ImageResource. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Frank Bølviken
When i tried that, I get: [INFO] BUILD FAILURE [INFO] [INFO] Total time: 18.320s [INFO] Finished at: Wed Dec 22 17:55:54 CET 2010 [INFO] Final Memory: 7M/77M [INFO]

Re: How to write an XML doc with GWT?

2010-12-22 Thread Jeff Chimene
On 12/22/2010 07:30 AM, Sebe wrote: By the Panel can retrieve values through the class and documents XMLParser com.google.gwt.xml.client .*; Now I would write / save to file. xml. You cannot access the local filesystem in that way. You'll have to send the file to your server, then send it

Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Frank Bølviken
I thought it was supposed to be simpler with the new gwt-maven-plugin 2.1.0-1 with eclipse etc.. :P On Dec 22, 5:57 pm, Frank Bølviken frank.bolvi...@gmail.com wrote: When i tried that, I get: [INFO] BUILD FAILURE [INFO]

Re: gzippen all gwt output files?

2010-12-22 Thread Ed
Cool Thomas, didn't know that... Are their things about gwt you don't know ? :)...you keep suprising me. Thanks a lot... I will have a look hot this works with the MultiViews in apache... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: icon and label as clickable anchor?

2010-12-22 Thread Thad
Both Image and Label have addClickHandler() methods. You can use that. I would align two objects in a VerticalPanel with the setVerticalAlignment() method. However the docs (http://code.google.com/webtoolkit/doc/2.0/DevGuideUiPanels.html) say

Re: gwt + spring security

2010-12-22 Thread Alberto
Hi Travis, Is there any way that you can provide examples of your solution? Thanks ! On Dec 21, 8:19 am, Travis Camechis camec...@gmail.com wrote: instead of using that I created my own custom Spring Security SuccessHandlers and Failure Handlers that returns JSON back to the client.  I

Re: gwt + spring security

2010-12-22 Thread Travis Camechis
create a SuccessAuthenticationHandler and FailureAuthenticationHandler public class AjaxSuccessAuthenticationHandler implements AuthenticationSuccessHandler { @Override public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication)

Re: putting two Anchor objects one below the other without BR tag

2010-12-22 Thread Magnus
Hi, display:block does the newline as wanted without vertical space, but it removes the centering of my image. .-/ I made the image centered by adding text-align:center to the surrounding panel... Magnus On Dec 22, 5:41 pm, Thomas Broyer t.bro...@gmail.com wrote: You can use display:block on

Re: putting two Anchor objects one below the other without BR tag

2010-12-22 Thread Magnus
Strict Mode: Maybe I misunderstood something, but I learned that all table-based layouts are bad for Strict Mode, i. e. VerticalPanel, HorizontalPanel, but also FlexTable and so on... Is this wrong? Magnus -- You received this message because you are subscribed to the Google Groups Google

Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Coelho
though I don't know why but I 'v used this command with succes several times but I'v just tried it on 2 Pcs ( linux debian and windows xp ) with the same error ? I can still mvn package on existin projects ! Patrick - Original Message - From: Frank Bølviken frank.bolvi...@gmail.com

Re: Modular rpc blues

2010-12-22 Thread Andreas Horst
Alright, now I get it! To bundle RPC functionality in a reusable (.jar) GWT module you only need to declare any RPC servlet in the module's module descriptor. That's all. gwt:mergewebxml will create appropriate servlet mappings in the target web.xml. It's really that easy. Make sure the .jar

Re: Saving state when redirecting to another url

2010-12-22 Thread Pablo G.F
Up On 22 dic, 11:43, Pablo G.F blay...@gmail.com wrote: Hello: I´ve a project with GWT + Spring + Hibernate.  I have the next issue: i ´m redirecting from one page to another by Window.Location.assign from the GWT subproject (after that, is the Spring controller which manages the redirect).

Re: Modular rpc blues

2010-12-22 Thread Coelho
I'll Check and let you know sorry for the trouble Patrick - Original Message - From: Andreas Horst To: google-web-toolkit@googlegroups.com Sent: Wednesday, December 22, 2010 6:41 PM Subject: Re: Modular rpc blues Alright, now I get it! To bundle RPC functionality in

best way to implement label for

2010-12-22 Thread Uberto Barbini
Hi I have this in my uibindings: gwt:Label gwt:Textbox ui:field=name and they are translated as: div class=gwt-Label.. input type=text tabindex=0 class=gwt-TextBox ... but I want to have this html (at least on modern browsers): label for=userNameName:/label input type=text id=userName/ which

Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Coelho
Somehow the plugin tha generates the 232 has been changed ( it asket for a version after the 232 and doesn't ask anymore ) You can build webapp for gwt with mvn archetype:generate # 15 # 276 # 60 but 232 was the only one to generate a pom with gwt 2.1 you can probably change the version in 15

Re: Modular rpc blues

2010-12-22 Thread Andreas Horst
Don't worry. I know this is not a trivial but nonetheless vital aspect of efficient development of reusable GWT modules. I also think that these topics are not well documented, at least at the time I found myself struggling with GWT module inheritance (+ Maven). 2010/12/22 Coelho

Re: best way to implement label for

2010-12-22 Thread Gal Dolber
g:HTMLPanel label for=nameName/label gwt:Textbox ui:field=name name=name /g:HTMLPanel On Wed, Dec 22, 2010 at 2:51 PM, Uberto Barbini ube...@ubiland.net wrote: Hi I have this in my uibindings: gwt:Label gwt:Textbox ui:field=name and they are translated as: div class=gwt-Label.. input

Re: best way to implement label for

2010-12-22 Thread Gal Dolber
PD: I think there is no Widget with underline label implementation On Wed, Dec 22, 2010 at 3:00 PM, Gal Dolber gal.dol...@gmail.com wrote: g:HTMLPanel label for=nameName/label gwt:Textbox ui:field=name name=name /g:HTMLPanel On Wed, Dec 22, 2010 at 2:51 PM, Uberto Barbini

Re: gwt-maven-plugin 2.1.0-1 compilation error

2010-12-22 Thread Frank Bølviken
I just dont understund why I cant use the gwt-maven-plugin 2.1.0-1, which comes with gwt 2.1.0 and is easily integrated with eclipse etc? Can you please try and run that command, and give me your findings? Frank On Dec 22, 6:54 pm, Coelho metronome.ba...@worldonline.fr wrote: Somehow the plugin

Re: How to add column titles for widget CellBrowser?

2010-12-22 Thread Y2i
I would also be interested to learn how to add headers to CellBrowser columns without adding dummy header data items inside sub-classes of the AbstractDataProvider. Thank you in advance. On Nov 26, 5:30 am, Łukasz Bachman lukaszbach...@gmail.com wrote: Hi guys, we are struggling with adding

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Matthew Hill
I get the connection error too. It works just fine in Firefox. -- 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: 2.1.1 fails in SimpleRequestProcessor.processInvocationMessages when nothing to invoke

2010-12-22 Thread Andy
Yep, I'm attempting to do the same thing and am having the same problems. However, by adding the following lines of code seems to fix the issue: if (invlist == null) { return; } On Dec 20, 8:34 pm, Cory Prowse c...@prowse.com wrote: Hi, I believe I've uncovered an error in version 2.1.1 of

Re: DockLayoutPanel inside UiBinder requires height=100%

2010-12-22 Thread Ryan Rathsam
Hi Jeff, Thank you thank you thank you. I've been searching on and off for the past 2-3 days for this information. Couldn't figure out why the DockLayoutPanel refused to show up, tried futzing with the CSS to no avail. You have helped restore a bit of sanity to this whole process. Thanks again,

Re: google maps api

2010-12-22 Thread Eric Ayers
This library contains google maps v2 bindings: http://code.google.com/p/gwt-google-apis/ v3 bindings haven't been released yet On Wed, Dec 22, 2010 at 8:40 AM, pieceovcake bira...@gmail.com wrote: Yes i've seen these but all the example javascript v3.  I want to use the java maps api library

Re: DockLayoutPanel inside UiBinder requires height=100%

2010-12-22 Thread Thomas Broyer
See http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Recipes Using a LayoutPanel without RootLayoutPanel See also http://code.google.com/intl/fr-FR/webtoolkit/doc/latest/DevGuideUiPanels.html#Resize which says The purpose of these two interfaces is to form an unbroken

Re: HTML Link Cell

2010-12-22 Thread Greg Dougherty
Hi John, Why SafeHtmlCell rather than AbstractCell? I did it in AbstractCell, and it works, but I'm certainly happy to hear how it could work better. Thanks for the pointer to SafeHtmlTemplates. I'll have to look in to them. Greg On Dec 22, 8:17 am, John LaBanca jlaba...@google.com wrote: I

Flextable with a locked in position header row despite scrolling

2010-12-22 Thread Sunit Katkar
I have a flextable. Its inside a scrollpanel because the number of rows is more than what can be shown at a time. So user has to scroll up and down to view all contents. Now is there a way where I can keep the header row locked in its original position while rest of the rows are scrolled up and

Re: can AutoBean detect changes ?

2010-12-22 Thread zixzigma
AutoBean documentation states that AutoBeanUtils.diff() performs a shallow comparison. is this enough ? if we have a graph of AutoBean/EntityProxies, with 3 level of connections/references, both AutoBean/and EntityProxies are only shallow compared ? is this the desired behaviour all the time,

Re: Flextable with a locked in position header row despite scrolling

2010-12-22 Thread ciosbel
The simplest thing (keeping you original idea) is to use a flextable for the header and a flextable (with no header) for the content. See for example http://gwt.google.com/samples/Mail/Mail.html Code

Centering an image in a SimplePanel

2010-12-22 Thread UseTheFork
Hi, What is the best way to put an image at the center of a SimplePanel? I am looking for a code example. Should I try to use a HTMLPanel instead of a SimplePanel? If yes how? Thanks ! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Centering an image in a SimplePanel

2010-12-22 Thread UseTheFork
I forgot to mention: I use Uibinder. -- 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

Custom Maps

2010-12-22 Thread Alberto
Hi everybody! I need an example about the creation of a Custom Map with Google Maps 1.1 Library... I want to create a custom map with my pictures... I was reading Class MapType (http://gwt-google-apis.googlecode.com/svn/javadoc/maps/ 1.1/com/google/gwt/maps/client/MapType.html) and Class

Re: How to force Spring to intercept RequestFactoryServlet

2010-12-22 Thread zixzigma
Thank You, You can find the files here: web.xml: http://paste.pocoo.org/show/308623/ applicationContext.xml : http://paste.pocoo.org/show/308625/ webmvc-config.xml: http://paste.pocoo.org/show/308626/ My JavaCode: http://paste.pocoo.org/show/308639/ this code lives on the server side, using

Re: How to force Spring to intercept RequestFactoryServlet

2010-12-22 Thread zixzigma
GWT's RequestFactoryServlet source code: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/requestfactory/server/RequestFactoryServlet.java -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: How do you deal with dead EvenHandlers?

2010-12-22 Thread Jeff Schwartz
Hi Thomas, I hope you don't mind me following up again on this topic but after implementing onUnload to remove event handlers (which worked, of course) I realized that this approach is inappropriate for my application. The reason is that my application is basically modeless - meaning that I can

Re: How to force Spring to intercept RequestFactoryServlet

2010-12-22 Thread Ashton Thomas
Okay, well it looks like you have your RequestFactory configured directly in your web.xml which is bypassing Spring. Forgiving me if I am off or telling you something you already know as I am new to Spring. But in the web.xml below, You configure both Request Factory and Application(Dispatcher).

Re: Custom Maps

2010-12-22 Thread Eric Ayers
Did you try the HelloMaps sample code in the library? See source in com.google.gwt.maps.sample.hellomaps.client.CustomMapTypeDemo

doPost mit RequestBuilder

2010-12-22 Thread sipungora
Hi, das ist die einfachste doPost Methode: public static void doPost(String url, String postData) { RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); try { Request response = builder.sendRequest(postData, new

Multiple Token Parameters

2010-12-22 Thread Matthew Hill
Hi. How can I support passing multiple parameters to my activities via the token, e.g. query string style? I can do it, but not in a clean way that doesn't require code repetition. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Row ids in PagingScrollTable

2010-12-22 Thread Steve Moyer
I've successfully implemented a PagingScrollTable (from the GWT- Incubator project) in our application but need to mark each row with an identifier. My initial attempt was to place an additional column at the end of the table and set its maximum width to zero, but that never completely disappears

2.1 MVP and handlers

2010-12-22 Thread sunny...@gmail.com
Hi everyone, Before 2.1 I created an application that use the old MVP architecture of having models, views and presenters. This worked quite well. I'm migrating this application to use the 2.1 MVP framework now. I've made some progress but am still getting my head around it. This has hit me so

Re: Plugin fails to connect to hosted mode server

2010-12-22 Thread Sethu
Hi Chris, I did what you told me. I added both 127.0.0.1 and localhost to the allowed hosts in the GWT plugin of chrome. Actually it says you need to add one only if you are doing some cross machine debugging. I am connecting from localhost only. Not sure what more to do. I have started up

  1   2   >