Re: How to create war file in GWT 2.4 / Eclipse Indigo

2011-10-13 Thread sachin sreenivasan
Hi TBirch, I tried that. Thats what I was doing in my prev GWT instance. But I am not seeing that now. Just want to explain a bit, I first downloaded Eclipse-Indigo-EE version. Then I went to the Install Software option and there I gave the link of GWT2.4 and selected the packages and installed.

Re: Thoughts on Adding Widgets

2011-10-13 Thread -sowdri-
Did you thought about using HTMLPanel, with handlers for keyboard input? such that you can have a complete control over the area and this will also enable you to add any kind of widget dynamically. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit

Re: Upgrade from 2.0 to 2.4 is failing

2011-10-13 Thread Juan Pablo Gardella
1) Try clean cache browser 2) Recompile again the project and first test if it works in server mode. 3) Try in dev mode. Juan 2011/10/13 saawan > folks - kindly help me in the right direction as I am a newbie. FYI, i > researched this problem and have not found any solution yet. > > The code is

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Yurgis
I have a similar problem that I think started after upgrade to 2.4.0 Dev mode works fine, while web mode does not work sometime after some modifications are done in a part of the code being split. Making full clean build resolves the problem. So it might have to be related to "persisted unit cache"

Global Event Bus ?

2011-10-13 Thread Luis Montes
I have a use case where I need to compile separate entry points into separate javascript files and one or multiple files arbitrarily on different pages. This is common with JSR-168 portlets, but plenty of other types of apps might need this. The problem is that I can't find a mechanism outside of

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Salman Hemani
Just wanted to confirm and also let others who run into this issue in the future know, that based on your hints, I was able to resolve this issue. Thank you! On Oct 13, 5:05 pm, Salman Hemani wrote: > Thanks guys, I am going to give that a shot tonight! > > On Oct 13, 2:59 pm, Kevin Jordan wrote

Re: Server Side serial port access in GWT with RXTX

2011-10-13 Thread Steve Struebing
Thanks Kevin. Two things that underscore my idocy: 1) I should have realized that "Server" was nothing more than a web server rather than some obscure java convention. 2) I have decoupled GWT and Google App Engine in my mind, so I realized which bit is complaining. I am learning how to admin Apa

Re: the style write in ui.xml does not work

2011-10-13 Thread Colin Alworth
The @ClassName annotation can be used "if you have class names in your css file that are not legal Java identifiers" from http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#CssResourceCookbook -- You received this message because you are subscribed to the Google Groups "Go

Re: Animation when switching activities impossible?

2011-10-13 Thread Aidan O'Kelly
> > > It's a bit like they ignore the standards they created with > Activities. 'Cause in theory it's possible to show as many activities > as you like in parallel... ;) They are more like informal contracts rather than 'standards'. :) and in any case, the activity will be stopped by the Activity

Re: Animation when switching activities impossible?

2011-10-13 Thread Thomas Broyer
On Thursday, October 13, 2011 9:33:59 PM UTC+2, benneq wrote: > > > It's a bit like they ignore the standards they created with > Activities. 'Cause in theory it's possible to show as many activities > as you like in parallel... ;) I'm confused. It does exactly what you're looking for, and yo

متجر الاثارة و المتعة الجنسية للمتزوجين و للكبار

2011-10-13 Thread عاشقة الفجيرة
متجر الاثارة و المتعة الجنسية للمتزوجين و للكبار موقع عربي و سهل التصفح يحتوي على كل ما هو مفيد للمحرموين جنسيا خاصة للكبار و للذين يرغبون في زيادة الاثارة و المتعة متجر من اهم المتاجر العربية المتخصصة في تسويق الاثارة و المتعة الجنسية بكل انواعها وهو الاول و الحصري من نوعه من اهم اقسام الموقع قن

Upgrade from 2.0 to 2.4 is failing

2011-10-13 Thread saawan
folks - kindly help me in the right direction as I am a newbie. FYI, i researched this problem and have not found any solution yet. The code is running with Jetty 6.1.10 server and GWT 2.0.4 The GWT code is being compiled with GWT 2.4 and then is being executed on a browser with clean cache. When

Re: Animation when switching activities impossible?

2011-10-13 Thread George Agiasoglou
Alternatively, you can use a DeckLayoutPanel -G -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/yRQF1e7-cugJ. To post to this group, send email

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Salman Hemani
Thanks guys, I am going to give that a shot tonight! On Oct 13, 2:59 pm, Kevin Jordan wrote: > Yeah, in hosted mode it just goes directly into the onSuccess callback > whereas in web mode it has to download the piece of javascript needed > for that point and so that requires it to do it asynchron

Re: Unable to suppress header sorting in DataGrid using GWT 2.4

2011-10-13 Thread Adam
Found this in the trunk: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/cellview/client/HeaderCreator.java?r=10581 Line 37: // TODO(jlabanca): Add API to handle events in the header. Any idea when this will be added and if the sorting behavior will be

Re: Animation when switching activities impossible?

2011-10-13 Thread benneq
So, let's see: They take this SlidingPanel which implements HasOneWidget (and though AcceptsOneWidget) as their 'root'-Panel for the Activity. The ActivityManager calls setWidget(widget) when a PlaceChange happens. So they did an @Override setWidget(Widget widget). When this method gets called, the

Re: Adding a collection of Suggestion to SuggestBox (replacement strings different from display strings)

2011-10-13 Thread Andrei Cosmin Fifiiţă
Also to this topic, I would like to extend the widget to use a text area and split the entered text by comma (giving suggestions for the text after the last comma). Is there a way to override the query passed to the method that actually creates the search tokens ? 2011/10/13 Andrei Cosmin Fifiiţă

Re: RPC fails with 404 after upgrade to 2.4

2011-10-13 Thread wytten
It turned out that some of the complicated plugin configuration we had in the pom for version 1.2 of gwt-maven-plugin is no longer necessary, and the configuration is simpler now, thanks. On Oct 13, 2:03 am, Sudhakar Abraham wrote: > It seems the servlet class file is not found in your war direct

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Kevin Jordan
Yeah, in hosted mode it just goes directly into the onSuccess callback whereas in web mode it has to download the piece of javascript needed for that point and so that requires it to do it asynchronously which means anything else inside your function where you call runAsync will be executed while t

Re: native callback going into the eternal void

2011-10-13 Thread Tomasz Gawel
use double ()() @com.webfair.gwt.components.client.CalendarBox::test() is only the signature of method to call it use @com.webfair.gwt.components.client.CalendarBox::test() (); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to th

Re: Adding a collection of Suggestion to SuggestBox (replacement strings different from display strings)

2011-10-13 Thread Andrei Cosmin Fifiiţă
Waw... it actualy works... I did't read the source code carefully (how createSuggestion(...) was used) but i uses my own oracle, with an internal map to remember for each added value its replacement string. Thank you :) On 6 October 2011 21:17, Aidan O'Kelly wrote: > You can't add suggestion obj

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Jens
The only difference between hosted and web mode is that in hosted mode GWT.runAsync() acts synchronously. A code like: void onLoginSuccessful() { doBeforeAppStart(); GWT.runAsync( // load app and start app in onSuccess() ) doAfterAppStart(); } will behave differently in hosted and web mode

buzz api download - 502 error & IOException

2011-10-13 Thread alaura
Hi, I'm a GWT newbie, but very psyched about it. I'm getting the following when I try to add the buzz api to my project. My system config is below: java.io.IOException: Server returned HTTP response code: 502 for URL: http://api-directory.googleapis.com/5935/download-apiary/buzz/v1 at s

Re: The method format(String, Integer) is undefined for type String

2011-10-13 Thread Marc Graham
Thanks! On Oct 13, 1:13 pm, gerry wrote: > GWT does not emulate all of core java's methods. > > Take a look at > these:http://groups.google.com/group/google-web-toolkit/browse_thread/threa...http://groups.google.com/group/google-web-toolkit/browse_thread/threa... > > On 13 Ïêô, 19:51, Marc Graha

Re: Parsing Large XML files

2011-10-13 Thread Ed
How would you react if somebody comes over to you and tells you: "my shoe is broken, do you have any idea why"? ... Do you have any idea what could be wrong with his shoe? Probably not as you don't have all the information... So if you want people in this forum to help you, give them more info. -

Re: select language or country from a drop down list

2011-10-13 Thread Prakash
i dont know of any class, but i had seen locale list box in GWT showcase : http://gwt.google.com/samples/Showcase/Showcase.html Source code of Showcase app is included in SDK. Check that out .. Hope this helps. -prakash m -- You received this message because you are subscribed to the Google

Re: The method format(String, Integer) is undefined for type String

2011-10-13 Thread gerry
GWT does not emulate all of core java's methods. Take a look at these: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/d18118d7fd4e8c26 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/fad619b8d8789cb2 On 13 Οκτ, 19:51, Marc Graham wrote: > I'm exper

Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Salman Hemani
Hi, I am having some difficulty understanding why my code splitting functionality is not working as expected in web mode. I have a decent size application and I've managed to successfully create the split points. The process goes like this: 1. Load the application which takes you to the first vie

Re: CellTable custom header help.

2011-10-13 Thread Konstantin Zolotarev
Exactly this I was looking for. Thanks one more time ! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/zupz1pZc1H4J. To post to this group, se

[ERROR] The method format(String, Integer) is undefined for type String

2011-10-13 Thread Marc Graham
I'm experimenting with GWT in Eclipse, moving right along, when I add a String.format statement to my code. Namely: String.format("%dpx", new Integer(adjWidth)); I try testing it in the Chrome plugin. The plugin crashes and the Development Mode tab contains the subject error. Wha

Re: DataGrid GWT 2.4 RC1

2011-10-13 Thread Piro
Get inspired by ButtonCell source code. All you need is to set image as css background. But css styles doesn't work. At least they didn't use to. You have to create button with own css class name and define background image for css class. Something like . Or use tag and set hand cursor (through c

Re: select language or country from a drop down list

2011-10-13 Thread Kim Ras
Hi, I have been looking at the same thing.. and the OOTB language functions is great in connection with the Resource strings.. My application has a big content driven thing that fitts in the the standard model, and then it has a more static set of informations.. in the statuic area I have been thin

Re: JSNI - interactive chart

2011-10-13 Thread Tomasz Gawel
public class TestChart implements EntryPoint { static class YourChart extends Widget { private static final String HTML_BEGIN = ""; private static final String HTML_END = ""; public YourChart(JSONObject userConf) { t

Re: Convert Java bean Object to JSON in GWT 2.4

2011-10-13 Thread Sanjiv Jivan
Gere, Can you elaborate what you're trying to do here? What kind of datasource are you using in SmartGWT and where are you trying to convert the beans to JSON? If you're using RestDataSource then you're probably converting your beans to JSON on the server side and for this you can use a library lik

Re: JSNI - interactive chart

2011-10-13 Thread Tomasz Gawel
chart.js script uses document.write() to write chart markup. in case you put this dynamically in your HTML Widget's it would reload the page (document.write behaviour). the only possibility to create it on runtime in gwt is to put it into generated iframe. -- You received this message because you

Changing the Time Zone (on pc) from -6 UTC to -7 UTC is changing the date by a Day in my GWT app.

2011-10-13 Thread Ann
Hello All, I am trying to pinpoint what might be causing some really odd behavior. We have a GWT application that lets you create/manage appointments. First you schedule an appointment. If you go to reschedule, it should list the * Date and * Time Zone you scheduled in previously. Here is my

Re: Problem with using Json

2011-10-13 Thread Giuseppe La Scaleia
Give a look here http://code.google.com/p/piriti/ 2011/10/13 srikanth tatipalli > Hi all, > > i want to a create service using hussian proxy,this service hits the > service on the server and return back the response.i want to print the > response using json.how can i achieve this. > > > > please

Re: Convert Java bean Object to JSON in GWT 2.4

2011-10-13 Thread GereMora
I don't know Request Factory!.. Sounds good. In my case, I need work with Java beans with Smart GWT Dataousources. I'll investigate Request Factory. Thks! Gere. On Oct 12, 7:38 pm, Tomasz Gawel wrote: > As to JSON: > Have you tried Google GSON library ?http://code.google.com/p/google-gson/ > >

Problem with using Json

2011-10-13 Thread srikanth tatipalli
Hi all, i want to a create service using hussian proxy,this service hits the service on the server and return back the response.i want to print the response using json.how can i achieve this. please suggest me. thanks in advance. -- You received this message because you are subsc

UiBinder CSS URL

2011-10-13 Thread SigmaBlu
Is there a way to use a URL to access CSS when using UiBinder? I already know that you can access this with in your package hierarchy. Unfortunately, I don't have any idea how i can reference outside of the package. Regards, Sigma -- You received this message because you are subscribed to the G

Apply style to header, row, cell in cellTable

2011-10-13 Thread David Fernando
Change the existing style to my own style for cellTable. where do I change the property in gwt. -- 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

Print Header and Footer

2011-10-13 Thread Hardik Mishra
Hello Geeks, I am using this link for Print Widgets. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/eea48bafbe8eed63 I have modified a method in Print.java /** * This method will be called when you pass Widget with style. * @param style * @param

Re: How to create war file in GWT 2.4 / Eclipse Indigo

2011-10-13 Thread TBirch
Right click on your java module and then click on Google Web Toolkit at the top of the list. Deploy module should be last in the list. On Oct 13, 8:52 am, sachin sreenivasan wrote: > Hi, > >    I just upgraded to Eclipse Indigo and installed the GWT 2.4. But I > did not see the "Deploy Module" op

Re: CellTable custom header help.

2011-10-13 Thread Jeff Larsen
An example http://showcase3.jlabanca-testing.appspot.com/#!CwCustomDataGrid -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mU_6gWhP38wJ. To po

Re: CellTable custom header help.

2011-10-13 Thread Konstantin Zolotarev
Thanks a lot. Tomorrow I'll check this. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/gzquMeWyD_8J. To post to this group, send email to googl

Re: how to add custom token in URL (using Activities and Places )

2011-10-13 Thread Ashton Thomas
Prakash, this question is a duplicate by Sri: Other identical post: https://groups.google.com/forum/#!topic/google-web-toolkit/3dHKOfc_ZnI Please see this thread for more information on a solution: https://groups.google.com/forum/#!topic/google-web-toolkit/PzlyZ3Gjazg Sri, please do not copy a

Re: CellTable custom header help.

2011-10-13 Thread Jeff Larsen
Upgrade to trunk. There is a custom header builder in there. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/hDJSimfogmgJ. To post to this grou

Re: rss feed

2011-10-13 Thread Harpal Grover
You might want to check this project out, it may have all the code you need already: http://code.google.com/p/gwt-feed-reader/ -- Harpal Grover President *Harpal Grover Consulting Inc* On Thu, Oct 13, 2011 at 1:44 AM, yashujn wrote: > hi, >thnks for ur quick response and valuable suggesti

JSNI - interactive chart

2011-10-13 Thread George Agiasoglou
Hi there, I have a chart which lives in a google spreadsheet and has been published as an interactive chart. Is it possible to render the following chart in an HTML element for instance in GWT, without any sort of parsing or processing? http://ajax.googleapis.com/ajax/static/modules/gviz/1.0/

Re: CellTable custom header help.

2011-10-13 Thread Konstantin Zolotarev
There is no problem with table styles. I have problem with table header. I couldn't create 2 level header. Is there any solutions ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.

Re: Animation when switching activities impossible?

2011-10-13 Thread Thomas Broyer
The Expenses sample does just that; have a look at how it's done. Basically, the widget implementing AcceptsOneWidget will append the new child and slide it into view, and then remove the old child; instead of replacing one by the other. -- You received this message because you are subscribed

native callback going into the eternal void

2011-10-13 Thread Dennis Haupt
hi, i am using a javascript calendar component. to be notified on changes, i want to pass a callback function to it: private native void setup(CalendarBox self, String displayAreaId, String inputFieldId, String buttonId, String dateString, String format) /*-{ function de

Re: DataGrid GWT 2.4 RC1

2011-10-13 Thread Ash
Hi All, Did anyone managed to add a image to a cell that can be clicked (or a button with image on it)?? I'm trying from last two days.. plz help. Thanks, -ash On Aug 15, 6:55 pm, NR wrote: > Thank you all. Adding the DataGrid directly to a LayoutPanel works. > > On Aug 15, 8:02 am, Jeff Larse

Re: DataGrid auto-set column width

2011-10-13 Thread jaga
I have the same problem. For me there are two solutions: 1) calculate the maximum field width at runtime by inspecting the row data. Then set the field header size. 2) leave as stock and listen for a mouse click or similar on each field header and then resize it. On Oct 10, 2:49 pm, misko237 wr

How to create war file in GWT 2.4 / Eclipse Indigo

2011-10-13 Thread sachin sreenivasan
Hi, I just upgraded to Eclipse Indigo and installed the GWT 2.4. But I did not see the "Deploy Module" option at all when I create a Dynamic Web Project. I was using this option earlier to create a war file which would also get moved to the tomcat webapps folder. But since I am not seeing this

CSS kills GWT application in Opera?

2011-10-13 Thread Peter Willert
Hi, since about two weeks we're having trouble with our gwt application. It works quite well in all browsers, except Opera (all versions we can get our hands on). In Opera our application doesn't event start. Dragonfly shows two erros in our index.html file: Declaration syntax error bsolute; wi

Re: not injecting an entityManger @PersistenceContext

2011-10-13 Thread Norman Klingspor
my persistence.xml http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; version="1.0">

GWT CELLTABLE : How to add column in celltable which is combination of non-editable text + hyperlink

2011-10-13 Thread vaibhav bhalke
Hi all, I want to add link in my celltable's column i.e"validationStatus" some values are "valid" as well as "invalid" when value is invalid then I want to make invalid as link (How to ?) & when value is valid then I want to make it as text I want to add Column which is combination of non-editabl

Re: DataGrid border styling

2011-10-13 Thread Sudhakar Abraham
Apply style to DataGrid Using DataGrid.Resources interface. Apply style to widget using dataGridStyle() method. Pass the style object to DataGrid constructor. Change the property in DataGridCss file as your wish. Place your css file in your same directory of java file. S. Abraham www.Data

Re: select language or country from a drop down list

2011-10-13 Thread gerry
Yes! This is what I need about countries. Do you know if there is a similar class for languages (mapping languages to codes)? Thanks On 13 Οκτ, 13:53, Prakash wrote: > Gerry, > > See whether this class meets your requirements. > > http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/g

Re: how to add custom token in URL (using Activities and Places )

2011-10-13 Thread Prakash
AFAIK, this cant be done with GWT Places. GWT places can only understand whatever comes after '#' sign in URL. Check the HelloPlace class in hellpmvp tutorial available in GWT docs page. That will give you an idea on how to add parameters to Place. If you really want to access/change the params

Re: select language or country from a drop down list

2011-10-13 Thread Prakash
Gerry, See whether this class meets your requirements. http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/i18n/client/DefaultLocalizedNames.html Above class contains two letter mapping for most country names. -Prakash M. -- You received this message because you are su

Re: a problem ablout uifield

2011-10-13 Thread Thomas Broyer
A without an explicit ui:field has a default name of "style". This is what allows you to reference your styles using {style.foo} in the ui.xml. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit ht

Animation when switching activities impossible?

2011-10-13 Thread benneq
Hi, I'd like to have some kind of animation when switching activities. For example: Slide the current activity out of the screen and while it's sliding out, slide the new activity in. I think the problem is, that we have 'AcceptsOneWidget' and for the time of the animation there would be shown two

a problem ablout uifield

2011-10-13 Thread wahaha
in java code,there is a field: - @UiField CssStyle style; - but in ui.xml,there do not hava a tag which have a attibute "ui:field=style". i wonder how does the field come? -- You received this

Re: the style write in ui.xml does not work

2011-10-13 Thread wahaha
anybody knows? On Oct 12, 4:38 pm, wahaha wrote: > ok,thanks,now i have made a mistake that we can not access style rules > directly in java code,we must use cssResource interface. > but there is another question: > >   interface MyStyle extends Cs

Re: Places - How to customize the place name? And what's the best way to use A&P with Gin?

2011-10-13 Thread benneq
Maybe the easiest way would be to use JSON ?! It will look a bit strange in the URL bar (all those brackets), but should work pretty well. I think Google should provide a default way (using IsSerializable Interface) to store and restore objects. What do you think? On 13 Okt., 00:40, Jens wrote:

Re: select language or country from a drop down list

2011-10-13 Thread gerry
Hi Alan, Yes that 's a good idea. Thanks On 12 Οκτ, 18:15, Alan Chaney wrote: > What you can do is to write a small java application to generate the > list for you, using the static Locale class methods as you mention below > . You can create json, text or xml and import it into your drop down l

Re: RPC fails with 404 after upgrade to 2.4

2011-10-13 Thread Sudhakar Abraham
It seems the servlet class file is not found in your war directory. Check URL pattern in web.xml file, and also check servlet in tag. S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine On Oct 13, 12:19 am, wytten wrote: > Yes, the project compiles and loads in chrom