Register your company if you are using GWT

2012-03-15 Thread Kanagaraj M
If you are using GWT for your projects/products, please register it in the 
following link. so that we can see how many are using GWT.

http://gwtreferencelist.appspot.com/  

-- 
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/-/oamMZAjM3aoJ.
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.



Good looking themes in default gwt

2012-03-15 Thread funkforce
Hi,

I use GWT since it makes it easy for me as Java developer to build
good looking and functionally strong web apps. I don't need to fuzz
around a lot with HTML, Javascript and CSS. As a Java developer my
strong side is not design and GUI stuff. It would therefore make my
life much easier if you (or if there is some external part) could
provide a few good looking default themes as a addition to the few
very simple that are included. Is this possible?

Regards
FF

-- 
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: Performance GWT-RPC, JavaScript Overlays, RequestFactory etc.

2012-03-15 Thread Thomas Broyer


On Thursday, March 15, 2012 1:33:31 AM UTC+1, Elizabeth Lemon wrote:

 Thanks so much for replying! 

 I read that JavaScriptObjects are an opaque handle in the javadoc 

 http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/core/client/JavaScriptObject.html
  


You might want to read the latest javadoc: 
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/index.html
(it hasn't changed for JavaScriptObject since GWT 1.6, but still).
What the javadoc is trying to express is that a JSO is not a classical Java 
object, it's just, as I said earlier, a shim that allows you to access a 
JS object from your Java code.
It might also be a legacy of the times where you couldn't/shouldn't extend 
JSO (GWT 1.5 and earlier, overlay types were not officially supported at 
that time).
 

 When you mentioned how server side performance is different, is it 
 because of the protocol used to marshall and unmarshall the data once 
 it arrives on the server?


Partly this, partly the semantics of the protocol. RequestFactory does more 
than simply calling methods remotely.
 

 You mentioned that the DOM is much more of an issue? In what sense? 
 And how does one go about optimizing for this?


See 
http://www.google.com/events/io/2010/sessions/architecting-performance-gwt.html 
and various other Google I/O sessions.

I always believed that gwt's deserialization via gwtrpc back into the 
 client side was the bottleneck.  Which is why I began to consider 
 other options such as JavaScript Overlay Types.  But then again, I 
 guess forgot that I would have to manage the JSON (or turn them into 
 POJOs, the advantage of GWTRPC you were speaking of I assume?)


Did I ever said anything about an advantage of GWT-RPC over something else? 
;-)
 

 on the 
 server as well.  I suppose the plus side to this is that there is very 
 little deserialization that is needed to be done on the client side. 

 Would I be correct in saying that, since I can't change the speed of 
 my client's computer, I should place the deserialization/serialization 
 work on the server (which I could always allocate more resources for? 

 I guess really I'm looking for bottlenecks or an architecture that 
 would give great scalability~


You probably know the common wisdom about premature optimization?
Don't try to solve a problem you don't have (yet?).

FYI, Google Groups uses GWT-RPC.

-- 
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/-/K7aZYauC75EJ.
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: Requestfactory and CellBrowser Context Problem

2012-03-15 Thread Thomas Broyer
Try using an AsyncDataProvider instead of ListDataProvider.

(also: embrace asynchrony!)

On Thursday, March 15, 2012 2:47:55 AM UTC+1, jmbz84 wrote:

 Hello, 

 I'm trying to use gwt CellBrowser and RequestFactory to show some 
 stored data as Cells in the cellbrowser. But I can't do it because of 
 the context of requestfactory. 


 Any Ideas ? 

 class CustomTreeModel implements TreeViewModel { 
 { 
 ... 
 .. 
 ... 

 ListComposerProxy composerproxy = new ArrayListComposerProxy(); 

 private void setComposer() { 
 testRequestFactory = GWT.create(TestRequestFactory.class); 
 testRequestFactory.initialize(new SimpleEventBus()); 

 request.getQuery(select a from Composer a).fire( 
 new ReceiverListComposerProxy() { 

 @Override 
 public void 
 onSuccess(ListComposerProxy arg0) { 
 //Here Is my problem, How 
 can I transfer the value of arg0 to composerproxy in order to use it 
 on my CellBrowser () 
// Tried with a for() to 
 insert each ComposerProxy individually  and with a separate method 
 insertcomposerproxy(arg0) but didnt work 
 composerproxy=arg0; 

 } 
 }); 

 } 

 } 

 public T NodeInfo? getNodeInfo(T value) { 

 if (value == null) { 

 setComposer(); 

  // LEVEL 0. 
 // We passed null as the root value. Return the 
 composers. 
 // Create a data provider that contains the list 
 of composers. 

 //HERE IS MY PROBLEM. The composerproxy 
 variable is empty. 

 ListDataProviderComposerProxy dataProvider = new 
 ListDataProviderComposerProxy( 
 composerproxy); 



 // Create a cell to display a composer. 
 CellComposerProxy cell = new 
 AbstractCellComposerProxy() { 
 @Override 
 public void render(Context context, 
 ComposerProxy value, 
 SafeHtmlBuilder sb) { 
 if (value != null) { 
 
 sb.appendEscaped(value.getName()); 

 } 
 } 
 }; 
 // Return a node info that pairs the data provider 
 and the cell. 
 return new 
 DefaultNodeInfoComposerProxy(dataProvider, cell); 
 } 
 .. 
 . 
 . 
 . 

 } 



 PD: The getQuery() function works fine and the arg0 variable has data.

-- 
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/-/hkJGM5Mw4c4J.
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 PORTLET

2012-03-15 Thread Nitheesh Chandran
As you people suggested i have created liferay portlet and its
working. My actual requirement is to display the portlet in my GWT
application in response to a user event. I mean if i click a
button ,the portlet should come. How to get this portlet in my GWT
application ?? should i follow the same steps above ?

On Mar 13, 9:18 pm, Joseph Lust lifeofl...@gmail.com wrote:
 You could also use Ext GWT. It has out of the box working examples of
 portlets in GWT. I found it quite simple to implement.

 http://www.sencha.com/examples/pages/portal/portal.html

 Sincerely,
 Joe









-- 
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 support for Safari on Windows

2012-03-15 Thread jsg
Hello,

I'm developing a mgwt http://code.google.com/p/mgwt/ application for 
iPads. I'm doing the development on Windows and Safari offers the best 
testing environment to match the iPad browser renderer.
Despite the fact that Chrome uses webkit like Safari, the experience is 
very different and there are issues that result in panels being obscured by 
other panels.

I know this because of the compiled gwt code works perfectly in Safari, 
however obviously I can't debug in hosted-mode which is a pain.

Are there any plans to make GWT-plugin available for Safari on Windows?

Regards,
Julian

-- 
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/-/Efn2u0JG0q0J.
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.



one language permutation to much - need only default + en

2012-03-15 Thread tanteanni
At the moment my application's gwt.xml looks as foolows:
...
extend-property name=locale values=de /
extend-property name=locale values=en /
set-property-fallback name=locale value=de /
...
The problem is that this yields three permutations for each browser 
(default, en, de). Is there a way to reduce this to 2 permutations 
(default/fallback language should be de)?

-- 
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/-/0ri4tmEmt0UJ.
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: Register your company if you are using GWT

2012-03-15 Thread Joseph Lust
Kanagaraj,

Great idea! I've been searching for a list like this for some time. This 
will certainly help make the case for GWT usage for other 
companies/projects.

Could you add GAE to the hosting options, as well as Jetty and Weblogic? 
Also, my company is in the Health or Fitness industry, but neither are in 
your list.

Sincerely,
Joe

-- 
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/-/zn3WWlgrIscJ.
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: Good looking themes in default gwt

2012-03-15 Thread funkforce
Joseph,

Thanks for your reply.
I have looked at them but I cant use any of them because I am
'limited' to pure GWT due to architecture choices and licensing
issues. From my point of view I would like some more
com.google.gwt.user.theme.* themes.

Regards
FF

On Mar 15, 2:36 pm, Joseph Lust lifeofl...@gmail.com wrote:
 FF,

 SmartGWT, Vaadin, and Ext GWT provide many nicely themed widget sets for
 GWT. Have you investigated any of these?

 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.



Re: Register your company if you are using GWT

2012-03-15 Thread Kanagaraj M
Hi Joseph,

 I am not the one who developed that application. I have got it in a post.

http://pgt.de/2012/03/15/companies-using-google-web-toolkit/ 

Anyway i have requested owner of the site to look into this thread as well.

FYI, contact info for him  p...@pgt.de.


On Thursday, 15 March 2012 19:57:02 UTC+5:30, Joseph Lust wrote:

 Kanagaraj,

 Great idea! I've been searching for a list like this for some time. This 
 will certainly help make the case for GWT usage for other 
 companies/projects.

 Could you add GAE to the hosting options, as well as Jetty and Weblogic? 
 Also, my company is in the Health or Fitness industry, but neither are in 
 your list.

 Sincerely,
 Joe


-- 
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/-/2uY5BxJqRi0J.
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: Register your company if you are using GWT

2012-03-15 Thread P.G.Taboada
Nice you liked it.
I was thinking in renaming Tomcat to JEE Webprofile, which would mean just 
webcontainer. So if you are using jetty feel free to tick tomcat, I will 
rename as soon as possible.

Concerning Weblogic just tick Oracle...  ;-)

There is health and fitness in the list...

Thanks for taking the time and contributing.

Kind regards,

Papick G. Taboada


On Thursday, March 15, 2012 3:27:02 PM UTC+1, Joseph Lust wrote:

 Kanagaraj,

 Great idea! I've been searching for a list like this for some time. This 
 will certainly help make the case for GWT usage for other 
 companies/projects.

 Could you add GAE to the hosting options, as well as Jetty and Weblogic? 
 Also, my company is in the Health or Fitness industry, but neither are in 
 your list.

 Sincerely,
 Joe


-- 
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/-/dDLe7GtZdswJ.
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: one language permutation to much - need only default + en

2012-03-15 Thread Jens
See: http://code.google.com/p/google-web-toolkit/issues/detail?id=5769#c1

-- J.

Am Donnerstag, 15. März 2012 15:11:48 UTC+1 schrieb tanteanni:

 At the moment my application's gwt.xml looks as foolows:
 ...
 extend-property name=locale values=de /
 extend-property name=locale values=en /
 set-property-fallback name=locale value=de /
 ...
 The problem is that this yields three permutations for each browser 
 (default, en, de). Is there a way to reduce this to 2 permutations 
 (default/fallback language should be de)?



-- 
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/-/hKTocJCxs8UJ.
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.



Playing video with Gwt

2012-03-15 Thread Ahmet Dakoglu
Hi All,

   I am trying to play video files and i decided to use bst player, it is
ok with YouTubePlayer with given url but i can not play such as, .avi ,
.mpeg ,mpg files which are on my local drive. I serve them in a servlet to
VLCPlayer and FlashMediaPlayer of bst player but it does not work too.

What am missing here and what can else be used for playing video files in
gwt ?


-- 
*Ahmet DAKOĞLU*

-- 
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: Playing video with Gwt

2012-03-15 Thread Sebastian Gurin
tipically flash based video players will only support the flv and mp3 (audio) 
formats, regards

On Thu, 15 Mar 2012 18:40:00 +0200
Ahmet Dakoglu ahmetdako...@gmail.com wrote:

 Hi All,
 
I am trying to play video files and i decided to use bst player, it is
 ok with YouTubePlayer with given url but i can not play such as, .avi ,
 .mpeg ,mpg files which are on my local drive. I serve them in a servlet to
 VLCPlayer and FlashMediaPlayer of bst player but it does not work too.
 
 What am missing here and what can else be used for playing video files in
 gwt ?
 
 
 -- 
 *Ahmet DAKOĞLU*
 
 -- 
 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.



browser forward button does not respect mayStop

2012-03-15 Thread Constantino
When I execute this app:

http://code.google.com/p/google-web-toolkit/downloads/detail?name=Tutorial-hellomvp-2.1.zip

I initially click on the Say good-bye link, then click on OK and I
see the Good-bye message.

Then I click on the back button to see the hello activity again.

This time instead of clicking on the link I click on the browser
forward button, it will:

- ask the message returned by the mayStop method
- before I click on ok or cancel the URL is already changed
- if I click cancel the URL will stay http://127.0.0.1:/
hellomvp.html?gwt.codesvr=127.0.0.1:9997#GoodbyePlace:World! but the
hello activity is still being displayed

Looks like a bug in GWT, isn't it?

Regards,
   Constantino

-- 
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: Requestfactory and CellBrowser Context Problem

2012-03-15 Thread jmbz84
Thanks Thomas that worked :).

I have another question when the items how in the CellBrowser the text
Show more and Show less appears in the bottom. How can I disable
it???

Here is the code :


//How to call it
ComposerDataProvider dataProvider = new
ComposerDataProvider(testRequestFactory);


//The actual Class
public class ComposerDataProvider extends
AsyncDataProviderComposerProxy {
private TestRequestFactory rf;

public ComposerDataProvider(TestRequestFactory requestFactory) {
this.rf = requestFactory;
}

@Override
protected void onRangeChanged(HasDataComposerProxy display) {

getData();
}

private void getData() {

ComposerRequest request = rf.getComposerRequest();

request.getQuery(select a from Composer a).fire(
new ReceiverListComposerProxy() {
@Override
public void 
onSuccess(ListComposerProxy arg0) {
updateRowData(0, arg0);
}
});
}
}

-- 
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: Requestfactory and CellBrowser Context Problem

2012-03-15 Thread jmbz84
Found it!  updateRowCount(arg0.size(), true);   was missing...

public void onSuccess(ListComposerProxy arg0) {
updateRowCount(arg0.size(), 
true);
updateRowData(0, arg0);
}

On 15 mar, 15:52, jmbz84 jmb...@gmail.com wrote:
 Thanks Thomas that worked :).

 I have another question when the items how in the CellBrowser the text
 Show more and Show less appears in the bottom. How can I disable
 it???

 Here is the code :

 //How to call it
 ComposerDataProvider dataProvider = new
 ComposerDataProvider(testRequestFactory);

 //The actual Class
 public class ComposerDataProvider extends
 AsyncDataProviderComposerProxy {
         private TestRequestFactory rf;

         public ComposerDataProvider(TestRequestFactory requestFactory) {
                 this.rf = requestFactory;
         }

         @Override
         protected void onRangeChanged(HasDataComposerProxy display) {

                 getData();
         }

         private void getData() {

                 ComposerRequest request = rf.getComposerRequest();

                 request.getQuery(select a from Composer a).fire(
                                 new ReceiverListComposerProxy() {
                                         @Override
                                         public void 
 onSuccess(ListComposerProxy arg0) {
                                                 updateRowData(0, arg0);
                                         }
                                 });
         }







 }

-- 
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.



celltable - howto use an image as background of the entire table or at least for some rows

2012-03-15 Thread David Gonzalez
Hi,

I need to use an image as table background (as entire row background will 
works).
I tried this:

.cellTableOddRow {
background-image: url(image.jpg);
background-repeat: repeat-y;
width: 300px;
}


but it puts the image in each cell.
Is this possible?

Thx a lot! 

-- 
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/-/nCeK1nseCh0J.
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.



Time Picker Widget Problem!!!

2012-03-15 Thread Elyor Latipov
Time Picker Widget Problem use gwt!!!

-- 
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/-/KyjEYCzjd1MJ.
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.



Displaying a PDF in a GWT application using a servlet (or not)

2012-03-15 Thread philroc1
Hello,

I have just developed a GWT application which displays a table
containing client invoice data (invoice number, start date, etc.) I
would now like to display the clients' invoice PDFs (which are stored
in BLOBs) whenever they click PDF icons contained in the table's last
column.

One of my colleagues recommended creating an RPC servlet to do that.
Unfortunately, I can't figure out how to pass user information
(contained in a SubscriberInformation object in the GWT application)
to the servlet so that it can easily retrieve the corresponding BLOB
using one of the application's DAOs.

I have thought of writing the contents of the blog to a file in the
GWT application, and passing the file URL to the servlet, but the
Project Manager doesn't want PDF files to be written to the file
system.

Any suggestions would be greatly appreciated.

philroc1

-- 
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.



Appending a String within a ClickHandler.

2012-03-15 Thread Gautam
Hi,
I am relatively new to GWT, I apologize if my doubt sounds juvenile.

I have a requirement where I need to append contents to a String in a
Button's ClickHandler. In the ClickHandler, i do something like this :

String string = ;
for(int i=0; iPanel.getWidgetCount(); i++)
{
Label l = (Label)Panel.getWidget(i);
string = rb.getText();
}

I do this because the number of labels in the panel is decided at run-
time only. My problem is that i want this string to be available
outside the scope of the Button's ClickHandler. If i declare string
outside the ClickHandler, i cannot access it because it is a non-final
variable. If i use the keyword final withstring, i cannot modify it
within the ClickHandler.

What can i do here? I apologize once again if this sounds silly but i
couldn't find a solution anywhere.
Any help would be greatly appreciated.

Thanks in advance.

Regards,
Gautam

-- 
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 a widget / module / entry point from another separate project

2012-03-15 Thread archmisha
Hi,
I have 2 gwt web projects (separate maven projects).
I want from one project to be able to use a widget from another.

I create a separate entry point in the second project and tried
importing the javascript generated by second project into the first
one.
But it doesnt seem to work.

I am trying ti understand how can I do it.
If I could inherit the entrypoint it could help, but they are both web
projects I dont see a way to import them.

Thanks

-- 
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.



Initial download size

2012-03-15 Thread Sarika
In our application we have to reduce our initial loading time. We are
using code splitting in gwt. Still it's taking more time to load. We
did splits based on references methods as well as in events to load
corresponding codes to load on that event. Still it s taking more time
 not able to reduce half size of the overall code.

How can i use splitting more efficiently?

-- 
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.



Client Server StockWathcer Sample Program

2012-03-15 Thread Andri Firstianto
Dear All,

i try the sample program StockWatcher with client server communication
- RPC.

when at the development stage, it looks like okas the server
response by giving the stockprice.

but when deploy it using Google App Eng...to myapplication :
stockwatcherxx.appspot.comthe program got error 500.

please help and guide further.

TIA

-- 
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: Register your company if you are using GWT

2012-03-15 Thread maticpetek
Hello,
   For Backend technology stack you could also add mybatis. And 
congratulation - very good idea  application. 

Regards,
   Matic
--
GWT stuff twitter  - http://twitter.com/#!/gwtstuff

On Thursday, March 15, 2012 4:49:03 PM UTC+1, P.G.Taboada wrote:

 Nice you liked it.
 I was thinking in renaming Tomcat to JEE Webprofile, which would mean just 
 webcontainer. So if you are using jetty feel free to tick tomcat, I will 
 rename as soon as possible.

 Concerning Weblogic just tick Oracle...  ;-)

 There is health and fitness in the list...

 Thanks for taking the time and contributing.

 Kind regards,

 Papick G. Taboada


 On Thursday, March 15, 2012 3:27:02 PM UTC+1, Joseph Lust wrote:

 Kanagaraj,

 Great idea! I've been searching for a list like this for some time. This 
 will certainly help make the case for GWT usage for other 
 companies/projects.

 Could you add GAE to the hosting options, as well as Jetty and Weblogic? 
 Also, my company is in the Health or Fitness industry, but neither are in 
 your list.

 Sincerely,
 Joe



-- 
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/-/WT4shkykRyEJ.
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: Displaying a PDF in a GWT application using a servlet (or not)

2012-03-15 Thread karim duran
Hi Philroc1,

I suggest you to developp your own servlet to do that.
PDF in a blob is a good solution ( no need to fill the filesystem ).
Put the SubscriberInformation object in session, so your servlet can find
it, and serve the PDF.

I met a similar problem, and it's how i did.

Regards.

Karim Duran

2012/3/15 philroc1 pderochamb...@iht.com

 Hello,

 I have just developed a GWT application which displays a table
 containing client invoice data (invoice number, start date, etc.) I
 would now like to display the clients' invoice PDFs (which are stored
 in BLOBs) whenever they click PDF icons contained in the table's last
 column.

 One of my colleagues recommended creating an RPC servlet to do that.
 Unfortunately, I can't figure out how to pass user information
 (contained in a SubscriberInformation object in the GWT application)
 to the servlet so that it can easily retrieve the corresponding BLOB
 using one of the application's DAOs.

 I have thought of writing the contents of the blog to a file in the
 GWT application, and passing the file URL to the servlet, but the
 Project Manager doesn't want PDF files to be written to the file
 system.

 Any suggestions would be greatly appreciated.

 philroc1

 --
 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: Tutorial doesn't work for me

2012-03-15 Thread Akram Moncer
try google chrome it works

Le 15 mars 2012 20:55, newbo winona_white...@yahoo.com a écrit :

 Hey all,

 I'm going through the StockWatcher tutorial and the code:

 code

 if (event.getCharCode() == KeyCodes.KEY_ENTER) {
addStock();
 }

 /code

 I've tried to trigger this, but while I can get the KeyPressEvents to
 go through, detecting the enter key doesn't seem to be working.

 Any ideas?

 Thank you.

 --
 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.




-- 
Akram MONCER
Personne

-- 
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 and Google Maps Version 3

2012-03-15 Thread Joseph Lust
Nandy,

Your error is with  http://code.google.com/p/gwt-google-maps-v3/ , which 
does not utilize the complete Maps V3 JS API. However, when I tested the 
demo page for  http://code.google.com/p/gwt-maps-api/ , everything appeared 
to work fine on IE9.

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/-/L2m0I7z2sKsJ.
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: Register your company if you are using GWT

2012-03-15 Thread Qrunk
Hi Kanagraj,

Thanks for sharing such important information on GWT group ... 

Cheers :-)

On Thursday, 15 March 2012 20:21:24 UTC+5:30, Kanagaraj M wrote:

 Hi Joseph,

  I am not the one who developed that application. I have got it in a post.

 http://pgt.de/2012/03/15/companies-using-google-web-toolkit/ 

 Anyway i have requested owner of the site to look into this thread as well.

 FYI, contact info for him  p...@pgt.de.


 On Thursday, 15 March 2012 19:57:02 UTC+5:30, Joseph Lust wrote:

 Kanagaraj,

 Great idea! I've been searching for a list like this for some time. This 
 will certainly help make the case for GWT usage for other 
 companies/projects.

 Could you add GAE to the hosting options, as well as Jetty and Weblogic? 
 Also, my company is in the Health or Fitness industry, but neither are in 
 your list.

 Sincerely,
 Joe



-- 
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/-/y7-do6aACcsJ.
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.



CellTree with dynamic levels of nodes

2012-03-15 Thread Qrunk
Hi,

We have to prepare a cell tree whose levels are decided at run time, that 
is Say:

Root Node :--
  Composers:--
Music Albums:--
 Singers:--
   
  and so on 

So here in this case it can't be determined at how many numbers of 
DataProviders and SelectionModel we have to create, as well as what 
will be their parameter types, this can't be decided at compile time as the 
number and data types of the levels of tree, are decided at run time.
what should be done in this case ??
Can some one help ?? Thanks in advance

Regards



-- 
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/-/8AroorXpDgEJ.
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.



Petclinic GWT source code

2012-03-15 Thread Jim
I downloaded ROO and wanted to use ROO to generate Petclinic GWT
source code. Roo failed in the early stage. I would appreciate it if
you could provide me with source code.

Jim

-- 
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: Add missing getBackColor override, fixes 3262 (issue1662803)

2012-03-15 Thread stephen . haberman

Working on a test...hold on.

http://gwt-code-reviews.appspot.com/1662803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Add missing getBackColor override, fixes 3262 (issue1662803)

2012-03-15 Thread stephen . haberman

Working on a test...hold on.


Okay, I couldn't figure how to write a GWTTestCase for this because the
formatter applies to the text the user currently has selected. I didn't
see anything in the existing RichTextAreaText that covered
formatters/text selection.

So I manually verified that the getBackColor patch works in FF in a
modified Hello example.

http://gwt-code-reviews.appspot.com/1662803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Set better Graphics2D rendering quality, fixes 7193 (issue1663803)

2012-03-15 Thread stephen . haberman

Reviewers: cromwellian,



Please review this at http://gwt-code-reviews.appspot.com/1663803/

Affected files:
  M user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java


Index: user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java
diff --git a/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java  
b/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java
index  
429acfa7ed20a7ed9e98490794bb7c29ba31929e..576951d7a4be62ea2efe3515611191443a821cbe  
100644

--- a/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java
+++ b/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java
@@ -24,6 +24,7 @@ import  
com.google.gwt.dev.util.log.speedtracer.SpeedTracerLogger;

 import org.w3c.dom.Node;

 import java.awt.Graphics2D;
+import java.awt.RenderingHints;
 import java.awt.geom.AffineTransform;
 import java.awt.image.BufferedImage;
 import java.io.ByteArrayOutputStream;
@@ -538,6 +539,8 @@ class ImageBundleBuilder {
 Graphics2D g2d = bundledImage.createGraphics();
 createGraphicsEvent.end();

+setBetterRenderingQuality(g2d);
+
 g2d.drawImage(rect.getImage(), rect.transform(), null);
 g2d.dispose();

@@ -593,6 +596,13 @@ class ImageBundleBuilder {
 return b / gcd(a, b) * a;
   }

+  private static void setBetterRenderingQuality(Graphics2D g2d) {
+g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
+RenderingHints.VALUE_INTERPOLATION_BILINEAR);
+g2d.setRenderingHint(RenderingHints.KEY_ALPHA_INTERPOLATION,
+RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY);
+  }
+
   private final MapString, ImageRect imageNameToImageRectMap = new  
HashMapString, ImageRect();


   public ImageBundleBuilder() {
@@ -818,6 +828,9 @@ class ImageBundleBuilder {
 SpeedTracerLogger.Event graphicsEvent =  
SpeedTracerLogger.start(CompilerEventType.GRAPHICS_INIT,

 java.awt.headless, System.getProperty(java.awt.headless));
 Graphics2D g2d = bundledImage.createGraphics();
+
+setBetterRenderingQuality(g2d);
+
 graphicsEvent.end();

 for (ImageRect imageRect : imageRects) {


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Set better Graphics2D rendering quality, fixes 7193 (issue1663803)

2012-03-15 Thread cromwellian


LGTM, although I wonder how much effect it has on build time. I can't
imagine anyone ever wanting crappier icons, but if it say, doubled build
time, we can always add an option like set-configuration-property
name=imageBundle.draftQuality value=true/ or something.


http://gwt-code-reviews.appspot.com/1663803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Add missing getBackColor override, fixes 3262 (issue1662803)

2012-03-15 Thread cromwellian



LGTM.

On 2012/03/15 20:12:33, stephenh wrote:

 Working on a test...hold on.



Okay, I couldn't figure how to write a GWTTestCase for this because

the

formatter applies to the text the user currently has selected. I

didn't see

anything in the existing RichTextAreaText that covered formatters/text
selection.



So I manually verified that the getBackColor patch works in FF in a

modified

Hello example.




http://gwt-code-reviews.appspot.com/1662803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Set better Graphics2D rendering quality, fixes 7193 (issue1663803)

2012-03-15 Thread stephen . haberman

On 2012/03/15 22:17:05, cromwellian wrote:

LGTM, although I wonder how much effect it has on build time.


No idea. Agreed we could add a property for it, but perhaps only if
people notice/complain.

http://gwt-code-reviews.appspot.com/1663803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors