Re: gwtsizzle - CSS selectors for GWT dom

2012-12-31 Thread Sebastián Gurin
Thank you Thomas for the clarification and for taking a look to the project. Didn't know about the new xsiframe. I'm reading some documentation and fixing my projects. about wrapper/port thing, I thought a wrapper was when you put the JSO as a "pure" java class attribute. Then you delegate all

Re: gwtsizzle - CSS selectors for GWT dom

2012-12-31 Thread Thomas Broyer
On Monday, December 31, 2012 10:55:50 PM UTC+1, Sebastián Gurin wrote: > > I needed a lightweight solution for CSS selectors in > com.google.gwt.dom.client.Element so I made a GWT port of the JavaScript > library *sizzle*js.com/ Ah, this is not a port, it's a wrapper. A

How to open a new Browser Window with a Widget

2012-12-31 Thread Manuel
Hey, here is what Im trying to do: I opened my GWT-Application that has a Tab-Component with several Views/Dialoges (each in a dfifferent Tab). display.getDialogContainer().getWidget(*selected*) .asWidget() returns the View/Dialoge from my Tab-Component with index=*selected*, which allows me t

gwtsizzle - CSS selectors for GWT dom

2012-12-31 Thread Sebastián Gurin
I needed a lightweight solution for CSS selectors in com.google.gwt.dom.client.Element so I made a GWT port of the JavaScript library *sizzle*js.com/ GWTSIZZLE : http://code.google.com/p/gwtsizzle/ Since it has a very simple JavaScript API it only took me 1 hour to author

Re: execute priority ServletContextEvent handler and static block

2012-12-31 Thread Leung
Thank you for your reply. Then what should be put in the servlet context listener and what should be put in the static block?   From: Benjamin Possolo To: google-web-toolkit@googlegroups.com Cc: Leung Sent: Monday, December 31, 2012 1:59 AM Subject: Re: execu

Re: JMockit compatible with GWTTestCase?

2012-12-31 Thread Thomas Broyer
There are very few GWT-compatible mocking tools. Actually I know only one, inspired by EasyMock and made by Googlers: https://code.google.com/p/easy-gwt-mock/ An alternative is to "mock GWT" so you can avoid using a GWTTestCase, and thus use the mocking tool you want (including JMockit): https:

Re: Elemental and c.g.gwt.user.User

2012-12-31 Thread Thomas Broyer
There are known incompatibilities between Elemental and DevMode: https://code.google.com/p/google-web-toolkit/issues/detail?id=7481 https://code.google.com/p/google-web-toolkit/issues/detail?id=7842 It (apparently) works well in SuperDevMode. On Monday, December 31, 2012 5:58:30 PM UTC+1, Bademus

Elemental and c.g.gwt.user.User

2012-12-31 Thread Bademus ᵗʰᵉ
Hello. Is it possible use Elemental with c.g.gwt.user.User? The problem is after using Elemental and c.g.gwt.user.User in the project (Debug\Run) I got an Exception At the same time project compiles normaly but with only one permutation. Exception: *17:50:46.736 [ERROR] [MyProject] Unable to load

Re: Open url in new mobile safari instance?: Window.open()

2012-12-31 Thread Jens
You have to program that behavior into UiWebView, see: https://www.google.com/search?q=open+link+in+safari+uiwebview -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.co

Re: GWT Creating Session ID using java.uti.UUID and ignoring Cookie header

2012-12-31 Thread gwt33
Hello, I think it 's a good process because you don't use cookie and pass the session in the payload. I have a question concerning the step 3 : " *The server checks if the user exists. If so, I generate a * *SessionID using UUID.randomUUID.toString and pass it back to the client. " : *where do

Re: DataGrid, how to show multiline content in its cells?

2012-12-31 Thread Andrei
It should be "text-overflow", not "test-overflow". On Sunday, December 30, 2012 10:31:41 PM UTC-5, tong123123 wrote: > > Ok, I found remove > >> white-space:nowrap; >> > then it can show multiline. > > but I found something unknown, if I use > >> white-space:nowrap; >> overflow:hidden; >> test-ove

Re: how to add meta tag in the header's page [with uibinder ?]

2012-12-31 Thread Benjamin Possolo
Here is an example for setting the description meta element public static void setMetaDescription(String description){ NodeList nodes = Document.get().getElementsByTagName("meta"); for( int i = 0; i < nodes.getLength(); i++ ){ MetaElement meta = (MetaElement)nodes.getItem(i); if( "descriptio

Re: execute priority ServletContextEvent handler and static block

2012-12-31 Thread Benjamin Possolo
do not put code in a static block in your servlet context listener. the context initialized method is guaranteed to be called exactly once for a servlet context listener before any of your servlets are initialized -- You received this message because you are subscribed to the Google Groups "Goo

Re: GWT Crawlable (SEO)

2012-12-31 Thread Benjamin Possolo
Jan you seem to be kind of trolling; duplicate thread created 5 days ago by yourself and you clearly didnt bother to use the search feature but I will answer anyways Just copy the filter I wrote: https://groups.google.com/forum/#!topic/google-web-toolkit/aBt-QCCQkKY On Thursday, December 2

Re: RequestFactory, ValueProxy support for Email, Link, User

2012-12-31 Thread Avanish Raju
For posterity: After setting up the Annotation Processor, I realized there were many other issues. But User object isn't one of them. It works fine. Link, on the other hand, does not - the reason for this is that Link object doesn't have a default constructor. So we get errors if we try to make a L