Re: Change DatePicker language
Thank you very much, Thomas. Setting -deploy and -extra to directories outside the war solved the problem. Problem solved. On Wed, Mar 21, 2012 at 4:42 PM, Thomas Broyer t.bro...@gmail.com wrote: On Wednesday, March 21, 2012 2:02:27 PM UTC+1, nicanor.babula wrote: Hi everyone, How can I change the display language of the DatePicker object? My app is internationalized on a GWT level, but enabling more than 1 language in module.gwt.xml generates a war too big to be deployed on Appengine, Could it be because of the WEB-INF/deploy? If so, pass -deploy to the compiler to redirect these files to another folder outside your WAR. therefore I am stuck with the default which I assume is english. Is there a way to change only the locale of the DatePicker or to change the default locale? You can change the default locale with the following in your gwt.xml: extend-property name=locale value=fr / set-property-default name=locale value=fr / set-property name=locale value=fr / -- 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/-/NMT8ZWQR7eYJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Nicanor Cristian Babula -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT SimplePager LastButton issue
Hi, I am facing problem with lastButton of SimplePager. I have 3 pages in celltable, Page size=11 (1 empty record + 10 records(with value)), Total record=26. I used CustomerPager by extending SimplePager. In 1st attempt 1+10 records display in celltable : Next Last page button is enabled (First Prev button disabled) which is correct. But LastPage button not working... :( Dont know whats the issue... Unexpected behavior: @1 Last page button is working only when I visit to last page(3 page in my case). @2 Assume I am on 1st page n I moved to 2nd page(Total 3 pages in celltable). that time all buttons are enabled which is correct. In this case Last button is working but behave like Next Button My GWT application integrated into one of our product so cant debug it from client side. May be index value is improper in setPage(int index) method from AbstractPager Code flow is as follows for Last button *//From SimplePager lastPage.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { lastPage(); } }); @Override public void lastPage() { super.lastPage(); } // From AbstractPager /** * Go to the last page. */ protected void lastPage() { setPage(getPageCount() - 1); } protected void setPage(int index) { if (display != null (!isRangeLimited || !display.isRowCountExact() || hasPage(index))) { // We don't use the local version of setPageStart because it would // constrain the index, but the user probably wants to use absolute page // indexes. int pageSize = getPageSize(); display.setVisibleRange(pageSize * index, pageSize); } }* or may be some conditions false from above code(from setPage()) actual record = 26 and 3 Empty record (1st Empty record/page) May b problem with dataSize :| How I can check number of pages based on the data size? ? How can I solve this problem? -- Best Regards, Vaibhav http://about.me/vaibhavbhalke -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
ScrollPanel with a CellList Widget
Hi @all, i have a confusing issue with the ScrollPanel. Im trying to add a CellList with n-Elements to a ScrollPanel. The ScrollPanel itself is add to a VerticalPanel. Now i add more Elements to the Celllist and redraw the view. Normally i except, that the ScrollPanel shows his Scrollbar if the CellList reached a certain Element size but the ScrollBar don't show up and no scrolling is visible.. is this possible with a CellList? Is there a good anywhere example? kind regards Saik0 -- 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/-/axk7HtsOowAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Defining a Jetty realm in hosted mode
Your jetty-web.xml is the same as mine, apart from missing the contextPath and war definitions. If I remove these I still get the same problem. On Wednesday, March 21, 2012 7:24:36 PM UTC, Paul Stockley wrote: Create a jetty-web.xml file under your war/WEB-INF folder Mine is defined as follows ?xml version=1.0? !DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure//EN http://jetty.mortbay.org/configure.dtd; Configure class=org.mortbay.jetty.webapp.WebAppContext Get name=securityHandler Set name=userRealm New class=org.mortbay.jetty.security.HashUserRealm Set name=namedefault/Set Set name=configc:\ocs\jettyusers.properties/Set /New /Set /Get /Configure my jettyusers.properties file contains the username, password and roles for each user e.g. pstockley: test, nirvana_tester -- 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/-/Hg1Nc_WcnigJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ScrollPanel with a CellList Widget
See the showcase sample http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList On Thursday, March 22, 2012 11:38:18 AM UTC+1, Saik0 wrote: Hi @all, i have a confusing issue with the ScrollPanel. Im trying to add a CellList with n-Elements to a ScrollPanel. The ScrollPanel itself is add to a VerticalPanel. Now i add more Elements to the Celllist and redraw the view. Normally i except, that the ScrollPanel shows his Scrollbar if the CellList reached a certain Element size but the ScrollBar don't show up and no scrolling is visible.. is this possible with a CellList? Is there a good anywhere example? kind regards Saik0 -- 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/-/FDOx3KsOH94J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Access an SQLITE file on the server that isn't in the WAR directory?
Hi, I just found out that placing the database file (.sqlite) in the WAR directory isn't that good, since it can be accessed by anyone. So I guess that I should move it to /war/WEB-INF/classes or any other suggestions? Previously I did it this way, which worked: Class.forName(org.sqlite.JDBC); Connection conn = DriverManager.getConnection(jdbc:sqlite:database.sqlite); // (database.sqlite in the war directory) How can I access the database file now, if I move it to /war/WEB-INF/classes? -- 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/-/808Pl-cw1a8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Chrome deferred binding issue
Should anybody encounter this type of problem check, check and check again. Eventually (after far too long) I check the fully qualified class names and these were wrong. Luckily I can laugh at myself :) On Tuesday, 20 March 2012 21:08:31 UTC, manstis wrote: Hello, I am having a problem with deferred binding for Chrome. This is an extract from my gwt.xml module definition:- replace-with class=org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImplSafari when-type-is class=org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImpl/ when-property-is name=user.agent value=safari/ /replace-with replace-with class=org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImplIE when-type-is class=org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImpl/ any when-property-is name=user.agent value=ie6/ when-property-is name=user.agent value=ie8/ when-property-is name=user.agent value=ie9/ /any /replace-with replace-with class=org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImpl when-type-is class=org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImpl/ /replace-with This works well for FF and IE but Chrome has the default CellHeightCalculatorImpl instantiated. Any pointers to what I am doing wrong? GWT2.3, Chrome 17.0.963.46. With kind regards, Mike -- 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/-/cFg2vZmUrt8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to share classes between two different modules with two different pages
It did not work. On Thu, Mar 22, 2012 at 3:29 AM, Matias Costa m.costac...@gmail.com wrote: I would create a base module from which A and B inherit. Or you can try in moduleB.gwt.xml source path=../moduleA/client / El miércoles 21 de marzo de 2012 16:16:46 UTC+1, Deepak Singh escribió: Yes i have two seperate *.gwt.xml for both the modules. And i inherit ModuleB into moduleA as follows: ModuleA.gwt.xml inherits com.pdstechi.modulenameB.**ModuleB And then i use com.pdstechi.modulenameB.**shared.AbcDto into com.pdstechi.modulenameA.**client package, it fails compilation with message 'Source code for com.pdstechi.modulenameB.**shared.AbcDto is not available'. Thanks Deepak -- 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/-/Pchfn1wJN08J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Deepak Singh -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT + Vector Drawing Tools
I have the following questions: 1) I was wondering if there were any examples out there that displayed vector objects models in a table/list type of format and also the vector images themselves? I know there is Raphael, but i dont see any examples that match my criteria. Raphael objects dont like being put inside of other panels beside a RootPanel. 2) Can I have 3 RootPanels. 1 that holds the list i spoke about above and 1 that holds the Raphael objects and 1 that holds both and have all three 'speak' to one another? 3) Are there other vector drawing tools out there that will accomplish what i am seeking to do? Thanks, Sigma -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to share classes between two different modules with two different pages
And you have in moduleB.gwt.xml ? source path=shared / El jueves 22 de marzo de 2012 14:46:07 UTC+1, Deepak Singh escribió: It did not work. -- 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/-/9QKJU7YLmEwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
attempting to understand PlaceTokenizerP
I am trying to understand Places, PlaceTokenizer, and how and when to parse the token. I read about them, look at examples, watch there execution, and still I think I'm missing something. (The examples I follow seem not to fit me--they seem either trivial or too complex to follow.) I have a Place, MyPlace. It may get a null token, or it may get a token with one or more items--state, id, etc. Examples would be LIST or SHOW_ID;1234. I read from Thomas that parsing should be done in a PlaceTokenizer (https://groups.google.com/d/msg/google-web-toolkit/M5jCI-_95mQ/JJcClisInRoJ). However if when I do my parsing in MyPlace.Tokenizer.getToken(), the MyPlace that is passed to MyActivity contains the previous values for state and id. My trace looks like instantiate MyPlace(LIST) AppActivityMapper.getActivity(): com.foo.bar.client.place.MyPlace@be4139 instantiate MyActivity, place: com.foo.bar.client.place.MyPlace@be4139 starting MyActivity MyView presenter set It seems that the instantiation method for MyPlace must parse the token or calls to place.getState() and place.getId() will return values no yet set. I can see MyPlace.Tokenizer.getToken() being called--though I'm not sure from where--but place.getState() does not return an updated value unless in start() wait with Scheduler.get().scheduleDeferred() and test the value in execute(). I never see MyPlace.Tokenizer.getPlace() called. What is it used for? *WHEN* is it used (never from what I see). Currently I'm parsing the token in MyPlace's instantiation method, but it doesn't feel right. Can anyone clarify this for me? -- 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/-/L79aIYivMSoJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat Widget with Jetty
Use GWT on AppEngine with the XMPP. See their example codehttp://code.google.com/appengine/docs/java/xmpp/overview.html . Sincerely, Joseph -- 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/-/JnD3MRb43OMJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + Vector Drawing Tools
Hi I'm the author of raphael4gwt/http://code.google.com/p/raphael4gwt/ (a project different than raphaelgwt). My response between lines On Thu, 22 Mar 2012 07:51:07 -0700 (PDT) SigmaBlu sigmabl...@gmail.com wrote: I have the following questions: 1) I was wondering if there were any examples out there that displayed vector objects models in a table/list type of format and also the vector images themselves? I know there is Raphael, but i dont see any examples that match my criteria. Raphael objects dont like being put inside of other panels beside a RootPanel. I don't understand displayed vector objects models in a table/list type of format and also the vector images themselves. Do you mean put raphael shapes in a html table or gwt table/list widget? in the case of raphael4gwt, you always create a Paper object for drawing in it and you put the raphael paper in any html element. It comes with an PaperWidget (GWT Widget) that you can add your GWT GUI. 2) Can I have 3 RootPanels. 1 that holds the list i spoke about above and 1 that holds the Raphael objects and 1 that holds both and have all three 'speak' to one another? in raphael4gwt you can have as many papers as you want, and you can perfectly register event listeners in one raphael shape1 in a paper1 and in the handler modify a shape2 in a paper2. Regards 3) Are there other vector drawing tools out there that will accomplish what i am seeking to do? Thanks, Sigma -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Sebastian Gurin sgu...@softpoint.org -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT, Mozilla Audio Data API, and W3C Web Audio API
OK, so I got impatient waiting for an answer and wrote my own. I have placed the results on github: https://github.com/leathrum/audio-api This includes the whole GWT wrapper, but the compatibility JS library is in particular the bit at: Audio/src/edu/jsu/leathrum/audio/shared/public/moz2wk-audio.js I did have to make a minor tweak to the API in order to be sure that it would be compatible with both the Mozilla Audio Data API and the W3C Web Audio API: I included connect() and disconnect() methods, which are not part of the Mozilla API but are needed for proper function in the Web Audio API. The compatibility library implements these, using empty functions if the browser is not WebKit. The github includes code for a simple tone generator as a test of the API. As usual, your mileage may vary, no warranties express or implied Have fun with it! On Tuesday, March 20, 2012 7:50:09 PM UTC-5, leathrum wrote: I have written a GWT wrapper for the Mozilla Audio Data API ( https://wiki.mozilla.org/Audio_Data_APIhttps://wiki.mozilla.org/Audio_Data_API) and have tested it to the extend of adapting the tone generator code on that page for GWT. The page also describes a JavaScript library audionode.js which allows audio code written for the W3C Web Audio API (implemented in Webkit) to run through the Mozilla API. I am looking for something to operate in the opposite direction from what audionode.js does -- that is, to allow the code which works in the Mozilla API to also work in the Webkit API. Does anyone know of such a JavaScript library? If I can find such a thing, I can include it in a web application by including a script tag in the *.gwt.xml file for the audio package, and not have to change any other code. If someone else has already done something like this, there isn't any sense in me reworking it from scratch. On Tuesday, March 20, 2012 7:50:09 PM UTC-5, leathrum wrote: I have written a GWT wrapper for the Mozilla Audio Data API ( https://wiki.mozilla.org/Audio_Data_APIhttps://wiki.mozilla.org/Audio_Data_API) and have tested it to the extend of adapting the tone generator code on that page for GWT. The page also describes a JavaScript library audionode.js which allows audio code written for the W3C Web Audio API (implemented in Webkit) to run through the Mozilla API. I am looking for something to operate in the opposite direction from what audionode.js does -- that is, to allow the code which works in the Mozilla API to also work in the Webkit API. Does anyone know of such a JavaScript library? If I can find such a thing, I can include it in a web application by including a script tag in the *.gwt.xml file for the audio package, and not have to change any other code. If someone else has already done something like this, there isn't any sense in me reworking it from scratch. -- 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/-/33Vx3hYaTacJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT, Mozilla Audio Data API, and W3C Web Audio API
Thanks!!! El 22 de marzo de 2012 16:17, leathrum leath...@jsu.edu escribió: OK, so I got impatient waiting for an answer and wrote my own. I have placed the results on github: https://github.com/leathrum/audio-api This includes the whole GWT wrapper, but the compatibility JS library is in particular the bit at: Audio/src/edu/jsu/leathrum/audio/shared/public/moz2wk-audio.js I did have to make a minor tweak to the API in order to be sure that it would be compatible with both the Mozilla Audio Data API and the W3C Web Audio API: I included connect() and disconnect() methods, which are not part of the Mozilla API but are needed for proper function in the Web Audio API. The compatibility library implements these, using empty functions if the browser is not WebKit. The github includes code for a simple tone generator as a test of the API. As usual, your mileage may vary, no warranties express or implied Have fun with it! On Tuesday, March 20, 2012 7:50:09 PM UTC-5, leathrum wrote: I have written a GWT wrapper for the Mozilla Audio Data API ( https://wiki.mozilla.org/Audio_Data_APIhttps://wiki.mozilla.org/Audio_Data_API) and have tested it to the extend of adapting the tone generator code on that page for GWT. The page also describes a JavaScript library audionode.js which allows audio code written for the W3C Web Audio API (implemented in Webkit) to run through the Mozilla API. I am looking for something to operate in the opposite direction from what audionode.js does -- that is, to allow the code which works in the Mozilla API to also work in the Webkit API. Does anyone know of such a JavaScript library? If I can find such a thing, I can include it in a web application by including a script tag in the *.gwt.xml file for the audio package, and not have to change any other code. If someone else has already done something like this, there isn't any sense in me reworking it from scratch. On Tuesday, March 20, 2012 7:50:09 PM UTC-5, leathrum wrote: I have written a GWT wrapper for the Mozilla Audio Data API ( https://wiki.mozilla.org/Audio_Data_APIhttps://wiki.mozilla.org/Audio_Data_API) and have tested it to the extend of adapting the tone generator code on that page for GWT. The page also describes a JavaScript library audionode.js which allows audio code written for the W3C Web Audio API (implemented in Webkit) to run through the Mozilla API. I am looking for something to operate in the opposite direction from what audionode.js does -- that is, to allow the code which works in the Mozilla API to also work in the Webkit API. Does anyone know of such a JavaScript library? If I can find such a thing, I can include it in a web application by including a script tag in the *.gwt.xml file for the audio package, and not have to change any other code. If someone else has already done something like this, there isn't any sense in me reworking it from scratch. -- 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/-/33Vx3hYaTacJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + Vector Drawing Tools
Sebastian, Thank you for your response. In response to 1) and you not understanding displayed vector objects models in a table/list type of format and also the vector images themselves. For example you have a Raphael objects visually representing Movies. You now have these colored squares (made with raphael) with titles/text inside of them...author, title...etc. Is there a way to pull this data (author, title...etc) and then display it in a list (Lets say a GWT flex table with columns [author, title...etc]). And yes i was trying to display these raphael objects into some sort of object other than a RootLayoutPanel But i guess that all of this doesnt matter because this isnt for GWT. Thanks for your prompt response and information. Regards, Sigma On Thu, Mar 22, 2012 at 1:50 PM, Sebastian Gurin sgu...@softpoint.orgwrote: Hi I'm the author of raphael4gwt/http://code.google.com/p/raphael4gwt/ (a project different than raphaelgwt). My response between lines On Thu, 22 Mar 2012 07:51:07 -0700 (PDT) SigmaBlu sigmabl...@gmail.com wrote: I have the following questions: 1) I was wondering if there were any examples out there that displayed vector objects models in a table/list type of format and also the vector images themselves? I know there is Raphael, but i dont see any examples that match my criteria. Raphael objects dont like being put inside of other panels beside a RootPanel. I don't understand displayed vector objects models in a table/list type of format and also the vector images themselves. Do you mean put raphael shapes in a html table or gwt table/list widget? in the case of raphael4gwt, you always create a Paper object for drawing in it and you put the raphael paper in any html element. It comes with an PaperWidget (GWT Widget) that you can add your GWT GUI. 2) Can I have 3 RootPanels. 1 that holds the list i spoke about above and 1 that holds the Raphael objects and 1 that holds both and have all three 'speak' to one another? in raphael4gwt you can have as many papers as you want, and you can perfectly register event listeners in one raphael shape1 in a paper1 and in the handler modify a shape2 in a paper2. Regards 3) Are there other vector drawing tools out there that will accomplish what i am seeking to do? Thanks, Sigma -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Sebastian Gurin sgu...@softpoint.org -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Chat Widget with Jetty
For use in Jetty, check out Ignite Realtime's smack. http://www.igniterealtime.org/projects/smack/index.jsp Jamie. On Mar 22, 2:23 pm, Joseph Lust lifeofl...@gmail.com wrote: Use GWT on AppEngine with the XMPP. See their example codehttp://code.google.com/appengine/docs/java/xmpp/overview.html . Sincerely, Joseph -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Project Creator: GWTRPC Interfaces in 'client'?
Maybe this is the wrong board for this... but here goes. When I create a new project using the aw3s0m GWT Eclipse plugin, it always creates the GWT RPC interfaces in the client package, instead of the shared package. So, that means I must compile the client package (or bits of it). It seems to me that the shared package is the proper place for these interfaces. So the first thing I always do is move the GWT RPC interfaces (GreetingService and GreetingServiceAsync) to the shared package, and then, later when I compile using an ant build file, I don't have to compile the client package. Should I post this on the GWT developer forum? I didn't think this quite fit the description. I imagine it is really the projectCreator, and not necessarily the Eclipse plugin. Thanks, Jamie. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT nocache filter
I use the same filter, with no problems. However, my web.xml is probably configured a little differently: I remember from where I got that filter, it just applied it to every request. Instead of that, I only apply the filter to URLs that end in nocache.js like so - (note the url-pattern) filter filter-nameNoCache/filter-name filter-classcom.whatever.web.GWTCacheControlFilter/filter-class /filter filter-mapping filter-nameNoCache/filter-name url-pattern*nocache.js/url-pattern /filter-mapping On Mar 20, 3:05 pm, SrArcos srar...@gmail.com wrote: Hello all, I am using GWT 2.2.0 for an application I started a year ago. And I can't update now to lastest version. I use a filter on this application and It works fine for IE8 but when I use it in Chrome there are some RPC callbacks that don't work. This is the filter. Does Someone know the reason? [code] package ea.ciges.gesres.server.filters; import java.io.IOException; import java.util.Date; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * {@link Filter} to add cache control headers for GWT generated files to * ensure * * that the correct files get cached. * * @author See Wah Cheng * @since 24 Feb 2009 */ public class GWTCacheControlFilter implements Filter { private static final long ONE_DAY = 8640L; public void destroy() { } public void init(FilterConfig config) throws ServletException { } public final void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException { HttpServletRequest httpRequest = (HttpServletRequest) request; String requestURI = httpRequest.getRequestURI(); if (requestURI.contains(.nocache.)) { Date now = new Date(); if (response instanceof HttpServletResponse){ HttpServletResponse httpResponse = (HttpServletResponse) response; httpResponse.setDateHeader(Date, now.getTime()); // one day old httpResponse.setDateHeader(Expires, now.getTime() - ONE_DAY); httpResponse.setHeader(Pragma, no-cache); httpResponse.setHeader(Cache-control, no-cache, no-store, must- revalidate); } } filterChain.doFilter(request, response); }} [/code] -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to format custom TreeItems with images?
I have a GWT Tree that contains custom TreeItems that consist of a leading image (ImageResource), then some text, and followed with another optional image. The later image is a URL not an ImageResource because the contents are dynamic at runtime. Currently I'm building some custom SafeHtml just appending three SafeHtml's together. I use ImageResourceRenderer for the first image, then SimpleSafeHtmlRenderer for the text, and then Template for the URL image. However the results are not good. The first image is top aligned instead of centered with the text and the selection rectangle. (I haven't even gotten to testing with the trailing image yet.) I do have my custom HTML wrapped in a span with custom class name so I can configure with CSS but I have a feeling I'm not doing this the right way. How can I have better control over the vertical alignment of things? Specifically the ImageResource needs to be centered. -Dave -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Using an image from another library as a background image in a UiBinder file
I have a UiBinder file *.ui.xml that uses some other library, and I want to use an image from that library as a background image. Is there anyway to do this? For example, something like ui:with field='global' type='com.mycorp.gwt.client.resources.Lib'/ ui:style field='local' .bgImg1 { background-image: 'global.imgX'; } @sprite .bgImg2 { gwt-image: 'global.imgX'; } /ui:style I've tried a few things but nothing works. Any ideas? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Problem to compile to javascript...
Hi, I get this error while comiling to JS [ERROR] Errors in 'jar:file:/D:/Development/GoogleWebTolkit/gwt-2.4.0/ gwt-user.jar!/com/google/gwt/validation/client/constraints/ FutureValidatorForDate.java' [java] [ERROR] Line 20: The import javax.validation.ConstraintValidator cannot be resolved [java] [ERROR] Line 21: The import javax.validation.ConstraintValidatorContext cannot be resolved [java] [ERROR] Line 22: The import javax.validation.constraints.Future cannot be resolved [java] [ERROR] Line 32: ConstraintValidator cannot be resolved to a type [java] [ERROR] Line 32: Future cannot be resolved to a type [java] [ERROR] Line 34: Future cannot be resolved to a type [java] [ERROR] Line 37: ConstraintValidatorContext cannot be resolved to a type [java][ERROR] Cannot proceed due to previous errors all works fine in dev mode.. any idea, do I make in some file bz mustake import of FutureValidatorForDate, I check for this in most of the files I cant find any import of this class... tnx -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Problem to compile to javascript...
Try this google search for the error message: http://www.google.com/search?q=The+import+javax.validation.ConstraintValidator+cannot+be+resolved The first result it returns is a thread in this group with suggestions for making it work. On Mar 22, 6:30 pm, Blaze baze...@gmail.com wrote: Hi, I get this error while comiling to JS [ERROR] Errors in 'jar:file:/D:/Development/GoogleWebTolkit/gwt-2.4.0/ gwt-user.jar!/com/google/gwt/validation/client/constraints/ FutureValidatorForDate.java' [java] [ERROR] Line 20: The import javax.validation.ConstraintValidator cannot be resolved [java] [ERROR] Line 21: The import javax.validation.ConstraintValidatorContext cannot be resolved [java] [ERROR] Line 22: The import javax.validation.constraints.Future cannot be resolved [java] [ERROR] Line 32: ConstraintValidator cannot be resolved to a type [java] [ERROR] Line 32: Future cannot be resolved to a type [java] [ERROR] Line 34: Future cannot be resolved to a type [java] [ERROR] Line 37: ConstraintValidatorContext cannot be resolved to a type [java] [ERROR] Cannot proceed due to previous errors all works fine in dev mode.. any idea, do I make in some file bz mustake import of FutureValidatorForDate, I check for this in most of the files I cant find any import of this class... tnx -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: FF11 Devmode Plugin (issue1667803)
http://gwt-code-reviews.appspot.com/1667803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Adds support for aria-hidden to UIObject.setVisible(). (issue1671803)
http://gwt-code-reviews.appspot.com/1671803/diff/1/user/src/com/google/gwt/user/client/ui/UIObject.java File user/src/com/google/gwt/user/client/ui/UIObject.java (right): http://gwt-code-reviews.appspot.com/1671803/diff/1/user/src/com/google/gwt/user/client/ui/UIObject.java#newcode246 user/src/com/google/gwt/user/client/ui/UIObject.java:246: * {@code setVisible(elem, true)}. I don't think the last sentence is accurate (but I could be wrong_. Setting the style to '' should clear the display: none in CSS. http://gwt-code-reviews.appspot.com/1671803/diff/1/user/test/com/google/gwt/user/client/ui/UIObjectTest.java File user/test/com/google/gwt/user/client/ui/UIObjectTest.java (right): http://gwt-code-reviews.appspot.com/1671803/diff/1/user/test/com/google/gwt/user/client/ui/UIObjectTest.java#newcode228 user/test/com/google/gwt/user/client/ui/UIObjectTest.java:228: public void testIsVisible_displayNone() { This test is the same as the one above. And its name indicates you meant to do what you did in testIsVisible_hidden http://gwt-code-reviews.appspot.com/1671803/diff/1/user/test/com/google/gwt/user/client/ui/UIObjectTest.java#newcode242 user/test/com/google/gwt/user/client/ui/UIObjectTest.java:242: State.HIDDEN.set(elem, false); If you are testing that you ignore the aria attribute, shouldn't this be State.HIDDEN.set(elem, true) http://gwt-code-reviews.appspot.com/1671803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Adds support for aria-hidden to UIObject.setVisible(). (issue1671803)
LGTM http://gwt-code-reviews.appspot.com/1671803/diff/1/user/src/com/google/gwt/user/client/ui/UIObject.java File user/src/com/google/gwt/user/client/ui/UIObject.java (right): http://gwt-code-reviews.appspot.com/1671803/diff/1/user/src/com/google/gwt/user/client/ui/UIObject.java#newcode246 user/src/com/google/gwt/user/client/ui/UIObject.java:246: * {@code setVisible(elem, true)}. Not what I expected, but thanks for verifying this. http://gwt-code-reviews.appspot.com/1671803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors