Re: New to Gwt

2008-09-11 Thread Darth
If you're looking for a GUI designer you might want to try GWT Designer (http://www.instantiations.com/gwtdesigner/) for eclipse, it's the only one I can think of. They have a free trial so you can try it out first and see if you like it. :) On Sep 11, 1:23 pm, Gaurav <[EMAIL PROTECTED]> wrote: >

Problem running GWTComplier in an ant script

2008-09-11 Thread Ryan
hi everybody, I have this particular problem while running an ant script. When I try to run the gwt compiler in the ant script I get the following messages. [TRACE] Loading module 'com.x.y' [TRACE] Translatable source found in... [WARN] No source path entries; expect subsequent failures [INFO]

gwt-google-apis (maps): Subclass Marker

2008-09-11 Thread Alberto Núñez
Hi all, I want to subclass Marker in order to use a JavaScript library (LabeledMarker) that provides a subclass of GMarker. Is there any way I can do that without rewriting the whole Marker and MarkerImpl classes? Regards, Alberto. --~--~-~--~~~---~--~~ You receive

GWT 1.52 Compile error

2008-09-11 Thread timmys
Hi, I'm trying to upgrade my GWT 1.4 project to 1.52. But I get this strange exception when invoking the compiler. I can compile the exact same code with 1.4 perfectly. Has anyone seen this before? Exception in thread "main" sun.misc.InvalidJarIndexException: Invalid index at sun.misc.UR

Re: Download file with GWT

2008-09-11 Thread Simon Rydberg
I'm having the same problem.. I have a servlet that I make a POST ( I can't do a GET request because I send a lot of data to the servlet ) request with the RequestBuilder to the servlet and it recives all the data, creates, in my case an excel file and then the client recives the responce in a Req

Re: Problem running GWTComplier in an ant script

2008-09-11 Thread Folke
Put the following entries on your classpath. In this order. 1. source directories of your project 2. class/output directories of generator classes if any 3. JARs of required modules 4. gwt-user.jar 5. gwt-dev-xxx.jar On Sep 11, 9:29 am, Ryan <[EMAIL PROTECTED]> wrote: > hi everybody, > > I have

Re: Using RPC for SQL

2008-09-11 Thread eggsy84
Hi there I have wrote a tutorial on using Spring, Hibernate and GWT. Hibernate if you haven't used it before its a Java Persistence system for managing databases and persistent objects and this is a good way to implement a database system. The tutorial assumes some knowledge of Hibernate so you

Re: Download file with GWT

2008-09-11 Thread Manik Chand
Hi, I have a piece of code please check it. I tried this and successful in receiving file. My file type is ".txt". // //Write A servlet class extending HttpServerlet inside doGet method write this. resp.setContentType("application/csv"); resp.setHeader("

GWT help and search functions

2008-09-11 Thread Christopher
Hello All I have a repository system software. I want to add a help and search module to it for users to know how to use the software. The UI is simple the left hand will contain the links and its corresponding contents will be displayed on the right hand side. My trouble is how can i add th

Re: Download file with GWT

2008-09-11 Thread Folke
Plan A: Storing the file on the server. 1. Submit the data to the server 2. The server converts and stores the Excel data (temporarily) and assigns an ID 3. ID is sent back to the client 4. Open a new window or use an iframe with the download URL containing the ID as GET parameter 5. Server sends

Re: Alternative to Image Bundles?

2008-09-11 Thread Manik Chand
Hi, GWT.getModuleBaseURL() + "img/image1_up.jpg"; above url is perfect. Now I am elaborating it:- a image in browser have a separate connection to the server. this happens if every image know its URL. In your example when you are running in hosted mode jvm pick images from public folder, which is

Re: Default filename in FileUpload?

2008-09-11 Thread Thomas Broyer
On 10 sep, 03:00, JohnnyGWT <[EMAIL PROTECTED]> wrote: > I realize you're not usually allowed to provide a default filename in > FileUpload, and that browsers typically do not support it (IE?) and > that it > represents a security threat and that you setting the value, etc etc > > That said, has

Re: How to add the same Widget several times into one Panel

2008-09-11 Thread Thomas Broyer
On 10 sep, 23:17, "kaspar.ru" <[EMAIL PROTECTED]> wrote: > it seems inconvenient. In this case I've to synchronize the state > between them I don't now any other widget lib (I mean, even outside the HTML/DOM world: Java Swing, .NET Windows Forms, .NET WPF, etc.) where a widget could have more t

Re: gwt-google-apis (maps): Subclass Marker

2008-09-11 Thread Eric Ayers
You're not the first person to want to do this. I made this change in the trunk a while ago at the request of another user. You can check out the source from subversion and build a new jar. See the gwt-google-apis Maps FAQ (http://code.google.com/p/gwt-google-apis/) for some details if you are u

Re: RPC Bug

2008-09-11 Thread Folke
On Sep 11, 12:46 am, Kevin <[EMAIL PROTECTED]> wrote: > I have two methods, Object loadFromSQL() and void loadFromTable(Object > v). > > I call them through RPC's since GWT can't access SQL databases. java.lang.Object cannot be serialized. > On the server side, loadFromSQL stores all the values

help widget

2008-09-11 Thread Nitin
Hello, I am trying to make Help Widget in GWT with i18n options . We have left side tree and right side has content according to tree heading . We are using Message interface of i18n . Now i am selected of tree item calling some function . I want to ask from GWT Community 1. Is this right a

Re: Problems with gwt 1.5

2008-09-11 Thread Reinier Zwitserloot
Your classpath is screwed up. Half the classes are being loaded from an older version of GWT, and half are loaded from a newer version. Double check your classpath; possibly you're picking up a gwt-user.jar from one place and a gwt-dev-XYZ.jar from another. If you installed GWT 1.5 by unzipping o

Re: is communication over GWT-RPC secure

2008-09-11 Thread Reinier Zwitserloot
harimack: all https is as safe as you can make it, with the following caveats: 1. you NEED a signed cert from a root cert authority. This costs 100 dollars or more. 2. The designers of the https spec made some serious screwups way back when but are now afraid to fix their mistakes. You may exper

Re: Download file with GWT

2008-09-11 Thread Reinier Zwitserloot
1. The server has to send the file with a data type of application/ octet-stream. 2. You can't use an AJAX call (RequestBuilder / HttpRequest / GWT- RPC), those will never generate a save as box on the user's client. Use: 1. A link that a user clicks on. 2. open a new window using Window.open 3.

including servlet path in a gwt project

2008-09-11 Thread Anais
Hi. I'm tryin to make a rpc (in host mode), but when I do the call, the next mexage appears in the GWT Development Shell: "Unable to find 'srvITPImp.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?" My project is called EVITAWeb and I have

Re: How to add the same Widget several times into one Panel

2008-09-11 Thread kaspar.ru
Thanks a lot people for your replays. I dont have big experience in GUI :). I solved this problem by the help of MVP instead of single view in the presenter I put set of views and add one method to the view which creates its copy with the same presenter and this created view is added to the prese

Re: GWT 1.5.2 Hosted Mode Browser Error on Linux

2008-09-11 Thread daniel.z
Really nobody experiencing something like that or knowing what is going on? On 9 Sep., 17:34, "daniel.z" <[EMAIL PROTECTED]> wrote: > I'm getting the following error when trying to launch an freshly > created gwt application in hosted mode with gwt 1.5.2. Everything > works fine when using 1.5.0

Re: Multi project setup i.e. dependent projects

2008-09-11 Thread Ed
Use symbol links (or junction points on MS platform) to share common resources like css/images. I do that in my eclipse on Ms with link magic tool or the junction CL tool from MS.. works fine.. For example: project: bv-common, bv-profile, bv-declare. The latter two have links to the first one as

Firefox 3.0.1 on Fedora 9 reload problem

2008-09-11 Thread [EMAIL PROTECTED]
Hi, I checked the 1.5.2 Mail Application demo. After loading the layout was OK, but after clicking on browser's 'Reload' button the layout was destroyed. Screenshot: http://dev.gumboo.com:8880/mailapp-gwt-demo.jpg This happens on my applications too. Any ideas? Thanks, George. --~--~-

Re: New GWT Incubator Drop available

2008-09-11 Thread walden
Hi Emily, I think there should be 10 versions of the incubator: 1 that compiles against the last stable version, and one that compiles against the trunk. Also, a bit off-topic, I think that widgets that are actually percolating should be in the percolator, not the incubator. :-) Thanks, Walden

Re: GWT 1.52 Compile error

2008-09-11 Thread Isaac Truett
You have a corrupted jar file in your classpath, possibly due to an interrupted download. On Thu, Sep 11, 2008 at 3:42 AM, timmys <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to upgrade my GWT 1.4 project to 1.52. But I get this > strange exception when invoking the compiler. I can compile

Re: New GWT Incubator Drop available

2008-09-11 Thread Larry White
On Thu, Sep 11, 2008 at 9:01 AM, walden <[EMAIL PROTECTED]> wrote: > > Hi Emily, > > I think there should be 10 versions of the incubator: 1 that compiles > against the last stable version, and one that compiles against the > trunk. I would agree with Walden but I'd also like to understand plans

Re: creating hover over panels

2008-09-11 Thread walden
You can take pretty much any widget and extend it thusly: 1. Sink additional events in the constructor 2. Override onBrowserEvent to do things with the additional events, such as changing style names. I don't know if that helps you. I think you might need to ask a more specific question. Walde

Re: GWT 1.5.2 Hosted Mode Browser Error on Linux

2008-09-11 Thread Thomas Broyer
On 11 sep, 14:31, "daniel.z" <[EMAIL PROTECTED]> wrote: > Really nobody experiencing something like that or knowing what is > going on? Googling for "XPCOM error 2147221164" gave among other things: http://www.eclipse.org/swt/faq.php#browserlinux telling it could be that your firefox is statica

Re: Problem running GWTComplier in an ant script

2008-09-11 Thread walden
By the way, where are your source files? Within the module, the default source path is client/*, unless you have overridden that in your module xml file. On Sep 11, 3:29 am, Ryan <[EMAIL PROTECTED]> wrote: > hi everybody, > > I have this particular problem while running an ant script. > When I t

Re: creating hover over panels

2008-09-11 Thread alex.d
I would just do smth. like: // panel is practically whatever widget you want it to be: panel.addMouseListener(new MouseListener(){ public void onMouseDown(Widget sender, int x, int y){} public void onMouseMove(Widget sender, int x, int y){} public void onMouseUp(Widget sender, int x, int y)

Re: creating hover over panels

2008-09-11 Thread alex.d
... oh and i've forgotten to mention. In one of the eventHandler functions you just setVisible(true) whatever hover you want to make visible ;-) On 11 Sep., 15:50, "alex.d" <[EMAIL PROTECTED]> wrote: > I would just do smth. like: > > // panel is practically whatever widget you want it to be: > pa

Including servlet path in a gwt project

2008-09-11 Thread Anais
Hi. I'm tryin to make a rpc (in hosted mode), but when I do the call, the next message appears in the GWT Development Shell: "Unable to find 'srvITPImp.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?" My project is called EVITAWeb and I ha

Re: Any ideas on how to make a popup stay on top?

2008-09-11 Thread Thomas Wrobel
Ok,thanks, I upload an example zip of what I'm trying to do here; www.darkflame.co.uk/client.zip Basically, I want it if the user clicks on popup1, then popup2, popup1 stays ontop. (TestProject is the entry point) 2008/9/11 Ian Bambury <[EMAIL PROTECTED]>: > I can't get it *not* to stay on top

Re: Including servlet path in a gwt project

2008-09-11 Thread alex.d
try: On 11 Sep., 15:54, Anais <[EMAIL PROTECTED]> wrote: > Hi. I'm tryin to make a rpc (in hosted mode), but when I do the call, > the next message appears in the GWT Development Shell: "Unable to find > 'srvITPImp.gwt.xml' on your classpath; could be a typo, or maybe you > forgot to include a c

Re: Including servlet path in a gwt project

2008-09-11 Thread Anais
I've tried what you say but it doesn't work. For more details, the complete window is [INFO] Starting HTTP on port [TRACE] Loading module 'srvITPImp' [ERROR] Unable to find 'srvITPImp.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [T

Memory Leak GWT 1.4.6

2008-09-11 Thread KidA78
Hey all, I've been using Microsoft's JScript Leaks Detector on a GWT app. It's a very extensive application with hundreds of classes, listeners, custom widgets, etc. Using the application does not seem to show any problems of a leak, it's only when I refresh a page, or if I navigate to another

map resize

2008-09-11 Thread Anir
I am using MapWidget.In my output i am getting the map but its not occupying the complete panel.instead it occupies only a part of the panel.If i minimize the browser and maximize it,then the map is occupying the complete panel. I want the map to occupy the complete panel.I hope someone can help

Re: need to change relative path to absolute path

2008-09-11 Thread Pete Kay
Hi, I am bringing up a brand new default app that I am creating using ApplicationCreator and ProjectCreator. However, I am getting the following error when Runing it from Eclipse: 'com.yht.ui.gwt.Application/Application.html' does not appear to be a valid fully-qualified Java class name Google W

GWT and External Web applications

2008-09-11 Thread Samael
Hi, Pardon the laziness and the ignorance but I am caught in a bind. - all my GWT front end code is part of Web Application A - I want GWT to communicate with a Spring Application outside of Web Application A - How do I configure MODULE_NAME.gwt.xml to call a servlet implementation that is

Re: Customize Hosted-mode browser

2008-09-11 Thread mihai007
I just installed 1.5 in Windows, previously used in Ubuntu and never thought about it. This feature is quite important. On 9 Set, 13:54, Arthur Kalmenson <[EMAIL PROTECTED]> wrote: > Currently inGWT(1.5 and below),hostedmodeis tied to the OS. > Windows uses an IE basedhostedmode, OS X a WebKet ba

New to Gwt

2008-09-11 Thread [EMAIL PROTECTED]
Hiii!!! This is my first post in google group forum. i am very new to GWT;and want to start it with netbeans6.1 IDE. I have knowledge of core javaJSP,Servlet,EJB 3.0,JPA. Please suggest me reading materials;so that i can grasp GWT easily. Thanks --~--~-~--~~~---~

Using GWT RPC with 3rd party Serializable types as return type - what is required?

2008-09-11 Thread Mdu
Hi All, I have a type (Serializable 3rd Party Library Type - S3PLT) that I'm returning to the GWT RPC client from a method call on a GWT remote interface. This type is included in my Eclipse GWT project from an external .jar. No source code is available within Eclipse project. When I compile

Handling mouseEvents from TreeItems

2008-09-11 Thread [EMAIL PROTECTED]
Hello , I have a tree implemented on VerticalPanel and i need to show a menu when the mouse hovers over any treeItems. I dont see any way of adding/capturing mouseevents from TreeItems added. TreeListener is not ideal either in this case. If any of you has found out a way to handle such sc

Re: map resize

2008-09-11 Thread Eric Ayers
Hello Anir, Try MapWidget.checkResize() -Eric. On Thu, Sep 11, 2008 at 5:49 AM, Anir <[EMAIL PROTECTED]> wrote: > > I am using MapWidget.In my output i am getting the map but its not > occupying the complete panel.instead it occupies only a part of the > panel.If i minimize the browser and maxi

code to PopUp panel

2008-09-11 Thread chiluveri ramesh
I want Small code. My requirement as follows. I have open a popup that contains textbox's (like to enter username ,password and extension number ),submit and cancel buttons. when i submit the details it should open another small window based on url. please give any sugesstions --~--~-~

Re: How to catch mouse events on the Tree?

2008-09-11 Thread gwt_user
Ok, I figured that out. 1. I misspelled 'onBrowseEvent' - it must be 'onBrowserEvent'. 2. I did not call super.onBrowserEvent() in onBrowserEvent. The code that works is: Tree tree = new Tree(){ public void onBrowserEvent(Event e) { { sinkEvents

overlay for dialog box

2008-09-11 Thread bconoly
Are there any plans to put an overlay behind dialog boxes when they are listed as modal? ...or is there already a way? Also, is there a fix for ie6's png transparency issue built into GWT? If you can't tell, I'm new to gwt, just some basic questions. Thanks in advance --~--~-~--~~--

Re: GWT 1.5.2 Hosted Mode Browser Error on Linux

2008-09-11 Thread daniel.z
MOZILLA_FIVE_HOME is set to an installation of XULRunner. And as everything works fine with GWT 1.5.0 I expect that my installation generally is ok but something has changed between 1.5.0 and 1.5.2. I tried to find out using gwt subversion repository, but I did not find a 1.5.2 tag there. :( On 1

Re: Handling mouseEvents from TreeItems

2008-09-11 Thread gwt_user
I had similar puzzle, check my post: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/32533c3ef4cebd8a/b06fc291936cfe8d#b06fc291936cfe8d On Sep 10, 10:30 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello , > >   I have a tree implemented on VerticalPanel and i nee

Re: Using GWT RPC with 3rd party Serializable types as return type - what is required?

2008-09-11 Thread abickford
You need the source code. GWT works on java source code, not byte code. Class files are not enough. Also keep in mind that GWT only supports a subset of the JRE and if the class wasn't written w/this in mind will likely break it. On Sep 10, 9:32 am, Mdu <[EMAIL PROTECTED]> wrote: > Hi All, >  

Re: Including servlet path in a gwt project

2008-09-11 Thread Isaac Truett
Your client is requesting http://localhost/srvITPImp but it should be requesting http://localhost/[your module]/srvITPImp. Check the service entry point that you're setting and post that code if you can't figure it out. You're probably missing something like GWT.getModuleBaseURL() to get the prope

Re: Any ideas on how to make a popup stay on top?

2008-09-11 Thread Thomas Wrobel
sorry, updated the zip, forgot to include the html and pic. www.darkflame.co.uk/client.zip 2008/9/11 Thomas Wrobel <[EMAIL PROTECTED]>: > Ok,thanks, I upload an example zip of what I'm trying to do here; > > www.darkflame.co.uk/client.zip > > Basically, I want it if the user clicks on popup1, th

Re: code to PopUp panel

2008-09-11 Thread walden
Chiluveri, Using GWT to open a new browser window is Window.open(...). You can also create an iframe in the existing page using the GWT Frame widget. It's not clear how you are getting the URL, or what the textboxes have to do with that, if anything. If you want to describe your flow in more d

best design pattern for creating GWT UIs at run-time?

2008-09-11 Thread Alex Rice
Good day all, I ordered the GWT in Practice book and eagerly awaiting it's arrival. Maybe maybe my question is answered in there. However, I wanted to see if anyone has a suggestion for a Java OO design pattern to use for the following purpose: I am working on a GWT project where application/sur

Re: Any ideas on how to make a popup stay on top?

2008-09-11 Thread Ian Bambury
Just to save me an amount of investigation: You want a normal page, with a popup over it covering the whole screen, and another small popup over that. Then you want the small popup to stay over the full-screen popup, and you want to be able to work on the normal page through the full-screen popup,

Re: Download file with GWT

2008-09-11 Thread Jason Essington
Number 1 is actually very important. If you are going to use Window.open it has to be done as a direct result of a user action, otherwise popup blockers will prevent the window from being opened. This means that you can't place the Window.open command in a callback or any kind of deferred

Re: Any ideas on how to make a popup stay on top?

2008-09-11 Thread Thomas Wrobel
Ok, I'm not too good at explaining stuff, so I'll try to break it down as simple as I can. I wish to have a popup that is persistent and always ontop of everything else. This "overlay" popup (as in the example I gave) can be moved about and repositioned. The user can drag this popup to one side,

Re: best design pattern for creating GWT UIs at run-time?

2008-09-11 Thread Folke
It depends on whether the JSON is hierarchical or flat. Take a look at the visitor pattern for complexer JSON structures. http://en.wikipedia.org/wiki/Visitor_pattern On 11 Sep., 17:40, Alex Rice <[EMAIL PROTECTED]> wrote: > Good day all, > > I ordered the GWT in Practice book and eagerly await

Re: Memory Leak GWT 1.4.6

2008-09-11 Thread Ian Bambury
I am getting horrendous memory problems with 1.5.2. I'm not doing anything abnormal, just standard GWT, the occasional DOM read and one JSNI read (to get around the new getAttribute 'feature'). The javaw image starts off around the 130Mb size and will increase by about 8-10Mb every time I press F

Re: New to Gwt

2008-09-11 Thread James D
Most people in here use Eclipse and there are some very nice tools for using GWT with Eclipse though I have not been that impressed with them. I use NetBeans 6.1 and it works well though there are no visual tools available. My suggestion would be to use GWT4NB though it needs to be updated. Y

Re: best design pattern for creating GWT UIs at run-time?

2008-09-11 Thread Alex Rice
OK I'll read up on the Visitor pattern. The JSON is fairly hierarchical - various sections and form fields within. I assume Visitor is still advised for that. Thanks! Alex On Sep 11, 10:13 am, Folke <[EMAIL PROTECTED]> wrote: > It depends on whether the JSON is hierarchical or flat. > > Take a

Re: Getting text from tabbar.

2008-09-11 Thread maudio
Actually, getTabHTML() works just fine. My error! On Sep 10, 10:33 am, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > Is there something wrong with > > widget.getTabHTML(widget.getSelectedTab()); > ? > > 2008/9/10 maudio <[EMAIL PROTECTED]> > > > > > > > Thanks Alex.  I was trying to avoid maintaini

GWT FeedReader

2008-09-11 Thread Bear
I am having a problem using some of the code from FeedReader in an iPhone app I'm developing. My first page doesn't have the correct look and feel of an iPhone page. The my Panel which is an extension of WallToWallPanel from the FeedReader project doesn't sit at the absolute top of the page. It

Re: best design pattern for creating GWT UIs at run-time?

2008-09-11 Thread Alex Rice
The Walkabout pattern looks perfect except for it requires java.lang.reflect which GWT doesn't support. http://www.cs.ucla.edu/~palsberg/paper/compsac98.pdf Looks like I need to add accept() methods to everything in com.google.gwt.json.client On Sep 11, 10:13 am, Folke <[EMAIL PROTECTED]> wrote

Vector Support?

2008-09-11 Thread Kevin
GWT client-side supports Vectors, right? I'm getting a ton of warnings about Vectors... --~--~-~--~~~---~--~~ 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-Tool

Re: Vector Support?

2008-09-11 Thread Ian Petersen
On Thu, Sep 11, 2008 at 5:34 PM, Kevin <[EMAIL PROTECTED]> wrote: > GWT client-side supports Vectors, right? As far as I know, yes. > I'm getting a ton of warnings about Vectors... What sort of warnings? Generic warnings are pretty uninformative. Specific warnings usually tell you how to get r

Re: best design pattern for creating GWT UIs at run-time?

2008-09-11 Thread Alex Rice
Alas, implementing the standard Visitor pattern on the com.google.gwt.json.client.* does not look feasible because I need to add the this method to all the JSON types: public void accept(Visitor visitor) { visitor.visit(this); } However several of the JSON classes dont appear to be

No static wrap method on TextArea?

2008-09-11 Thread adam
Hi, I notice that the other two TextBoxBase inheritors, TextBox and PasswordTextBox, both have static wrap methods for input elements already attached to the document. Why isn't there a corresponding method for TextArea that wraps textarea elements? Right now I'm just subclassing TextBoxBase to do

Re: code to PopUp panel

2008-09-11 Thread chiluveri ramesh
we are providing toll-free number. When i find a phone number on business sites ,i need to open a popup panel to logining , when he sumbits , it should go to server and verify username and password ,if success the new window going to open to connect to our site --~--~-~--~~---

Download file from server to client - w Servlet etc PLEASE?

2008-09-11 Thread JohnnyGWT
I've seen several discussions on how to download a file to the client. All contain bits of code but no complete examples. FileUpload is fine & easy using Apache commons stuff. Can someone PLEASE provide some examples etc for downloading a file to the client? In my scenario I have to send a newly

Re: best design pattern for creating GWT UIs at run-time?

2008-09-11 Thread Folke
It's pretty pointless to pass a raw JSONValue around because it doesn't have any semantic information. How do you distinguish between a JSONValue for a "section" and a JSONValue for a "field"? What you should do is to traverse the JSON data and build an AST or model objects (--> MVC) and then use

HI Guys

2008-09-11 Thread jagadesh
Hi Guys, How Can We Disable Special Characters in the textfield in gwt. iam using Keyboard Listener . i used isDigit() and isCharacter() , but it is coing to accept some characters like " . # $ ( & ". how can i disable these characters too. Please Sort Me Out Form This Issue. Thank u. jagad

Hyperlink font size in Firefox 3.0.1

2008-09-11 Thread [EMAIL PROTECTED]
Hi, We're working on a Tag interface and it works great in IE and but in FireFox, Safari, and Chrome the DOM.setStyleAttribute(tag.getElement(), "fontSize", setSize()); doesn't seem to take hold and we're left with the same font size for each Tag links. Is there another way to access fontSize at

Re: GWT FeedReader

2008-09-11 Thread davidroe
Load the page in Safari with Developer options on. Inspect the panel to see what is causing the offset. Look for empty elements or non-zero values for margin and/or padding. /dave On Sep 11, 11:19 am, Bear <[EMAIL PROTECTED]> wrote: > I am having a problem using some of the code from FeedReader

Re: Hyperlink font size in Firefox 3.0.1

2008-09-11 Thread [EMAIL PROTECTED]
We have also tried to use: tag.getElement().getStyle().setProperty("fontSize", setSize()); But that doesn't work either...T-T On Sep 12, 1:45 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > We're working on a Tag interface and it works great in IE and but in > FireFox, Safari, and Ch

Re: Hyperlink font size in Firefox 3.0.1

2008-09-11 Thread [EMAIL PROTECTED]
Changing "fontSize" to "font-size" works for Safari and Chrome, but still not for my default FireFox 3.0 and also IE. Still I can use defer binding for IE, but could not find a solution for FireFox as of yet,... On Sep 12, 2:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > We have also tri

Re: HI Guys

2008-09-11 Thread Fred Janon
Change the example code from the TextBox Javadoc API like this: tb.addKeyboardListener(new KeyboardListenerAdapter() { public void onKeyPress(Widget sender, char keyCode, int modifiers) { if (Character.isDigit(keyCode)) return; if ((keyCode == '.') // Add all your allowed

Re: No static wrap method on TextArea?

2008-09-11 Thread Folke
I don't know why it isn't there, maybe it was just forgotten. I've submitted a patch: http://code.google.com/p/google-web-toolkit/issues/detail?id=2874 On Sep 12, 2:13 am, adam <[EMAIL PROTECTED]> wrote: > Hi, I notice that the other two TextBoxBase inheritors, TextBox and > PasswordTextBox, bot

Re: Any ideas on how to make a popup stay on top?

2008-09-11 Thread alex.d
> > BTW 'hickups' is spelt 'hiccups' which is really just a new spelling for > > 'hiccoughs' which is the proper one. 'Hiccups' is for people who spell > > 'through' as 'thru' and 'night ' as 'nite' and believe that a McDonalds > > Restaurant actually is a restaurant. Though i agree with you abou

Re: HI Guys

2008-09-11 Thread jagadesh
Thanks Man, I have disabled all the special characters but i need to use only "%" Character. i used the following code. ((TextBox)searchTable.getWidget(9,2)).addKeyboardListener(new KeyboardListenerAdapter() { public void onKeyPress(Widget sender, char keyCode, int modifi

Re: Hyperlink font size in Firefox 3.0.1

2008-09-11 Thread Folke
What does setSize() return? Make sure to append a unit like "px" for pixels or use setPropertyPx(). Btw, "fontSize" is the correct name. On Sep 12, 7:20 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Changing "fontSize" to "font-size" works for Safari and Chrome, but > still not for my de