overriding CSS styles using the !important; keyword

2010-06-30 Thread Magnus
Hi, StackPanel has an ugly border at the bottom, and I verified that this is explicitly set in standard.css. So I would like to remove it / change its color by using the ! important; keyword in my own style: .myStackPanel { border-bottom: 1px solid #FF; !important; } This shows no effect.

Re: how to make javascripts,static images and css cacheable...

2010-06-30 Thread aditya sanas
@Andre Nirmal : Thank you very much for such valuable solution. I dont have htaccess file as my application is getting deployed on the google appengine so how to send headers along with html is a big question mark in front of me... i have found one solution for this is that

Re: How to simplify your GwtEvent classes and have fun doing it!

2010-06-30 Thread Nathan Wells
And that could easily be resolved by keeping all your types in the same place: EventTypes.PLACE_CHANGE EventTypes.VALUE_CHANGE Could this pattern also be enhanced with a sense of payload? something like the following: public class GenericEventP extends GwtEventGenericEvent.Handler { public

GWTEvent, sinking own events

2010-06-30 Thread Roy
I have a UI which has several open views of the same base data. Any view can change the data and I plan on using a GWTEvent Bus to notify the changes to the concerned views. My question is that if View A fires an event (eg. ContactChangedEvent) for which View A is also a registered listener, will

Qt for Symbian Training Course v1.0 Beta

2010-06-30 Thread James Baker
Came across this very interesting training course which can be used for both self-learning and educational purposes. Topics that are covered in this course are: • Qt for Symbian introduction • Development environment set up • Smart installer • Memory management •

Problem with Eclipse, Google plugin and WTP

2010-06-30 Thread SimonM
Hello, I have troubles with WTP and Google plugin for Eclipse. I have one Dynamic Web Application Project, and I use GWT in this project. It's smart-ui. I have a Java Project which contains all business logic, it's smart- business : smart-ui depends on smart-business. All is correctly exported

Re: GWTEvent, sinking own events

2010-06-30 Thread Johan Rydberg
On 6/30/10 11:57 AM, Roy wrote:If the answer is that View A *will* catch its own event, any recommendations on how to identify the event in such a way that View A knows it was the originator? Maybe you can use this;

Re: GWT / GIN: Adding user class to all presenters

2010-06-30 Thread Miroslav Genov
Hello, You can bind User object to a singleton provider that is retrieving user information. Here is what we are doing in one of our projects: public class UserInfo { public static UserInfo with(String email, String firstname, String surname, String family) { UserInfo info = new

Re: More than one module

2010-06-30 Thread Katharina Probst
See some documentation here: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules On Tue, Jun 29, 2010 at 11:59 PM, Michael W mwang_2...@yahoo.com wrote: Yes, you can have more than one module. If you use Maven, you can view gwt maven plugin for detail.

Re: GWTEvent, sinking own events

2010-06-30 Thread Jeff Chimene
On Wed, Jun 30, 2010 at 4:41 AM, Johan Rydberg johan.rydb...@edgeware.tvwrote: On 6/30/10 11:57 AM, Roy wrote:If the answer is that View A *will* catch its own event, any recommendations on how to identify the event in such a way that View A knows it was the originator? Maybe you can use

Re: UiBinder - VerticalPanel not applicable for the argument SelectElement ...

2010-06-30 Thread alan
Thanks. Were is the best source of documentation on UiBinder tags. -- 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 email to

Re: Javascript in HTML Object works in FF not IE

2010-06-30 Thread skippy
OK, well this is what I did. You need to take your javascript out of the jsp's that generate the HTML. Put them in one to meny .js files. include them in the same place you have your GWT compiled nochache.js. Less the Script tabs. Just Functions. On Jun 29, 4:16 pm, André Moraes

Creating new Presenter/View in a Presenter

2010-06-30 Thread Jyaif
Hi, I am beginning to work on a big app created in GWT and I have a question regarding the MVP pattern in GWT. I have read http://code.google.com/webtoolkit/articles/mvp-architecture.html, and I understand that the AppController creates Presenters, and provides them a rpcService, an eventBus, and

a weird IndexOutOfBoundsException after removing a tab from the DecoratedTabPanel

2010-06-30 Thread Denis
Hello, I got a weird exception after removing a tab. Details of the exception is at the end of this message. Even though I got the exception, the application still functions normally and the tab can be removed successfully. I don't know where the exception comes from and what I should do to avoid

Re: GXT Button Id

2010-06-30 Thread Nirmal
With selenium; you could use CSS locator css=button:contains(('Send') Regards, Nirmal On Jun 29, 9:09 pm, Paul Grenyer paul.gren...@gmail.com wrote: Hi Just curious, are you testing your GUI with Selenium ? If yes, does it work with GWT ? We're using something called Twist which is based

Re: How to simplify your GwtEvent classes and have fun doing it!

2010-06-30 Thread Stephen Haberman
It is a bit of a nuisance maintaining two java files for each event. I agree that GWT events involve a lot of boilerplate. My approach was to write an annotation processor (native Eclipse/javac support) where you just write a spec: @GenEvent public class CalendarChangeRequestEventSpec {

Re: How to simplify your GwtEvent classes and have fun doing it!

2010-06-30 Thread Stephen Haberman
public class GenericEvent extends GwtEventGenericEvent.Handler { This is very tangential, but all the talk about a generic event made me think of a paper a colleague of mine linked me to about potential design patterns for UI listeners in Scala:

how to display a JSP page inside a DecoratedTabPanel

2010-06-30 Thread Denis
Hello, I have existing JSP pages that should be framed inside a GWT DecoratedTabPanel. Is this doable at all? Thanks for your reply. -- 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 API Libraries for Google Web Toolkit - Gadgets Update

2010-06-30 Thread Eric Ayers
This is a recap of the blog post that just went out on the GWT blog http://googlewebtoolkit.blogspot.com/2010/06/google-api-libraries-for-google-web.html Although its only been a few weeks since the previous release of the open source gadgets library for Google Web Toolkit (GWT), a major

Re: Creating new Presenter/View in a Presenter

2010-06-30 Thread Thomas Broyer
On 30 juin, 17:31, Jyaif jfgeye...@gmail.com wrote: Hi, I am beginning to work on a big app created in GWT and I have a question regarding the MVP pattern in GWT. I have readhttp://code.google.com/webtoolkit/articles/mvp-architecture.html, and I understand that the AppController creates

Re: More than one module

2010-06-30 Thread Chris Boertien
This is just a suggestion off the top of my head and may or may not work as i think it will. To address your case I would setup 1 Module for the entry point and use it to choose which of the other Module's to load for the main page. I think this should allow you to take the most advantage of code

Re: GWTEvent, sinking own events

2010-06-30 Thread Roy
explain? On Jun 30, 7:41 pm, Johan Rydberg johan.rydb...@edgeware.tv wrote: On 6/30/10 11:57 AM, Roy wrote:If the answer is that View A *will* catch its own event, any recommendations on how to identify the event in such a way that View A knows it was the originator? Maybe you can use

Re: Window.Location.getParameter() always null

2010-06-30 Thread Stefan Bachert
Hi, I use it and it works. Please supply your URL and your code, probably something went wrong. Stefan Bachert http://gwtworld.de On Jun 29, 9:35 pm, mdwarne mike.wa...@gmail.com wrote: Hi, I need to pass a parameter to my application.  However if I append a parameter to the url query

GWT + canvas + gwt-canvas

2010-06-30 Thread Jamie
I have started playing with the canvas element, GWT, and the cool gwt-canvas project. However, it's really slow when you have to recompile every time. I posted a very short tutorial on experimenting with the canvas element using a command line:

ScrollPanel question

2010-06-30 Thread Kevin
Hi all, I am working on an application which simulates the idea of googlemap, where I am able to drag a large image within a viewport. On top of that, I am now trying to add a scrollbar as well to the application. I have decided to use scrollpanel, managed to add the absolute image panel to the

Dynamic content loading with UiBinder

2010-06-30 Thread kawanka
Hello, Can someone point me to a demo/tutorial of using UiBinder (xml layout stuff) and setting the content of a VerticalPanel dynamically in code... on a button click or something. the only examples I found were of using html divs and ids and using RootPanel.get(divId) to get to the composite in

JDBC org.gjt.mm.mysql.Driver : Classnotfound

2010-06-30 Thread Hotkey
Dear All, this is my first post in this group, hopefully i'm not doing anything wrong. I've searched for this topic but didn't found any solution. I'm quity new to GWT and are currently writing my first Client/Server example. Actually i want to read some Data from a database but i didn't get the

Re: overriding CSS styles using the !important; keyword

2010-06-30 Thread Katharina Probst
You can just directly override the css defaults for stack panel. The style rules are (see http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/StackPanel.html): .gwt-StackPanel { the panel itself } .gwt-StackPanel .gwt-StackPanelItem { unselected items }

Re: Exceptions after unchecking Use Google AppEngine - SOLVED

2010-06-30 Thread Hotkey
I'm having exactly the same problem, but i didn't get the clue on how to solve this one. Should i remove some files which are in the war\WEB-INF\lib directory? If yes, which ones should stay/be removed? The application is an extended example with additional mysql connection. I've unchecked the

How t compile and run gwt app in eclipse and normally

2010-06-30 Thread kondal rao
please help me out in this issue i m very much fresh to this framework but i know java.. -- 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

Successful arabic from GWT client form into MySQL

2010-06-30 Thread henryhbk
I could not find a good recipe for inserting Arabic entered on a GWT page into a text field to be inserted into MySQL as anything other than ?. Here is a simplified example CLIENT: private RichTextArea arabicNameField = new RichTextArea(); //First thing we discovered

JsonpRequestBuilder Timeout - GWT 2.0

2010-06-30 Thread Márcio Menezes
Hello! I'm trying to retrieve Json using JsonpRequestBuilder. When I use some external url, like this one http://search.yahooapis.com/ImageSearchService/V1/imageSearch?appid=YahooDemoquery=Madonnaoutput=json, everything works fine. But, when I try to fetch json from some server inside my network,

GWT 2.0.4 is now available

2010-06-30 Thread Chris Ramsdale
Recently Apple released Safari 5, which included a a href=https:// bugs.webkit.org/show_bug.cgi?id=40367bug/a where non-integral right-shifts were not being evaluated properly. There were several reports, both internally and a href=http://code.google.com/p/google-

RE: Exceptions after unchecking Use Google AppEngine - SOLVED

2010-06-30 Thread sripathikrish...@gmail.com
Yes, remove everything except gwt-servlet and mysql jars. -Original Message- From: Hotkey Sent: 30/06/2010, 20:42 To: Google Web Toolkit Subject: Re: Exceptions after unchecking Use Google AppEngine - SOLVED I'm having exactly the same problem, but i didn't get the clue on how to

Re: GWT 2.0.4 is now available

2010-06-30 Thread Chris Ramsdale
This time without the mangled HTML. Recently Apple released Safari 5, which included a bug where non- integral right-shifts were not being evaluated properly. There were several reports, both internally and externally, of GWT-based applications unexpectedly crashing when running in Safari 5

Re: why do I sometimes get a javascript error of uncaught exception: java.lang.NullPointerException?

2010-06-30 Thread andreas
You could try using an UncaughtExceptionHandler. Assign your implementation in onModuleLoad() by GWT.setUncaughtExceptionHandler(...); Then use a DeferredCommand for calling your actual entry point method: DeferredCommand.addCommand(new Command() { public void execute() {

Re: Google Plugin for Eclipse 3.6 is now available

2010-06-30 Thread Jason Parekh
Hi Bálint, Is the checkbox Launch and deploy from this directory checked? (It is below the text box you enter the WAR directory in the project properties Google Web application.) Also, is this a new project or your existing project? If you don't mind, could you create a new message thread?

Re: how to display a JSP page inside a DecoratedTabPanel

2010-06-30 Thread rakesh wagh
the answer is embedded in your question: framed. Use com.google.gwt.user.client.ui.Frame On Jun 30, 10:51 am, Denis denis.w...@gmail.com wrote: Hello, I have existing JSP pages that should be framed inside a GWT DecoratedTabPanel. Is this doable at all? Thanks for your reply. -- You

Re: JsonpRequestBuilder Timeout - GWT 2.0

2010-06-30 Thread Thomas Broyer
On 30 juin, 16:11, Márcio Menezes marcio@gmail.com wrote: Hello! I'm trying to retrieve Json using JsonpRequestBuilder. When I use some external url, like this onehttp://search.yahooapis.com/ImageSearchService/V1/imageSearch?appid=Y..., everything works fine. But, when I try to fetch

Slow OOPHM on Windows 7 64 bit

2010-06-30 Thread Kyle
I've recently upgraded my OS to Win7 x64, and Dev Mode is impossibly slow. The initial load used to take 10 seconds, and now it takes three minutes to load OOPHM. My machine is a brand new MacBook Pro, if that matters. I've tested with Chrome, Firefox, and IE8, and all display the same long load

Contacts2 example's bug

2010-06-30 Thread JosephLi
If anyone encountered some weird behavior trying to download and run the Contacts2 example from (http://code.google.com/webtoolkit/articles/ mvp-architecture-2.html) and is having the following symptoms, I have the solutions for u: 1.) adding new contact sometimes causes other contacts to

Right Click on Tree

2010-06-30 Thread ganesh.shirsat
hi, How to get TreeItem on right click in GWT 2.0.3 please help me thanks, Ganesh Shirsat -- 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

[gwt-contrib] Second attempted fix for issue 4532. This time, we revert the IE7 layout (issue628802)

2010-06-30 Thread jgw
Reviewers: jlabanca, Description: Second attempted fix for issue 4532. This time, we revert the IE7 layout implementation back all the way to IE6. IE7's just too quirky to rely directly on its implementation of top/left/right/bottom/width/height CSS layout. Please review this at

[gwt-contrib] Re: Set and MutableSet. Bytecode implementation. (issue636801)

2010-06-30 Thread rice
LGTM http://gwt-code-reviews.appspot.com/636801/diff/6001/7007 File /bikeshed/test/com/google/gwt/collections/MutableSetAdapterTest.java (right): http://gwt-code-reviews.appspot.com/636801/diff/6001/7007#newcode162 /bikeshed/test/com/google/gwt/collections/MutableSetAdapterTest.java:162:

[gwt-contrib] Re: Second attempted fix for issue 4532. This time, we revert the IE7 layout (issue628802)

2010-06-30 Thread jlabanca
LGTM http://gwt-code-reviews.appspot.com/628802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r8336 committed - Cleaned a stray 'This' at the end of a sentence

2010-06-30 Thread codesite-noreply
Revision: 8336 Author: rchan...@google.com Date: Wed Jun 30 08:49:35 2010 Log: Cleaned a stray 'This' at the end of a sentence http://code.google.com/p/google-web-toolkit/source/detail?r=8336 Modified: /wiki/LightweightCollections.wiki === ---

[gwt-contrib] [google-web-toolkit] r8337 committed - Edited wiki page through web user interface.

2010-06-30 Thread codesite-noreply
Revision: 8337 Author: rchan...@google.com Date: Wed Jun 30 08:54:04 2010 Log: Edited wiki page through web user interface. http://code.google.com/p/google-web-toolkit/source/detail?r=8337 Modified: /wiki/LightweightCollections.wiki === ---

[gwt-contrib] [google-web-toolkit] r8338 committed - Edited wiki page through web user interface.

2010-06-30 Thread codesite-noreply
Revision: 8338 Author: rchan...@google.com Date: Wed Jun 30 09:07:35 2010 Log: Edited wiki page through web user interface. http://code.google.com/p/google-web-toolkit/source/detail?r=8338 Modified: /wiki/LightweightCollections.wiki === ---

[gwt-contrib] [google-web-toolkit] r8339 committed - Second attempted fix for issue 4532. This time, we revert the IE7 layo...

2010-06-30 Thread codesite-noreply
Revision: 8339 Author: j...@google.com Date: Wed Jun 30 06:04:21 2010 Log: Second attempted fix for issue 4532. This time, we revert the IE7 layout implementation back all the way to IE6. IE7's just too quirky to rely directly on its implementation of top/left/right/bottom/width/height CSS

[gwt-contrib] Re: Optimize JsFunctionClusterer with faster edit distance algorithms (issue669801)

2010-06-30 Thread spoon
Thanks, Alex! Just nits: - Let's attribute the original author(s) in the change description - Let's put the edit-distance classes in a subpackage of com.google.gwt.dev.util. Perhaps simply com.google.gwt.dev.util.editdistance ? http://gwt-code-reviews.appspot.com/669801/diff/1/7 File

[gwt-contrib] Restore rolled-back change r8329, now with a much faster test case that runs in IE (issue654802)

2010-06-30 Thread rice
Reviewers: jat, Description: Restore rolled-back change r8329, now with a much faster test case that runs in IE Please review this at http://gwt-code-reviews.appspot.com/654802/show Affected files: M user/src/com/google/gwt/core/client/JsonUtils.java M

[gwt-contrib] Remove a JDK-1.6ism (issue670801)

2010-06-30 Thread rice
Reviewers: unnurg, Description: Remove a JDK-1.6ism Please review this at http://gwt-code-reviews.appspot.com/670801/show Affected files: M user/src/com/google/gwt/logging/client/SimpleRemoteLogHandler.java Index: user/src/com/google/gwt/logging/client/SimpleRemoteLogHandler.java

[gwt-contrib] Re: Remove a JDK-1.6ism (issue670801)

2010-06-30 Thread unnurg
LGTM Thanks! I thought that I set up my eclipse to use 1.5... will take another look. http://gwt-code-reviews.appspot.com/670801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Set and MutableSet. Bytecode implementation. (issue636801)

2010-06-30 Thread rchandia
http://gwt-code-reviews.appspot.com/636801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Set and MutableSet. Bytecode implementation. (issue636801)

2010-06-30 Thread rchandia
http://gwt-code-reviews.appspot.com/636801/diff/19001/17005 File /bikeshed/src/com/google/gwt/collections/MutableSet.java (right): http://gwt-code-reviews.appspot.com/636801/diff/19001/17005#newcode233 /bikeshed/src/com/google/gwt/collections/MutableSet.java:233: // TODO Consider allow

[gwt-contrib] [google-web-toolkit] r8341 committed - Remove a JDK-1.6ism...

2010-06-30 Thread codesite-noreply
Revision: 8341 Author: r...@google.com Date: Wed Jun 30 08:49:02 2010 Log: Remove a JDK-1.6ism Review at http://gwt-code-reviews.appspot.com/670801 Review by: unn...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=8341 Modified:

[gwt-contrib] Re: Fix checkstyle problems (issue671801)

2010-06-30 Thread rjrjr
LGTM http://gwt-code-reviews.appspot.com/671801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Inserting TreeItems into the logical list in the same spot that they are inserted into the physi... (issue645802)

2010-06-30 Thread rice
LGTM http://gwt-code-reviews.appspot.com/645802/diff/1/2 File user/src/com/google/gwt/user/client/ui/Tree.java (right): http://gwt-code-reviews.appspot.com/645802/diff/1/2#newcode1002 user/src/com/google/gwt/user/client/ui/Tree.java:1002: root = new TreeItem() { Is there a way to avoid

[gwt-contrib] [google-web-toolkit] r8342 committed - Set and MutableSet. Bytecode implementation....

2010-06-30 Thread codesite-noreply
Revision: 8342 Author: rchan...@google.com Date: Wed Jun 30 08:59:28 2010 Log: Set and MutableSet. Bytecode implementation. Review at http://gwt-code-reviews.appspot.com/636801 Review by: r...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=8342 Added:

[gwt-contrib] Re: Inserting TreeItems into the logical list in the same spot that they are inserted into the physi... (issue645802)

2010-06-30 Thread jlabanca
http://gwt-code-reviews.appspot.com/645802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Inserting TreeItems into the logical list in the same spot that they are inserted into the physi... (issue645802)

2010-06-30 Thread jlabanca
Updated based on rice's comments. I merged the root changes into TreeItem. http://gwt-code-reviews.appspot.com/645802/diff/1/2 File user/src/com/google/gwt/user/client/ui/Tree.java (right): http://gwt-code-reviews.appspot.com/645802/diff/1/2#newcode1002

[gwt-contrib] Re: Comment on LightweightCollections in google-web-toolkit

2010-06-30 Thread codesite-noreply
Comment by br...@google.com: @mmoossen: As the name hints, there are significantly different design goals for these collections than for the Guava collections. These collections are meant to be the guilt-free primitives: the lightest conceivable way to implement basic collections on top of

[gwt-contrib] Another approach of HTML templating in GWT

2010-06-30 Thread Radek
I would like to present a different approach to the HTML templating: http://gwtapp.org/ It's runtime HTML templating instead of compile time like UIBinder. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] More flexibility for setting the paging size of CellList

2010-06-30 Thread Paul Schwarz
I posted this in the GWT users' group: Dynamically set page size of CellList http://groups.google.com/group/google-web-toolkit/browse_frm/thread/f1399c54613890b3 aside I had a complex data presentation scenario to handle (complex because the very left hand column contains a row span type look

[gwt-contrib] GWT 2.0.4 is now available

2010-06-30 Thread Chris Ramsdale
Recently Apple released Safari 5, which included a bug where non- integral right-shifts were not being evaluated properly. There were several reports, both internally and externally, of GWT-based applications unexpectedly crashing when running in Safari 5 (including Google Wave). Upon further

[gwt-contrib] [google-web-toolkit] r8345 committed - Update the codelab to trigger exceptions and make the section on trigg...

2010-06-30 Thread codesite-noreply
Revision: 8345 Author: unn...@google.com Date: Wed Jun 30 12:29:28 2010 Log: Update the codelab to trigger exceptions and make the section on triggering server and shared logging more clear. Also a few changes to ensure that disabling logging works correctly in the codelab, and a static

[gwt-contrib] Update sample to use the latest features (issue672801)

2010-06-30 Thread unnurg
Reviewers: fredsa, Description: Update sample to use the latest features Please review this at http://gwt-code-reviews.appspot.com/672801/show Affected files: M samples/logexample/src/com/google/gwt/sample/logexample/client/CustomLogArea.java M

[gwt-contrib] Add WebSocket API (issue646803)

2010-06-30 Thread jat
Reviewers: jgw, markovuksanovic, Description: Add WebSocket API Patch by: markovuksanovic Review by: jat, jgw Please review this at http://gwt-code-reviews.appspot.com/646803/show Affected files: A user/src/com/google/gwt/core/client/RawWebSocket.java A

[gwt-contrib] Re: Add WebSocket API (issue646803)

2010-06-30 Thread jat
This isn't ready to submit yet, just wanted to show the changes I was making based on discussions with Joel and JohnL about how the events should work. I think the open events are broken as designed (please correct me if I am wrong), and it would be pretty expensive for us to try and work around

Re: [gwt-contrib] Another approach of HTML templating in GWT

2010-06-30 Thread Miroslav Pokorny
Hiho Taking a look at the demo its not clear what it actually does and does not do. Please elaborate. tya mP On Wed, Jun 30, 2010 at 7:27 AM, Radek r.oles...@gmail.com wrote: I would like to present a different approach to the HTML templating: http://gwtapp.org/ It's runtime HTML