Gwt user agent issue in IE8

2013-03-02 Thread ram
Hi All,

Recently we noticed that our GWT modules are rendering in all browsers 
except IE8. Though I inherited UserAgent in our gwt module xml. As per 
UserAgent the application should display in all browsers (ie6,ie8, ie9, 
gecko,safari, opera), but it is showing all browsers except IE8. I am not 
sure that what is preventing, though I set explicitly the runtimeWarning to 
false.

We realized that user.agent causes the issue. 

Please throw some light on this issue.

-Ram



-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Application misbehaving on Chrome

2013-03-02 Thread Thomas Broyer


On Sunday, March 3, 2013 3:21:12 AM UTC+1, bloo wrote:
>
> Source Maps are still broken in 25 - can anyone confirm this, or am I an 
> idiot? (I keep having to re-install 23 because Chrome will auto-update to 
> 25 whenever I turn my back to it)
>

Update to GWT 2.5.1-rc1 and SourceMaps should work.

>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Application misbehaving on Chrome

2013-03-02 Thread bloo
Source Maps are still broken in 25 - can anyone confirm this, or am I an 
idiot? (I keep having to re-install 23 because Chrome will auto-update to 
25 whenever I turn my back to it)

On Thursday, January 31, 2013 12:38:26 AM UTC-8, Thomas Broyer wrote:
>
>
>
> On Thursday, January 31, 2013 9:27:49 AM UTC+1, Celinio Fernandes wrote:
>>
>>
>> I have the same problem with a DecoratedTabPanel, not a DeckLayoutPanel.
>> Is this also fixed in GWT 2.5 ?
>>
>
> GWT 2.5 fixes all animations.
> But it shouldn't be an issue anymore anyway, as I'm told the change in 
> Chrome has been reverted: 
> https://groups.google.com/d/msg/google-web-toolkit/UBWsvHYM4SE/SZ7xwzqBGV8J
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: A question regarding the Dynamic Host Page's tutorial

2013-03-02 Thread a . toledo . uu . nl


On Saturday, March 2, 2013 7:57:49 PM UTC+1, Thomas Broyer wrote:
>
>
>
> On Saturday, March 2, 2013 5:27:12 AM UTC+1, a.toled...@gmail.com wrote:
>>
>> Hello group,
>>
>> I have a question regarding this tutorial. 
>>
>> At the end it is illustrated how the servlet/jsp can create a java script 
>> variable that contains the email address of the user. This is done in order 
>> to save a GWT RPC call that would ask for this value from the browser side 
>> to the server when the page loads. I understand the rationale behind this 
>> but I wonder if passing the data by a cookie won't be as efficient as the 
>> javascript variable but additionally more secured.
>>
>
> Why would it be more secure? I'd even say it'd be *less* secure: the 
> cookie will be sent back to the server with every subsequent request!
> BTW, emitting user info into the HTML page is what Google does (for Groups 
> –which is made with GWT–, but also Reader, GMail or Plus, which are made 
> with the Closure tools)
>
 
Maybe I'm wrong. What I had in mind is data like an XSRF protection token 
that the server generates and needs to pass to the client in order for the 
latter to send it in every RPC request. If I put it in the HTML page I 
thought it will make the token more accessible to anyone who wants to find 
it. But actually the cookies are also accessible. I don't know if using SSL 
would make any difference between these two ways of passing server data (in 
both the data (html/cookies) is encrypted on the server side and decrypted 
on the client side).


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Using Tomcat Websockets with GWT

2013-03-02 Thread Manuel
Hey again,

i solved it.
I used a wrong connection string. It starts from webapp folder in the 
tomcat and directs to my html page:
Chat.connect('ws://' + window.location.host + '/Mash/Mash');


Regards,
Manuel

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Using Tomcat Websockets with GWT

2013-03-02 Thread Manuel
Link got lost:
*4) *Implemented the JS-Code from 
here
  
to my html page.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Using Tomcat Websockets with GWT

2013-03-02 Thread Manuel
Hi,

after installing Tomcat, I had a look on the installed examples.
There was a websocket example, a simple chat.

I tried to implement it on my GWT project but I couldnt get it working.

Thats what I did:
*1) *I copied classes from the example into my gwt server directory:
ChatWebSocketServlet.java
 (extends 
WebSocketServlet)
HTMLfilter 
(does 
nothing special)

*2)* Include missing jars into my build path (tomcat-coyote.jar , catalina, 
tomcat-juli.jar, tomcat-util.jar)

*3) *Added the following to my web.xml:
  
wsChat

de.mash.project.server.ChatWebSocketServlet


wsChat
/Mash



*4) *Implemented the JS-Code from here to my html page.
I changed the following to fit my needs:
Changed
Chat.connect('ws://' + window.location.host + '/examples/websocket/chat');
to
Chat.connect('ws://' + window.location.host + '/Mash');
in the JS Code.

The problem is, that the connect()-Method doesnt work, and I cant get a 
socket (I end up in the JS Chat.onerror()-Method).

Im still using the Build-In Jetty for debugging, so I dont got any 
meaningful error so far.
The one I get from Console is mentioned below. (But its jetty, so Iam not 
expecting it to work).

I *Debuged as Webapp *(on external Server):
Then I choose my projects war-folder in apache webapp folder: But didnt got 
any errormsg in my console log.
Is this the proper way to use tomcat for debugging?

So...
Iam not sure if there is a *misstake in my web.xml, a bad connection string 
on the connect()-Method*,
or if Iam totally wrong and its not that easy to get it running...

Any advice, help, suggestions are appreciated.

Regards,
Manuel


ERROR from Jetty: Iam not wondering about this one, since I want to use 
Tomcat Websockets...
[ERROR] 500 - GET /Mash (127.0.0.1) 1542 bytes
   Request headers
  Host: 127.0.0.1:
  User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) 
Gecko/20100101 Firefox/19.0
  Accept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
  Accept-Encoding: gzip, deflate
  Sec-WebSocket-Version: 13
  Origin: http://127.0.0.1:
  Sec-WebSocket-Key: ic3d8jm1KWVV8XUqReWg/w==
  Connection: keep-alive, Upgrade
  Pragma: no-cache
  Cache-Control: no-cache
  Upgrade: websocket
   Response headers
  Upgrade: websocket
  Connection: upgrade
  Sec-WebSocket-Accept: SqklYoNaQUziMNdrvFxooUEH9nA=
  Content-Type: text/html; charset=iso-8859-1
  Content-Length: 1542


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT 2.1 CELL TABLE

2013-03-02 Thread David Phan

Check the content of your .css file.  
It could cause Deferred Binding problem.  
I ran into the same issue.  
After I re-copied CellTable.css into my .css and reran everything was fine.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: A question regarding the Dynamic Host Page's tutorial

2013-03-02 Thread Thomas Broyer


On Saturday, March 2, 2013 5:27:12 AM UTC+1, a.toled...@gmail.com wrote:
>
> Hello group,
>
> I have a question regarding this tutorial. 
>
> At the end it is illustrated how the servlet/jsp can create a java script 
> variable that contains the email address of the user. This is done in order 
> to save a GWT RPC call that would ask for this value from the browser side 
> to the server when the page loads. I understand the rationale behind this 
> but I wonder if passing the data by a cookie won't be as efficient as the 
> javascript variable but additionally more secured.
>

Why would it be more secure? I'd even say it'd be *less* secure: the cookie 
will be sent back to the server with every subsequent request!
BTW, emitting user info into the HTML page is what Google does (for Groups 
–which is made with GWT–, but also Reader, GMail or Plus, which are made 
with the Closure tools)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




GWT and Tomcat realm security

2013-03-02 Thread MLS
hi

any examples exists about uses gwt and tomcat realm security safely? (form 
based)

in php i used hash the password in client, hashed in server

and in jsf is simple with jaas

but i don't know how to use secure login and sesion with gwt, i read about 
this topic but i don't found any example or high accepted solution.

do you know any sample?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Why doesn't this (AbsolutePanel inside a ScrollPanel) work?

2013-03-02 Thread Patrick Tucker
Try absolutePanel.getElement().getStyle().setOverflow(Overflow.AUTO) and get 
rid of the ScrollPanel.  It by default sets overflow to hidden, but it may work.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.