Re: shell fails loading

2008-12-20 Thread ArunDhaJ

It is working in IE. Actually I'm able to compile and run in server.
The problem is, its not running in gwt hosted server. So to test a
small UI change I need to compile and deploy, this eats my time.

I'm looking at solving the Hosted server problem, so that I could test
my UI changes in Hosted browser itself.

regards
ArunDhaJ
--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread Kevin Tarn
Yes. GWT's host browser used embedded tomcat server. It didn't use your
installed standalone tomcat. Is your problem disappearred in normal browser,
ex. IE? If normal browser has same problem, please check the Valve log.

In addition, as my experience, it's not difficult to migrate to 1.5 form
1.4.62. You can get a try. Using normal browser as hosted browser is
essential for development.

Kevin

On Sun, Dec 21, 2008 at 1:26 PM, ArunDhaJ  wrote:

>
> I've cleared the cache, temporary internet files and cleanup, but
> still the problem persists.
>
> As I checked the gwt's tomcat config folder, Valve component was not
> configured. I tried copying the server.xml file from Apache Tomcat
> 6.0.16 and uncommented the AccessLogValve. It seems the gwt shell
> didnt considered the file and didnt log.
>
> I'm using gwt 1.4.62. I suppose I cant use OOPHM.
>
> Regards
> ArunDhaJ
> >
>

--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread ArunDhaJ

I've cleared the cache, temporary internet files and cleanup, but
still the problem persists.

As I checked the gwt's tomcat config folder, Valve component was not
configured. I tried copying the server.xml file from Apache Tomcat
6.0.16 and uncommented the AccessLogValve. It seems the gwt shell
didnt considered the file and didnt log.

I'm using gwt 1.4.62. I suppose I cant use OOPHM.

Regards
ArunDhaJ
--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread Kevin Tarn
Hi Arun,
If the problem only happened on GWT's hosted browser, I would suggest you to
change GWT 1.53 to GWT OOPHM branches. OOPHM can let you pick firefox or IE
as hosted browser. I used it for a while and satisfied by it. The current
build has also merged recent 1.53 release.

Kevin

On Sun, Dec 21, 2008 at 11:59 AM, Kevin Tarn  wrote:

> I think it should not be the cache problem because the GWT's sample project
> got the same result according to Arun. He should get into HTTP server to
> find out what resource cannot be requested by HTTP server. HTTP 400 comes
> from server, I don't think the result related to GWT's shell.
>
> Kevin
>
>
> On Sun, Dec 21, 2008 at 11:43 AM, Ian Bambury wrote:
>
>> It could be a caching problem. This might be worth a try (if you get
>> really desperate and you are convinced everything else is OK).
>> Clear all temporary files from IE.
>> Delete all the temporary files from the project (www, bin, tomcat) and
>> from any other project if paranoid or if you have changed the package name
>> recently to something you might have used before.
>> Click on the project in Eclipse. Press F5,
>> then do a project | clean.
>>
>> Ian
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread Kevin Tarn
I think it should not be the cache problem because the GWT's sample project
got the same result according to Arun. He should get into HTTP server to
find out what resource cannot be requested by HTTP server. HTTP 400 comes
from server, I don't think the result related to GWT's shell.

Kevin

On Sun, Dec 21, 2008 at 11:43 AM, Ian Bambury  wrote:

> It could be a caching problem. This might be worth a try (if you get really
> desperate and you are convinced everything else is OK).
> Clear all temporary files from IE.
> Delete all the temporary files from the project (www, bin, tomcat) and from
> any other project if paranoid or if you have changed the package name
> recently to something you might have used before.
> Click on the project in Eclipse. Press F5,
> then do a project | clean.
>
> Ian
>
> >
>

--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread Ian Bambury
It could be a caching problem. This might be worth a try (if you get really
desperate and you are convinced everything else is OK).
Clear all temporary files from IE.
Delete all the temporary files from the project (www, bin, tomcat) and from
any other project if paranoid or if you have changed the package name
recently to something you might have used before.
Click on the project in Eclipse. Press F5,
then do a project | clean.

Ian

--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread Kevin Tarn
The information is too rough. Did you set Tomcat Vavle to get more detail
log? You can refer to below link:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html

Kevin

On Sun, Dec 21, 2008 at 11:20 AM, ArunDhaJ  wrote:

>
> This is the only log captured in GWT Development shell
> >>> [INFO] Starting HTTP on port 
>
> Immediately hosted browser shows "The page cannot be found"
> :-(
> :-(
>
> Regards
> ArunDhaJ
> >
>

--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread ArunDhaJ

This is the only log captured in GWT Development shell
>>> [INFO] Starting HTTP on port 

Immediately hosted browser shows "The page cannot be found"
:-(
:-(

Regards
ArunDhaJ
--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread Kevin Tarn
Did you try to see the request log from tomcat to see which resource caused
HTTP400?

Kevin

On Sun, Dec 21, 2008 at 2:14 AM, ArunDhaJ  wrote:

>
> Nope. It too produces same error...
>
> HTTP 400 - Bad request
>
> Regards
> ArunDhaJ
> >
>

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



IDE for GWT

2008-12-20 Thread Eduardo Henrique
What IDE are you using???
Do you use any Eclipse's Plugin for GWT?

-- 
Eduardo Henrique(Hitek) - www.eduardohitek.blogspot.com
Desenvolvimento
SoftSite - www.softsite.com.br

--~--~-~--~~~---~--~~
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: Need for a great GWT GUI library

2008-12-20 Thread faizbash

More widget support will be added in GWT 1.6 which is anticipated in
Q1 2009.
Read more here: 
http://googlewebtoolkit.blogspot.com/2008/12/whats-ahead-for-google-web-toolkit_10.html
--~--~-~--~~~---~--~~
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: images don't show in IE

2008-12-20 Thread L Frohman
Thanks for catching that. It didn't fix the problem.



From: Kevin Tarn 
Sent: Saturday, December 20, 2008 5:31 AM
To: Google-Web-Toolkit@googlegroups.com 
Subject: Re: images don't show in IE


It might be not related though. But why do you call sos.flush after sos.close?

Kevin


On Sat, Dec 20, 2008 at 6:41 AM, L Frohman  wrote:


  Thanks,
  my servlet:

  public class ThumbnailServlet extends HttpServlet {
 private static Log s_logger = 
LogFactory.getLog(ThumbnailServlet.class);
 private static final long serialVersionUID = 1L;

 public void doGet(HttpServletRequest request, HttpServletResponse 
response)
  throws ServletException, IOException {
 response.setContentType("image/JPEG");
 ServletOutputStream sos = response.getOutputStream();
 BasicDataSource basicDataSource =
  
(BasicDataSource)WebApplicationContextUtils.getWebApplicationContext(getServletContext()).getBean("dataSource");
 try {
 Class.forName(basicDataSource.getDriverClassName());
 Connection conn = 
DriverManager.getConnection(basicDataSource.getUrl(),
  basicDataSource.getUsername(), basicDataSource.getPassword());
 Statement stmt = conn.createStatement();
 ResultSet rs = stmt.executeQuery("select thumbnail 
from construct_data
  where id_construct = " + request.getParameter("id"));
 if ( rs.next() ) {
 byte[] b = rs.getBytes(1);
 if (b!=null) {
 sos.write(b);
 }
 }
 stmt.close();
 rs.close();
 conn.close();
 }
 catch (Exception e) {
 s_logger.error("Failed request for thumbnail for ID: 
\"" +
  request.getParameter("id") + "\"", e);
 }
 sos.close();
 sos.flush();
 }

 public void doPost(HttpServletRequest request, HttpServletResponse
  response) throws ServletException, IOException {
...
 }
  }

  --
  From: 
  Sent: Friday, December 19, 2008 1:56 PM
  To: "Google Web Toolkit" 
  Subject: Re: images don't show in IE


  >
  > Are you doing some thing like response.setContentType("image/jpeg") in
  > your servlet.
  >
  > Perhaps posting some of you servlet might help.
  >
  > On Dec 19, 2:58 pm, "L Frohman"  wrote:
  >> My GWT page displays a bunch of .jpg images, and they display fine in all
  >> browsers, except for IE. The URL for the jpg image is a
  >> servlet that generates the jpg, so there is no ".jpg" extension. In IE,
  >> no images show, either in web or hosted mode. In hosted mode,
  >> I set a breakpoint on an onclick for a button, so I could click it and
  >> look at the page .html in the debugger. None
  >> of the __pendingSrc= in the img tag had changed to src=. Does anyone know
  >> what would cause this?
  > >







--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread ArunDhaJ

Nope. It too produces same error...

HTTP 400 - Bad request

Regards
ArunDhaJ
--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread Kevin Tarn
Can you successful run GWT's sample in shell?

Kevin

On Sun, Dec 21, 2008 at 12:46 AM, ArunDhaJ  wrote:

>
> They are perfectly intact. Assuming some gwt files got corrupted,
> replaced with fresh gwt package and created a new application. But
> still the problem persists.
>
> Regards
> ArunDhaJ
> >
>

--~--~-~--~~~---~--~~
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: shell fails loading

2008-12-20 Thread ArunDhaJ

They are perfectly intact. Assuming some gwt files got corrupted,
replaced with fresh gwt package and created a new application. But
still the problem persists.

Regards
ArunDhaJ
--~--~-~--~~~---~--~~
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 download file clicking in another component?

2008-12-20 Thread Romeryto Lira
Hi,

I need call a download's servlet when I click on Button or in Tree's node.
How to call a download's servlet for this?

Thanks.
--
"Se um dia tiver que escolher entre o mundo e o amor... Lembre-se:
Se escolher o mundo, ficará sem o amor, mas se escolher o amor,
com ele conquistará o mundo." (Albert Einstein)
╔╗
  ROMERYTO VIEIRA LIRA
  Bacharelando em Ciência da Computação - UFCG
  Membro do SegHidro2 - LSD - http://seghidro.lsd.ufcg.edu.br
  Membro do Grupo de Suporte Guardians - www.lcc.ufcg.edu.br
  Página Pessoal: http://romeryto.googlepages.com
  Blog: http://olhartecnologico.blogspot.com
╚╝

Pensou em imprimir este e-mail? Isto é mesmo necessário? Poupe o meio
ambiente.


--~--~-~--~~~---~--~~
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: images don't show in IE

2008-12-20 Thread Hermod Opstvedt
Hi

Make sure that you are not using % size for it - I had the same problem with
images in IE, and fixed it by using pixel size

Hermod

--~--~-~--~~~---~--~~
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 create a website using GWT

2008-12-20 Thread wouter

Venkat,

There is a GWT plugin for Netbeans that allows you to create a GWT
project. I tried it out and found it imposes a lot of choices I prefer
to make myself, especially since I don' t have Java on the
serverside.

Having discarded the plugin, I discovered it's quite easy to create a
GWT client project (with the project builder tool) and let Netbeans
treat it as a common java project. I just had to write a build.xml to
compile and upload my project. My server code is PHP and I treat it as
a separate project in Netbeans.

And perhaps there are other options I didn't consider. Anyway,
Netbeans is a suitable IDE for GWT development. What tools you use and
how is up to you and will certainly depend on the architecture of your
project.

Wouter

--~--~-~--~~~---~--~~
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: send file to browser

2008-12-20 Thread Martin Miethe

Thanks a lot.

Martin


On 19 Dez., 19:22, Jason Essington  wrote:
> Yup, open a new window with a location pointing to your existing JSP,  
> and your browser will perform the download, and your GWT app in the  
> main window will not be unloaded.
>
> -jason
> On Dec 19, 2008, at 3:03 PM, todd.sei...@gmail.com wrote:
>
>
>
> > Keep doing what you have been doing. GWT does not provide anything for
> > file downloading. Just add links to you content in your GWT app.
>
> > On Dec 19, 2:51 pm, Martin Miethe  wrote:
> >> Hi Newsgroup,
>
> >> I want to send a file to the client browser (offered as download to
> >> the user). The file will be created after a user action and will be
> >> stored physicaly on the server.
>
> >> Using traditional JSP, I would set content type and header to the
> >> response, read the file on the server and
> >> send everything to the out variable of a JSP.
>
> >> Now I am a bit lost...how can I achieve this using GWT?
>
> >> Thanks a lot in advance,
> >> Martin
--~--~-~--~~~---~--~~
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 create a website using GWT

2008-12-20 Thread Kevin Tarn
Please follow below link information:
https://gwt4nb.dev.java.net/

Kevin

On Sat, Dec 20, 2008 at 9:19 PM, Venkat  wrote:

>
> Hi All,
>
> I am new to GWT, I would like to know how to create a website using
> GWT in Netbeans, I mean not with controls as we use in Eclipse IDE. I
> am sorry .If I am not clear.
>
> Thanks
> Venkat
> >
>

--~--~-~--~~~---~--~~
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: images don't show in IE

2008-12-20 Thread Kevin Tarn
It might be not related though. But why do you call sos.flush after
sos.close?

Kevin

On Sat, Dec 20, 2008 at 6:41 AM, L Frohman  wrote:

>
> Thanks,
> my servlet:
>
> public class ThumbnailServlet extends HttpServlet {
>private static Log s_logger =
> LogFactory.getLog(ThumbnailServlet.class);
>private static final long serialVersionUID = 1L;
>
>public void doGet(HttpServletRequest request, HttpServletResponse
> response)
> throws ServletException, IOException {
>response.setContentType("image/JPEG");
>ServletOutputStream sos = response.getOutputStream();
>BasicDataSource basicDataSource =
>
> (BasicDataSource)WebApplicationContextUtils.getWebApplicationContext(getServletContext()).getBean("dataSource");
>try {
>Class.forName(basicDataSource.getDriverClassName());
>Connection conn =
> DriverManager.getConnection(basicDataSource.getUrl(),
> basicDataSource.getUsername(), basicDataSource.getPassword());
>Statement stmt = conn.createStatement();
>ResultSet rs = stmt.executeQuery("select thumbnail
> from construct_data
> where id_construct = " + request.getParameter("id"));
>if ( rs.next() ) {
>byte[] b = rs.getBytes(1);
>if (b!=null) {
>sos.write(b);
>}
>}
>stmt.close();
>rs.close();
>conn.close();
>}
>catch (Exception e) {
>s_logger.error("Failed request for thumbnail for ID:
> \"" +
> request.getParameter("id") + "\"", e);
>}
>sos.close();
>sos.flush();
>}
>
>public void doPost(HttpServletRequest request, HttpServletResponse
> response) throws ServletException, IOException {
>   ...
>}
> }
>
> --
> From: 
> Sent: Friday, December 19, 2008 1:56 PM
> To: "Google Web Toolkit" 
> Subject: Re: images don't show in IE
>
> >
> > Are you doing some thing like response.setContentType("image/jpeg") in
> > your servlet.
> >
> > Perhaps posting some of you servlet might help.
> >
> > On Dec 19, 2:58 pm, "L Frohman"  wrote:
> >> My GWT page displays a bunch of .jpg images, and they display fine in
> all
> >> browsers, except for IE. The URL for the jpg image is a
> >> servlet that generates the jpg, so there is no ".jpg" extension. In IE,
> >> no images show, either in web or hosted mode. In hosted mode,
> >> I set a breakpoint on an onclick for a button, so I could click it and
> >> look at the page .html in the debugger. None
> >> of the __pendingSrc= in the img tag had changed to src=. Does anyone
> know
> >> what would cause this?
> > >
>
> >
>

--~--~-~--~~~---~--~~
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 create a website using GWT

2008-12-20 Thread Venkat

Hi All,

I am new to GWT, I would like to know how to create a website using
GWT in Netbeans, I mean not with controls as we use in Eclipse IDE. I
am sorry .If I am not clear.

Thanks
Venkat
--~--~-~--~~~---~--~~
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 Transliteration library

2008-12-20 Thread gopinath.in....@gmail.com

Hi everyone,

Is there a way out, where we can use the technical advantage of GWT
and the Indic and other language support given by Google in to a
single project.

My application should allow Indic input while still I code it in 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
-~--~~~~--~~--~--~---



SV: images don't show in IE

2008-12-20 Thread Hermod

Hi

Most likely are you formatting the image using "%" - Try using pixels (At
least that solve a probmlem that I had that had se exact same symptoms)

Hermod 

-Opprinnelig melding-
Fra: Google-Web-Toolkit@googlegroups.com
[mailto:google-web-tool...@googlegroups.com] På vegne av L Frohman
Sendt: 19. desember 2008 23:42
Til: Google-Web-Toolkit@googlegroups.com
Emne: Re: images don't show in IE


Thanks,
my servlet:

public class ThumbnailServlet extends HttpServlet {
private static Log s_logger =
LogFactory.getLog(ThumbnailServlet.class);
private static final long serialVersionUID = 1L;

public void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
response.setContentType("image/JPEG");
ServletOutputStream sos = response.getOutputStream();
BasicDataSource basicDataSource =
(BasicDataSource)WebApplicationContextUtils.getWebApplicationContext(getServ
letContext()).getBean("dataSource");
try {
Class.forName(basicDataSource.getDriverClassName());
Connection conn =
DriverManager.getConnection(basicDataSource.getUrl(),
basicDataSource.getUsername(), basicDataSource.getPassword());
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select thumbnail
from construct_data where id_construct = " + request.getParameter("id"));
if ( rs.next() ) {
byte[] b = rs.getBytes(1);
if (b!=null) {
sos.write(b);
}
}
stmt.close();
rs.close();
conn.close();
}
catch (Exception e) {
s_logger.error("Failed request for thumbnail for ID:
\"" +
request.getParameter("id") + "\"", e);
}
sos.close();
sos.flush();
}

public void doPost(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
   ...
}
}

--
From: 
Sent: Friday, December 19, 2008 1:56 PM
To: "Google Web Toolkit" 
Subject: Re: images don't show in IE

>
> Are you doing some thing like response.setContentType("image/jpeg") in 
> your servlet.
>
> Perhaps posting some of you servlet might help.
>
> On Dec 19, 2:58 pm, "L Frohman"  wrote:
>> My GWT page displays a bunch of .jpg images, and they display fine in 
>> all browsers, except for IE. The URL for the jpg image is a servlet 
>> that generates the jpg, so there is no ".jpg" extension. In IE, no 
>> images show, either in web or hosted mode. In hosted mode, I set a 
>> breakpoint on an onclick for a button, so I could click it and look 
>> at the page .html in the debugger. None of the __pendingSrc= in the 
>> img tag had changed to src=. Does anyone know what would cause this?
> > 



--~--~-~--~~~---~--~~
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: Programmatically scroll text within textbox.

2008-12-20 Thread evgeniy

I've tried - no changes, cursor goes to the right also and only left-
most part is displaying...

On Dec 19, 10:59 pm, "todd.sei...@gmail.com" 
wrote:
> Try setting the cursor 
> position.http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...)
>
> On Dec 19, 4:53 pm, evgeniy  wrote:
>
> > My problem is following:
> > I have a TextBox and a 'virtual' keyboard made of Buttons. Each button
> > has ClickListener:
> > ...
> > public void onClick(Widget button) {
> >     //update target;
> >     textBox.setText(target.getText() + ((Button)button).getText());}
>
> > ...
> > The text of TextBox is updated, but if content of TextBox become
> > longer then width of TextBox then TextBox doesn't scroll text to the
> > left as it does when you type something using keyboard - when content
> > grows last-added letters are hidden on the right. Is there any way
> > programmatically force TextBox to show right-most part (most recently
> > added) of its content?
>
> > Regards, Evgeniy
--~--~-~--~~~---~--~~
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: setCookie problem using IE7

2008-12-20 Thread frank.wyna...@gmail.com

This time I really found the problem...

The problem is I am hosting this website from my home with a dynamic
IP. So I am using dyndns (http://stadsomroeper.dyndns.org/). I also
have a domein which should be used by the users  : http://www.stadsomroeper.be/

Now when I visit http://www.stadsomroeper.be/ using Google Chrome and
I look at the cookies I see that the domein for the cookie is:
stadsomroeperrsv.dyndns.org and not www.stadsomroeper.be. The problem
here is that IE7 sees this as 'indirect cookies' which aren't accepted
by default. When setting IE7 to 'Accept al cookies' mode it works no
problem.

Now the next part is to find a solution.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---