Re: Strange IE7 focus and width behavior.

2008-10-18 Thread [EMAIL PROTECTED]

On Oct 18, 10:35 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Oct 18, 3:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > The following gwt chat widget works fine under Chrome, Firefox,
> > Safari, and Opera but not under IE:
>
> >http://chatbotgame.com
>
> > Under IE7, there are two problems:
>
> > * the text input widget does not get focus until you have chatted
> > enough to scroll
>
> I got around this problem by setting focus to the reject widget and
> then (immediately) to the text input widget.  Strange.
>
>
>
> > * when it does start to scroll, it increases the width and there is
> > now a horizontal scrollbar (not just a vertical one)
>
> This is an IE "feature" to make up for the horizontal space lost when
> the vertical scroll bar appears.  Very annoying.

BTW, forcing the scroll bars to appear at all times does not solve
this problem; the scrollable area width still includes the width of
the vertical scrollbar.

Amir

>
> Amir
>
> > Any hints?
>
> > Amir
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: layout problem, panel size ignores setCellHeight("50%") ?

2008-10-18 Thread JohnMudd

Cool, I got issue number 3000.  Nice round number.
http://code.google.com/p/google-web-toolkit/issues/detail?id=3000


On Oct 18, 11:14 pm, JohnMudd <[EMAIL PROTECTED]> wrote:
> I have to hand it to you, your changes (summarized below) do produce
> the desired 50% height in the log message.  But it's getting a little
> off track from my original intention and it doesn't seem to help in
> compiled mode, my ultimate goal.  I think at this point I'll try
> reporting this as a bug and see what kind of response I get.
>
> <     appPanel.setCellHeight(bodyPanel, "50%");
> <     bodyPanel.setSize("100%", "100%");
> ---
>
> >     appPanel.setCellHeight(bodyPanel, "100%");
> >     bodyPanel.setSize("100%", "50%");
> >     bodyPanel.add(new HTML("X"));
>
> John
>
> On Oct 17, 11:05 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
>
> > Try this. Works for me. You might need a doctype
> > Ian
>
> >http://examples.roughian.com
>
> >         root.add(basePanel);
> >         basePanel.setSize("100%", "200px");
>
> >         basePanel.add(logPanel);
> >         basePanel.setCellWidth(logPanel, "30%");
> >         basePanel.setCellHeight(logPanel, "100%");
> >         logPanel.setSize("100%", "100%");
>
> >         basePanel.add(appPanel);
> >         basePanel.setCellWidth(appPanel, "70%");
> >         basePanel.setCellHeight(appPanel, "100%");
> >         appPanel.setSize("100%", "100%");
>
> >         appPanel.add(bodyPanel);
> >         appPanel.setCellWidth(bodyPanel, "100%");
> >         appPanel.setCellHeight(bodyPanel, "100%");
>
> >         bodyPanel.setSize("100%", "50%");
> >         bodyPanel.add(new HTML("X"));
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Strange IE7 focus and width behavior.

2008-10-18 Thread [EMAIL PROTECTED]

On Oct 18, 3:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The following gwt chat widget works fine under Chrome, Firefox,
> Safari, and Opera but not under IE:
>
> http://chatbotgame.com
>
> Under IE7, there are two problems:
>
> * the text input widget does not get focus until you have chatted
> enough to scroll

I got around this problem by setting focus to the reject widget and
then (immediately) to the text input widget.  Strange.

>
> * when it does start to scroll, it increases the width and there is
> now a horizontal scrollbar (not just a vertical one)
>

This is an IE "feature" to make up for the horizontal space lost when
the vertical scroll bar appears.  Very annoying.

Amir

> Any hints?
>
> Amir
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: layout problem, panel size ignores setCellHeight("50%") ?

2008-10-18 Thread JohnMudd

I have to hand it to you, your changes (summarized below) do produce
the desired 50% height in the log message.  But it's getting a little
off track from my original intention and it doesn't seem to help in
compiled mode, my ultimate goal.  I think at this point I'll try
reporting this as a bug and see what kind of response I get.

< appPanel.setCellHeight(bodyPanel, "50%");
< bodyPanel.setSize("100%", "100%");
---
> appPanel.setCellHeight(bodyPanel, "100%");
> bodyPanel.setSize("100%", "50%");
> bodyPanel.add(new HTML("X"));

John


On Oct 17, 11:05 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> Try this. Works for me. You might need a doctype
> Ian
>
> http://examples.roughian.com
>
>         root.add(basePanel);
>         basePanel.setSize("100%", "200px");
>
>         basePanel.add(logPanel);
>         basePanel.setCellWidth(logPanel, "30%");
>         basePanel.setCellHeight(logPanel, "100%");
>         logPanel.setSize("100%", "100%");
>
>         basePanel.add(appPanel);
>         basePanel.setCellWidth(appPanel, "70%");
>         basePanel.setCellHeight(appPanel, "100%");
>         appPanel.setSize("100%", "100%");
>
>         appPanel.add(bodyPanel);
>         appPanel.setCellWidth(bodyPanel, "100%");
>         appPanel.setCellHeight(bodyPanel, "100%");
>
>         bodyPanel.setSize("100%", "50%");
>         bodyPanel.add(new HTML("X"));
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



OpenFlashChartGWT 1.0.1 released. New charts, bug fixes and new demo

2008-10-18 Thread gslender

Hi,

A new release of OFCGWT (OpenFlashChart for GWT) was released.

Version 1.0.1 is now available for download at http://code.google.com/p/ofcgwt/

This version contains new charts (radar and scatter) along with some
bug fixes.

In addition, a new demo has been produced that shows dynamic chart
changing and updating.

Join the group to discuss problems and feature requests :
http://groups.google.com/group/ofcgwt

Cheers,
Grant
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Help me!

2008-10-18 Thread Nguyen Kim Kha

Yeh! Thank you very much! I run it very well... But, do you think GWT
need the installer?

On Oct 19, 3:37 am, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> Read page 1 of the documentation
> 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Displaying a word document or any document saved as html

2008-10-18 Thread ET

Hello guys,

need help as to how to display a work document or any document saved
as html in gwt. Let's say I have my documents saved in the public
directory, test.doc, so when I click on a menu item I want to get the
document and display it in a vertical panel.

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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Help me!

2008-10-18 Thread Ian Bambury
Read page 1 of the documentation
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: question about Constants and Messages

2008-10-18 Thread Einstein0970

Hi Guys,

My Instantiation plugin was getting really slow because I was using
the default static final CONSTANT ... in each client classe for my
I18N translation strings

I have implemented a simgleton and my Instantiations plugin is a lot
faster. I guess Singleton does matter.

public class Locale {

private static final AppConstants CONSTANTS = (AppConstants)
GWT.create(AppConstants.class);
static Locale locale;

public static AppConstants getCONSTANTS() {
if (locale == null){
locale = new Locale();
}
return CONSTANTS;
}

private Locale(){

}

}


- Erick

On Sep 24, 6:19 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
> Yeah i like it better also!
>
> Xavier A. Mathews
> Student/Developer/Web-Master
> Client Based Tech Support
> Hazel Crest Illinois
> [EMAIL PROTECTED]
> "Fear of a name, only increases fear of the thing itself."
>
> On Wed, Sep 24, 2008 at 5:14 PM, Alex Rice <[EMAIL PROTECTED]> wrote:
>
> > Thanks, I like this technique.
>
> > On Sep 24, 3:46 pm, Reinier Zwitserloot <[EMAIL PROTECTED]> wrote:
> > > You can create the singleton inside the interface. e.g:
>
> > > public class MyImages implemens AbstractImageStoreThingie {
> > >     AbstractImagePrototype closeButton();
> > >     ... more AIPs.
>
> > >     public static MyImages STORE =
> > > (MyImages)GWT.create(MyImages.class);
>
> > > }
>
> > > Then you can just go:
>
> > > MyImages.STORE.closeButton();
>
> > > Looks a lot better than endless GWT.create() calls, regardless of
> > > whether GWT optimizes it or not.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Strange IE7 focus and width behavior.

2008-10-18 Thread [EMAIL PROTECTED]

Hi,

The following gwt chat widget works fine under Chrome, Firefox,
Safari, and Opera but not under IE:

http://chatbotgame.com

Under IE7, there are two problems:

* the text input widget does not get focus until you have chatted
enough to scroll

* when it does start to scroll, it increases the width and there is
now a horizontal scrollbar (not just a vertical one)

Any hints?

Amir
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Help me!

2008-10-18 Thread Nguyen Kim Kha

I can't run GWT. I installed JDK 6 update 10, and I run other
applications well. When I click on gwt-dev-windows.jar to run GWT,
nothing appears.

What are my errors?

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Hosted Mode and setFocus()/setTabIndex()

2008-10-18 Thread jbdhl

I have a problem with setFocus() and setTabIndex() in hosted mode:
None of the methods have any effect here. But when the application is
complied and tested in a regular browser (Firefox) both setFocus() and
setTabIndex() works fine. I guess this is a bug in the hosted mode
browser. Do you agree?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: FastStringMap is not public class

2008-10-18 Thread rakesh wagh

FYI:
http://code.google.com/p/google-web-toolkit/issues/detail?id=672&can=1&q=hashmap

On Oct 17, 6:52 pm, Andrej Harsani <[EMAIL PROTECTED]> wrote:
> I'm talking about com.google.gwt.user.client.ui.FastStringMap - class
> which is already in GWT...
>
> On Oct 18, 1:16 am, kozura <[EMAIL PROTECTED]> wrote:
>
> > Only a small subset of the Java library is emulated for use on the
> > client side; 
> > seehttp://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&t=RefJ
>
> > You can use any library you desire for server-side code, but on the
> > client everything has to be properly emulated to handle javascript and
> > browser compatibility issues, so is limited to the above set.  The "4x
> > better performance" might be true in Java, but does not correlate at
> > all to how it might be implemented in js!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: FastStringMap is not public class

2008-10-18 Thread rakesh wagh

u gotta make a copy and change the private to public. Seems to be the
only way for now. Check this thread:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/22c37ad1ba4950fc/d98c8ecb0b33b993?lnk=gst&q=FastStringMap#d98c8ecb0b33b993

Try to avoid string as keys in your hashmaps. We use longs, ints
etc... Default hahsmap implementation for string keys is relatively
slow.

Rakesh Wagh

On Oct 17, 6:52 pm, Andrej Harsani <[EMAIL PROTECTED]> wrote:
> I'm talking about com.google.gwt.user.client.ui.FastStringMap - class
> which is already in GWT...
>
> On Oct 18, 1:16 am, kozura <[EMAIL PROTECTED]> wrote:
>
> > Only a small subset of the Java library is emulated for use on the
> > client side; 
> > seehttp://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&t=RefJ
>
> > You can use any library you desire for server-side code, but on the
> > client everything has to be properly emulated to handle javascript and
> > browser compatibility issues, so is limited to the above set.  The "4x
> > better performance" might be true in Java, but does not correlate at
> > all to how it might be implemented in js!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



menu Spacing

2008-10-18 Thread Taff

Hi

I'm struggling with this.  For some reason when I use a background
image I get spaces between the menu items that i dont seem to be able
to get rid of.  f I dont have a background image on the menu item then
I don't get these spaces.

Any clues?  The code is as below, I've broken it out into a very
simple app to illustrate the point.  The menu separator image is just
a simple 1px * 20px image and the background image for the menu item
is 200 * 20.

Thanks

Andy

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.MenuItem;
import com.google.gwt.user.client.ui.MenuItemSeparator;
import com.google.gwt.user.client.ui.RootPanel;

public class TestFile implements EntryPoint {

Command command = new Command()
{
public void execute()
{
Window.alert("Command Fired");
}
};

  public void onModuleLoad() {

MenuBar mnu = new MenuBar();

MenuItem mnu1 = new MenuItem("Test", command);
MenuItem mnu2 = new MenuItem("Test1", command);
MenuItem mnu3 = new MenuItem("Test2", command);
MenuItem mnu4 = new MenuItem("Test3", command);
MenuItemSeparator sep = new MenuItemSeparator();
MenuItemSeparator sep1 = new MenuItemSeparator();
MenuItemSeparator sep2 = new MenuItemSeparator();

mnu1.setWidth("120");
mnu2.setWidth("120");
mnu3.setWidth("120");
mnu4.setWidth("120");

mnu.addItem(mnu1);
mnu.addSeparator(sep);
mnu.addItem(mnu2);
mnu.addSeparator(sep1);
mnu.addItem(mnu3);
mnu.addSeparator(sep2);
mnu.addItem(mnu4);

RootPanel.get().add(mnu);
  }
}

.gwt-MenuBar {
background:none;
}
.gwt-MenuBar .gwt-MenuItem {
background: url("Images/tnav_getstarted_wide.gif") no-repeat;
width: 150px;
height: 20px;
text-align: center;
vertical-align: middle;
color: white;
cursor: pointer;
cursor: hand;
font-size: .8em;
}
.gwt-MenuBar .gwt-MenuItem-selected {
background: url("Images/tnav_getstarted_wide_on.gif") no-repeat;
width: 150px;
height: 20px;
text-align: center;
vertical-align: middle;
color: white;
cursor: pointer;
cursor: hand;
font-size: .8em;
}
.gwt-MenuBar-horizontal .gwt-MenuItemSeparator {
width: 1px;
background: url("Images/tnav_separator.gif") no-repeat;
}

.gwt-MenuBar-horizontal .gwt-MenuItemSeparator .menuSeparatorInner {
width: 1px;
background: url("Images/tnav_separator.gif") no-repeat;
}


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Compilation appears to suspend/hang at "Linking compilation into..."

2008-10-18 Thread John





 makoki,

Thanks for your reply.  I let it "run" overnight and it's still
paused/hung/stopped at the step I listed.  In IntelliJ IDEA, it seems
that the compilation appears to finish as the IDE refreshes the
compiled classes, however, the Ant build window, or even the command
line, compile process never returns and always stays on the "Linking
compilation to..." step.

Strange issue.

Thanks,
John

makoki wrote:

  Seems some old annotations spec warning but no error,could be just
long compilation?
 we have a project that takes about 5 minutes.

On 18 oct, 00:07, John <[EMAIL PROTECTED]> wrote:
  
  
Hi,

I have a project that uses GWT 1.5.2 on Mac OSX and have run into a
problem that I cannot seem to work through.  Up until this morning,
the project compiled fine, however, now it hangs, or seems to hang at
the above phase of translating my Java code into GWT _javascript_.

Does anyone have any ideas on how to track this down?  I've tried to
eliminate the possibility of any dependency cycles in the classes,
which I don't have.

Here is where it stops:

[exec] Scanning for additional dependencies: jar:file:/Users/john/jars/
esa-gaf.jar!/com/esa/gaf/client/upload/FileUploadPanel.java
     [exec]    Computing all possible rebind results for
'com.esa.gaf.client.upload.FileUploadConstants'
     [exec]       Rebinding
com.esa.gaf.client.upload.FileUploadConstants
     [exec]          Invoking 
     [exec]             Checking for deprecated metadata
     [exec]                [WARN] Deprecated metadata found on
FileUploadConstants.domain;svn use annotations instead
     [exec]                [WARN] Deprecated metadata found on
FileUploadConstants.uploadPrompt;svn use annotations instead
     [exec]                [WARN] Deprecated metadata found on
FileUploadConstants.fileSeparator;svn use annotations instead
     [exec]                [WARN] Deprecated metadata found on
FileUploadConstants.uploadSubmitPrompt;svn use annotations instead
     [exec]                [WARN] Deprecated metadata found on
FileUploadConstants.directory;svn use annotations instead
     [exec]                [WARN] Deprecated metadata found on
FileUploadConstants.promptStyle;svn use annotations instead
     [exec] Compilation succeeded
     [exec] Linking compilation into /Users/john/dev/java/Recruiting/
www/com.esa.web.recruiting.app.Recruiting

I let the compilation continue, but it never progresses beyond this
point.

Any suggestions?

Thanks,
John

  
  
  



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en  -~--~~~~--~~--~--~---





Re: Problems rendering a simple panel!!

2008-10-18 Thread David G

I'm kicking myself now...that was obvious! Thanks for pointing it out
Ian and for your quick reply.

On Oct 18, 3:06 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> Get rid of the 'void' and turn the Space() method into a constructor
> Ian
>
> http://examples.roughian.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error on 64bit System

2008-10-18 Thread Pavel Byles
Ok. got it fixed. Thanks.

On Sat, Oct 18, 2008 at 9:03 AM, Pavel Byles <[EMAIL PROTECTED]> wrote:

> kjots,
> thanks. That in combination with GWT1.53 worked!!
>
> I am now getting this error when trying to launch hosted mode:
>
> ** Unable to find a usable Mozilla install **
> You may specify one in mozilla-hosted-browser.conf, see comments in the
> file for details.
>
> -Pavel
>
>
> On Thu, Oct 16, 2008 at 5:44 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi there.
>>
>> The libswt-pi-gtk-3235.so library is a 32-bit ELF object, so you will
>> have to use a 32-bit JVM when launching the GWT shell.
>>
>> Hope this helps.
>>
>> Cheers.
>>
>> --
>> Karl J. Ots
>>
>> On Oct 17, 8:35 am, "Pavel Byles" <[EMAIL PROTECTED]> wrote:
>> > I think the problem was an incorrectly compiled swt.jar.  I Found a
>> package
>> > that contained a good one.
>> > Now i'm getting:
>> > Exception in thread "main" java.lang.UnsatisfiedLinkError:
>> > /home/wikid/Code/GWT15/libswt-pi-gtk-3235.so:
>> > /home/wikid/Code/GWT15/libswt-pi-gtk-3235.so: wrong ELF class:
>> ELFCLASS32
>> > (Possible cause: architecture word width mismatch)
>> > at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>> > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
>> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
>> > at java.lang.Runtime.load0(Runtime.java:770)
>> > at java.lang.System.load(System.java:1005)
>> > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
>> > at org.eclipse.swt.internal.gtk.OS.(OS.java:22)
>> > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
>> > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
>> > at org.eclipse.swt.widgets.Display.(Display.java:126)
>> > at com.google.gwt.dev.GWTShell.(GWTShell.java:301)
>> > Could not find the main class: com.google.gwt.dev.GWTShell.  Program
>> will
>> > exit.
>> >
>> > Which says that the error is now with the libswt-pi-gtk-3235.so which
>> comes
>> > with GWT.
>> > Any help with this would really be appreciated.
>> >
>> > -Pavel
>> >
>> > On Thu, Oct 16, 2008 at 2:43 PM, Pavel Byles <[EMAIL PROTECTED]>
>> wrote:
>> > > gwt-dev-linux. It is in my classpath.
>> >
>> > > -Pavel
>> >
>> > > On Thu, Oct 16, 2008 at 2:21 PM, Perelman Nathan (Nathan) <
>> > > [EMAIL PROTECTED]> wrote:
>> >
>> > >>  I'm guessing that gwt-dev-linux.jar is not on your classpath. (Or
>> > >> whatever the correct gwt-dev jar is for your OS).
>> > >>  --
>> >
>> > >> *From:* Google-Web-Toolkit@googlegroups.com [mailto:
>> > >> [EMAIL PROTECTED] *On Behalf Of *Pavel Byles
>> > >> *Sent:* Thursday, October 16, 2008 15:09
>> > >> *To:* Google-Web-Toolkit@googlegroups.com
>> > >> *Subject:* Error on 64bit System
>> >
>> > >> I have just converted to using 64bit and I'm encountering some
>> problems
>> > >> configuring my GWT project which I created using Cypal Studio's
>> plugin.
>> > >> I am getting the following error:
>> >
>> > >> Exception in thread "main" java.lang.NoClassDefFoundError:
>> > >> org/eclipse/swt/internal/gtk/OS
>> > >> at
>> org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
>> > >> at
>> org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
>> > >> at org.eclipse.swt.widgets.Display.(Display.java:130)
>> > >> at com.google.gwt.dev.GWTShell.(GWTShell.java:301)
>> > >> Caused by: java.lang.ClassNotFoundException:
>> > >> org.eclipse.swt.internal.gtk.OS
>> > >> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> > >> at java.security.AccessController.doPrivileged(Native Method)
>> > >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> > >> at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
>> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> > >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>> > >> ... 4 more
>> > >> Could not find the main class: com.google.gwt.dev.GWTShell.  Program
>> will
>> > >> exit.
>> >
>> > >> The error seems to be correct, because there really isn't a GWTShell
>> class
>> > >> anywhere.
>> >
>> > >> I have followed the instruction on the Eclipse SWT page and build the
>> SWT
>> > >> jar for my system and copied to my JRE's lib/ext dir and it is
>> showing up in
>> > >> the build path correctly.
>> >
>> > >> The project I have definitely worked when I was on 32bit.  And when I
>> > >> created a new project it's giving the same error.
>> >
>> > >> Have I missed something?
>> >
>> > >> -Pavel
>> >
>> >
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
F

GWT 1.5.3 out

2008-10-18 Thread Charlie Collins

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/048413bdb6e5b292#%22

Makes my worlds collide, GWT and Android that is ;).

I will try to get some time to up the defaults in GWT-Maven soon, and
make a new release.  Note that things should work perfectly fine with
1.5.3 AS IS RIGHT NOW, if you set the correct versions and point to
the correct artifacts (don't know if it's in central).
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: modifying stylesheets in hosted mode

2008-10-18 Thread Ian Bambury
Me and several others.
It was reported in 1.2 and fixed in 1.4

Ian

http://examples.roughian.com


2008/10/18 r a f t <[EMAIL PROTECTED]>

>
> that old behaviour is really odd. maybe you faced a strange bug
>
> On Oct 17, 8:49 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> > Pressing F5 in hosted mode (without -noserver) will refresh the html host
> > page and its css files, but not the gwt.xml file or *its* css files
> AFAIAA.
> > Mine are always in the html (from back at a time where having 2 css files
> in
> > the gwt.xml file stopped the page from displaying unless you clicked on
> it)
> > and they work fine.
> > Ian
> >
> > http://examples.roughian.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problems rendering a simple panel!!

2008-10-18 Thread Ian Bambury
Get rid of the 'void' and turn the Space() method into a constructor
Ian

http://examples.roughian.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: modifying stylesheets in hosted mode

2008-10-18 Thread r a f t

that sounds good. although i'm a bit reluctant about using such
plugins, if it really makes my life easier why not use it :)
i have installed cypal but couldnt find how to use existing gwt
modules with it. do you know how ? anyway, i had posted the subject to
cypal group

regards,
r a f t

On Oct 18, 2:54 pm, "olivier nouguier" <[EMAIL PROTECTED]>
wrote:
> hi,
>  I've just test all those case:
>   - declare in module.xml or in host page doesn't change anything.
>   - hosted mode (-no server) or in webmode (compiled) works the same.
>
> With WTP resources (css, img ...) are "hot deployed"
>
> On Fri, Oct 17, 2008 at 5:22 PM, r a f t <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > hello Olivier,
>
> > so where are your stylesheets declared ? in module.xml or host page ?
>
> > On Oct 17, 6:11 pm, "olivier nouguier" <[EMAIL PROTECTED]>
> > wrote:
> > > hi,
> > >  I use Ubuntu / cypal  (&wtp) then with -noserver mode, the resources
> > (css,
> > > jsp etc ) are "hot deployed"
>
> > > On Fri, Oct 17, 2008 at 5:01 PM, r a f t <[EMAIL PROTECTED]>
> > wrote:
>
> > > > hi Shaffer,
>
> > > > what is your development platform ? i use linux (ubuntu) and use
> > > > noserver option for hosted mode. maybe they make the difference
>
> > > > r a f t
>
> > > > On Oct 17, 5:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > I've been able to make changes to the CSS and seen the effect by just
> > > > > refreshing the hosted mode browser.  I have noticed that it's not
> > 100%
> > > > > though, but haven't really pursued it much
>
> > > > > Not much help but that's the way today is shaking out
>
> > > > > Later,
>
> > > > > Shaffer
>
> > > > > On Oct 17, 8:29 am, r a f t <[EMAIL PROTECTED]> wrote:
>
> > > > > > hello,
>
> > > > > > is there a way of seeing results of a modified css file in hosted
> > mode
> > > > > > without re-compiling the module ? seems as reloading the page
> > without
> > > > > > a compilation has no effect.
>
> > > > > > thanks in advance,
> > > > > > r a f t
>
> > > --
> > > Si l'ignorance peut servir de consolation, elle n'en est pas moins
> > > illusoire.
>
> --
> Si l'ignorance peut servir de consolation, elle n'en est pas moins
> illusoire.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: modifying stylesheets in hosted mode

2008-10-18 Thread r a f t

that old behaviour is really odd. maybe you faced a strange bug

On Oct 17, 8:49 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> Pressing F5 in hosted mode (without -noserver) will refresh the html host
> page and its css files, but not the gwt.xml file or *its* css files AFAIAA.
> Mine are always in the html (from back at a time where having 2 css files in
> the gwt.xml file stopped the page from displaying unless you clicked on it)
> and they work fine.
> Ian
>
> http://examples.roughian.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error on 64bit System

2008-10-18 Thread Pavel Byles
kjots,
thanks. That in combination with GWT1.53 worked!!

I am now getting this error when trying to launch hosted mode:

** Unable to find a usable Mozilla install **
You may specify one in mozilla-hosted-browser.conf, see comments in the file
for details.

-Pavel

On Thu, Oct 16, 2008 at 5:44 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

>
> Hi there.
>
> The libswt-pi-gtk-3235.so library is a 32-bit ELF object, so you will
> have to use a 32-bit JVM when launching the GWT shell.
>
> Hope this helps.
>
> Cheers.
>
> --
> Karl J. Ots
>
> On Oct 17, 8:35 am, "Pavel Byles" <[EMAIL PROTECTED]> wrote:
> > I think the problem was an incorrectly compiled swt.jar.  I Found a
> package
> > that contained a good one.
> > Now i'm getting:
> > Exception in thread "main" java.lang.UnsatisfiedLinkError:
> > /home/wikid/Code/GWT15/libswt-pi-gtk-3235.so:
> > /home/wikid/Code/GWT15/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS32
> > (Possible cause: architecture word width mismatch)
> > at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
> > at java.lang.Runtime.load0(Runtime.java:770)
> > at java.lang.System.load(System.java:1005)
> > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
> > at org.eclipse.swt.internal.gtk.OS.(OS.java:22)
> > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
> > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
> > at org.eclipse.swt.widgets.Display.(Display.java:126)
> > at com.google.gwt.dev.GWTShell.(GWTShell.java:301)
> > Could not find the main class: com.google.gwt.dev.GWTShell.  Program will
> > exit.
> >
> > Which says that the error is now with the libswt-pi-gtk-3235.so which
> comes
> > with GWT.
> > Any help with this would really be appreciated.
> >
> > -Pavel
> >
> > On Thu, Oct 16, 2008 at 2:43 PM, Pavel Byles <[EMAIL PROTECTED]>
> wrote:
> > > gwt-dev-linux. It is in my classpath.
> >
> > > -Pavel
> >
> > > On Thu, Oct 16, 2008 at 2:21 PM, Perelman Nathan (Nathan) <
> > > [EMAIL PROTECTED]> wrote:
> >
> > >>  I'm guessing that gwt-dev-linux.jar is not on your classpath. (Or
> > >> whatever the correct gwt-dev jar is for your OS).
> > >>  --
> >
> > >> *From:* Google-Web-Toolkit@googlegroups.com [mailto:
> > >> [EMAIL PROTECTED] *On Behalf Of *Pavel Byles
> > >> *Sent:* Thursday, October 16, 2008 15:09
> > >> *To:* Google-Web-Toolkit@googlegroups.com
> > >> *Subject:* Error on 64bit System
> >
> > >> I have just converted to using 64bit and I'm encountering some
> problems
> > >> configuring my GWT project which I created using Cypal Studio's
> plugin.
> > >> I am getting the following error:
> >
> > >> Exception in thread "main" java.lang.NoClassDefFoundError:
> > >> org/eclipse/swt/internal/gtk/OS
> > >> at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
> > >> at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
> > >> at org.eclipse.swt.widgets.Display.(Display.java:130)
> > >> at com.google.gwt.dev.GWTShell.(GWTShell.java:301)
> > >> Caused by: java.lang.ClassNotFoundException:
> > >> org.eclipse.swt.internal.gtk.OS
> > >> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > >> at java.security.AccessController.doPrivileged(Native Method)
> > >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > >> at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> > >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> > >> ... 4 more
> > >> Could not find the main class: com.google.gwt.dev.GWTShell.  Program
> will
> > >> exit.
> >
> > >> The error seems to be correct, because there really isn't a GWTShell
> class
> > >> anywhere.
> >
> > >> I have followed the instruction on the Eclipse SWT page and build the
> SWT
> > >> jar for my system and copied to my JRE's lib/ext dir and it is showing
> up in
> > >> the build path correctly.
> >
> > >> The project I have definitely worked when I was on 32bit.  And when I
> > >> created a new project it's giving the same error.
> >
> > >> Have I missed something?
> >
> > >> -Pavel
> >
> >
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: modifying stylesheets in hosted mode

2008-10-18 Thread r a f t

you are right. eclipse automatically copies modified css files from
source folder to bin folder, but not to gwt output folder, since it
doesnt know the relation. i tried manually copying css file to gwt
output folder and all went ok. refresh button in hosted mode reflects
css updates

maybe there is a way to automatically do that (other than an plugin)
but i dont think so

thank you
r a f t

On Oct 17, 8:38 pm, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
> I think your assumption regarding refreshing the workspace may be mistaken.
> Unless you have installed a plugin that provides automatic synchronization
> of resources between the workspace and the server, you will have to take
> responsibility for keeping the server up to date yourself. You may be
> thinking of JVM HotSwap which applies to Java classes but not other
> resources.
>
> On Fri, Oct 17, 2008 at 11:14 AM, r a f t <[EMAIL PROTECTED]> wrote:
>
>
>
> > hi Isaac,
>
> > i launch tomcat within eclipse as my server. after modifying the CSS
> > files, refreshing the web project in eclipse (which i guess make a
> > deployement) seems to have no effect either. maybe that is because my
> > style sheet is declared in module.xml file. should i move declaration
> > to my host page (at least for development) ?
>
> > On Oct 17, 6:03 pm, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
> > > If you're using -noserver then you'll have to redeploy your CSS file(s)
> > to
> > > the server.
>
> > > On Fri, Oct 17, 2008 at 11:01 AM, r a f t <[EMAIL PROTECTED]>
> > wrote:
>
> > > > hi Shaffer,
>
> > > > what is your development platform ? i use linux (ubuntu) and use
> > > > noserver option for hosted mode. maybe they make the difference
>
> > > > r a f t
>
> > > > On Oct 17, 5:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > I've been able to make changes to the CSS and seen the effect by just
> > > > > refreshing the hosted mode browser.  I have noticed that it's not
> > 100%
> > > > > though, but haven't really pursued it much
>
> > > > > Not much help but that's the way today is shaking out
>
> > > > > Later,
>
> > > > > Shaffer
>
> > > > > On Oct 17, 8:29 am, r a f t <[EMAIL PROTECTED]> wrote:
>
> > > > > > hello,
>
> > > > > > is there a way of seeing results of a modified css file in hosted
> > mode
> > > > > > without re-compiling the module ? seems as reloading the page
> > without
> > > > > > a compilation has no effect.
>
> > > > > > thanks in advance,
> > > > > > r a f t
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Problems rendering a simple panel!!

2008-10-18 Thread David G

Hi everyone,

I know this works as I've done this extremely simple task on GWT
several times (I am using GWT-Ext but I think this is a GWT issue) but
for some reason, the default GWT project produced in NetBeans works
when I run it. However, as soon as I move the button and the label
into an external class and render it in mainEntryPoint as shown below,
nothing is rendered on my screen. Below is an example of my code:

/* My Panel Class */

public class Space extends Panel {

public void Space () {

final Label label = new Label("Hello, GWT!!!");
final Button button = new Button("Click me!");

button.addClickListener(new ClickListener(){
public void onClick(Widget w) {
label.setVisible(!label.isVisible());
}
});

this.add(label);
this.add(button);
}
}

/* Main Entry Point Class */

public class spacesEntryPoint implements EntryPoint {

/** Creates a new instance of spacesEntryPoint */
public spacesEntryPoint() {
}

/**
The entry point method, called automatically by loading a
module
that declares an implementing class as an entry-point
*/
public void onModuleLoad() {

Space newSpace = new Space();

RootPanel.get().add(newSpace);
}

}

The above code renders nothing, even playing with heights/widths and
viewing the HTML in FireBug shows nothing rendered. If anyone has a
clue on how to fix this extremely annoying issue please let me know!

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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: modifying stylesheets in hosted mode

2008-10-18 Thread Ian Bambury
Well, it must be a limitation of Linux. It works in Windows - has done for
years, literally.
Ian

http://examples.roughian.com


2008/10/18 olivier nouguier <[EMAIL PROTECTED]>

> hi,
>  I've just test all those case:
>   - declare in module.xml or in host page doesn't change anything.
>   - hosted mode (-no server) or in webmode (compiled) works the same.
>
> With WTP resources (css, img ...) are "hot deployed"
>
> On Fri, Oct 17, 2008 at 5:22 PM, r a f t <[EMAIL PROTECTED]> wrote:
>
>>
>> hello Olivier,
>>
>> so where are your stylesheets declared ? in module.xml or host page ?
>>
>> On Oct 17, 6:11 pm, "olivier nouguier" <[EMAIL PROTECTED]>
>> wrote:
>> > hi,
>> >  I use Ubuntu / cypal  (&wtp) then with -noserver mode, the resources
>> (css,
>> > jsp etc ) are "hot deployed"
>> >
>> > On Fri, Oct 17, 2008 at 5:01 PM, r a f t <[EMAIL PROTECTED]>
>> wrote:
>> >
>> >
>> >
>> >
>> >
>> > > hi Shaffer,
>> >
>> > > what is your development platform ? i use linux (ubuntu) and use
>> > > noserver option for hosted mode. maybe they make the difference
>> >
>> > > r a f t
>> >
>> > > On Oct 17, 5:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> > > wrote:
>> > > > I've been able to make changes to the CSS and seen the effect by
>> just
>> > > > refreshing the hosted mode browser.  I have noticed that it's not
>> 100%
>> > > > though, but haven't really pursued it much
>> >
>> > > > Not much help but that's the way today is shaking out
>> >
>> > > > Later,
>> >
>> > > > Shaffer
>> >
>> > > > On Oct 17, 8:29 am, r a f t <[EMAIL PROTECTED]> wrote:
>> >
>> > > > > hello,
>> >
>> > > > > is there a way of seeing results of a modified css file in hosted
>> mode
>> > > > > without re-compiling the module ? seems as reloading the page
>> without
>> > > > > a compilation has no effect.
>> >
>> > > > > thanks in advance,
>> > > > > r a f t
>> >
>> > --
>> > Si l'ignorance peut servir de consolation, elle n'en est pas moins
>> > illusoire.
>>
>>
>
>
> --
> Si l'ignorance peut servir de consolation, elle n'en est pas moins
> illusoire.
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: modifying stylesheets in hosted mode

2008-10-18 Thread olivier nouguier
hi,
 I've just test all those case:
  - declare in module.xml or in host page doesn't change anything.
  - hosted mode (-no server) or in webmode (compiled) works the same.

With WTP resources (css, img ...) are "hot deployed"

On Fri, Oct 17, 2008 at 5:22 PM, r a f t <[EMAIL PROTECTED]> wrote:

>
> hello Olivier,
>
> so where are your stylesheets declared ? in module.xml or host page ?
>
> On Oct 17, 6:11 pm, "olivier nouguier" <[EMAIL PROTECTED]>
> wrote:
> > hi,
> >  I use Ubuntu / cypal  (&wtp) then with -noserver mode, the resources
> (css,
> > jsp etc ) are "hot deployed"
> >
> > On Fri, Oct 17, 2008 at 5:01 PM, r a f t <[EMAIL PROTECTED]>
> wrote:
> >
> >
> >
> >
> >
> > > hi Shaffer,
> >
> > > what is your development platform ? i use linux (ubuntu) and use
> > > noserver option for hosted mode. maybe they make the difference
> >
> > > r a f t
> >
> > > On Oct 17, 5:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > > wrote:
> > > > I've been able to make changes to the CSS and seen the effect by just
> > > > refreshing the hosted mode browser.  I have noticed that it's not
> 100%
> > > > though, but haven't really pursued it much
> >
> > > > Not much help but that's the way today is shaking out
> >
> > > > Later,
> >
> > > > Shaffer
> >
> > > > On Oct 17, 8:29 am, r a f t <[EMAIL PROTECTED]> wrote:
> >
> > > > > hello,
> >
> > > > > is there a way of seeing results of a modified css file in hosted
> mode
> > > > > without re-compiling the module ? seems as reloading the page
> without
> > > > > a compilation has no effect.
> >
> > > > > thanks in advance,
> > > > > r a f t
> >
> > --
> > Si l'ignorance peut servir de consolation, elle n'en est pas moins
> > illusoire.
> >
>


-- 
Si l'ignorance peut servir de consolation, elle n'en est pas moins
illusoire.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to check existence a table in database

2008-10-18 Thread gregor

This group is not about databases, it's about GWT. You need to:

a) select your preferred database and buy/download/install it
b) download a suitable JDBC driver library (i.e. a JAR file) for it
(look for links on DB web site)
c) Use your database's web site for tutorials/forums to learn how to
create and set up an application database with it
d) Google e.g. "JDBC tutorial" to find out how to read from and write
to DB tables from Java code
e) Create your database and write some test programs to read and write
from it in Java.

Do this first, then start work on accessing your data from your GWT
application via RPC - we can help you here if you have any problems
with that. You do not typically create database tables from
application code - you would typically set up your tables, and the
relationships between them, using a separate SQL script.

regards
gregor


On Oct 18, 8:19 am, avd <[EMAIL PROTECTED]> wrote:
> Hello Sir,
> Thank you for giving me reply my privious problem thats very helpful
> for me.
> my problem is How to check that a table is exist in database or not
> and if a table is not exist in database then how to create a new
> table?
>
> With regards
> Avdhesh
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to check existence a table in database

2008-10-18 Thread Lothar Kimmeringer

avd schrieb:

> my problem is How to check that a table is exist in database or not
> and if a table is not exist in database

jdbcConnection.getMetaData().getTables(...)
see e.g.
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/DatabaseMetaData.html#getTables(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String[])
for more details.

> then how to create a new table?

You have to get a statement-instance from the connection and
execute the corresponding create-statement. The create-statement
is in most cases database-dependent, so there is no independent
way, I'm aware of to solve this.

My solution is a properties-files containing all statements
for the different databases, so in dependence of the database,
the correct statement(s) are executed.

If you want to know more about this, this group is in my eyes
the wrong one. The newsgroup comp.lang.java.databases is a
better place for that (also available via Google Groups).


Regards, Lothar

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: New GWT application to try - Leeloo Chat

2008-10-18 Thread Joël Bourquard

Here is the URL:   http://leeloo.webhop.net
Have fun ;-)
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



New GWT application to try - Leeloo Chat

2008-10-18 Thread Joël Bourquard

Hi all,

A few weeks ago I've published a new GWT application called Leeloo
Chat, which has received many improvements ever since. It got featured
at ongwt.com, and is among the winners in the gwtsite.com contest !

It has both the features you'd expect from a chat (public discussion,
private messages, contact list etc) and more advanced features: rich
text messaging with pictures, profile with picture, mutual dialog
detection, language detection (coming soon) and many more to come !

Best of all: it requires no personal info (not even your e-mail
address) to subscribe.

So, if you have not tried it yet, please don't hesitate because I need
a lot of feedback (and also a lot of members) to continue the
project !!

Greetings to all,

Joël
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT and Firefox

2008-10-18 Thread Taff

Finally sorted this.

I'm ashamed to say it was "coder error".  All those hours assuming it
was some kind of Firefox incompatibility when all the time it was an
extra "{" in one of the element definitions in my css file.

I only twigged it by taking it back to basics.

So basically IE is less fussy when it comes to syntax within your CSS
files.

You live and learn

Andy

On Oct 15, 12:03 am, Taff <[EMAIL PROTECTED]> wrote:
> yea, I did that and it didnt change anything sadly, now it says it
> using the
>
> .gwt-StackPanel {
>
> but it's just blank in firebug.  I suspect it's just not loading my
> css file.
>
> I'll retire hurt for today and try again tomorrow, just frustrating
> that this is so different between IE and FF
>
> and tips overnight will be greatfully received. thanks Perelman
>
> `andy
>
> On Oct 14, 11:53 pm, "Perelman Nathan (Nathan)"
>
> <[EMAIL PROTECTED]> wrote:
> > I'm pretty sure that if you remove or comment out (with  
> > since this is xml) the following line in your .gwt.xml file, it will stop 
> > including standard.css:
> > 
>
> > I'm not sure that this is really your problem though. Make sure your 
> > elements have the class you want applied to them maybe?
>
> > -Original Message-
> > From: Google-Web-Toolkit@googlegroups.com [mailto:[EMAIL PROTECTED] On 
> > Behalf Of Taff
> > Sent: Tuesday, October 14, 2008 18:39
> > To: Google Web Toolkit
> > Subject: Re: GWT and Firefox
>
> > Very odd, this is what I see in firebug
>
> > 
> > 
> > 
>
> > I've changed the default
>
> > .gwt-StackPanel {
>
> > }
> >  with
>
> > .bdftgwt-StackPanel {
>
> > }
>
> > it seems to pick up my new one and then revert back to the default
> > standard.css one ... totally baffled :(
>
> > Do I need to exclude the standard.css in some way?  If so how do I do
> > that?  Manually?  or is that going to be a post operation for the ANT
> > script?
>
> > Sorry for so many questions but i'm a newbies ot GWT
>
> > Thanks
>
> > Andy
>
> > On Oct 14, 11:20 pm, Taff <[EMAIL PROTECTED]> wrote:
> > > Top Tip!!  thanks
>
> > > OK, so that partially answers the question, at least now I can see
> > > that my overiden css elements are being ignored for the standard.css
> > > ones.
>
> > > So, question - does this mean that I have to rename mine and then use
> > > the SetStyle method to get this working?
>
> > > .gwt-StackPanel {
>
> > > }
>
> > > .gwt-StackPanelItem gwt-StackPanelItem-first{
> > >         }
>
> > > .gwt-StackPanel .gwt-StackPanelItem {
> > >         }
>
> > > On Oct 14, 10:57 pm, "Perelman Nathan (Nathan)"
>
> > > <[EMAIL PROTECTED]> wrote:
> > > > Try using Firebug (it's a Firefox plugin) to find out what styles (if 
> > > > any) are being applied and where they come from.
>
> > > > -Original Message-
> > > > From: Google-Web-Toolkit@googlegroups.com [mailto:[EMAIL PROTECTED] On 
> > > > Behalf Of Taff
> > > > Sent: Tuesday, October 14, 2008 17:47
> > > > To: Google Web Toolkit
> > > > Subject: Re: GWT and Firefox
>
> > > > It's very frustrating.
>
> > > > I suspect a number of things "maybe" causing the problem
>
> > > > a) My app is not picking up the css file from the Module xml file.
> > > > b) It could be because my app has mixed Upper and Lower case chars in
> > > > it BDFTReportManager
> > > > c) Something to do with a missing inherits flag in the module file,
> > > > mine is a very simple proof of concept app at this stage and has no
> > > > RPC stuff in it, so I can't see why
> > > > d) I've tried dynamically loading the css file in the HTML file with a
> > > > standard  flag
> > > > e) I'm using a StackedPanel and TabPanel and these are the 2 where the
> > > > standard css settigns are not working and they just default back to
> > > > the default set.
> > > > f) I've tried to ensure that i am using the SetStyle method to force
> > > > the code to use the right css setting ... no luck.
>
> > > > I am just totally baffled, and I'm pretty sure it'll be something
> > > > really simple we just need a GWT expert to shine the light on it
>
> > > > On Oct 14, 8:19 pm, grasshopper <[EMAIL PROTECTED]> wrote:
> > > > > I am having exactly the same problem.
>
> > > > > GWT 1.5, IF 7, FF 3
>
> > > > > On Oct 14, 11:26 am, Taff <[EMAIL PROTECTED]> wrote:
>
> > > > > > Hi
>
> > > > > > I'm sure this has been raised before, however I'm new to the product
> > > > > > and can't find any threads on this
>
> > > > > > MY new app works fine in IE and not in Firefox.  For some reason the
> > > > > > app does not pick up the app stylesheet in firefox like it does in 
> > > > > > IE.
>
> > > > > > I've tried every which way, but to no avail.  Is there something I'm
> > > > > > missing.
>
> > > > > > Also I code on my mac at home and PC in the office and none of the
> > > > > > rendering seems to be that portable.
>
> > > > > > Any pointers would be much appreciated
>
> > > > > > Thanks
>
> > > > > > Andy
--~--~-~--~~~---~--~~
You received this message because you ar

How to check existence a table in database

2008-10-18 Thread avd

Hello Sir,
Thank you for giving me reply my privious problem thats very helpful
for me.
my problem is How to check that a table is exist in database or not
and if a table is not exist in database then how to create a new
table?




With regards
Avdhesh
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT- oogle app engine communication using Json

2008-10-18 Thread ajay jetti
Hi Sumit

thanks for replying

im trying to develop a GWT applicatio using Google app engine as backend .
So i need a way to communicate GWT to python, I figured out PGR, but its
alpha and i have comeacross lot of bugs and cant proceed with it.

Json is the next option, i m able to understand how to use JSON , i have
seen and executed examples on the net  which fetch URL to execute something
on the server.

All i want is say for example i have a basic GWT screen with user id and
password. Userid and Password fields are stored in the Gdata . How can i
write a service in python (backend GAE) and call it from GWT, i just need
the steps, do this , do that, thats all.

I have been trying to ask this since ages now, and havent got any reply
since a month, and i m still trying.

This is the example that i was talking about, but it doesnt specify how to
pass data back and forth
http://www.bestechvideos.com/2008/04/14/using-java-gwt-with-google-app-engine

Please Help
Ajay

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---