Re: How to configure GWT in existing application

2008-12-03 Thread GWT Newbie
Hello, I am attempting to do a similar integration. I explain what I try to do here : http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/173602a0c87bfc02 Can you be of any help ? Thanks Hieu On 2 déc, 20:18, gregor [EMAIL PROTECTED] wrote: Hi Arul, What are you

Re: hibernate4gwt

2008-12-03 Thread Dessorry
how can i include it? i went to project properties and i went on java build path and i included external jars hibernate4gwt-1.1.jar. must i include in other way? thanks On Dec 2, 5:05 pm, noon [EMAIL PROTECTED] wrote: The hibernate4gwt.jar is missing from classpath. Regards Bruno On 2

Re: dao and GWT

2008-12-03 Thread Jason Essington
GWT is mostly client side technology, so DAO never really comes into play, that is more of a server side implementation detai. -jason On Dec 2, 2008, at 1:02 PM, rizla wrote: Hi to everyone ..how I can see a code example of an implementation of GWT with DAO pattern? many thanks to all :D

Re: Change Browser Address Dynamically

2008-12-03 Thread jake H
or u can use Window.Location.assign(url); --~--~-~--~~~---~--~~ 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

Re: JAXB generated classes under GWT

2008-12-03 Thread Alan
I believe, that classes generated by JAXB are just annotated beans, so if we could make GWT ignore some JAXB specific statements, we could use them to pass data from server to client? May be GWT have some annotation like @GWTIgnore? On 2 дек, 12:13, Alan [EMAIL PROTECTED] wrote: Hi all, This

Re: hibernate4gwt

2008-12-03 Thread noon
Check the classpath at runtime : the jar must be missing from execution classpath. Note that sample applications, with source code and configured for Eclipse are freely available for download at hibernate4gwt site. Regards Bruno On 3 déc, 09:06, Dessorry [EMAIL PROTECTED] wrote: how can i

Re: SecureRemoteService and Servlet. The battle against XSRF.

2008-12-03 Thread Patrick Ratelband
Hey everyone, thanks a bunch for all the replies again. Replies inline and questions at the end. Gregor, with everything that I have heard thus far, that Command pattern is looking better and better, even though it will still be a lot of work to properly implement. jhulford, from what I

Re: How to design async widget

2008-12-03 Thread raxelo
Thanks a lot, Gregor, for such full answer, and thanks for link About Controller, i meant that i want to separate business of creating item in group widget and removing from it from widget itself - it is only visual representation of list of groups. It only know that he can hold group, provide

Re: hibernate4gwt

2008-12-03 Thread stone
just put MyService.jar into server directory not client exp: MyService [code]package mypackage.server; import java.util.ArrayList; import java.util.List; import net.sf.hibernate4gwt.core.HibernateBeanManager; import net.sf.hibernate4gwt.gwt.HibernateRemoteService; import

Re: dao and GWT

2008-12-03 Thread Thomas Broyer
On 3 déc, 09:19, Jason Essington [EMAIL PROTECTED] wrote: GWT is mostly client side technology, so DAO never really comes into   play, that is more of a server side implementation detai. D'oh! How is an HTTP request that different from, say, an SQL request? Of course, it depends what you

Re: Change Browser Address Dynamically

2008-12-03 Thread obesga
You want to change your url WITH or WITHOUT a new http petition and refresh with a new page ? Refresing url bar into de browser without changing host page it's impossible, at least the way you're telling The #historytoken is the only way See documentation for how it works and as a live example

Re: How to configure GWT in existing application

2008-12-03 Thread gregor
I'm pretty sure you can't do this: a href=/myContext/myRemoteServiceServlet? param1Name=param1Valueparam2Name=param2Value I think what you need to do is something like this: 1) Edit your JSP page to link in the GWT app, e.g. head titleSome Application/title .. .. meta

Re: viewport resize listener

2008-12-03 Thread gregor
Hi Litty, I use something like this: public class MdDem implements EntryPoint { private MainPage main = new MainPage(); private ResizeListener windowListener = new ResizeListener(); public void onModuleLoad() { RootPanel.get().add(main);

Re: Your opinion sought: Jetty or Tomcat?

2008-12-03 Thread Miles T.
Switching to Jetty won't break me. Actually, if you were switching to Jetty... 7 (that is to say with support Servlet 3.0 spec, especially support for continuations), I would be really glad !!! On 3 déc, 01:44, Reinier Zwitserloot [EMAIL PROTECTED] wrote: Not Ken Shabby: Imagine here your

Re: @EJB annotation during junit testing doesn't work

2008-12-03 Thread jolero
The problem is: - when running hosted mode manually I can specify -noserver mode with address of server where my server side is deployed instead of embedded Tomcat - TestRunner fires hosted mode without this option and I haven't found how can I make it to call hosted mode with additional

Re: How to configure GWT in existing application

2008-12-03 Thread GWT Newbie
First of all, thanks for taking time answering :-) On 3 déc, 11:51, gregor [EMAIL PROTECTED] wrote: I'm pretty sure you can't do this: a href=/myContext/myRemoteServiceServlet? param1Name=param1Valueparam2Name=param2Value The differents manip. I did, lead me to the same conclusion. And I

Re: dao and GWT

2008-12-03 Thread rizla
many thanks for the response to my question, in my gwt project I've used the gxt library. I've implementd the server call in this way: for example in a class of the view I've have the Utility.getFromServer () Metod that call the static getFromServer metod in the class Utility..the Utility class

Re: How to design async widget

2008-12-03 Thread gregor
I think it depends on this question: How many views (i.e. primary widgets) in your app need to know about Groups (and therefore need to get notified if a group is added, deleted or changed)? If the answer is one, then the simplest answer is to integrate the Create Group dialog into it and move

Re: Problem updating image URL

2008-12-03 Thread David Hoffer
Why do you think final may be a problem? I don't change the image instance only set the URL on the already existing image. Does GWT not like final? -Dave On Tue, Dec 2, 2008 at 11:23 PM, mon3y [EMAIL PROTECTED] wrote: Might it have something to do with the word final when declaring image?

Re: How to configure GWT in existing application

2008-12-03 Thread gregor
You mean this sort of thing? http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/ab6d7b76d29872c4/1ca2238129429cf6?lnk=gstq=JSP+value+access#1ca2238129429cf6 On Dec 3, 11:35 am, GWT Newbie [EMAIL PROTECTED] wrote: First of all, thanks for taking time answering :-) On 3

Re: viewport resize listener

2008-12-03 Thread Litty Preeth
WindowResizeListener will listen for window resize events only. It wont be invoked if ur scrollable page size is changed. It ll be notified only if the WINDOW itself is mazximized, resized etc. Regards, Litty Preeth On Wed, Dec 3, 2008 at 4:31 PM, gregor [EMAIL PROTECTED] wrote: Hi Litty, I

Re: SecureRemoteService and Servlet. The battle against XSRF.

2008-12-03 Thread quentin
Patrick: I understand what you are trying to do, as i just went through the same headache myself. It appears that the GWT team is working on a similar approach for a future version: http://code.google.com/p/google-web-toolkit/wiki/RpcAuth so any solution we come up with today will be short-lived.

Re: viewport resize listener

2008-12-03 Thread gregor
Oh, I see. How is the size of your RootPanel changed then if not by changing the size of the browser window? On Dec 3, 1:15 pm, Litty Preeth [EMAIL PROTECTED] wrote: WindowResizeListener will listen for window resize events only. It wont be invoked if ur scrollable page size is changed. It ll

How to set top-margin of a gwt page

2008-12-03 Thread sharma
hi i m designing my tool in gwt. i want to keep top-margin zero plz help me out 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

Re: How to integrate Hibernate and GWT

2008-12-03 Thread eggsy84
Hi there, Try searching the group there have been many posts discussing Hibernate and GWT and how to implement them together. Eggsy On Dec 3, 10:13 am, Dessorry [EMAIL PROTECTED] wrote: Hi, I'm trying to build my first GWT application; i would read data from a database and display it on a

Re: SecureRemoteService and Servlet. The battle against XSRF.

2008-12-03 Thread jhulford
On Dec 3, 3:57 am, Patrick Ratelband [EMAIL PROTECTED] wrote: jhulford, from what I understand, cookies are sent in the header as well and that is whole reason they are vulnerable to XSRF, so setting some header would seem to me like not to solve the problem. Your second post was very useful,

Re: JAXB generated classes under GWT

2008-12-03 Thread joel
I am using generated JAXB generated classes in GWT by including the JAXB source to the GWT compiler as you described. I needed to remove a number of JAXB classes, e.g. XmlGregorianCalendar. I include the Adapter classes in the source path and gwt complains when compiling them with errors like

Re: How to configure GWT in existing application

2008-12-03 Thread GWT Newbie
Yes. Looks like that. I will read it more carefully this night. Thanks. On 3 déc, 14:10, gregor [EMAIL PROTECTED] wrote: You mean this sort of thing? http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... --~--~-~--~~~---~--~~ You received

Re: Easiest way to open a new window with some text in it?

2008-12-03 Thread Thomas Wrobel
Must admit, I wasnt aware you could set text in another window from a script running in the current one. Still, dosnt seem to work for me display.php has the following html; html body div id=idShowTexttest/div /body /html And my native javascript being triggered is; var popup =

Re: Client did not send nnn bytes as expected

2008-12-03 Thread jchimene
On Dec 2, 11:20 pm, Amit Kasher [EMAIL PROTECTED] wrote: Hi and thanks again for your responses. No Prob. If this opportunity for excellence is as pervasive as you suspect, installing software on a client's computer should be a non-starter from the perspective that installing it on *any*

log4j in hosted mode swallows Spring and Hibernate statements

2008-12-03 Thread marcelstoer
In http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/1870ed6575c95f7b/dd6dc12a67feeb02?lnk=gstq=log4j+hosted+spring#dd6dc12a67feeb02 an issue was raised (but not solved apparently) that we're seeing here too. In hosted mode we're only seeing the log statements from our own

Re: Client did not send nnn bytes as expected

2008-12-03 Thread marcelstoer
On Dec 2, 10:13 am, Amit Kasher [EMAIL PROTECTED] wrote: Hi, Does anyone has any new insights about this issue? We've been investigating for over a year(!), and we seem to not be the only ones... http://tinyurl.com/5rqfp5 I was recently confronted with the very same exception but in a

Re: Easiest way to open a new window with some text in it?

2008-12-03 Thread alex.d
Not quite sure why this doesn't work - try to play with it in FireBug (you can open your window from the console and use popup-variable to get it's elements). Does popup.getElementById('idShowText') give en element back? On 3 Dez., 16:12, Thomas Wrobel [EMAIL PROTECTED] wrote: Must admit, I

Re: How binding of java objects with GWT tools

2008-12-03 Thread Arthur Kalmenson
There is no official data biding library yet. The GWT team will hopefully start working on one in Q1 of 2009. For now, you can use the gwt-data-binding project: http://code.google.com/p/gwt-data-binding/ -- Arthur Kalmenson On Tue, Dec 2, 2008 at 9:55 AM, Arul [EMAIL PROTECTED] wrote: Hi,

OOPHM r4218: java.lang.ClassNotFoundException: com.google.gwt.user.client.rpc.RemoteService

2008-12-03 Thread Kevin Tarn
I used NetBeans for my GWT project. Recently I tried to build OOPHM for using Firefox as my hosted browser. If I put gwt-user.jar into my WAR package, this ClassNotFoundException occurred. I tried to remove gwt-user.jar from WAR package, and put it into tomcat's lib folder. This exception doesn't

How to share work between Java developers and HTML/CSS designers?

2008-12-03 Thread Nizam
Are there any best practices in bringing together a multi-disciplinary team of Java developers and HTML/CSS designers in developing a commercial GWT application? Our Java guys cannot do CSS and our HTML/ CSS guys prefer working in DreamWeaver. I haven't seen any material that talks about the team

GWT and Mobile Device

2008-12-03 Thread Giuseppe
Hello developers, I'm interesting in building a GWT based application on a mobile device but I cannot find any information about this topic and the mobile device's requirements. Might someone give me any information? Thanks. --~--~-~--~~~---~--~~ You received

generating for all browsers

2008-12-03 Thread suk...@yahoo.com
hi...when i generate gwt app it only generates for ie6 and not for other browsers. how can i generate my app for all browsers? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Error CSS.gwt.xml

2008-12-03 Thread eraser
I want to use the Google Web Toolkit Browser and i get an error. When start the webservices in the Toolkit Browser i get the Error: [ERROR] Unable to find 'CSS.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? Can someone help me?

ERROR in Google Web Toolkit

2008-12-03 Thread eraser
I want to use the Google Web Toolkit to reprogram a webservice. But when I start the programm i get the message [ERROR] Unable to find 'CSS.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? Can someone help me?

Refreshing browser display

2008-12-03 Thread Rumpole6
Hi all, At the end of my widgets run, I would like to have the widget reset and for the main page (whose address is in the URL bar in the browser to reload). I get this (apparent) action by hitting the reload icon of the browser but I would like to do this under the control of the widget, after

Re: GWT + Netbeans 6.1 + Multiple modules in one project

2008-12-03 Thread hdam99
Hi Sumit, I have similar questions that I hope you could help... 1. how to create a shared module from scratch to share code? 2. how to call a module entry point class from another module entry point class? Thanks -- H On Nov 13, 3:45 pm, Sumit Chandel [EMAIL PROTECTED] wrote: Hi Paulo,

Re: log4j in hosted mode swallows Spring and Hibernate statements

2008-12-03 Thread Au Lai Seong
That is why we prefer to use external tomcat. On Wed, Dec 3, 2008 at 11:54 PM, marcelstoer [EMAIL PROTECTED] wrote: In http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/1870ed6575c95f7b/dd6dc12a67feeb02?lnk=gstq=log4j+hosted+spring#dd6dc12a67feeb02 an issue was raised

Re: Client did not send nnn bytes as expected

2008-12-03 Thread johann_fr
Hi, Just in case : we had quite the same problem one year ago, but only with IE over https. We finally found the following solution (Apache configuration) : SetEnvIf User-Agent .*MSIE.* \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 It seems that this solution has a

Re: Easiest way to open a new window with some text in it?

2008-12-03 Thread Thomas Wrobel
If I type; var popup = document.open('scripts/display.php', '_blank', null); into the console of my gwt the new window pops up. Then typeing; popup.getElementById('idShowText') Results in; TypeError: popup.getElementById is not a function (I also tried with .innerHTML(teststrng) at the

Re: How do I separate static files?

2008-12-03 Thread Jason Essington
On Dec 2, 2008, at 12:10 PM, thitoh wrote: Hi, Essington. but rpc isn't working... right ... I'm having an exception: com.google.gwt.user.client.rpc.StatusCodeException Have you set your Service enpoint URL to the correct path? What is the actual response from the server? here is where

Re: GWT and Mobile Device

2008-12-03 Thread davidroe
Your targeted mobile device will require a web browser. As that is the case, there is very little else to say until you get down to the nitty- gritty. This group has an article entitled GWT + iPhone == Pretty Tasty, you could read that for some ideas. As mobile devices are not as powerful as

how to refresh perticular panel

2008-12-03 Thread rajasekhar
Hi All, --~--~-~--~~~---~--~~ 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

how to refresh panel

2008-12-03 Thread rajasekhar
Hi All, I have a problem with BorderLayout Panel.I created BorderLayout Panel with header(NORTH) , left side tree panel(WEST) and center panels with three different classes. I need to refresh the center panel only when click on a leftside tree panel button.It is working properly when

Exception when running GWT Gadget RPC sample project ($stats is not defined)

2008-12-03 Thread rintcius
Hi, I am trying to get the GadgetRPC sample working, but I'm stuck. I am getting the exception below when it's about to make the RPC call (and a similar exception in my own project) Anybody knows what's going on here? Did I miss a configuration step somewhere? By the way I am running linux. GWT

Re: Exception when running GWT Gadget RPC sample project ($stats is not defined)

2008-12-03 Thread carlos calvo
I have the same problem trying to pass ArrayList by rpc On Wed, Dec 3, 2008 at 12:03 PM, rintcius [EMAIL PROTECTED] wrote: Hi, I am trying to get the GadgetRPC sample working, but I'm stuck. I am getting the exception below when it's about to make the RPC call (and a similar exception in

Re: How do I separate static files?

2008-12-03 Thread thitoh
Now hosted mode is working, but web mode not... Look... IIS is on http://apl/ Jboss is on http://apl/Apl/ So, my RPC module (Ctrl) is on http://apl/Apl/Ctrl/ and my index.html is on http://apl/index.html index.html redirects to View.html, that is the module that uses RPC, Ctrl, etc;

Re: Client did not send nnn bytes as expected

2008-12-03 Thread markmccall
Johann, That solution seems somewhat obscure...how did you arrive at that solution? Thanks, Mark On Dec 3, 11:31 am, johann_fr [EMAIL PROTECTED] wrote: Hi, Just in case : we had quite the same problem one year ago, but only with IE over https. We finally found the following solution

A question on modularization of components

2008-12-03 Thread Suri
Hi, I wanted to get an idea of how components on a page can be modularized (structured) in the code. For instance, if I have a table doing some work. And then below that table, there is another table that is is dependent on some changes made to the first one. You'd like to have to have

Re: How do I separate static files?

2008-12-03 Thread thitoh
Oh... I think I know... I cannot acess 415BF141E40105072EF69CA84394941F.rpc on http://apl/415BF141E40105072EF69CA84394941F.rpc Something wrong with IIS... I belive it is the problem. Thanks! On 3 dez, 15:48, thitoh [EMAIL PROTECTED] wrote: Now hosted mode is working, but web mode not...

Problem with ListBox in Internet Explorer 7

2008-12-03 Thread Danny Goovaerts
I have a ListBox which is on a tab in a TabPanel. The ListBox only shows one item, so it is actually a drop down. I have unexpected behaviour when disabling and enabling the ListBox. This is the scenario - The tab with the ListBox is not shown. - The value of the ListBox is updated as the result

Limitations of GWT Tree widget

2008-12-03 Thread dhoffer
I need to know when users double/right click a tree item in a tree as well as know what item they operated on. GWT only provided selection listeners but did provide a way to extend this to know when other events happened. The problem is they didn't provide any way (that I can see) to know what

context.getResource() and OOPHM

2008-12-03 Thread Thad
I'm running OOPHM on Linux and am having trouble with ServeltContext getResource(). I have several PNG files stored in public/images/32x32. I use these in my client. On the server side, I must grab the same image the use picks, and write it (base 64 encoded) to an XML file. From the client, I

Re: OOPHM r4218: java.lang.ClassNotFoundException: com.google.gwt.user.client.rpc.RemoteService

2008-12-03 Thread dolcra...@gmail.com
This is an issue of your web.xml or war not including the jar correctly (or at all). By dumping it into the lib folder (which one?) it will automatically be on the class path already. Posting your web.xml could allow people to help discern why it's not including the jar. On Dec 3, 4:42 am,

Re: Load Testing GWT Applications

2008-12-03 Thread mhm
Hi again, I just found a load testing tool that integrates with selenium : PushtoTest. As it is said on thier website http://www.pushtotest.com/Docs/selenium : PushToTest repurposes Selenium tests into load and performance tests and Business Service Monitors (BSM) with no additional programming.

Two separate GWT apps communicating with each other possible?

2008-12-03 Thread [EMAIL PROTECTED]
Just a small background on what I'm doing. I'm writing JSR-286 portlets, mostly using GWT. I'm taking advantage of the newer portlet eventing features and having them distributed to the GWT portlets in real time, using a Comet implementation similar to what is shown in the book Google Web

GWT and GOOGLE SEARCH results!

2008-12-03 Thread [EMAIL PROTECTED]
Hi, I'm using GWT for a website at www.trcs.org.uk. I originally started using GWT with the knowledge that I would have to address the search engine results issue at a later date. I have now made the site root page an index.php file that refers the agent to a static snapshot of the root page if

Re: Exception when running GWT Gadget RPC sample project ($stats is not defined)

2008-12-03 Thread Eric Ayers
Would you mind filing an issue in the issue tracker for this problem at http://code.google.com/p/gwt-google-apis so I can keep track of this? The root of the problem is that the Gadgets linker doesn't use the same hosted mode startup as the regular IFrame linker. -Eric. On Wed, Dec 3, 2008 at

Discussion on security-for-gwt-applications

2008-12-03 Thread [EMAIL PROTECTED]
The approach I'm taking, and I'm hoping it is a good one, is to divide the operations on the server cleanly in to read and write. I'm using php on the server and GWT on the client. The client cannot execute any write operation on the server without a unique Session ID, the only way that the

Question about web.xml and error-page processing

2008-12-03 Thread jvm
I am integrating GWT into an existing servlet-based application. The application's web.xml contains a set of error-page tags specifying a JSP to use for various error codes and exceptions. For certain kinds of errors, this error-page jsp is sent to the GWT client in response to GWT ajax calls;

Re: Discussion on security-for-gwt-applications

2008-12-03 Thread Reinier Zwitserloot
krona: If you are getting the session ID from the cookie, your web service is still vulnerable to XSRF (wikipedia it). Make GWT send the session ID in the body of requests (such as a parameter to GWT-RPC or stuff it in the JSON you're sending to your PHP). On Dec 4, 1:24 am, [EMAIL PROTECTED]

anchors with javascript: (tutorial or sample code?)

2008-12-03 Thread David H. Cook
I'm coding my first GWT app, and trying to get my head around creating an anchor that calls native javascript. It now occurs to me that even tho the goal is to write in java, there will still be some things that can only be done cleanly by utilizing some native javascript. (Agreed?) Given

Some Problem that keeps bugging me when I'm trying to use the FlexTable + MenuBar

2008-12-03 Thread Peter
java.lang.NullPointerException: null at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java: 77) at com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java: 80) at org.ahs510.webdev.socialgaming.client.HomePage.onModuleLoad (HomePage.java:45)

Re: viewport resize listener

2008-12-03 Thread Litty Preeth
At run time I add widgets to the page which causes the size of the panel (scrollable size) to change. Regards, Litty Preeth On Wed, Dec 3, 2008 at 7:22 PM, gregor [EMAIL PROTECTED] wrote: Oh, I see. How is the size of your RootPanel changed then if not by changing the size of the browser

Re: how to refresh panel

2008-12-03 Thread Litty Preeth
To the class implementing contents of the left-side panel, give a handle to the BorderLayoutPanel itself. Now in the onClick you can refresh the center panel of the BorderLayoutPanel. Thanks and Regards, Litty Preeth On Wed, Dec 3, 2008 at 11:33 PM, rajasekhar [EMAIL PROTECTED] wrote: Hi All,

Toggle text color in timer

2008-12-03 Thread ArunDhaJ
Hi, I wanted to make a label to blink, like toggling two colors. I've implemented a timer to do the same. How can I know which color has been previously set ?? so that I can swap with the new color... // Label lblOfflineLabel = new

Random.nextInt() causes java.lang.UnsatisfiedLinkError

2008-12-03 Thread Rohan Redkar
Hi, I am completely stumped by this error that I getting. I am using the Random class in the client package and not the native Java Random. import com.google.gwt.user.client.Random; When I include this line in my code, int index = Random.nextInt(1000); I get the following exception in my

Re: gwt Gadget Creation error

2008-12-03 Thread GameNow
I met similiar error: [ERROR] Unable to load module entry point class test.client.My (see associated exception for details) com.google.gwt.core.client.JavaScriptException: (TypeError): Object expected number: -2146823281 description: Object expected at

Re: anchors with javascript: (tutorial or sample code?)

2008-12-03 Thread Shawn Pearce
On Wed, Dec 3, 2008 at 18:08, David H. Cook [EMAIL PROTECTED]wrote: I'm coding my first GWT app, and trying to get my head around creating an anchor that calls native javascript. It now occurs to me that even tho the goal is to write in java, there will still be some things that can only be

Re: Discussion on security-for-gwt-applications

2008-12-03 Thread Shawn Pearce
Also restricting a session to a single IP address can be problematic with some providers that use web proxies for their clients. I don't know if this has changed, but years ago AOL made this rather difficult as requests from clients can be routed out through multiple proxy servers. Individual

Re: Question about web.xml and error-page processing

2008-12-03 Thread Shawn Pearce
You could try checking the request's Content-Type. GWT RPCs use text/x-gwt-rpc; charset=utf-8. See the end of com.google.gwt.user.client.rpc.impl.RemoteServiceProxy for the place where it is declared in the client implementation. This might be subject to change in the future, but its a pretty

Re: Toggle text color in timer

2008-12-03 Thread Jason Morris
Label lblOfflineLabel = new Label(); Timer offlineLabelTimer; lblOfflineLabel.addStyleName(OfflineLabel); lblOfflineLabel.addStyleName(OfflineLabel-blink); offlineLabelTimer = new Timer() { private boolean on = true; public void run() { if(on = !on) {

Re: Toggle text color in timer

2008-12-03 Thread alex.d
I would rather create a new Widget called BlinkyLable(String style1, String style2, int timerinterval) which has both styles and can save the current one ;) Plus a few Methods like startToBlink, stopToBlink etc. On 4 Dez., 06:33, ArunDhaJ [EMAIL PROTECTED] wrote: Hi, I wanted to make a label

Re: Two separate GWT apps communicating with each other possible?

2008-12-03 Thread Shawn Pearce
This isn't easy to do because the GWT compiler is going to obfuscate all of the symbols, making the different applications unable to call each other, even if they have some Java types (interfaces, classes) in common. You can however use JSNI to register native callbacks and invoke them from a

Re: Easiest way to open a new window with some text in it?

2008-12-03 Thread alex.d
Sorry - it was a long day yesterday ;-) popup is actually your new Window and getElementById() is the Function that belongs to the Document object - not the Window object. So it should be popup.document.getElementById()... And from your popup- Window you can call

[gwt-contrib] Re: TabPanel feature request

2008-12-03 Thread David
Ray, There is already an issue reported do I add a comment or you want me to create a new issue ? This is the current reported issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=1902 Will it break so much code when deferring attachment ? I can only speak for my own projects

[gwt-contrib] Re: Breaks dom.DOM dependency on user.UserAgent

2008-12-03 Thread t . broyer
I'd rather put it elsewhere, as it would just move the problem but not solve issue 2815. http://code.google.com/p/google-web-toolkit/issues/detail?id=2815 http://gwt-code-reviews.appspot.com/401 --~--~-~--~~~---~--~~

[gwt-contrib] [google-web-toolkit] t.broyer commented on revision r4225.

2008-12-03 Thread codesite-noreply
[google-web-toolkit] t.broyer commented on revision r4225. Details are at http://code.google.com/p/google-web-toolkit/source/detail?r=4225 Score: Neutral General Comment: Same comment as for r4098 and r4122 on KeyEvent.isAnyModifierKeyDown initial implementations. Why calling all getXXXKey

[gwt-contrib] Re: Breaks dom.DOM dependency on user.UserAgent

2008-12-03 Thread knorton
Thanks for looking at this Thomas, Maybe UserAgent should just go into a path that has no client source associated with it. That would provide fine grain inheritance. But before we do do that, would it be reasonable in your uses to just inherit dom.Dom? For all my uses this seemed reasonable.

[gwt-contrib] Re: Breaks dom.DOM dependency on user.UserAgent

2008-12-03 Thread Bruce Johnson
On Wed, Dec 3, 2008 at 7:50 AM, [EMAIL PROTECTED] wrote: To be honest, I wish we would start creating larger .gwt.xml files and make each one that exists inheritable. I agree. It was a rookie decision we made early on to over-emphasize fine-grained module reuse, and, like C header files,

[gwt-contrib] Re: Breaks dom.DOM dependency on user.UserAgent

2008-12-03 Thread Kelly Norton
On Wed, Dec 3, 2008 at 8:18 AM, Bruce Johnson [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 7:50 AM, [EMAIL PROTECTED] wrote: To be honest, I wish we would start creating larger .gwt.xml files and make each one that exists inheritable. I agree. It was a rookie decision we made early on

[gwt-contrib] Re: Breaks dom.DOM dependency on user.UserAgent

2008-12-03 Thread knorton
I'm going to add useragent.UserAgent and update a new patch. /kel On 2008/12/03 12:50:52, knorton wrote: Thanks for looking at this Thomas, Maybe UserAgent should just go into a path that has no client source associated with it. That would provide fine grain inheritance. But before we do do

[gwt-contrib] [google-web-toolkit] [EMAIL PROTECTED] commented on revision r4239.

2008-12-03 Thread codesite-noreply
[google-web-toolkit] [EMAIL PROTECTED] commented on revision r4239. Details are at http://code.google.com/p/google-web-toolkit/source/detail?r=4239 Score: Positive General Comment: LGTM Respond to these comments at http://code.google.com/p/google-web-toolkit/source/detail?r=4239 -- You

[gwt-contrib] Re: Breaks dom.DOM dependency on user.UserAgent

2008-12-03 Thread Bruce Johnson
Hey, that's a nice visualization! Using a nice view like that, we can probably iterate in early 2009 to clean up a lot of this. (Spoiler alert: I'm going to start advocating hard in 2009 to get rid of module XML altogether and use package and class annotations instead.) On Wed, Dec 3, 2008 at

[gwt-contrib] Re: Datepicker: Global style v. visible style

2008-12-03 Thread Ray Ryan
On Wed, Dec 3, 2008 at 6:46 AM, Emily Crutcher [EMAIL PROTECTED] wrote: Let us say you have a ui design where every-other day is styled a different color and that we only have global styles available. Now, the correct way to do this is for the user to add the styles to each day of each

[gwt-contrib] Re: RR: Adding .project to gwt-incubator root directory

2008-12-03 Thread Emily Crutcher
By the way, if anyone has any problems with the new structure, , please file a bug under gwt-incubator's bug tracker. If the instructions are not clear on the incubator wiki( http://code.google.com/p/google-web-toolkit-incubator/wiki/WorkingWithEclipse), please add a comment under the wiki.

[gwt-contrib] [google-web-toolkit commit] r4240 - trunk/tools/soyc-vis

2008-12-03 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Wed Dec 3 08:28:14 2008 New Revision: 4240 Modified: trunk/tools/soyc-vis/build.xml Log: Added dummy test and checkstyle targets so that the build does not break. Patch by: kprobst Review by: amitmanjhi Modified: trunk/tools/soyc-vis/build.xml

[gwt-contrib] Re: TabPanel feature request

2008-12-03 Thread Ray Ryan
On Wed, Dec 3, 2008 at 1:18 AM, David [EMAIL PROTECTED] wrote: Ray, There is already an issue reported do I add a comment or you want me to create a new issue ? This is the current reported issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=1902 Will it break so much code

[gwt-contrib] Re: small code review: Add InlineHyperlink widget

2008-12-03 Thread ajr
Thanks for taking a look! Fixed the nits and committed r4241. http://codereview.appspot.com/8700/diff/1/3 File user/src/com/google/gwt/user/client/ui/Hyperlink.java (right): http://codereview.appspot.com/8700/diff/1/3#newcode45 Line 45: * h3CSS Style Rules/h3 ul class='css' li.gwt-Hyperlink {

[gwt-contrib] Re: Breaks dom.DOM dependency on user.UserAgent

2008-12-03 Thread Kelly Norton
On Wed, Dec 3, 2008 at 10:10 AM, Bruce Johnson [EMAIL PROTECTED] wrote: Hey, that's a nice visualization! Using a nice view like that, we can probably iterate in early 2009 to clean up a lot of this. Ok, but I do want to create useragent.UserAgent now as I selfishly need the ability to

[gwt-contrib] Proposed Modification to PopupPanel

2008-12-03 Thread John LaBanca
Contributors - Summary: In the current implementation of PopupPanel, a PopupPanel with autoHide enabled will not autoHide if another Widget (such as another PopupPanel) steals the event preview. In practice, this means that if a PopupPanel is opened on top of an autoHide PopupPanel, the

[gwt-contrib] Re: Proposed Modification to PopupPanel

2008-12-03 Thread Isaac Truett
Other Solutions: We considered passing the event preview down the existing stack of EventPreview, which fixes the problem for more than just PopupPanels. However, we think this approach is overkill because the problem really doesn't manifest itself in other widgets. What about

[gwt-contrib] Re: Proposed Modification to PopupPanel

2008-12-03 Thread Emily Crutcher
What about deprecating the old DOM.addEventPreview and creating an DOM.addPreviewHandler instead, where the PreviewEvent extends DomEvent and has some specialized methods to stop the event from going down the GWT preview event chain. On Wed, Dec 3, 2008 at 2:00 PM, Isaac Truett [EMAIL

[gwt-contrib] Problem with certain failure cases in GWTTestCase

2008-12-03 Thread Joel Webber
Scott, I'm looking into the problem we discussed with GWTTestCase exceptions, and I think I have all the cases characterized now. --- for the edidification of gwt-contrib --- I'm writing some code to allow you to trigger events (a la createEvent()/dispatchEvent()), primarily for testing purposes,

[gwt-contrib] Re: Proposed Modification to PopupPanel

2008-12-03 Thread Isaac Truett
Sounds good. I don't do a lot with event preview, but it seems reasonable that it should follow the new event model. On Wed, Dec 3, 2008 at 2:14 PM, Emily Crutcher [EMAIL PROTECTED] wrote: What about deprecating the old DOM.addEventPreview and creating an DOM.addPreviewHandler instead, where

  1   2   >