GWT 1.5 on JDK 1.4

2008-12-06 Thread sarav
This may sound amateur, but is it possible to use GWT 1.5 with J2SDK 1.4.2 ? Or JDK 1.5 is required? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: gwt compilation error with XmlSeeAlso and XmlElement annotation.

2008-12-06 Thread Alan
Hi, Jason. Does commenting out @XmlSeeAlso affected on your xml binding? I'm not jaxb guru, but I think it can brake marshalling of that class. On Oct 9, 9:01 am, jason [EMAIL PROTECTED] wrote:  The real problem is the @XmlSeeAlso.    I commented it out from Paragarph.class.  Gwt still report

Re: gwt compilation error with XmlSeeAlso and XmlElement annotation.

2008-12-06 Thread Alan
I'm sorry for multiple posts in row. I've made a mistake in previous post: brake instead of break. According to javadocs on @XmlSeeAlso commenting it out can break instantiation of JAXBContext but it could be easily worked around and doesn't affects my project. I am using list of all

More CSS layout in GWT user widgets?

2008-12-06 Thread Mark Renouf
Does anyone know if work is underway or planned to improve more modern panels and controls using CSS for styling? We've decided to drop IE6 support and now use lots of CSS to layout our application. I've never liked how many nested tables you end up with while using the standard widgets. They

Re: Style issues with VerticalPanel vs FlowPanel

2008-12-06 Thread gregor
Hi Dave, you could: a) allocate your anchors to the VP in a method that calls the required Vp setCellHeight(widget,height) method conveniently, e.g.: private void addAnchor(MyAnchor anchor) { myVP.add(anchor); myVP.setCellHeight(anchor,nnpx); } b) use a Grid with one column. Grid

Re: Popup Panel

2008-12-06 Thread Pavel Byles
I've never used deferred commands before and your solution does sound better. If I were to do what you said is this what the code would somewhat look like (below)? public class CallingClass { private Command yesCommand; private Command noCommand; public CallingClass() { yesCommand new

Re: Popup Panel

2008-12-06 Thread Pavel Byles
oops, -panel.Add(new AlertClass(yesCommand)); +panel.Add(new AlertClass(yesCommand, noCommand)); On Sat, Dec 6, 2008 at 11:03 AM, Pavel Byles [EMAIL PROTECTED] wrote: I've never used deferred commands before and your solution does sound better. If I were to do what you said is this what the

Re: Style issues with VerticalPanel vs FlowPanel

2008-12-06 Thread David H. Cook
Damn, I spoke too soon. The code compiles cleanly, but doesn't have any visual effect at all. [The cellsize parameter is a string, so I'm using stuff like 10px or 50px, right?] Tried making cellsize BIGGER...no effect. Smaller, no effect. [Something else must be in charge...the fontsize of

Re: Transfer Objects classes

2008-12-06 Thread Jason Kreigg
Hi, I found the solution: I have exported my project A (that contain the DTO classes) to a JAR file containing source code seeming like standard GWT JARS (I’ve compared my JAR with GWT JAR and I haven’t found any structure difference) and I modified compilation batch (java –cp) pointing to this

Re: Eclipse issues

2008-12-06 Thread Wualla
Hi I tried creating a new project using applicationCreator and projectCreator. Eclipse was still looking for GWT libraries in the old GWT location. How can I reconfigure Eclipse to use the new location...? I know this is a problem I created for myself, what's new? :) On Dec 4, 12:19 am, Michel

Why doesn't TextArea Source Mouse Events?

2008-12-06 Thread mike.burba
All: We are currently using GWT 1.4.62. I have a requirement to copy and paste a sentence out of a paragraph. What is the best way to do this? Initially we have used a TextArea to contain the paragraph, then call getSelectedText() when the paste button is clicked. However, users are telling

Re: Launch configuration FirstProject references non-existing project FirstProject.

2008-12-06 Thread Mandar Vaze
Justine, I'm also running into same error. Where you able to resolve it ? I'm also using Eclipse Ganymede with JDK 1.6.0_10 Can anyone else help resolve this issue ? -Mandar On Jul 4, 5:13 am, Justine [EMAIL PROTECTED] wrote: Hey All! I just started a practice project for my first try

ListBox [Beginner]

2008-12-06 Thread agon84
Hello, since a few days i ve started with gwt. now i will created a gui. i think it isn't a big problem, but i am not able to go further, cause i vn't any idea to fix it. i ve created two listbox's and after i pressed run, the listbox's are standing side by side or they are standing on upon an

Re: ListBox [Beginner]

2008-12-06 Thread gregor
Hi agon, FlowPanel is probably not your best bet here. You'll most likely never get it to do what you want. There are millions of ways to organize your display, but you could try something like this: 1) change your main panel (currently FlowPanel) to DockPanel. Then you can put your header

Re: Style issues with VerticalPanel vs FlowPanel

2008-12-06 Thread David H. Cook
Ok, finally solved it. I had my own project-specific .CSS file with default values for about every html element that exists! Removing it didn't help...some other default values (that Google supplies?) were still in effect. But, the fix was to go into my proj-specific .CSS and make all table-

How to clear TextBoxes from within onClick method?

2008-12-06 Thread BobM
I am trying to learn GWT by putting a GWT front end on and existing application which already has a web (HTML and JavaScript) fornt end. I have a page coded with the visible widgets. I now want to code behavior into the buttons, etc. I have a clear button. When clicked, I want it to setText

URL that is launced in Hosted Mode

2008-12-06 Thread funwithgwt
Hi, Question 1: My URL in hosted mode looks like this: http://localhost:/com.mywebsite.MyBlog/MyBlog.html I would like the application to be launced in hosted mode so that it looks like this: http://localhost:/MyBlog.html I have multiple modules. When I deploy these modules I will be

Size of code download in GWT

2008-12-06 Thread funwithgwt
Hi, I have a question about the size of downloaded code for GWT applications. I notice that the Modlename.js file that is included in the ModuleName.html file is quite small. I am looking at 5K approx. However the generated html files, which are generated on a per browser basis are quite large

Re: How to clear TextBoxes from within onClick method?

2008-12-06 Thread Pavel Byles
Exactly why can't you make the TextBox(es) final? AFAIK you _can_ make something final and still enter text into it... It'd defeat the purpose of a TextBox if you couldn't enter stuff into it. On Sat, Dec 6, 2008 at 4:08 PM, BobM [EMAIL PROTECTED] wrote: I am trying to learn GWT by putting a

FlowPanel does not work as expected when a Panel is added to it

2008-12-06 Thread mayop100
I'm trying to use a FlowPanel to lay out some widgets I created. I was able to get it to lay out checkboxes and labels, just fine, but if I add something more complex, like a Panel, everything shows up on its own row. Following is some code that demonstrates the problem. With label, I was able to

Re: How to clear TextBoxes from within onClick method?

2008-12-06 Thread gregor
Hi Bob, The reason your IDE is complaining is because you are calling SomeWidget.textbox.setText(..) from a method inside an anonymous inner class (the ClickListener) which is itself inside clearButton, which in turn is a member of SomeWidget on the same level as the TextBoxes. As Pavel says you

Re: FlowPanel does not work as expected when a Panel is added to it

2008-12-06 Thread Ian Bambury
float:left; Ian http://examples.roughian.com 2008/12/7 mayop100 [EMAIL PROTECTED] I'm trying to use a FlowPanel to lay out some widgets I created. I was able to get it to lay out checkboxes and labels, just fine, but if I add something more complex, like a Panel, everything shows up on

Re: generating for all browsers

2008-12-06 Thread Arthur Kalmenson
It should do it automatically. You probably have permutation restrictions set up in your .gwt.xml module file. -- Arthur Kalmenson On Wed, Dec 3, 2008 at 1:08 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi...when i generate gwt app it only generates for ie6 and not for other browsers.

Re: Standard/Simple GWT CSS?

2008-12-06 Thread Arthur Kalmenson
What do you mean provide simple information? The standard theme gives you some basic GWT themes while you work through your application. The CSS class for each widget is available in the Javadoc. -- Arthur Kalmenson On Thu, Dec 4, 2008 at 10:50 AM, dhoffer [EMAIL PROTECTED] wrote: I'm

Re: How to add checkbox as header in table

2008-12-06 Thread Arthur Kalmenson
Although there are quite a few people who use ext stuff here, you're probably better off asking on that project's mailing list. This mailing list is specific to GWT. Keep in mind that gwt-ext and ExtGWT have almost nothing to do with GWT except in name. -- Arthur Kalmenson On Thu, Dec 4, 2008

Re: URL that is launced in Hosted Mode

2008-12-06 Thread Ian Bambury
Generally you have one html file which hosts your GWT app. If you want Blog2 (and I have a feeling you don't) then you need another project. (This is not always true, but it *is* always true for people asking the kind of questions you are asking - we've all been there) If you'd like to explain

Re: Size of code download in GWT

2008-12-06 Thread Ian Bambury
You probably have -style pretty or detailed. The site in my sig is about 220k per html file. Ian http://examples.roughian.com 2008/12/6 funwithgwt [EMAIL PROTECTED] Hi, I have a question about the size of downloaded code for GWT applications. I notice that the Modlename.js file that is

Re: Standard/Simple GWT CSS?

2008-12-06 Thread David Hoffer
Well I'm new to GWT and I don't know CSS. What I would like is CSS for the standard GWT widgets panels that would give some some standard look (such as a Windows platform look). I applied one of the standard GWT themes and it helped some, especially menus but buttons, trees, etc look quite bad.

Re: JUnit Tests RootPanel.get(id) returns Null

2008-12-06 Thread mountaineer
I have tried the following and still to no avail: - Invoked onModule load before invoking the assertion. It works if I use RootPanel.get() or RootPanel.get(null) (which is the same anyway). Anyone else encountered this problem? --~--~-~--~~~---~--~~ You

Re: Standard/Simple GWT CSS?

2008-12-06 Thread Ian Bambury
Desktop apps are styled by the OS to fit the look and feel. You don't get many desktop app designers. Some, but not many. No one asks for VB and PhotoShop. People don't expect web sites to look exactly like a Mac. Especially not on a Windows machine. HTML doesn't come with a standard (or any)

Suggestions with code design

2008-12-06 Thread Rohan Redkar
Hi everyone, My application requires the user to select a bunch of images from his system. Then I need to do modifications on these images(example aline them horizontally into a single image). I need some design suggestions on how I can achieve this? I guess, AWT cannot be directly used at the

How to have a layered panel?

2008-12-06 Thread Suri
Hey all, In GWT how would we create a layered panel/widget that basically acts like a semi-opaque screen for the stuff below it. Sort of looking like the screen is in a disabled mode. Thanks for any ideas. Suri --~--~-~--~~~---~--~~ You received this message

javascript setTimeout method isnt working

2008-12-06 Thread prat
public static native void repeatTime() /*-{ t=setTimeout(@com.google.gwt.client.myreminders::testtry()(),500); }-*/; public static void testtry(){ int i = Random.nextInt(); login_name.setText(+i); } login_name is TextBox where i want to dispaly random numbers at

Getting data out of gwt grid

2008-12-06 Thread Raz65
Hi, I'm a new member and I'm new to GWT. In the past week I've made quite good progress setting up an application to read data from mysql, and via rpc, populate combo boxes and grid on the client side. However, I'm stumped when it comes to returning records/fields back out out of the grid in

Pls tell the difference in 1st, 2nd and 3rd

2008-12-06 Thread prat
1) package mypackage; public MyUtilityClass { public static int computeLoanInterest(int amt, float interestRate, int term) { ... } public static native void defineBridgeMethod() /*-{ $wnd.computeLoanInterest = function(amt, intRate, term) { return

Re: How to have a layered panel?

2008-12-06 Thread olivier FRESSE
CSS is probably the way to go. A simple panel with a good css style may do the trick : some samples here : http://dev.opera.com/articles/view/css-and-opacity-methods-for-creating-tr/ 2008/12/7 Suri [EMAIL PROTECTED] Hey all, In GWT how would we create a layered panel/widget that basically

[gwt-contrib] Comment on WAR_Design_1_6 in google-web-toolkit

2008-12-06 Thread codesite-noreply
Comment by m.massenzio: +1 how did you manage to read my mind? This is exactly what I need :-) For more information: http://code.google.com/p/google-web-toolkit/wiki/WAR_Design_1_6 --~--~-~--~~~---~--~~

RR: CssResourceGenerator patch for GWT compiler bug (was Re: [gwt-contrib] Re: Very Strange Compiler Bug: Works in JDK1.5, fails in 1.6)

2008-12-06 Thread Ray Cromwell
Ok, this has become a pressing issue for me, a number of Chronoscope users are either unwilling or unable to use -Xss to work around the stack overflow bug. The attached patch temporarily fixes the bug until a more permanent fix can be done in the compiler. To review, the CssResourceGenerator

[gwt-contrib] Re: Ideas for simple but immediately-useful bits of data for SOYC

2008-12-06 Thread Ray Cromwell
It might be useful to record data on pruning, inlining, and DCE. If I were to take a guess, I would say that DCE is probably one of the more expensive AST passes given the number of visitors it runs. -Ray On Fri, Dec 5, 2008 at 9:06 PM, Bruce Johnson [EMAIL PROTECTED] wrote: Hi GWTC and