Re: Will Google Plugin for Eclipse lineup with Eclipse Galileo Release ?

2009-07-09 Thread pappfer
I'm also waiting for this plugin. It'd be the best if one would come with 64-bit Linux support, too. I know I can make it work with 32-bit JRE, but still... it's just not the same. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: GWT Best Practices doubt

2009-07-09 Thread Kwhit
Just my .02: Call it what it is and use the term Command rather than Action - it's an implementation of the Command Pattern. I know Ray said it was used elsewhere but that's in his app but not elsewhere --~--~-~--~~~---~--~~ You received this message because you ar

Re: GWT architecture MVP/EventBus (mentioned at Google I/O)

2009-07-09 Thread Gert
On Jul 10, 12:47 am, Eduardo Nunes wrote: > Hello guys, > > I had a little difficulty to define how establish a communication > between the Presenters. When you deal with just one Presenter, the MVP > pattern is very simple to understand. After a while I found my > solution and I decided to share

Re: Encounter an invalid stream header

2009-07-09 Thread n...@oj
Well, After new research, I've found that first two bytes 63 correspond to the "?" char, or 0x3f hexadecimal value, which means that magic number and version number are incorrect. I think it comes from Jakarta, this is the only difference when I'm using the appengine... Any advice ? On Jul

Re: How to download a file in IE8?

2009-07-09 Thread alex.d
I've seen your other post first and answered there ;) On 9 Jul., 15:46, Rafael wrote: > alex.d, > > I am having same problem but with a csv file. I think it's that IE8 > fails to recoginize the type (MIME type) of the file, so it reloads > the page rather than ask the user to save as... > > I as

Re: Problem in Window.open(url, name, features)

2009-07-09 Thread alex.d
Yeh, i've experienced this issue - the problem lies in the IE8 security settings. If you'd change security settings to trusted zone it works. But of course i can't change settings in all client browsers. So i've ended up with opening a small html file with Window.open() and this html-file redirect

Dynamically Calling a Class

2009-07-09 Thread abhiram
hi, I need to call a new entry point by providing the name dynamically. The Entrypoint class name is present as a String variable and I need to call the constructor / create an object of that entrypoint class. Can someone tell me how to do this dynamically? Regards, Abhiram --~--~-~--~

Re: Frame.setURL in IE6/7 always cause's refresh of contents? (even if just the #token changed)

2009-07-09 Thread Paulo Coutinho
I have the same problem e post the same problem in the list, when u chage the frame url on non-ie browser, it work, but on IE it dont work. 2009/7/10 Jerome : > > Hi , > > I am running in to a problem when I try to load a URL in a frame, URL > which is also a GWT application but compiled and dep

Re: Is there a way to add a mouselistener to a treeitem that has these properties?

2009-07-09 Thread Marcelo Emanoel B. Diniz
Have you tried to wrapp the treeitem and then add the mouse listener to the wrapper? it should work like you want :) On Jul 9, 3:32 pm, ProtoLD wrote: > Is there any response on this?  Working as intended...somehow?  Even > though it doesn't work? > > On Jul 8, 4:03 pm, ProtoLD wrote: > > > > >

GWT jrobbi problem in web mode

2009-07-09 Thread bhumij
I am using jrobin library to create server side graph. I imported jrobin.jar and it is working properly in hosted mode.. however when i deploy application on tomcat it is giving me an error. I am unable to create an instance of any class.. please clarify the issue. --~--~-~--~~

Strange Compile Warning

2009-07-09 Thread markmac
Hi all, I seem to be getting this weird compilation warning when I compile my Gwt app: [java] Locking assertion failure. Backtrace: [java] #0 /usr/lib/libxcb-xlib.so.0 [0x7fc83bdff97c] [java] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x24) [0x7fc83bdffa84] [java] #2 /usr/l

Traceroute

2009-07-09 Thread giovaneoce...@hotmail.com
Anyone knows a method to do tracerouting from client to a server? Thanks in advance --~--~-~--~~~---~--~~ 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

history and motion chart

2009-07-09 Thread imgnik
hi all, i want to implement history in my motion chart app. and basically i want to have a stack of history items that comprise of different motion chart. so basically as i have more motion chart ( different ones) my history stack increment and i can go forward and backward with the motion chart

Re: GWT architecture MVP/EventBus (mentioned at Google I/O)

2009-07-09 Thread Eduardo Nunes
Hello guys, I had a little difficulty to define how establish a communication between the Presenters. When you deal with just one Presenter, the MVP pattern is very simple to understand. After a while I found my solution and I decided to share it with you all. I created a simple application that

Re: Display tables of database in tree fashion

2009-07-09 Thread Chad
Rahul, That should be relatively simple to do. Use RPC for your client-server communication. On the server side, query your database for table names and send a List back to the client. Iterate the list, adding each item to the root of the tree and give each a child node with the text of "Loading.

Re: How do you fire Change Events?

2009-07-09 Thread Dean Karres
Just found this link which looks really good for ValueChangeListeners http://lemnik.wordpress.com/2009/03/12/using-event-handlers-in-gwt-16/ -- Dean Karres --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google

Re: How do you fire Change Events?

2009-07-09 Thread Dean Karres
Thanks Thomas, I just went and looked at ValueChangeListener. I wonder if it would work "better" for me? I had not considered it before your note. There is a sort-of "value" being changed. I am collecting the selected row data in a JSONArray. The Button will be enabled if there is data in th

Re: File Upload error 404

2009-07-09 Thread Hasan Turksoy
set the url-pattern as /upload_0.2/UploadFileServlet Hasan... On Thu, Jul 9, 2009 at 7:11 PM, ghita wrote: > > Hello, > > I'm a newbie to gwt, I have a simple application that I use to upload > file to server, but keeps giving the following error. I read that it > may be because of the mapping

Content not loading in the Frame !!!

2009-07-09 Thread Jerome
Hi, I am running in to a problem when I try to load a URL in a frame, URL which is also a GWT application but compiled and deployed in GWT 1.5 when I try to load the app it says version mismatch and doesn’t load at all. In the web mode still I could see only the plain blank frame. If I do a right

Re: Frame.setURL in IE6/7 always cause's refresh of contents? (even if just the #token changed)

2009-07-09 Thread Jerome
Hi , I am running in to a problem when I try to load a URL in a frame, URL which is also a GWT application but compiled and deployed in GWT 1.5 when I try to load the app it says version mismatch and doesn’t load at all. In the web mode still I could see only the plain blank frame. If I do a righ

Issue loading content and refreshing with frame

2009-07-09 Thread Jerome
I am running in to a problem when I try to load a URL in a frame, which is also a GWT application but compiled and deployed in GWT 1.5 when I try to load the app it says version mismatch and doesn’t load at all. In the web mode still I could see only the plain blank frame. If I do a right click an

GWT application released: XProc Designer

2009-07-09 Thread Jeroen van Rotterdam
We just released our XProc Designer, a GWT application for designing XProc pipe lines. Check it out at: https://community.emc.com/docs/DOC-4169 The EMC XProc Designer is a new graphical tool for designing XML Processing pipelines according to the W3C standard XProc. XProc Designer is made availab

File Upload error 404

2009-07-09 Thread ghita
Hello, I'm a newbie to gwt, I have a simple application that I use to upload file to server, but keeps giving the following error. I read that it may be because of the mapping of the servlet, here is my web.xml. any suggestions? HTTP Status 404 - /upload_0.2/UploadFileServlet type Status report

Problem getting rid of scrollbars.....

2009-07-09 Thread shaselai
I basically have something setup like this: HtmlPage with iFrame calling on my GWT page: The GWT(FOO.html) that is in the iFrame has: The layout of my GWT page is basically a HSplitPanel that splits two vertical splitpanels - on the left it is basically 2 evenly distributed area and the right

Regarding Eclipse Modeling Framework Project

2009-07-09 Thread Ragoth thilo
I am working with EMF project. I am having XSD file. >From this schema file i need to generate java file. I think to create the java file, Eclipse will use some plug-in. Any one have knowledge in this. Can any one help me what kind of plug-in and how to use this tool in eclipse. Thanks & Regards

Re: What is role of path in adding new servlet class in gwt.xml

2009-07-09 Thread Isaac Truett
That path is like the URL pattern in web.xml of a J2EE application; it's the part of the URL following your domain and web app context. On Wed, Jul 8, 2009 at 10:28 AM, Rahul wrote: > > Hi > Can anyone tell me what is the use of path in projectname.gwt.xml > while adding a new servlet class > >

Re: Problem in Window.open(url, name, features)

2009-07-09 Thread kelvin.huang
Hi Raul, Try this link, it should solve your problem. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/b4adf81640edc0d9 Window.open(GWT.getModuleBaseURL() + "ServletName?filename=" + filename, "_self", ""); Regards Kelvin --~--~-~--~~~---~--~-

Re: Is there a way to add a mouselistener to a treeitem that has these properties?

2009-07-09 Thread ProtoLD
Is there any response on this? Working as intended...somehow? Even though it doesn't work? On Jul 8, 4:03 pm, ProtoLD wrote: > I need to add a mouselistener to my tree items that pops up a mini- > menu to the side of the tree item.  On this menu there will be 3 icons > that are clickable with

Re: Google plugin for Eclipse 3.5 Galileo

2009-07-09 Thread Steven Jay Cohen
Rajeev, That makes sense. And, again, thanks for getting back to me so fast. Do you know if there is any plan to synchronize Google Eclipse Plugin releases to the Eclipse Release Train? It would be amazing if in the future, the release of Eclipse 3.6 were to perfectly coincide with the release

Re: calling javascript methods of a js file

2009-07-09 Thread Ian Bambury
GWT runs in an Iframe and therefore your script is in the parent. You can use parent.window and parent.document but GWT sets up $doc and $wnd which will work even if the GWT structure changes. Ian http://examples.roughian.com 2009/7/9 Peterman > > Hi to all > > I'm trying to call a javascript

calling javascript methods of a js file

2009-07-09 Thread Peterman
Hi to all I'm trying to call a javascript methods from my gwt application to a js file included in my project, but I always have the same error: "the method x can't be founded" (or something similar). I have tried to put the js file in my public directory and linked it from my html file (hos

Re: How to get GWT site indexed?

2009-07-09 Thread Axel Kittenberger
Provide some content in a noscript tag. On Jul 9, 5:35 pm, Dalla wrote: > Hi > > I´m wondering if someone has a tip or two to give about SEO when it > comes to GWT apps. > I have a very basic site athttp://date-time.appspot.com/which has > not even been indexed. > Considering it´s a very simple

Re: FireFox 3.5

2009-07-09 Thread Algian
Does anyone know how I can modify the GWT package to include these two classes? Unless the release dates for GWT 1.6.5 are close. Does anyone know what the planned date is? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: Google plugin for Eclipse 3.5 Galileo

2009-07-09 Thread Rajeev Dayal
Hey Steven, Thanks for pointing this out! We tried out the distribution that you sent, and it seems that the plugin "sort of" works. The New Web Application Wizard and GWT Compile dialogs do not work. Neither does JSNI refactoring. This makes sense, as these are exactly the problems that we're try

Re: Google plugin for Eclipse 3.5 Galileo

2009-07-09 Thread Steven Jay Cohen
Thanks for the quick reply. Just found something interesting: http://download6.yoxos.com/archivecreator/download/eclipse-macosx-cocoa-x86-09040ae18b97dc909a0fdda1ed.tar.gz Seems that Yoxos is distributing an eclipse 3.5 build with the Google Eclipse Plugin installed, and its working. If you'd r

How to get GWT site indexed?

2009-07-09 Thread Dalla
Hi I´m wondering if someone has a tip or two to give about SEO when it comes to GWT apps. I have a very basic site at http://date-time.appspot.com/ which has not even been indexed. Considering it´s a very simple site I wouldn´t expect it to be very high on the rankings, but I should be able to ge

Re: How to send Post/Get Method by Using GWT?..

2009-07-09 Thread Leonardo Carreira
Hi All.. sorry i found new Problem.. :( i have created an application by used FormPanel.. but i couldn't any Widget which displayed.. :( here is my code : [code] public class MainEntryPoint implements EntryPoint { public void onModuleLoad() { final FormPanel formPanel=new FormPanel();

Re: When use inherit on xml?

2009-07-09 Thread Ivan Chappel
Please stop spamming this group by firing away questions without thinking twice or reading the GWT documentation. RTFM. On Jul 8, 11:15 pm, Paulo Coutinho wrote: > Hi ppl, > > I want know when i have to use the inherit on [APP].gwt.xml ? > > -- > Atenciosamente, > Paulo Coutinho. > Blog:www.prso

Re: Problem in Window.open(url, name, features)

2009-07-09 Thread David Parry
Try setting the ContentType in the response to "application/pdf" David On Jul 9, 8:08 am, "alex.d" wrote: > Nothing strange at all - you can't just read local files from your > browser. Put your file in the server's public folder (where your html > and other files are) and get it withhttp://lo

Internet Explorer 8 and DialogBox display error

2009-07-09 Thread Stefan Sigvardsson
Seems like Microsoft has done it again... When trying to display a DialogBox (with .center() ) everything works fine in all browsers (including IE6-7), except for IE8. The error message i get is in Swedish ("Har inte implementerats"), but it should translate to "Not implemented". With a referenc

Oracle WebCenter Interaction

2009-07-09 Thread David Parry
Has anyone successfully integrate a Remote Portlet that uses GWT in WebCenter Interaction? If yes any thoughts on how to get started what tweaks are needed? If no is there any future plans for GWT to run in WebCenter Interaction? The problem i see is with the Proxy of the url and the window.locati

Re: need to dynamically set a java field of a known name

2009-07-09 Thread george9
Hi David, having worked 10 years in Java I know how to use reflection:) Sorry it was not obvious from my post - I was just inquiring whether there's a GWT method that could be used in client code - some method that escaped my search. Anyway, I've solved this problem yesterday by writing a simple

Re: Large graphs

2009-07-09 Thread wicher
Graphs not charts :) http://en.wikipedia.org/wiki/Graph_(mathematics) but thanks On 9 Lip, 05:23, Paulo Coutinho wrote: > I have problems with large graphs on php, the generated image is too > big, so, searching, i discovered some flash charts, that you can set a > large data in xml and the grap

IE 8 Image Bundle Issue

2009-07-09 Thread Charlie M
Hi All, I have a strage problem thats apeared with IE 8. Basically I have a discolusre panel with a customer header. The header has a Grid on it with one row. The left most item is the standard disclosure triangle Image. I have mirrored the standard discloure panel header widget as much as possib

Re: FF 3.5 + GWT 1.5.3 + Large App (script/stack errors)

2009-07-09 Thread Fulvius
I have same problem... First of all, I like so much gxt components. to help you: gxt must calculate in javascript every component resize (look this in firebug), and this components have so many listeners and many hierarchy. In some cases, I prefer build my own components using just gwt component

Re: Java Security Permissions / postgreSQL

2009-07-09 Thread Rahul Mukhedkar
thanks a lot i having the same problem thanks a lot Enea for showing the exact path where to unmark On Jun 7, 7:09 pm, Enea wrote: > Thanks a lot! > Project->Properties->Google->AppEngine-> Unmark "Use Google app > Engine" > > I had exactly the same "difficulty" with gwt+eclipse+postgre :) > > -

Migrating from GWT-RPC to JSON format without modifying gwt code. Is it possible?

2009-07-09 Thread igor.khd
Hello everybody. I am performance analyst and I wonder is it possible to migrate from GWT-RPC to JSON format easily avoiding many changes in gwt source code? I need to get rid of using gwt-rpc format because it difficult to parse and retrieve necessary data. Thanks/ --~--~-~--~~-

Re: Google plugin for Eclipse 3.5 Galileo

2009-07-09 Thread Rajeev Dayal
No, unfortunately there is no URL to track the status of the plugin, and we're not planning on sending out a beta release of the plugin at this time. You do make a good point though - it would be a good idea to have a public release schedule to properly set expectations. We're definitely planning o

Re: How to send Post/Get Method by Using GWT?..

2009-07-09 Thread Leonardo Carreira
@Hasan... Thanks for your reply Hasan.. :) Sorry for the really basic question.. i am quite new in developing AJAX by GWT application.. :( Thanks in advance.. :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Goog

Re: Display tables of database in tree fashion

2009-07-09 Thread Rahul Mukhedkar
any suggestions anyone? On Jul 7, 1:43 pm, Rahul wrote: > Hi, > I would like to display the tables on my UI in a tree fashion. The > tables should open to show the columns names. > Also I would like to have drag and drop of the column name to a blank > text field. > > Does anyone has any idea ho

Re: How to send Post/Get Method by Using GWT?..

2009-07-09 Thread Hasan Turksoy
use FormPanel... add your widgets into it... then call "FormPanel.submit();" method inside onClick method of your button.. Hasan... On Thu, Jul 9, 2009 at 5:09 PM, Leonardo Carreira < leonardo.carre...@yahoo.com.sg> wrote: > > Sorry i forgot.. What i mean is.. > i want to send POST Method to a

Re: How to send Post/Get Method by Using GWT?..

2009-07-09 Thread Leonardo Carreira
Sorry i forgot.. What i mean is.. i want to send POST Method to any Servlet.. and then Servlet get All data which already sent by use request.getParameter().. Then the user do save data or etc.. Thanks in advance.. :) --~--~-~--~~~---~--~~ You received this message

[Ask] How to send Post/Get Method by Using GWT?..

2009-07-09 Thread Leonardo Carreira
Hi Friends.. :) How to send POST/GET Method using GWT?.. assume that i have simple login application.. User has filled the data which required.. Then how to send POST method (like HTML method) in GWT?.. especially when user clicked the Login Button.. Sorry maybe this is quite basic question.. :(

Re: GWT architecture MVP/EventBus (mentioned at Google I/O)

2009-07-09 Thread Arthur Kalmenson
The HandlerManager is indeed new in GWT 1.6, that might be why. If you wrap your own you can always add new functionality, that might also be why. Thanks for the link to the MVZ project, it'll be good to see some example implementations of the concepts. -- Arthur Kalmenson On Thu, Jul 2, 2009

Re: Google plugin for Eclipse 3.5 Galileo

2009-07-09 Thread Steven Jay Cohen
Is there a URL where we can check on the status of the plugin? Is there a beta test for the plugin? That would be a lot more efficient than people randomly asking here in the forums. Steven On Jul 7, 10:02 am, Miguel Méndez wrote: > We are working on the release as we speak.  It should be ou

Re: How to Run GWT App in Hosted Mode by Using Netbeans 6.5?

2009-07-09 Thread Leonardo Carreira
@XiaoR Hii Xiao.. Thanks for your reply.. :) Yap iam quite new to GWT,, :( Thanks for your suggestion... Okay.. maybe i'll use Eclipse for develop GWT app.. Thanks in advance.. :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: GWT 2 Theme

2009-07-09 Thread Kango_V
Inner designer? That made me laugh hehe. I'm all for open source. In fact that's all I use. But we have many projects to do and not a designer in our sordid bunch :) I'm just looking at the themes which ExtGWT and SmartGWT come with and feel that if GWT came with a really nice theme, it's uptak

Re: How to download a file in IE8?

2009-07-09 Thread Rafael
alex.d, I am having same problem but with a csv file. I think it's that IE8 fails to recoginize the type (MIME type) of the file, so it reloads the page rather than ask the user to save as... I asked same question in another post. please ignore. Surprisingly, i can server the file to IE8 in Vis

Re: Large graphs

2009-07-09 Thread Piotr Kirklewski
Have you already try AnnotatedTimeLine Chart from the Google visualization package ? Regards Peter wicher wrote: > Hello > I'm looking for something that will allow me to efficiently draw > graphs with large number of nodes and edges. Nodes and edges should be > editable and movable objects. >

Re: [Ask] How to Run GWT App in Hosted Mode by Using Netbeans 6.5?

2009-07-09 Thread 任胜韦
I have the same question. It seems easier to run the hosted mode using eclipse rather than using netbeans --XiaoR On Thu, Jul 9, 2009 at 6:32 AM, Leonardo Carreira < leonardo.carre...@yahoo.com.sg> wrote: > > Hello All :).. > > i have a simple problem.. How to run GWT App in Hosted Mode by Usin

[Ask] How to Run GWT App in Hosted Mode by Using Netbeans 6.5?

2009-07-09 Thread Leonardo Carreira
Hello All :).. i have a simple problem.. How to run GWT App in Hosted Mode by Using Netbeans6.5?.. I have Created Web application.. and i added GWT plugins too.. then i have created GWT EntryPoint class.. How to run that GWT EntryPoint Class in Hosted Mode?... Thanks in advance.. :) --~--~-

Re: Problem in Window.open(url, name, features)

2009-07-09 Thread Rafael
hey alex.d, I have a similar problem with serving a csv file to IE 8. As in, i do window.open("http://host/blah/file.csv";, "_blank","") and it does not open a new window to the file specified. It does work in FF and Chrome. If i grab the url and manually enter it in address bar of a new window

Re: IE problem with incorrect warning

2009-07-09 Thread kelvin.huang
Hi Lance, I had the similar problem before, you can use Host Mode to debug it, those IE related errors can be reproduced in Host mode. and you can check the error log to find out the problem. My case was that IE displays the same message when I click on the hyperlink. because I had an empty toke

Re: Character encoding issue with my gadget

2009-07-09 Thread Andre Leger
Thanks Paulo and HW for the reply. I already have the Eclipse workspace setup to use UTF-8. Any other ideas out there? Andre On Thu, Jul 9, 2009 at 3:15 AM, hjo1620 wrote: > > Have you tried this ? > > * Take a backup copy of your entire workspace. > * Window>Preferences>General>Workspace>T

Re: Problem in Window.open(url, name, features)

2009-07-09 Thread alex.d
Nothing strange at all - you can't just read local files from your browser. Put your file in the server's public folder (where your html and other files are) and get it with http://localhost:/bla/bla/file.pdf (or smth. similar ;) On 9 Jul., 09:34, Raul wrote: > Hello all, > > I have a proble

Change date with FABridge

2009-07-09 Thread Lena
I am working with GWT and trying to add a flex application in the web. I am using gwt2swf.jar and gwt-fabridget.jar. My flex app has a chart using a DateTimeAxis on an axis. I was trying to change the min and max date but setProperty doesn't accept Date. Does anyone know how can I use a Date? Th

Re: MVC and JUnit - how to handle handlers?

2009-07-09 Thread Miroslav Genov
You could create a mock view which is listening for such events. For example: class MockAddressView implements AddressView, HasValueChangeHandlers<...> { .. } and in your test: testUpdateUserDataNotifiesViewThatUserDataHasBeenUpdated() { HandlerManager even

Change date with FABridge

2009-07-09 Thread Lena
I am working with GWT and trying to add a flex application in the web. I am using gwt2swf.jar and gwt-fabridget.jar. My flex app has a chart using the DateTimeAxis class. I was trying to change the min and max date but setProperty doesn't accept Date. Does anyone know how can I use a Date? This

Change date with FABridge

2009-07-09 Thread Lena
I am working with GWT and trying to add a flex application in the web. I am using gwt2swf.jar and gwt-fabridget.jar. My flex app has a chart using the DateTimeAxis class. I was trying to change the min and max date but setProperty doesn't accept Date. Does anyone know how can I use a Date? This

Re: mousePressed

2009-07-09 Thread Thomas Broyer
On 8 juil, 19:39, Memo Sanchez wrote: > Thank you, it worked, this is what I did, in case someone is > interested: I'd rather do: > buttonright_arrow.addMouseListener(new MouseListener() >       { >          boolean       flag  = false; > >          private Timer timer = new Timer() >        

Re: How do you fire Change Events?

2009-07-09 Thread Thomas Broyer
On 8 juil, 22:56, dk wrote: > Hi, > > I am back with more Handler questions.  This is currently the most > opaque GWT topic for me. > > I am building a Composite widget that will have at least a Grid and a > Button.  The Grid will act a little like a ListBox in that one or more > rows can be "se

Encounter an invalid stream header

2009-07-09 Thread n...@oj
Hi folks, I'm working on a small application which tend to communicate with a foreign webserver to generate specific contents. A RPC is used when the user fire the event by clicking on a button. Java.net is used with URL et URLConnection. Tipically I write a serialized string to the outputstream

Re: need to dynamically set a java field of a known name

2009-07-09 Thread David Goodenough
You can do it in real java, but as reflection is not supported in GWT it would not work in GWT. In real java you would say:- Test test = new Test(); Test.getClass().getField("value").set(test,"some value"); Note that if value is a private or protected field then you need to use getDeclaredFiel

MVC and JUnit - how to handle handlers?

2009-07-09 Thread corpios
I'm designing an application following the MVC pattern. Each view have its own controller and model. The view know about the model and the controller. The controller know about the model. The Observer pattern is used to handle the model - view relation. The model notifies the view about changes i

Problem in Window.open(url, name, features)

2009-07-09 Thread Raul
Hello all, I have a problem with the Window function Window.open(url, name, features) I have few PDF files in my hard drive say in (C:/Information), My Server path is C:/Tomcat_Home; I have a PDF file named C:/Information/contacts.pdf When I tried to open this PDF in a new Br