Re: ClickHandler not called on second click

2010-06-02 Thread Danny Goovaerts
I have not yet been able to isolate the code while reproducing the problem. It's probably related to the actual structured of the page. But I managed to get some more information using the debugger. - The problem occurs when using a PushButton (constructed using the constructor PushButton(Image

Request Builder Vs RPC call for File Download

2010-06-02 Thread Tapas Adhikary
Hi All, I need a suggestion. I have requirement of downloading file from the server. I am using GWT . Which one would be the best approach to send the request to the server , RequestBuilder or RPC. I have to send multiple report ids to the server. Based on the these report Ids I need make a

Re: GWT-RPC vs HTTP Call - which is better??

2010-06-02 Thread Sripathi Krishnan
In general, you should use GWT RPC; it is pretty good for most use cases. You can always optimize later if needed. *Comparing various methods* GWT RPC is also a HTTP call. The only difference is in the (de)serialization mechanisms employed by each method. There really isn't a single good

How modular is GWT?

2010-06-02 Thread Erik van Ingen
Let's say that I have about 5 different applications in my website. All these application do share GWT components. A visitor may use 1 or more applications. Given this usecase, I have a few questions: (1) Is is possible in GWT to isolate these shared GWT components in such a way that they are

mathsinh is not function

2010-06-02 Thread jamesmikedup...@googlemail.com
Hi, my app is crashing from math.sinh is not a function : http://fmtyewtk.blogspot.com/2010/06/mathsinh-is-not-function.html this should be caught in gwt. deployed here : http://xhema.flossk.org:8180/GWTOSM/ version here: http://github.com/h4ck3rm1k3/GWTOsm please advise, mik -- You received

Re: mathsinh is not function

2010-06-02 Thread Brendan Kenny
looks like a cool project. According to the GWT JRE emulation reference http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html sinh is on the emulated Math object, but it looks like, from your first link, that you are calling it from javascript code. sinh() is *not* a function on the

Re: mathsinh is not function

2010-06-02 Thread Brendan Kenny
ha, I see you just filed an issue and beat me to it. My mistake. cosh() properly emulated: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/super/com/google/gwt/emul/java/lang/Math.java?r=7605#85 sinh() not so much:

Re: suggest box hides whole page in IE

2010-06-02 Thread hriess
I think there are some issues concerning this problem, e.g. look at issue 4532. I've still the same problem. A discussion you can find here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6ce497dde344702b/e89e674e2922efe6 Holger -- You received this message because you

Re: How modular is GWT?

2010-06-02 Thread Sripathi Krishnan
You have two options - 1. Keep all applications in the same module, and then use code-splitting to ensure only necessary code gets downloaded 2. Maintain separate modules for each app, plus a common module that every app reuses. Both have advantages and disadvantages, and you should

Can I use GWT-GDATA to retrieve a token to be used on server-side gdata?

2010-06-02 Thread Raffo
Hi guys, I'm dealing with an authSub problem. I need to do an AuthSub login to use GData on the server side. Unfortunately I can find a way to do the redirection since I have a single entrypoint in my GWT application (which seems to be right), so I can't find a way to correctly block the GUI while

Re: nested layout issues

2010-06-02 Thread Magnus
Hi, well, to center my main panel horizontally and vertically, I need a method to set the alignment. These methods are provided by Horiziontal/ VerticalPanel, but not by DockLayoutPanel. Or am I wrong? Thanks Magnus On 1 Jun., 23:32, kozura koz...@gmail.com wrote: although given that you are

Testing client code fails with JDOFatalUserException: Duplicate PMF name

2010-06-02 Thread ingo
hello everyone, i am currently doing the honeycrm project http://code.google.com/p/honeycrm/. i wrote some server side tests that run without any problems: http://code.google.com/p/honeycrm/source/browse/#svn/trunk/src/crm/server/test now, i would like to test the user interface code (e.g.

Re: How modular is GWT?

2010-06-02 Thread Erik van Ingen
thank you for the very clear answer! On Jun 2, 10:51 am, Sripathi Krishnan sripathi.krish...@gmail.com wrote: You have two options -    1. Keep all applications in the same module, and then use code-splitting    to ensure only necessary code gets downloaded    2. Maintain separate modules

Re: RootPanel from a Node?

2010-06-02 Thread SergeZ
The most easy way to get element by it's id - is to use RootPanel.get(id) method. But if you want to get the value of tag's id attribute, you have to use a getAttribute(String id) method, which returns a value of specified attribute! On 1 июн, 23:31, markww mar...@gmail.com wrote: Hi, Is

Re: UiBinder i18n: translating arguments to a nested UiBinder Widget

2010-06-02 Thread Thomas Broyer
On 1 juin, 18:10, ericv eric.vaut...@gmail.com wrote: Hello everyone, I'm hitting a wall trying to internationalize a nested element. Say I have a Composite defined as follows: public class Callout extends Composite {     private static CalloutUiBinder uiBinder =

Re: How do you share css resources across multiple modules?

2010-06-02 Thread Tobias Herrmann
Hi Chris, that option will only generate very short obfuscated style names, but they will still be different across different modules. I have looked into the css resource generator source, but there seems to be no way to force identical style names for separate compilation runs. I may need

Date Serialization in RPC

2010-06-02 Thread leslie
I'm attempting to send Date information from the client to the server in a different timezone using remote procedure calls. As others have already have commented, I am experiencing the expected change in value of the Date because of the difference in the timezone. I have found a post which

Re: Date Serialization in RPC

2010-06-02 Thread Lothar Kimmeringer
leslie schrieb: I'm attempting to send Date information from the client to the server in a different timezone using remote procedure calls. As others have already have commented, I am experiencing the expected change in value of the Date because of the difference in the timezone. Using

Re: Date Serialization in RPC

2010-06-02 Thread mariyan nenchev
Why don't you use GMT times every where and just use the user's locale to format them in his/her timezone, but internally use Timestamp, or date.getTime() // long in gmt -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: Date Serialization in RPC

2010-06-02 Thread Paul Robinson
I had a recent search through everything related to this, and I believe you have up-to-date information. Instead of recompiling GWT, I tried putting the custom field serializers in my project and putting that ahead of GWT in the classpath, but I couldn't make it work this way. I went back to

Re: Date Serialization in RPC

2010-06-02 Thread leslie
(I apologize if this appears twice. I thought it was submitted but it appears to have been lost.) Thanks so much Lothar for your response. --Using java.util.Date this comes without surprise, because --Date itself doesn't contain any timezone-information. This is true. --Saved or serialized?

Re: Google API Library for GWT updated for GWT 2.0

2010-06-02 Thread jgonian
After a little search, I found this project: http://code.google.com/p/google-maven-repository/ which seems to be in charge of mirroring releases of google owned projects under maven central. As suggested there, I filed an issue to gwt-google-apis project with reference to google-maven-repository

Can I use full class path name in @source?

2010-06-02 Thread Robin
In ClientBundle, we can use: @Source(anIcon.png) public ImageResource anIcon(); However, when I try to use a full class path like the following: @Source(com/domain/app/public/images/anIcon.png) public ImageResource anIcon(); The eclipse gwt plugin indicates the

Re: Date Serialization in RPC

2010-06-02 Thread leslie
Thanks marlyan for your repsonse -- Why don't you use GMT times every where I'm not sure what you mean here. I'm using the DateBox for the convenience of my end user on my GWT gui and it returns a Date to the model. That Date is serialized with the model object to be sent to the server. --

Re: Date Serialization in RPC

2010-06-02 Thread leslie
Thanks very much Paul for your response, for sharing your experience and confirming what I guess I suspected. I guess I'm going to go ahead and obtain the src files for the gwt-user jar, swap out the Date Custom Serialization class and recompile and recreate the jar. Fortunately, right now I'm

Re: Google API Library for GWT updated for GWT 2.0

2010-06-02 Thread Andrés Cerezo
Is there a demo with examples? Thanks. 2010/6/2 jgonian jgon...@gmail.com: After a little search, I found this project: http://code.google.com/p/google-maven-repository/ which seems to be in charge of mirroring releases of google owned projects under maven central. As suggested there, I

Re: How to achieve traditional website behavior with layout panels?

2010-06-02 Thread googelybear
thanks for all your feedback. After fiddling a bit with manual resizing I decided to remove the layout panels and go back to the old panels combined with Olivier's approach (using HtmlPanel with plain html where it makes sense) and live with the deprecation warnings when using uibinder with the

Re: GWT Compiler fails with 'Too many open files' error / internal compiler error

2010-06-02 Thread googelybear
I just checked on that machine and the global limit is 6'297'272, and the user limit for the user running the gwt compiler is 1024. Does gwt really need to open so many files? What would you recommend to set? On Jun 2, 1:23 am, googelybear googelyb...@gmail.com wrote: Hi Chris, yes it's a

wonder wheel in GWT ?

2010-06-02 Thread Ed
Hi all, I want to use a Wonderl wheel like Google uses for his search results in GWT to show my search results. Any idea how to do that ? For people not knowing wonder wheel: www.google.com, type some text and search. Then in the list of result choose Wonder Wheel in the left result option. Ed

Re: GWT Compiler fails with 'Too many open files' error / internal compiler error

2010-06-02 Thread googelybear
Ok this gets weirder, now I get another internal compiler error in DisclosurePanel: [java]Scanning for additional dependencies: jar:file:/opt/ gwt-2.0.3/gwt-user.jar!/com/google/gwt/user/client/ui/ DisclosurePanel.java [java] Computing all possible rebind results for

Re: GWT Design Problem

2010-06-02 Thread ping2ravi
Ya this approach looks good, thanks kozura. Now my app will look like this. myapp.html#type=profileid=100 call server and get data myapp.html#type=profileid=234 call server and get data myapp.html#type=profileid=100 get data from cache and refresh panel

Re: Date Serialization in RPC

2010-06-02 Thread Lothar Kimmeringer
Hi Leslie, first of all (offtopic), try to conform to the quoting standards. preceding '--'s are not. leslie schrieb: --Saved or serialized? IMHO: --Saved: UTC-times --Serialized: W3C-formatted string representation of the date It looks like you are suggesting that rather than send the

Re: Can I use full class path name in @source?

2010-06-02 Thread Thomas Broyer
On 2 juin, 14:13, Robin chwa...@gmail.com wrote: In ClientBundle, we can use:         @Source(anIcon.png)         public ImageResource anIcon(); However, when I try to use a full class path like the following:         @Source(com/domain/app/public/images/anIcon.png)         public

GWT2.1, validation and roo

2010-06-02 Thread jbdhl
I came across the work-in-progress design document for RequestFactory for GWT2.1 in this wave: http://www.google.com/url?sa=Dq=https://wave.google.com/wave/%3Fpli%3D1%23restored:wave:googlewave.com!w%25252BWU4iAICkI.1usg=AFQjCNFOgpBanLKsvyXMtWpvLl9lWc4qGQ The document does not directly describe

Re: wonder wheel in GWT ?

2010-06-02 Thread fmod
Seems google is using flash to generate it. Unless you want to experiment with Canvas in HTML5 is going to be hard to simulate the same behavior in javascript. You can try to play with divs, background image and absolute positions to place the labels. But no idea how to make the nice animations.

Re: wonder wheel in GWT ?

2010-06-02 Thread Ed Bras
Any third party lib's out there ? Or any flash code ? Ed On Wed, Jun 2, 2010 at 4:21 PM, fmod francisco.mode...@gdsoft.eu wrote: Seems google is using flash to generate it. Unless you want to experiment with Canvas in HTML5 is going to be hard to simulate the same behavior in javascript.

Re: Exporting Grid data to MS-Excel

2010-06-02 Thread achilles.hector...@gmail.com
thanks for the reply jhulford, Could you give an example or url to produce an xlsx (ie. OOXML) formatted Excel file. On Jun 1, 6:44 pm, jhulford jhulf...@gmail.com wrote: Aside from Sri's advice (which is what my application does), the only way you'll be able to include more than 65536 rows in

Re: mathsinh is not function

2010-06-02 Thread Eric
On Jun 2, 4:21 am, Brendan Kenny bcke...@gmail.com wrote: 2) or, if it needs to remain in js-land, just expose a sinh() function for use just like the page at your first link suggests: (e^x - e^(- x)) / 2. Just be careful with your NaNs and Infs. Actually, be careful with small values of x

Re: UiBinder i18n: translating arguments to a nested UiBinder Widget

2010-06-02 Thread ericv
On Jun 2, 12:44 pm, Thomas Broyer t.bro...@gmail.com wrote: Something that works, but maybe there's already something baked into UiBinder to make it easier: define a Messages or Constants interface, import it with a ui:with and then use it right there: ui:UiBinder ...   ui:with field=msg

Re: Date Serialization in RPC

2010-06-02 Thread leslie
No luck here.. I tried making the changes found in the file in the link I offered earlier. Running with the new code produces the following error when I attempt to retrieve a list of objects each with a Date attribute. com.google.gwt.dev.shell.HostedModeException: Something other than an int

Re: nested layout issues

2010-06-02 Thread kozura
Did you figure out the problem with the outer-most DockLayoutPanel? Not knowing the intended design of your app, a LayoutPanel can create a centered region of a particular size, either relative with percentages or fixed. But, without some gymnastics it won't center something based on the final

Re: Date Serialization in RPC

2010-06-02 Thread leslie
Hi Lothar, Thanks again for your help, first of all (offtopic), try to conform to the quoting standards. preceding '--'s are not. Ok. You're right. Sorry about that. We were talking about dates where you need timezones. A birthday is a quite bad example for that. Yes I see your point.

Re: Date Serialization in RPC

2010-06-02 Thread Paul Robinson
I misled you slightlythe date/date/timestamp custom field serializers are also in gwt-servlet.jar Paul leslie wrote: No luck here.. I tried making the changes found in the file in the link I offered earlier. Running with the new code produces the following error when I attempt to

Experience with processing.js in GWTCanvas?

2010-06-02 Thread BurstUser
Hi all, Does anyone have experience in using the processing.js library (http:// processingjs.org/) to do drawing and animations within GWTCanvas? Any code examples or pointers on getting started would be greatly appreciated. Thanks! -- You received this message because you are subscribed to

Re: ClickHandler not called on second click

2010-06-02 Thread Olivier Monaco
Danny, What your click handler does? May be it puts some (transparent) element in front of the button... How do you use the PushButton? What is the exact structure of panels? You need to build a test case to us help you. Olivier On 2 juin, 08:02, Danny Goovaerts danny.goovae...@gmail.com wrote:

NullPointerException when adding suggestions to a MultiWordSuggestOracle

2010-06-02 Thread Rafael
Hello! I am quite baffled by the NullPointerException i get when i add suggestions to a MultiWordSuggestOracle in order to create a suggestion box later. MultiWordSuggestOracle oracle = new MultiWordSuggestOracle(); ListString suggestions = new ArrayListString(); for(int i = 0; i

Re: Date Serialization in RPC

2010-06-02 Thread kozura
Or, if all you really want is the actual date entered by the user and don't care about the time, you can simply send mm dd, either as a separate object or parameters to an RPC, and avoid custom serializers, interpreting Universal Date against timezones, or recompiling GWT. Why make sh*t

Re: mathsinh is not function

2010-06-02 Thread jamesmikedup...@googlemail.com
Hi all, I don't want to sound stupid, but I am not a mathematical genius. What i do know that is it taking a projected point (on the screen in Spherical Mercartor) to find out the lat long, public LatLon eastNorth2latlon(EastNorth p) { return new LatLon(

Getting the default DateBox() picker to advance year at a time

2010-06-02 Thread Rob Tanner
Hi, I'm using a DateBox() widget for users to enter their date of birth. When the picker is displayed, on either side of the month/year displayed in the center top of the picker are the greater than and less than arrows for moving forward or backward, month at a time. I have not figured out

login/logout/remember

2010-06-02 Thread Magnus
Hi, I cannot find a minimalistic example that shows how to realize a login/ logout functionality. Could please someone point me to such an example? I also wonder where to put the different things. For example, the code that immediately reacts on the login button could be placed within the client

Re: Date Serialization in RPC

2010-06-02 Thread leslie
I'm converting an existing java desktop application to the web by using GWT. The model classes are already written and they contain a number of Dates. The Person example was a trivial representation of a larger model. What you're suggesting is more complicated than you realize. On Jun 2, 11:44 

Re: Date Serialization in RPC

2010-06-02 Thread leslie
That was it. Recompiling the servlet jar file with the updated Date Custom Serializer class worked. Thanks very much. On Jun 2, 11:11 am, Paul Robinson ukcue...@gmail.com wrote: I misled you slightlythe date/date/timestamp custom field serializers are also in gwt-servlet.jar Paul --

Re: suggest box hides whole page in IE

2010-06-02 Thread suresh
Thanks for the link Holger. Our application has lot of Menus and a suggestion box. Seems there is no work around for this. On Jun 2, 4:45 am, hriess hriess.chemn...@t-online.de wrote: I think there are some issues concerning this problem, e.g. look at issue 4532. I've still the same problem. A

Re: GWT Design Problem

2010-06-02 Thread Tristan
check this out to give you some ideas about the history service.. http://code.google.com/p/handlebars/wiki/PlaceServiceOverview On Jun 2, 8:08 am, ping2ravi ping2r...@gmail.com wrote: Ya this approach looks good, thanks kozura. Now my app will look like this. myapp.html#type=profileid=100    

Re: Feedback on Large scale app development MVP article

2010-06-02 Thread Tristan
@nogridbag What are your reasons for not having the presenter make RPC requests? The RPC Service is not a presenter itself. Probably the MVP model should be called MVPSE (services, event bus) because that's what it takes to make it really work. On Jun 1, 4:04 pm, jocke eriksson jock...@gmail.com

Re: login/logout/remember

2010-06-02 Thread Bruno Lopes
Hi Alpine Bluster, look at this code: public void onModuleLoad() { this.setLoginPanel(); loginButton = new Button(Login); loginButton.addListener(new ButtonListenerAdapter() { public void onClick(Button button, EventObject e) { userAuthentication(); } });

Re: Testing client code fails with JDOFatalUserException: Duplicate PMF name

2010-06-02 Thread ingo
hello everyone, does anyone know the root cause of this problem? i thought the reason might be duplicate jdoconfig.xml file. however, it turns out that deleting this file from the src/META-INF/ directory is not a good idea since it creates even more exceptions: [WARN]

Chunking File Upload

2010-06-02 Thread Ken
I'm looking at a problem that I think I might be able to solve using GWT. We're considering using GWT for the client of our application for other reasons, but I think it might also solve this issue. We're developing a Google App Engine application that processes data uploaded to it. As you may

Re: Changing CSS on the fly

2010-06-02 Thread mmoossen
hi fmod! it is possible, but not out of the box nor easy to implement nor good practice. just use a composite rule with some parent like the body element, ie. .longItems .myRule { width: 500px; } and do: RootPanel.getBodyElement().setClassName(longItems); of course, using a css resource bundle

Re: How to center a VerticalPanel on page with UiBinder

2010-06-02 Thread mmoossen
hi Mark! you should take a look at this in first place: http://blog.themeforest.net/tutorials/vertical-centering-with-css/ HTH Michael On May 30, 3:51 pm, Tristan tristan.slomin...@gmail.com wrote: have you tried... g:HorizontalPanel width=100%   g:Cell horizontalAlignment=ALIGN_CENTER    

Re: eclipse 3.5.2 and gwt

2010-06-02 Thread seven.reeds
I still have no idea what the issue was but I had to un-install eclipse and delete the .eclipse dir in my home directory then reinstall Eclipse and re-add the GWT plug-in for it to show up. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: GWT-RPC vs HTTP Call - which is better??

2010-06-02 Thread Stefan Bachert
Hi, in general use GWT-RPC (as Sri wrote). However, the only case I would you classical HTTP is, when you need to download image data which are business datas (and not static images which should be located in a ClientBundle). Stefan Bachert http://gwtworld.de On 2 Jun., 06:58, Nirmal

Re: Getting the default DateBox() picker to advance year at a time

2010-06-02 Thread Jim Douglas
No, it's not possible, short of writing a custom DatePicker. You might want to vote for this open issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3520 On Jun 2, 9:24 am, Rob Tanner caspersg...@gmail.com wrote: Hi, I'm using a DateBox() widget for users to enter their date

Re: Feedback on Large scale app development MVP article

2010-06-02 Thread nogridbag
Mainly because of habit - I always try to avoid mixing UI related code with client/server code. IMHO, it seems similar to doing RPC calls in a controller or view in MVC which I think is a big no-no. Sticking with the article example, let's say you have two places where you want to display

Re: inserting space between form elements

2010-06-02 Thread Stefan Bachert
Hi Magnus, on the long run two things will happen 1) you will switch to an absolute layout, may be with some kind of layout manager 2) you need to learn more about css. on the short run put a non breaking space in your label (nbs; or char #160) Stefan Bachert http://gwtworld.de On 1 Jun.,

Re: Feedback on Large scale app development MVP article

2010-06-02 Thread Tristan
I don't like having two presenters either. I'm not quite sure that's what's required. My presenters have an adapter parameter, so one presenter can be coupled with different views depending on what adapter is selected. Then, depending if it's a listAdapter, editAdapter, displayAdapter, the same

Re: Chunking File Upload

2010-06-02 Thread kozura
Sorry, GWT doesn't provide any particular magic over javascript, which due to its architecture to avoid security risks cannot access client files except by sending them to the server with the user's consent. You could run a separate server to process these, try a flash solution, or presumably

File download from a GWT Service: java.lang.RuntimeException: Unable to report failure

2010-06-02 Thread J-Pro
Hello, dear GWT gurus! I'm trying to send a String to the client as a file after user presses a button. After searching I've found and doing it this way: http://codepad.org/kbZ8Cp2V But when I run it in GWT DEV mode, I'm getting this exception: java.lang.RuntimeException: Unable to report

Re: ClickHandler not called on second click

2010-06-02 Thread Danny Goovaerts
I managed to isolate the code in a few classes which reproduce the problem. Can I upload a zipfile (15k) somewhere? On Jun 2, 5:27 pm, Olivier Monaco olivier.mon...@free.fr wrote: Danny, What your click handler does? May be it puts some (transparent) element in front of the button... How do

Re: Getting the default DateBox() picker to advance year at a time

2010-06-02 Thread Danny Goovaerts
It's not necessary to write a custom DatePicker. It suffices to create a DatePicker with a custom MonthSelector. Here is my implementation // package eu.oobikwe.gwt.ui; import com.google.gwt.user.datepicker.client.CalendarModel; import com.google.gwt.user.datepicker.client.DatePicker; import

Calling JSNI function or Java function to handle onClick event

2010-06-02 Thread DK
I have an anchor element with an onClick=showAlert(); in my java file, I have a JSNI function public static native void showAlert() /*-{ alert('Hello'); }-*/; I never see this alert. In fact, when I look at the browser console, I see that showAlert could not be found. What

Re: File download from a GWT Service: java.lang.RuntimeException: Unable to report failure

2010-06-02 Thread Sripathi Krishnan
public class MyServiceImpl extends RemoteServiceServlet implements MyService The above line is wrong. It should NOT extend RemoteServiceServlet. Just extend the regular HttpServlet and it should work. --Sri On 3 June 2010 00:59, J-Pro jpro@gmail.com wrote: Hello, dear GWT gurus!

Download Popup Panel in PDF format

2010-06-02 Thread Anky
Hi All, Is there any way to download a GWT widget in PDF format? Thanks, Anky -- 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...@googlegroups.com. To unsubscribe from this group, send

Re: Calling JSNI function or Java function to handle onClick event

2010-06-02 Thread kozura
Java functions are translated into obfuscated (ie renamed) javascript, so will not be available to call from an element. You can create a javascript function, perhaps attached to wnd, which could then call a java function. On Jun 2, 1:46 pm, DK dmanchikalap...@gmail.com wrote: I have an anchor

Re: Calling JSNI function or Java function to handle onClick event

2010-06-02 Thread Manuel Carrasco Moñino
Although GWT obfuscates the produced javascript code renaming methods, classes, etc, it is possible to use a GWT method from javascript if you export it storing a reference in the window object: private native void exportMyMethod() /*-{ $wnd.showAlert = function(name) { return

Re: Download Popup Panel in PDF format

2010-06-02 Thread Manuel Carrasco Moñino
If you mean convert the content of the screen to PDF, basically you can not, but perhaps you can use this workaround 1.- Convert the content of the document to text: String content = Document.getBody.toString(); 2.- Send the content to the server 3.- Convert Html to Pdf in the server 4.- Return

Getting a 503 Error.

2010-06-02 Thread ike
Hey... I am using the plugin for Eclipse. There are no errors in my code according to Eclipse, but when I run the code, it gives me a screen like this: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/In2Solar.html Powered by jetty:// Is there someplace I could look to find out what is

How to read web.xml parameters from GWT

2010-06-02 Thread MickeyMiner
Hi, How do I read parameters stored in /WEB-INF/web.xml from my GreetingServiceImpl class? After I insert following snipplet int web.xml: init-param param-namedbHost/param-name param-value192.168.120.120/param-value /init-param init-param param-namedbName/param-name

Problem with Tree open/close since GWT 2.0.1

2010-06-02 Thread Dmitry Malinin
I have selected TreeItem, next I scroll Tree up to selected item out of view. When I open or close another(not selected) item Tree is scrolling back to make selected item visible. In GWT 2.0.0 this working properly. -- You received this message because you are subscribed to the Google Groups

Re: Status of Joda/Goda time, future of Date handling

2010-06-02 Thread Scott Fines
Hey, guys I'm the main contributor(for what it's worth) of gwt-time, and it's nice to know that it works for you guys. I've had to put it off the burner for a while, but I'm starting to pick it back up again. However, there are a few issues with it that we still need to address, most notably the

Re: Status of Joda/Goda time, future of Date handling

2010-06-02 Thread Scott Fines
That's not particularly suprising to me. One of the reasons that gwt- time is still listed as being in alpha status is that there is a possibility of needed further API changes to deal with issues like that. Unfortunately, I have been distracted for the past little while and am only just now able

Re: Menubar - retrieving the selected menu item within the Command object?

2010-06-02 Thread anto
Hi Koz, is it possible to invoke a child dialog box from parent dialog box. i tried it but i am getting the child dialog below parent dialog. is there any way to bring the child dialog on top of parent dialog. regards, Anto -- You received this message because you are subscribed to the

Analogous of ListCellRenderer

2010-06-02 Thread Flando
Hello everybody. I look for the analogous of ListCellRenderer(Java) for GWT. What I need is the following (example): I have: - the class Person: public class Person{ private String name; private String surname; } - ArrayListPerson - 2 ListBox I want to add all the item of the

Re: Changing CSS on the fly

2010-06-02 Thread Paul Smith
It is possible in straight javascript, but I don't think there's anything in GWT to help out. See http://developer.apple.com/internet/webcontent/styles.html for an example. I used it a few years back for something really similar - changing the style of a bunch of elements by modifying a css

How to change the CSS Caption part of gwt-DialobBox

2010-06-02 Thread koolootoomba
Hello How can I override the css class '.gwt-DialobBox .Caption' to use 'cursor: move' instead of 'cursor: default'? I want to do this to make it more obvious to the user that they can drag the DialogBox. To do this, I want to change the appearance of the cursor. Notice that one must grab the

SerializerBase.check(String,int) throws useless exception?

2010-06-02 Thread svincent
Greetings, I'm having a frustrating time debugging a bunch of code I'm trying to port to GWT. There are various subtle serialization issues (not surprising, since GWT has its special rules). The real problem I'm running in to is that the exception I keep getting is this:

Dialog box in GWT

2010-06-02 Thread anto
Could any one help me out in this following isssue. 1.Can a dialog box inturn call another dialogbox on a button click. i tried it out but the second dialog is coming under the parent dialog box. regards, GWT developer -- You received this message because you are subscribed to the Google

How to use CallBack-Methode in JS

2010-06-02 Thread Go2one
Hi @all, I have a JavaScript-Methode called void addSelectionListener( Object w) where 'w' is an object which implements a 'onSelectionChanged' method. I'm using a native JSON-Methode to consutruct my JS-Object and I'll call addSelectionListener(...), but what should I submit as a parameter

Re: eclipse: using external jar library - No source code is available for type type; did you forget to inherit a required module?

2010-06-02 Thread Piyush Garg
*No source code is available for type mylib.Method; did you forget to inherit a required module? *means gwt compilation not able to locate the source code for mylib.Method you need to have source code in your jar plus an xml file in package which you are accessing and inherit line in you gwt

Could launch dev mode

2010-06-02 Thread ShadyK
hey guys, i am totally new to gwt and i read the docs many times. i am setting up eclipse ..i followed the previous steps successfully ...but when i reached debugging im not able to launch the local web server and GWT development mode server. knowing that i am having Development Mode tab

Re: GWT 2.0.3: Cross-browser problems still?

2010-06-02 Thread Frederic Conrotte
I've had all kinds of cross-browser problems, in particular with events and graphics, and sometimes widgets. Can you be more specific and give the list of specific issues you had? It would then be useful to fill new bug reports. On May 31, 1:28 am, Navigateur naveen.c...@googlemail.com wrote:

Authentication and login

2010-06-02 Thread Kasper Hansen
Hi, Im wondering what's the best way to do a login functionality. I'm using GWT and GAE, and I can't use openID or Google Accounts (my app relies on phonenumber + pincode). I've built a Composite with the two boxes and a button for logging in, and on the server I would normally store a flag in

Authentication and login

2010-06-02 Thread KasperDK
Hi, Im wondering what's the best way to do a login functionality. I'm using GWT and GAE, and I can't use openID or Google Accounts (my app relies on phonenumber + pincode). I've built a Composite with the two boxes and a button for logging in, and on the server I would normally store a flag in

JSNI Methode call does not work...

2010-06-02 Thread Go2one
Hi, I've the following Class: public class Designer { private final native JavaScriptObject addNode() /*-{ alert(Pre JSNI call); th...@de.go2one.sdui.client.processdesigner.processdesigner::sendNode(Ljava/ lang/String;Ljava/lang/Integer;Ljava/lang/Integer;)(TEST, 100, 100); alert(Post

GWT Development Mode Plug-in for QTWebKit-based browser?

2010-06-02 Thread nMacD
We're using a custom-built application based on an embedded QTWebKit browser and would like to be able to debug our GWT-based applications in it, but there isn't, of course, a development-mode plug-in for QtWebKit. Looking through the GWT source, there is source code for an NPAPI- based plug-in.

Extending / adapting Java to Javascript compiler

2010-06-02 Thread Sangam
I am working on a project to integrate GWT based UI components in a Federated portal environment ( using WSRP protocol). In WSRP the URLs to the application are different. For example, in a standard web application an Ajax link would be something like:

Re: GWT Design Problem

2010-06-02 Thread Frederic Conrotte
I advise you to take a look at this book: http://apress.com/book/view/9781590599853 and the related website: http://code.google.com/p/tocollege-net/ The books explains how you can nicely split your web application between HTML/JSP pages and GWT modules Fred On Jun 1, 6:02 pm, ping2ravi

refresh page in GWT

2010-06-02 Thread ahmed saleh
hello- i have a big GWT application have more than 50 composites ,i have big issue when customer, refresh the application , the browser reload all application again and back user to home page , i need solve this issue Ahmed Saleh Senior Software engineer +2 010 3580 355 -- You received

How to add new event to HandlerManager

2010-06-02 Thread justint
Hi, I'm fairly new to GWT and I'm trying to add events to my eventBus... final HandlerManager eventBus = new HandlerManager(null); .. eventBus.addHandler(RequestEvent.TYPE, new RequestEvent.Handler() { public void onRequestEvent(RequestEvent

Using JavaScript Overlay Types for Nested JavaScriptObjects

2010-06-02 Thread powwow
I have this in my html and I can use JavaScriptOverlay types no problem and it works: script var properties = {width:640, height:480}; /script public class Properties extends JavaScriptObject { protected Properties() { } public final native String getWidthString() /*-{

  1   2   >