Re : Grid + UiBinder : Setting row level styles

2011-05-03 Thread Thomas Broyer


Le mardi 3 mai 2011 18:25:00 UTC+2, karthik reddy a écrit :
>
> ...
> .
> 
> 
> 
> 
> 
> 
> 
> 
> ...
> ...
> The above approach is not working. In other words, the "tr" elements in the 
> generated html do not have any class names at all. A back up option would be 
> to inject styles into these rows from the UiBinder's constructors (using 
> getRowFormatter.addStyleName) but 
> I do not want to take that route for now.(I wanna try to  reserve the code 
> that goes into the UiBinder java class for event handling purposes only. )
>
> Any thoughts/pointers would be much appreciated.
>

That's simply not possible. The UiBinder parser doesn't look at attributes 
on the row/cell/customCell elements at all: 
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/uibinder/elementparsers/GridParser.java
 

-- 
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: Bug Eclipse Helios + Gwt Designer + UIConstructor ?

2011-05-03 Thread Eric Reboisson
solved with the last beta :

http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html

On Apr 12, 11:07 pm, Eric Reboisson  wrote:
> Hello,
>
> I've installed EclipseHelioswith the Goole GWT plugin.
>
> After that, I've created a sample GWT app with the wizard.
>
> I've implemented my own label widget as follow, and I use the
> @UiConstructor annotation :
>
> import com.google.gwt.core.client.GWT;
> import com.google.gwt.uibinder.client.UiConstructor;
> import com.google.gwt.user.client.ui.Label;
>
> public class MyLabel extends Label {
>
>         @UiConstructor
>         public MyLabel(String key) {
>                 GWT.log(key);
>         }
>
> }
>
> Finally, in a UIBinder, in design mode (terribly slow design mode at
> loading...) I wanted to add my widget but this error appears, is it a
> known bug ? Am I missusing GWT ? :
>
> Error loading module(s).
>
> GWTDesignercan't load a module because of error in gwt.xml module
> description, incorrect resource which requires processing with GWT
> generator or by some other configuration error.
>
> Please check your $project_dir/.gwt/.gwt-log for GWT-specific errors.
>
> This log has the following error messages:
>
>       [ERROR]  missing required attribute(s): key Element
>  (:13)
>
> [ERROR] Deferred binding failed for
> 'sample.client.mytemplate.mytemplateUiBinder'; expect subsequent
> failures
>
> Show stack trace.
> Hide stack trace.
>
> Stack trace:
> org.eclipse.wb.internal.core.utils.exception.DesignerException: 4108
> (Error loading module(s).).
>       [ERROR]  missing required attribute(s): key Element
>  (:13)
>
> [ERROR] Deferred binding failed for
> 'sample.client.mytemplate.mytemplateUiBinder'; expect subsequent
> failures
>
>         at
> com.google.gdt.eclipse.designer.GwtExceptionRewriter.rewrite(GwtExceptionRe 
> writer.java:
> 52)
>         at
> org.eclipse.wb.internal.core.utils.exception.DesignerExceptionUtils.rewrite 
> Exception(DesignerExceptionUtils.java:
> 222)
>         at
> org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.showExceptionOnDesign 
> Pane(XmlDesignPage.java:
> 470)
>         at
> org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.handleDesignException 
> (XmlDesignPage.java:
> 285)
>         at org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.access
> $1(XmlDesignPage.java:271)
>         at org.eclipse.wb.internal.core.xml.editor.XmlDesignPage
> $8.handleException(XmlDesignPage.java:443)
>         at
> org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.run(ExecutionUt 
> ils.java:
> 324)
>         at
> org.eclipse.wb.core.gef.command.EditCommand.execute(EditCommand.java:
> 50)
>         at
> org.eclipse.wb.internal.gef.core.EditDomain.executeCommand(EditDomain.java:
> 59)
>         at org.eclipse.wb.gef.core.tools.Tool.executeCommand(Tool.java:209)
>         at
> org.eclipse.wb.gef.core.tools.AbstractCreationTool.handleButtonUp(AbstractC 
> reationTool.java:
> 62)
>         at org.eclipse.wb.gef.core.tools.Tool.mouseUp(Tool.java:395)
>         at
> org.eclipse.wb.internal.gef.core.EditDomain.mouseUp(EditDomain.java:
> 255)
>         at
> org.eclipse.wb.internal.gef.graphical.EditEventManager.mouseUp(EditEventMan 
> ager.java:
> 149)
>         at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.eclipse.wb.internal.draw2d.EventManager
> $8.invoke(EventManager.java:325)
>         at $Proxy1.mouseUp(Unknown Source)
>         at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
> 213)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
> 4066)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
> 2640)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
>         at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
>         at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
> 332)
>         at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
> 664)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
> 149)
>         at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication 
> .java:
> 115)
>         at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java :
> 196)
>         at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication 
> (EclipseAppLauncher.java:
> 110)
>         at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseA 
> ppLauncher.java

Re: Map not displayed in broaser after adding map api.jar also...

2011-05-03 Thread Alex
Might be issue 447 (http://code.google.com/p/gwt-google-apis/issues/
detail?id=447&colspec=ID%20Type%20API%20Status%20Priority%20Milestone
%20Owner%20Summary), caused by binary incompatibility introduced in
GWT 2.2. Unfortunately the issue got only of medium priority perhaps
staring the issue might raise the priority.

The suggested workarounds in the comments of the issue are to use a
GWT version prior to GWT 2.2 or recompile the gwt-maps.jar from
source :-(.


On May 3, 12:23 pm, John Doran  wrote:
> Have you included the jar in the gwt.xml file
> eg 
> Regards
>
>
>
>
>
>
>
> On Tue, May 3, 2011 at 5:33 AM, Ram  wrote:
> > I have included GWT Maps api.jar file in my GWT Project build
> > path.Then i try sample program given by GWTI did all same as
> > instructed by that samplebut the map is not displayed in my
> > browser when i run my project...
>
> > What is the Problem here...Also i noticed, when i try try to compile
> > GWT projectI got some exception in Maps jar fileWhat is the
> > problem here...please help me..
>
> > --
> > 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 2.1 vs GWT 2.2 and this forum

2011-05-03 Thread pohl


On Apr 28, 5:24 pm, David Chandler  wrote:
> We announced the 2.2 RC here, but evidently posted the 2.2 release
> announcement only on the 
> blog:http://googlewebtoolkit.blogspot.com/2011/02/google-plugin-for-eclips...
>
> I'll announce here when 2.3 is available and update the sticky post.

I just thought I'd remind you about the sticky post.  Happy 2.3!

-- 
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: Data-binding, Konckout.js

2011-05-03 Thread El Mentecato Mayor
Take a look at "Editors" in GWT:
http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html


On Apr 30, 9:35 am, Artem Nikulchenko  wrote:
> I've recently seen Knockout.js presentation at MIX 11 and it looks
> amazing. It removes all boilerplate code around data-binding and looks
> really amazing!!! We do have a lot of development in both GWT and
> Silverlight, and Silverlight data-binding is probably the only
> advantage left (and we really miss it when switch to GWT and write
> data oriented applications). And it looks like Knockout.js could give
> same experience, if it would be integrated into GWT.
>
> Is there are any plans to integrate Knockout.js into GWT? Or maybe
> make same binding experience in GWT by it's own?
>
> Best regards,
> Artem

-- 
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 2.3 has arrived

2011-05-03 Thread Stefan Ollinger

Hey nice, good work =)

Am 03.05.2011 20:56, schrieb David Chandler:
http://googlewebtoolkit.blogspot.com/2011/05/gwt-and-google-plugin-for-eclipse-23.html 



It's available via the GWT Downloads page, latest Google Plugin for 
Eclipse, and Maven Central.


--
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools
--
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/GPE 2.3 unable to sign in with Google Apps account

2011-05-03 Thread Chris Ramsdale
Carl, Thibault, are you able to send me screenshots of your flow (and any
errors that you are seeing)?

-- Chris

On Tue, May 3, 2011 at 2:48 PM, David Chandler wrote:

> Carl, Thibault, the GPE team is looking into this.
>
> Can you provide any more info on the custom SSO you're using?
>
> /dmc
>
>
> On Tue, May 3, 2011 at 11:26 AM, Thibault Pouget wrote:
>
>> Hi,
>>
>> I get the same kind of error.
>> We're using our own SSO solution and when trying to sign in I'm redirected
>> to my SSO login page. Once logged in I get the same message.
>> I guess "scopes" attribute has just been removed by our SSO.
>>
>> Would it possible to add feature allowing us to choose the way we want to
>> connect/deploy ?
>> (Either the old fashion way with password typing or the new OAuth way)
>>
>> For now, I see no other workaround than going back to previous GPE version
>> (if we can call this a workaround...) which I regret since the Google APIs
>> explorer is really useful.
>>
>> Thibault.
>>
>> --
>> 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.
>>
>
>
>
> --
> David Chandler
> Developer Programs Engineer, Google Web Toolkit
> w: http://code.google.com/
> b: http://googlewebtoolkit.blogspot.com/
> t: @googledevtools
>
> --
> 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 2.3 has arrived

2011-05-03 Thread nino ekambi
In Germany we say : Erste Sahne.
Meaning you  guys rock :)


2011/5/3 David Chandler 

>
> http://googlewebtoolkit.blogspot.com/2011/05/gwt-and-google-plugin-for-eclipse-23.html
>
> It's available via the GWT Downloads page, latest Google Plugin for
> Eclipse, and Maven Central.
>
> --
> David Chandler
> Developer Programs Engineer, Google Web Toolkit
> w: http://code.google.com/
> b: http://googlewebtoolkit.blogspot.com/
> t: @googledevtools
>
> --
> 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.
>



-- 

GWT API for  non Java based platforms
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

-- 
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.



On TabPanel Exit

2011-05-03 Thread richip
Is there an event that represents the exiting of a panel in a tabbed
panel widget? Or, at least a way to determine what panel was left upon
entering a new panel? While on the topic, what's the difference (or
definition) between BeforeSelectionEvent and a SelectionEvent? Is
BeforeSelectionEvent just providing the capability of pre-empting or
canceling a selection?

-- 
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.



GWT 2.3 has arrived

2011-05-03 Thread David Chandler
http://googlewebtoolkit.blogspot.com/2011/05/gwt-and-google-plugin-for-eclipse-23.html

It's available via the GWT Downloads page, latest Google Plugin for Eclipse,
and Maven Central.

-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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: Problems with Godaddy hosting and server-side deserialization

2011-05-03 Thread Joe D.
Thanks Alan for the lead! I'll check 'em out
Joe

-- 
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/GPE 2.3 unable to sign in with Google Apps account

2011-05-03 Thread David Chandler
Carl, Thibault, the GPE team is looking into this.

Can you provide any more info on the custom SSO you're using?

/dmc

On Tue, May 3, 2011 at 11:26 AM, Thibault Pouget  wrote:

> Hi,
>
> I get the same kind of error.
> We're using our own SSO solution and when trying to sign in I'm redirected
> to my SSO login page. Once logged in I get the same message.
> I guess "scopes" attribute has just been removed by our SSO.
>
> Would it possible to add feature allowing us to choose the way we want to
> connect/deploy ?
> (Either the old fashion way with password typing or the new OAuth way)
>
> For now, I see no other workaround than going back to previous GPE version
> (if we can call this a workaround...) which I regret since the Google APIs
> explorer is really useful.
>
> Thibault.
>
> --
> 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.
>



-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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.



No 2.3 release? It's already available with Google Plugin for Eclipse 3.6

2011-05-03 Thread Blackberet
did I miss 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: Migration issue

2011-05-03 Thread David Chandler
I'm not familiar with org.gwtwidgets.server.spring.GWTRPCServiceExporter.
Does it have a client-side piece that might need to be recompiled with GWT
2.2?

/dmc

On Tue, May 3, 2011 at 11:04 AM, Juan Pablo Gardella <
gardellajuanpa...@gmail.com> wrote:

> Are you use gin or another "gwt" library ?
>
> 2011/5/3 ruslan.mukhammad 
>
> Before I worked with GWT 2.1 M1 version and all functions worked
>> normally without any exception. But when I moved to GWT 2.2 version,
>> UI side works fine, but I can't receive any data from server side
>> using RPC call. The exception is:
>>
>> SEVERE: Exception while dispatching incoming RPC call
>> java.lang.NullPointerException
>>at
>>
>> org.gwtwidgets.server.spring.GWTRPCServiceExporter.encodeResponseForFailure(GWTRPCServiceExporter.java:
>> 223)
>>at
>>
>> org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleIncompatibleRemoteServiceException(GWTRPCServiceExporter.java:
>> 370)
>>at
>>
>> org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:
>> 351)
>>at
>>
>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
>> 224)
>>at
>>
>> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
>> 62)
>>at
>>
>> org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:
>> 407)
>>at
>>
>> org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:
>> 49)
>>at
>>
>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
>> 875)
>>at
>>
>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
>> 809)
>>at
>>
>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
>> 571)
>>at
>>
>> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
>> 511)
>>at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>>at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
>> 290)
>>at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
>> 206)
>>at
>>
>> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:
>> 96)
>>at
>>
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
>> 76)
>>at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
>> 235)
>>at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
>> 206)
>>at
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
>> 233)
>>at
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
>> 191)
>>at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
>> 128)
>>at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
>> 102)
>>at
>>
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
>> 109)
>>at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
>> 293)
>>at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 849)
>>at org.apache.coyote.http11.Http11Protocol
>> $Http11ConnectionHandler.process(Http11Protocol.java:583)
>>at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
>> 454)
>>at java.lang.Thread.run(Thread.java:619)
>>
>>
>> Can you please help me?
>>
>> --
>> 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.
>



-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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

Re: Client/Server serialization/deserialization for using Hibernate with GWT

2011-05-03 Thread Juan Pablo Gardella
+1 to remove final keyword

2011/5/3 Gal Dolber 

> I have the same problem.
> In my project I override AbstractSerializationStreamWriter and got
> everything working. Works great, but its an ugly solution.
> A cleaner way to support hibernate will be really nice to have.
>
> On Tue, May 3, 2011 at 1:05 PM, tkrhkrb  wrote:
>
>> Hello GWTers,
>>
>> I'm working on a project using GWT and Hibernate. We love this technology
>> and we would like them to coexist :-)
>>
>> We have a pre-requisite immutable : use Hibernate entities into the GWT
>> presentation layer. We tested Gilead but this solution does not suit us. We
>> find it overkill compared to our needs. We ‘feel’ there is a lighter
>> solution to respond our needs.
>>
>> For example, we use only attribute ‘lazy=false’ in our hibernate mappings.
>> We teach our developers to control relations that are loaded. If a relation
>> is not loaded we would like to receive an LazyInitializationException in
>> both server and client side. So we don’t need to reattach entities.
>>
>> Hibernate automatically generates proxies between objects: HibernateProxy
>> in the case of a relation ? -> 1 and PersistentCollection in the case of a
>> relation ? -> n. We would like to have CRUD with objects loaded via
>> Hibernate when relations are loaded or not.
>>
>> To avoid the expensive clone and merge operations doing by Gilead. We
>> wanted to try to fit in the GWT process of serialization / deserialization.
>>
>> For this we haven’t yet found other ways to copy/paste :-( multiple
>> classes to override GWT methods :
>> * AbstractSerializationStreamReader # readObject () (method final)
>> * ServerSerializationStreamWriter # writeObject (Object) (class final)
>>
>> In the case of a relationship?  -> 1 unloaded (so with a proxy), we use a
>> MHibernateProxy to transfer an id to be able to retreive the proxy in
>> session. We created a MHibernateProxy_CustomFieldSerializer server side and
>> client side.
>> We have a GWT Generator which generates for each entity a mock version of
>> the entity usable if the relation is not loaded. This mock has an extra
>> field for the id of the proxy and an implementation of each method of the
>> entity which ‘throws a new NotLoadedException()'.
>>
>> Here is an example of the code : https://gist.github.com/953375 .
>>
>> What do you think of this ? Are we mad ?
>> Is there a better way to fit into the mechanism of serialization /
>> deserialization of GWT?
>> Is it reasonable to ask to the GWT team to remove the final keywords in
>> the class AbstractSerializationStreamReader and
>> ServerSerializationStreamWriter?
>>
>> Thanks for your response,
>>
>> And a big thanks to the GWT team who does a really great job !
>>
>> // Thibault
>>
>> --
>> 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.
>>
>
>
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/
>
>
>
>
>  --
> 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: Grid + UiBinder : Setting row level styles

2011-05-03 Thread karthik reddy
I tried both approaches:



and 

using  declarations for the latter.

Neither of them work.

-- 
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: Grid + UiBinder : Setting row level styles

2011-05-03 Thread karthik reddy
I tried both approaches:



and 

using  declarations for the latter.

Neither of them work.


-- 
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: Client/Server serialization/deserialization for using Hibernate with GWT

2011-05-03 Thread Gal Dolber
I have the same problem.
In my project I override AbstractSerializationStreamWriter and got
everything working. Works great, but its an ugly solution.
A cleaner way to support hibernate will be really nice to have.

On Tue, May 3, 2011 at 1:05 PM, tkrhkrb  wrote:

> Hello GWTers,
>
> I'm working on a project using GWT and Hibernate. We love this technology
> and we would like them to coexist :-)
>
> We have a pre-requisite immutable : use Hibernate entities into the GWT
> presentation layer. We tested Gilead but this solution does not suit us. We
> find it overkill compared to our needs. We ‘feel’ there is a lighter
> solution to respond our needs.
>
> For example, we use only attribute ‘lazy=false’ in our hibernate mappings.
> We teach our developers to control relations that are loaded. If a relation
> is not loaded we would like to receive an LazyInitializationException in
> both server and client side. So we don’t need to reattach entities.
>
> Hibernate automatically generates proxies between objects: HibernateProxy
> in the case of a relation ? -> 1 and PersistentCollection in the case of a
> relation ? -> n. We would like to have CRUD with objects loaded via
> Hibernate when relations are loaded or not.
>
> To avoid the expensive clone and merge operations doing by Gilead. We
> wanted to try to fit in the GWT process of serialization / deserialization.
>
> For this we haven’t yet found other ways to copy/paste :-( multiple classes
> to override GWT methods :
> * AbstractSerializationStreamReader # readObject () (method final)
> * ServerSerializationStreamWriter # writeObject (Object) (class final)
>
> In the case of a relationship?  -> 1 unloaded (so with a proxy), we use a
> MHibernateProxy to transfer an id to be able to retreive the proxy in
> session. We created a MHibernateProxy_CustomFieldSerializer server side and
> client side.
> We have a GWT Generator which generates for each entity a mock version of
> the entity usable if the relation is not loaded. This mock has an extra
> field for the id of the proxy and an implementation of each method of the
> entity which ‘throws a new NotLoadedException()'.
>
> Here is an example of the code : https://gist.github.com/953375 .
>
> What do you think of this ? Are we mad ?
> Is there a better way to fit into the mechanism of serialization /
> deserialization of GWT?
> Is it reasonable to ask to the GWT team to remove the final keywords in the
> class AbstractSerializationStreamReader and ServerSerializationStreamWriter?
>
> Thanks for your response,
>
> And a big thanks to the GWT team who does a really great job !
>
> // Thibault
>
> --
> 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.
>



-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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: Grid + UiBinder : Setting row level styles

2011-05-03 Thread Alan Chaney
Where are the styles defined? For example, if they are defined in the actual ui.xml file then 
shouldn't they be somthing like:


 addStyleNames="{style.OddNumberRow}" etc?

Regards

Alan

On 5/3/2011 9:25 AM, karthik reddy wrote:

...
.








...
...
The above approach is not working. In other words, the "tr" elements in the
generated html do not have any class names at all. A back up option would be
to inject styles into these rows from the UiBinder's constructors (using
getRowFormatter.addStyleName) but
I do not want to take that route for now.(I wanna try to  reserve the code
that goes into the UiBinder java class for event handling purposes only. )

Any thoughts/pointers would be much appreciated.


Note:Cross posted at
http://stackoverflow.com/questions/5864348/grid-uibinder-setting-row-level-styles

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.



Syntax errors in production mode, everything fine in development mode

2011-05-03 Thread tom
Hello,

I'm desperate!

My application (gwt  + gxt 2.2.3) won't run in production mode
anymore. In dev mode, everything is ok, I get no errors in the browser
console (firebug with firefox 3.6.16 on Linux) and no exceptions in my
eclipse Development Mode console. After compilation, the app stops
during startup and I get errormessages in the firebug console.

It's been a while since I last tried to run the application in prod
mode, so I'm clueless on which of my changes might have introduced the
errors.

It seems the compiled Javascript contains syntax errors. How is this
possible?

Has anyone seen any similar behaviour and may give a hint on what may
be the cause?

These are the error messages I'm getting:

missing ) after argument list
http://127.0.0.1/.../.../CACBB92D4E36446FA652F50DBE1B57C5.cache.html
Line 30618: java_lang_String_
$equals__Ljava_lang_String_2Ljava_lang_Object_2Z($intern_1489,
com_google_gwt_user_client_ui_Image$State_
$onLoad__Lcom_google_gwt_user_client_ui_Image
$State_2Lcom_google_gwt_user_client_ui_Image_2V_unhandledEvent_0) &&
com_google_gwt_user_client_DeferredCommand_addCommand__Lcom_google_gwt_user_client_Command_2V(new
com_google_gwt_user_client_ui_Image$State: Exp $1_Image$State: Exp
$1__Lcom_google_gwt_user_client_ui_Image$State_2V(this));

missing ( before formal parameters
http://127.0.0.1/.../.../CACBB92D4E36446FA652F50DBE1B57C5.cache.html
Line 30649: function com_google_gwt_user_client_ui_Image$State: Exp
$1_Image$State: Exp $1__Lcom_google_gwt_user_client_ui_Image
$State_2V(val$image){

missing ; before statement
http://127.0.0.1/.../.../CACBB92D4E36446FA652F50DBE1B57C5.cache.html
Line 35232: (too long to post here)

-- 
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.



new browser window without menu & toolbars?

2011-05-03 Thread Magnus
Hi,

how can I open a new browser window without any menu or toolbars and
fill it with HTML?

Thanks
Magnus

-- 
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.



mergelocales.py and new GWT versions

2011-05-03 Thread Patrice De Saint Steban
Hello,

With the GWT 2.0, I use the excellent mergelocales.py from the gwt plateform 
project http://gwt-platform.googlecode.com/files/mergelocales.py
I try to now use it with the GWT 2.2, but the new version didn't generate 
properties files, it's generate Java classes with annotations, and the 
python script can't merge locales.
How I must say to GWT to generate properties files ?

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.



Grid + UiBinder : Setting row level styles

2011-05-03 Thread karthik reddy
...
.








...
...
The above approach is not working. In other words, the "tr" elements in the 
generated html do not have any class names at all. A back up option would be 
to inject styles into these rows from the UiBinder's constructors (using 
getRowFormatter.addStyleName) but 
I do not want to take that route for now.(I wanna try to  reserve the code 
that goes into the UiBinder java class for event handling purposes only. )

Any thoughts/pointers would be much appreciated.


Note:Cross posted at 
http://stackoverflow.com/questions/5864348/grid-uibinder-setting-row-level-styles

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 : Client/Server serialization/deserialization for using Hibernate with GWT

2011-05-03 Thread tkrhkrb
Sorry, 1 fix :  we use only the default attribute ‘lazy=true’ (arghh!).

-- 
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: UiBinder.useSafeHtmlTemplates

2011-05-03 Thread Stephanie Brubaker
The switch to SafeHtml is complete except for handling of a couple of bugs
that we are working to resolve.  Rather than forcing everyone to use
SafeHtml initially, we added a configuration property to make this feature
optional.

Ray added the warning to encourage developers to try the new SafeHtml
functionality in their apps.  Just set the property to true and presto! your
code will now generate SafeHtml under the hood.

To your point, we have not documented this new feature very well.  I will
make sure that the UiBinder page is updated to explain the new
functionality.

Thanks,
Stephanie

On Tue, May 3, 2011 at 12:00 PM, Ryan Sims  wrote:

> On Tue, May 3, 2011 at 11:31 AM, Thomas Broyer  wrote:
> >
> >
> > On Tuesday, May 3, 2011 3:34:42 PM UTC+2, decitrig wrote:
> >>
> >> After upgrading to 2.3.0, I was getting a warning about
> >> UiBinder.useSafeHtmlTemplates being false. I couldn't find any
> documentation
> >> on this, but looking through various search results eventually led me to
> try
> >> adding
> >>  >> value="true" />
> >>
> >> to the .gwt.xml file. Thought I would post here in case others were
> >> curious - is this documented somewhere that I missed?
> >
> > I don't know why GWT is issuing a warning. "use SafeHtmlTemplates" in
> > UiBinder is a rewrite of UiBinder's generated code (based on
> > SafeHtmlTemplates rather than String concats) but it's still being worked
> on
> > AFAIK; and was disabled in 2.3 because it was "not ready for prime time".
>
> Interesting - I found the commit here
>
> https://groups.google.com/d/topic/google-web-toolkit-contributors/OoxT5AqiVx4/discussion
>
> This seems to be where the warning is coming from, it's the same text
> I was seeing:
>
> http://code.google.com/p/google-web-toolkit/source/browse/releases/2.3/user/src/com/google/gwt/uibinder/rebind/UiBinderGenerator.java
>
> >> (For that matter, set-configuration-property doesn't seem to have any
> >> documentation either?)
> >
> > It's partly documented
> > in
> http://code.google.com/p/google-web-toolkit/wiki/MultiValuedConfigProperties
> >
> > --
> > 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.
>
>

-- 
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.



Client/Server serialization/deserialization for using Hibernate with GWT

2011-05-03 Thread tkrhkrb
Hello GWTers,

I'm working on a project using GWT and Hibernate. We love this technology 
and we would like them to coexist :-)

We have a pre-requisite immutable : use Hibernate entities into the GWT 
presentation layer. We tested Gilead but this solution does not suit us. We 
find it overkill compared to our needs. We ‘feel’ there is a lighter 
solution to respond our needs.

For example, we use only attribute ‘lazy=false’ in our hibernate mappings. 
We teach our developers to control relations that are loaded. If a relation 
is not loaded we would like to receive an LazyInitializationException in 
both server and client side. So we don’t need to reattach entities.

Hibernate automatically generates proxies between objects: HibernateProxy in 
the case of a relation ? -> 1 and PersistentCollection in the case of a 
relation ? -> n. We would like to have CRUD with objects loaded via 
Hibernate when relations are loaded or not.

To avoid the expensive clone and merge operations doing by Gilead. We wanted 
to try to fit in the GWT process of serialization / deserialization.

For this we haven’t yet found other ways to copy/paste :-( multiple classes 
to override GWT methods :
* AbstractSerializationStreamReader # readObject () (method final)
* ServerSerializationStreamWriter # writeObject (Object) (class final)

In the case of a relationship?  -> 1 unloaded (so with a proxy), we use a 
MHibernateProxy to transfer an id to be able to retreive the proxy in 
session. We created a MHibernateProxy_CustomFieldSerializer server side and 
client side. 
We have a GWT Generator which generates for each entity a mock version of 
the entity usable if the relation is not loaded. This mock has an extra 
field for the id of the proxy and an implementation of each method of the 
entity which ‘throws a new NotLoadedException()'. 

Here is an example of the code : https://gist.github.com/953375 .

What do you think of this ? Are we mad ?
Is there a better way to fit into the mechanism of serialization / 
deserialization of GWT?
Is it reasonable to ask to the GWT team to remove the final keywords in the 
class AbstractSerializationStreamReader and ServerSerializationStreamWriter?

Thanks for your response,

And a big thanks to the GWT team who does a really great job !

// Thibault

-- 
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.



Emulating KeyFactory.keyToString in gwt?

2011-05-03 Thread Gal Dolber
Can be done?

-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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: UiBinder.useSafeHtmlTemplates

2011-05-03 Thread Ryan Sims
On Tue, May 3, 2011 at 11:31 AM, Thomas Broyer  wrote:
>
>
> On Tuesday, May 3, 2011 3:34:42 PM UTC+2, decitrig wrote:
>>
>> After upgrading to 2.3.0, I was getting a warning about
>> UiBinder.useSafeHtmlTemplates being false. I couldn't find any documentation
>> on this, but looking through various search results eventually led me to try
>> adding
>> > value="true" />
>>
>> to the .gwt.xml file. Thought I would post here in case others were
>> curious - is this documented somewhere that I missed?
>
> I don't know why GWT is issuing a warning. "use SafeHtmlTemplates" in
> UiBinder is a rewrite of UiBinder's generated code (based on
> SafeHtmlTemplates rather than String concats) but it's still being worked on
> AFAIK; and was disabled in 2.3 because it was "not ready for prime time".

Interesting - I found the commit here
https://groups.google.com/d/topic/google-web-toolkit-contributors/OoxT5AqiVx4/discussion

This seems to be where the warning is coming from, it's the same text
I was seeing:
http://code.google.com/p/google-web-toolkit/source/browse/releases/2.3/user/src/com/google/gwt/uibinder/rebind/UiBinderGenerator.java

>> (For that matter, set-configuration-property doesn't seem to have any
>> documentation either?)
>
> It's partly documented
> in http://code.google.com/p/google-web-toolkit/wiki/MultiValuedConfigProperties
>
> --
> 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: When jquery meets gwt : GwtQuery 1.0.0 was released !

2011-05-03 Thread Gal Dolber
Really nice to hear news about GwtQuery!
thank for the release

On Tue, May 3, 2011 at 12:41 PM, Julien Dramaix wrote:

> On behalf of the GwtQuery team, it is my pleasure to annonce the first
> release of GwtQuery, after a long snapshot period.
>
> GwtQuery is a GWT port of jQuery and offers plenty of cool features
> like css type-safe, gwt
> widgets interaction, complete jquery api support, and optimised css
> selector engines.
>
> More info on : http://code.google.com/p/gwtquery/
> Getting started guide :
> http://code.google.com/p/gwtquery/wiki/GettingStarted
>
> Julien
>
> --
> 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.
>
>


-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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 Not Working for Higher Screen Resolutions

2011-05-03 Thread Lakshitha
But the problem is same code works for resolutions lower than
1400x1050.


On Apr 29, 2:08 pm, Trevor Skaife  wrote:
> That wouldn't have anything to do with GWT. It would have everything
> to do with the styles and what html has been created by GWT, which you
> programmed. Best thing to do is to inspect the page in the browser to
> see what is causing the page to not look right. Then you should be
> able to figure out what panel or table you need to change in order for
> you page to flow correctly.
>
> On Apr 28, 3:53 am, Lakshitha  wrote:
>
> > Hello Everyone,
>
> > I have an application developed using GWT.
> > For screen resolutions higher than 1400x1050, panels are not alligning
> > properly.
>
> > Any idea why this is happening ?

-- 
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 jquery meets gwt : GwtQuery 1.0.0 was released !

2011-05-03 Thread Julien Dramaix
On behalf of the GwtQuery team, it is my pleasure to annonce the first
release of GwtQuery, after a long snapshot period.

GwtQuery is a GWT port of jQuery and offers plenty of cool features
like css type-safe, gwt
widgets interaction, complete jquery api support, and optimised css
selector engines.

More info on : http://code.google.com/p/gwtquery/
Getting started guide : http://code.google.com/p/gwtquery/wiki/GettingStarted

Julien

-- 
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: UiBinder.useSafeHtmlTemplates

2011-05-03 Thread Thomas Broyer


On Tuesday, May 3, 2011 3:34:42 PM UTC+2, decitrig wrote:
>
> After upgrading to 2.3.0, I was getting a warning about 
> UiBinder.useSafeHtmlTemplates being false. I couldn't find any documentation 
> on this, but looking through various search results eventually led me to try 
> adding
>
>  value="true" />
>
> to the .gwt.xml file. Thought I would post here in case others were curious 
> - is this documented somewhere that I missed?
>

I don't know why GWT is issuing a warning. "use SafeHtmlTemplates" in 
UiBinder is a rewrite of UiBinder's generated code (based on 
SafeHtmlTemplates rather than String concats) but it's still being worked on 
AFAIK; and was disabled in 2.3 because it was "not ready for prime time".
 

> (For that matter, set-configuration-property doesn't seem to have any 
> documentation either?)
>

It's partly documented in 
http://code.google.com/p/google-web-toolkit/wiki/MultiValuedConfigProperties
 

-- 
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/GPE 2.3 unable to sign in with Google Apps account

2011-05-03 Thread Thibault Pouget
Hi,

I get the same kind of error.
We're using our own SSO solution and when trying to sign in I'm redirected 
to my SSO login page. Once logged in I get the same message. 
I guess "scopes" attribute has just been removed by our SSO.

Would it possible to add feature allowing us to choose the way we want to 
connect/deploy ? 
(Either the old fashion way with password typing or the new OAuth way)

For now, I see no other workaround than going back to previous GPE version 
(if we can call this a workaround...) which I regret since the Google APIs 
explorer is really useful.

Thibault.

-- 
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: CellTree with CellTable nodes

2011-05-03 Thread johan
Well, this works fine as long as the event is managed by the tree item
itself.
But in my case, the tree item contains a CellTable and that CellTable
contains some clickable cells.
In such a case, I can't make it work.

On May 2, 5:13 pm, lamre  wrote:
>  Cell cell = new AbstractCell("click")
>                  {
>                                          @Override
>                                          public void render(Context context, 
> Cartella value,
> SafeHtmlBuilder sb)
>                                          {
> sb.appendEscaped(value.getDescCartella());
>                                          }
>                                          //gestiamo gli eventi
>                                          @Override
>                                          public void onBrowserEvent(Context 
> context, Element parent,
>                                                                         
> Cartella value,NativeEvent event, ValueUpdater
> valueUpdater)
>                                          {
>                                                  if (value == null) {   
> return;       }
>                                                  
> super.onBrowserEvent(context, parent, value, event,
> valueUpdater);
>                                                  if 
> ("click".equals(event.getType()))
>                                                  {
>
> ControllerPqm.getInstance().loadCartella(value.getIdCartella());
> //                                                   Window.alert("Click 
> sulla cartella "+
> value.getDescCartella());
>                                                  }
>                                          }
>                                   };

-- 
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: EntityProxy efficiency

2011-05-03 Thread Colin Alworth
My understanding is that RF assumes you will be using the same persistence 
session for the duration of the request to prevent any perf issues here. 
Those find operations are done because RF considers the ID to be the only 
valid way to know that it has the latest copy of the object - every time it 
interacts with your persistence system, it does so through find.

Make sure you are using a single hibernate session for the entire request - 
my understanding is that if you are doing so, hibernate will return the same 
instances of those objects instead of looking up and creating a new copy.

-- 
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: Migration issue

2011-05-03 Thread Juan Pablo Gardella
Are you use gin or another "gwt" library ?

2011/5/3 ruslan.mukhammad 

> Before I worked with GWT 2.1 M1 version and all functions worked
> normally without any exception. But when I moved to GWT 2.2 version,
> UI side works fine, but I can't receive any data from server side
> using RPC call. The exception is:
>
> SEVERE: Exception while dispatching incoming RPC call
> java.lang.NullPointerException
>at
>
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.encodeResponseForFailure(GWTRPCServiceExporter.java:
> 223)
>at
>
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleIncompatibleRemoteServiceException(GWTRPCServiceExporter.java:
> 370)
>at
>
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:
> 351)
>at
>
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
> 224)
>at
>
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
> 62)
>at
>
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:
> 407)
>at
>
> org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:
> 49)
>at
>
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
> 875)
>at
>
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
> 809)
>at
>
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
> 571)
>at
>
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
> 511)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 290)
>at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
> 206)
>at
>
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:
> 96)
>at
>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
> 76)
>at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
>at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
> 206)
>at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 233)
>at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 191)
>at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 128)
>at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 102)
>at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 109)
>at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 293)
>at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 849)
>at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
>at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
> 454)
>at java.lang.Thread.run(Thread.java:619)
>
>
> Can you please help me?
>
> --
> 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.



AssertionError break Scheduler

2011-05-03 Thread laurent
Hi,
if a ScheduledCommand throws an AssertionError then SchedulerImpl will never 
ever flushFinallyCommands() cause of entryDepth value greater than 0.

I I look at flushFinallyCommands and then runScheduledTasks I discovered 
that it catch RuntimeException (Hidden exception) but not Error.

This behavior make the page very unstable in debug mode for my bug. The 
expected behavior is to display my initial Error in the console.

Do i Have to fill a bug ?


thanks

laurent

-- 
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.



Adding scrollbar to celltable - please help

2011-05-03 Thread Nisha
Hi All,

This might be very trivial issue but somehow I am not able to add
scrollbar to celltable.
I am not sure if I am doing this right.

I have just set the size of the table to show 3 records and I assumed
that the celltable will have a built in feature to display a
scrollbar. Any help is appreciated.

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.



How to add java.util.calendar in Gwt

2011-05-03 Thread Mass
 Hi,

i Added Calendar ... but its getting error  like this



  java.util.Calendar can not be found in source packages.
Check the inheritance chain from your module; it may not be inheriting
a required module or a module may not be adding its source path
entries properly.




   How to solve this Problem?


  Thanks in Advance

-- 
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: Map not displayed in broaser after adding map api.jar also...

2011-05-03 Thread Fidencio Velasquez
«Draculaboyman»*
El may 3, 2011 3:41 a.m., "Fidencio Velasquez" 
escribió:
> «Draculaboyman»*
> El may 3, 2011 3:23 a.m., "John Doran"  escribió:
>> Have you included the jar in the gwt.xml file
>> eg 
>> Regards
>>
>> On Tue, May 3, 2011 at 5:33 AM, Ram  wrote:
>>
>>> I have included GWT Maps api.jar file in my GWT Project build
>>> path.Then i try sample program given by GWTI did all same as
>>> instructed by that samplebut the map is not displayed in my
>>> browser when i run my project...
>>>
>>>
>>> What is the Problem here...Also i noticed, when i try try to compile
>>> GWT projectI got some exception in Maps jar fileWhat is the
>>> problem here...please help me..
>>>
>>> --
>>> 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.
>>

-- 
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.



Migration issue

2011-05-03 Thread ruslan.mukhammad
Before I worked with GWT 2.1 M1 version and all functions worked
normally without any exception. But when I moved to GWT 2.2 version,
UI side works fine, but I can't receive any data from server side
using RPC call. The exception is:

SEVERE: Exception while dispatching incoming RPC call
java.lang.NullPointerException
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.encodeResponseForFailure(GWTRPCServiceExporter.java:
223)
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleIncompatibleRemoteServiceException(GWTRPCServiceExporter.java:
370)
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:
351)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
224)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
62)
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:
407)
at
org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:
49)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
809)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
571)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:
96)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
76)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
849)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
454)
at java.lang.Thread.run(Thread.java:619)


Can you please help me?

-- 
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: EntityProxy efficiency

2011-05-03 Thread Fidencio Velasquez
«Draculaboyman»*
El may 3, 2011 2:02 a.m., "Jerome Thoma"  escribió:
> Hi everyone,
> I have a question about EntityProxy vs. ValueProxy and efficiency issues.
I
> need to load a list of SubProxy objects using RF for display in a listbox
> inside an editor for an encompassing SuperProxy type. No SubProxy instance

> is modified by the editor, but because RF does not support inheritance, I
> must use EntityProxy as SubProxy's super-type. This means unfortunately
that
> on loading the list of SubProxy objects (using one efficient Hibernate
> call), RF launches one find operation for each objects (thus creating X
more
> Hibernate calls) which is very inefficient. Is this desired behaviour and
> how do I optimise my loading code. Currently it takes several seconds to
> load a list of ca. 100 SubProxy objects. I have encountered this problem
> before and solved it by using ValueProxy objects which are not
> version-checked by the RF engine. Could someone please explain me why the
RF
> engine does a separate version check for each EntityProxy that I just
> retrieved from the DB?
>
> Thanks for sharing your knowledge
> Jerome
>
> --
> 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: EntityProxy efficiency

2011-05-03 Thread Fidencio Velasquez
>From me

«Draculaboyman»*
El may 3, 2011 2:02 a.m., "Jerome Thoma"  escribió:
> Hi everyone,
> I have a question about EntityProxy vs. ValueProxy and efficiency issues.
I
> need to load a list of SubProxy objects using RF for display in a listbox
> inside an editor for an encompassing SuperProxy type. No SubProxy instance

> is modified by the editor, but because RF does not support inheritance, I
> must use EntityProxy as SubProxy's super-type. This means unfortunately
that
> on loading the list of SubProxy objects (using one efficient Hibernate
> call), RF launches one find operation for each objects (thus creating X
more
> Hibernate calls) which is very inefficient. Is this desired behaviour and
> how do I optimise my loading code. Currently it takes several seconds to
> load a list of ca. 100 SubProxy objects. I have encountered this problem
> before and solved it by using ValueProxy objects which are not
> version-checked by the RF engine. Could someone please explain me why the
RF
> engine does a separate version check for each EntityProxy that I just
> retrieved from the DB?
>
> Thanks for sharing your knowledge
> Jerome
>
> --
> 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.



Components not aligned properly with IP address in URL, OK with machine name/localhost

2011-05-03 Thread Muthu
Hi,

We have deployed CMS war files into the server. When we access the
pages through the IP address in the URL, some of the components are
going out of the alignment. But if we access the same pages through
the machine name or localhost or 127.0.0.1 in URL, components are
aligned properly.

What could be wrong? can any help me to find the issue? Please let me
know if you need more information to analyse the situation.

Thanks,
_Muthu V

-- 
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: how to reposition the popup when window gets resized

2011-05-03 Thread Fidencio Velasquez
Feedback
El may 2, 2011 9:47 p.m., "newbee"  escribió:
> Thanks guys. I will try this ResizeHandle solution and will post it if
> that works well.
>
> On May 2, 9:24 pm, Ben Imp  wrote:
>> I believe the center() method on the dialog will re-center a dialog even
if
>> its already visible.  Stick that into a resize handler and you should be
>> good to go.
>>
>> -Ben
>
> --
> 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: Map not displayed in broaser after adding map api.jar also...

2011-05-03 Thread Fidencio Velasquez
«Draculaboyman»*
El may 3, 2011 3:23 a.m., "John Doran"  escribió:
> Have you included the jar in the gwt.xml file
> eg 
> Regards
>
> On Tue, May 3, 2011 at 5:33 AM, Ram  wrote:
>
>> I have included GWT Maps api.jar file in my GWT Project build
>> path.Then i try sample program given by GWTI did all same as
>> instructed by that samplebut the map is not displayed in my
>> browser when i run my project...
>>
>>
>> What is the Problem here...Also i noticed, when i try try to compile
>> GWT projectI got some exception in Maps jar fileWhat is the
>> problem here...please help me..
>>
>> --
>> 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.
>

-- 
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.



integer and long weird arithmetic

2011-05-03 Thread Vincent T
A sample code being worth thousands words, here are my little
findings. I'm aware that using long all the way may have got me out of
trouble, but I wanted to share these weird results that some may
consider as a bug. In hosted mode there is no pb. The comments
contains the content of the popups in the "gwtcompiled" mode. Tested
with gwt 2.1 and 2.2 under Chrome, Firefox4 and IE9:


public class MyApp implements EntryPoint{

public void onModuleLoad() {
long m=0, n=0, o=0, p=0, q=0;
int i = 0;
int j = Integer.MAX_VALUE-1;

while (i < j)i++;
alert("i==j?" + (i==j)  + " but i=" + i +" and j=" + j);
//==> i==j?true but i=2147483646 and j=2.147483646E9
// did you notice the "float notation" of j?

n = n + j;
n = n + j;
o = o + i;
o = o + i;
//given i == j we can suppose that n == o??
alert("n="+n + "  o="+o);
//firefox, chrome, ie9 ==>n=-4  o=4294967292

p = p + (long)j;
p = p + (long)j;

alert("n="+n + "  o="+o + "  p="+p);
//firefox, chrome, ie9 ==>n=-4  o=4294967292  p=4294967292
//p == o :) this one was expected.

for(int k = 0; k<2; k++){
m = m + j;
}
//at least m should be equal to n, no?
alert("n=" + n +" m=" + m);
//firefox, chrome, ie9 ==>n=-4 m=4294967292
}

public void alert(String s){
Window.alert(s);
}
}

-- 
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.



AssertionError break Scheduer

2011-05-03 Thread laurent
Hi all,
I've just discovered:

-- 
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.



Widget Reference From a Hierarchy

2011-05-03 Thread richip
Is it possible to get an object reference to a Widget from a Widget
hierarchy using the APIs and some identifier? I'm aware of the APIs to
navigate through Widgets but can't figure a way to determine their
identity. I'm hoping an API call already exists to search.

-- 
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.



UiBinder.useSafeHtmlTemplates

2011-05-03 Thread decitrig
After upgrading to 2.3.0, I was getting a warning about 
UiBinder.useSafeHtmlTemplates being false. I couldn't find any documentation 
on this, but looking through various search results eventually led me to try 
adding



to the .gwt.xml file. Thought I would post here in case others were curious 
- is this documented somewhere that I missed? (For that 
matter, set-configuration-property doesn't seem to have any documentation 
either?)

--
rwsims

-- 
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: SmartGWT, UIBinder and GWT Designer

2011-05-03 Thread Eric Clayberg
UiBinder does not provide an API for non-standard parsers, so, in
general, SmartGWT won't work with GWT Designer in UiBinder mode.

SmartGWT works fine using GWT Designer and GWT Java UIs.

On May 2, 7:03 pm, richip  wrote:
> Has anyone successfully used the above products / technologies to
> create a UIBinder GUI object that's editable in GWT Designer and makes
> use SmartGWT? Can you send me some tips?

-- 
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.



closable tabpanel

2011-05-03 Thread Rodrigue Lagoue
Hi all,

does someone know a way to realize closeable tabpanel?

Thanks for any help
Rodrigue

-- 
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: Map not displayed in broaser after adding map api.jar also...

2011-05-03 Thread John Doran
Have you included the jar in the gwt.xml file
eg 
Regards

On Tue, May 3, 2011 at 5:33 AM, Ram  wrote:

> I have included GWT Maps api.jar file in my GWT Project build
> path.Then i try sample program given by GWTI did all same as
> instructed by that samplebut the map is not displayed in my
> browser when i run my project...
>
>
> What is the Problem here...Also i noticed, when i try try to compile
> GWT projectI got some exception in Maps jar fileWhat is the
> problem here...please help me..
>
> --
> 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.



GWT/GPE 2.3 unable to sign in with Google Apps account

2011-05-03 Thread Carl
Hi,

The new Eclipse Sign In feature that comes with GWT/GPE 2.3 does not
seem to work with Google Apps accounts. I am therefore unable to
deploy to GAE.

This is what I get:
---
The page you have requested cannot be displayed. Another site was
requesting access to your  account, but sent a malformed
request. Please contact the site that you were trying to use when you
received this message to inform them of the error. A detailed error
message follows:

The "scope" parameter was bad or missing.
---

Any ideas?
Carl

-- 
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.



EntityProxy efficiency

2011-05-03 Thread Jerome Thoma
Hi everyone,
I have a question about EntityProxy vs. ValueProxy and efficiency issues. I 
need to load a list of SubProxy objects using RF for display in a listbox 
inside an editor for an encompassing SuperProxy type. No SubProxy instance 
is modified by the editor, but because RF does not support inheritance, I 
must use EntityProxy as SubProxy's super-type. This means unfortunately that 
on loading the list of SubProxy objects (using one efficient Hibernate 
call), RF launches one find operation for each objects (thus creating X more 
Hibernate calls) which is very inefficient. Is this desired behaviour and 
how do I optimise my loading code. Currently it takes several seconds to 
load a list of ca. 100 SubProxy objects. I have encountered this problem 
before and solved it by using ValueProxy objects which are not 
version-checked by the RF engine. Could someone please explain me why the RF 
engine does a separate version check for each EntityProxy that I just 
retrieved from the DB?

Thanks for sharing your knowledge
Jerome

-- 
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.