Re: Eclipse with GWT Designer Problem

2013-10-10 Thread Thomas Broyer
The Google Plugin for Eclipse has its own Google 
Group: https://groups.google.com/d/forum/google-plugin-eclipse
(and note that the first message there tells you to use StackOverflow for 
support)

On Thursday, October 10, 2013 6:50:15 AM UTC+2, ప్రభు కుమార్ wrote:


 Hi ,
  I am using eclipse indigo,ubuntu and GWT 2.4.
 
 problem:
   If i open the Gwt page in gwtDesigner then the eclipse will exit 
 and generate one log file. I have attached that log file.
   same eclipse is working in another system with same ubuntu but 
 not working in our system.
   Please give me any suggestion to overcome the 
 problem.

  Thank you.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Appearance of extra scroll bar in GWT Datagrid

2013-10-10 Thread ovidiu . faur
Hello,

Any news on this issue? Or anybody found any workarounds?

Thank you,
O

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-10 Thread Alain Ekambi
Absolutely no Cons :)
Best animation library I ever used :)
I m working on open sourcing the code.
Should be very soon


2013/9/28 Ed Bras post2edb...@gmail.com

 How was your experience with it ? (pro/cons?).
 I am very interested in looking at your wrapper, so if you can share it
 please let/send me know (it saves me writing one myself ;)

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: StockWatcher example. null pointer because root panel cannot find html element 'stockList'

2013-10-10 Thread dacki Sun
Hi!

I also had a NullPointerException but my problem was that I forgot to write 
the id in double quotes:

So I changed it from:
div id=content/div
To:
div id=content/div

Maybe that helps somebody.

dacki

I had to simply change the code given by Google tutorial to something like 
this...


 From:
 // Associate the Main panel with the HTML host page.
 RootPanel.get(stockList).add(mainPanel);

 Something like this..
 // Associate the Main panel with the HTML host page.
 RootPanel.get().add(mainPanel);




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-10 Thread Ed Bras
In the mean time I made a jsni wrapper as well (more work then I thought
do, to do it right and support all features well).
I also want to drop it as a OSP (in google probably), but have to find the
time to do (isolate dependencies, package names, etc...)
I agree: JS GSAP is amazing... (I used it in the past for AS, and loved it)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Error when defining a generic Composite widget using Java Generics

2013-10-10 Thread Steen Lillethorup Frederiksen
Hi Jens

Thanx for your answer.

Below I have attached the stack trace.
Furthermore, I was wrong in my assumption, that the ListEntry class caused 
the problem - it is actually another class, that causes the problem. 
Another class, still deriving from the DataEntry class - the DualListEntry 
class.

java.lang.AssertionError: This UIObject's element is not set; you may be 
missing a call to either Composite.initWidget() or UIObject.setElement() at 
com.google.gwt.user.client.ui.UIObject.getElement(UIObject.java:556) at 
com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:94) at 
com.google.gwt.user.client.ui.FlowPanel.add(FlowPanel.java:44) at 
dk.dbc.dataio.gui.client.components.DataEntry.init(DataEntry.java:28) at 
dk.dbc.dataio.gui.client.components.DualListEntry.init(DualListEntry.java:15) 
at 
dk.dbc.dataio.gui.client.views.FlowCreateViewImpl.init(FlowCreateViewImpl.java:48)
 
at 
dk.dbc.dataio.gui.util.ClientFactoryImpl.init(ClientFactoryImpl.java:22) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 
at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at 
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:475) at 
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49) at 
com.google.gwt.core.shared.GWT.create(GWT.java:57) at 
com.google.gwt.core.client.GWT.create(GWT.java:85) at 
dk.dbc.dataio.gui.client.MainEntryPoint.init(MainEntryPoint.java:18) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 
at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at 
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:475) at 
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:385) at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
 
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
 
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
 
at java.lang.Thread.run(Thread.java:722)

The DualListEntry class is not (as the ListBox, TextBox etc. that I also 
use to construct ListBoxEntry, TextBoxEntry etc.) a standard GWT widget, 
but my own widget. It looks something like this:

public class DualList extends FocusWidget {

HorizontalPanel container = new HorizontalPanel();
ListBox right = new ListBox(true);
ListBox left = new ListBox(true);
Button addItem = new Button();
Button removeItem = new Button();
VerticalPanel buttonPanel = new VerticalPanel();

public DualList() {
container.setStylePrimaryName(dio-DualList);
addItem.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
moveItems(left, right);
}
});
removeItem.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
moveItems(right, left);
}
});
buttonPanel.add(addItem);
buttonPanel.add(removeItem);
container.add(left);
container.add(buttonPanel);
container.add(right);
}

public void addAvailableItem(String value, String key) {
...
}

public void setAvailableItems(Collection? extends EntryString, 
String items) {
...
}

...
}

Originally, the DualList class inherited from Composite rather that 
FocusWidget - however, in order to use the DualList together with 
DataEntry, I had to extend it from FocusWidget.
And I think, that the problem is related to this somehow...

Br
Steen

Den onsdag den 9. oktober 2013 16.12.46 UTC+2 skrev Steen Lillethorup 
Frederiksen:

 I am trying to create a generic Composite widget, using Java Generics. 
 However I keep getting the assertion error:

 java.lang.AssertionError: This UIObject's element is not set; you may be 
 missing a call to either Composite.initWidget() or UIObject.setElement()


 I have defined my Composite widget as follows:

 public class DataEntryDataType extends FocusWidget extends Composite {

 final protected FlowPanel panel;
 final protected InlineLabel promptLabel;
 final protected DataType inputElement;
 
 public DataEntry(final DataType inputField, final String guiId, final 
 String prompt) {
 super();

 promptLabel = new InlineLabel(prompt);
 inputElement = inputField;

 panel = new FlowPanel();
 panel.add(promptLabel);
 panel.add(inputField);
 initWidget(panel);

 

Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-10 Thread Alain Ekambi
Maybe we can join force here.
What features do you support ?  I m planing to set up the project on my
GitHub later today.


2013/10/10 Ed Bras post2edb...@gmail.com

 In the mean time I made a jsni wrapper as well (more work then I thought
 do, to do it right and support all features well).
 I also want to drop it as a OSP (in google probably), but have to find the
 time to do (isolate dependencies, package names, etc...)
 I agree: JS GSAP is amazing... (I used it in the past for AS, and loved it)

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-10 Thread Alain Ekambi
Looks cool.
I went another road but the result seems to be the same :)
Good work


2013/10/10 Ed Bras post2edb...@gmail.com

 Almost all, expect (from the top of my head): a few arguments that are
 hardly used like using frames instead of time for duration, defining
 arguments for listeners.
 My set up: Facade singleton for the static calls, and Tween and Timeline
 instance. All interface based, and base classes containing the shared stuff
 like in GreenSock the Animation class.
 Note: I do as much as possible in ms instead of seconds, only the options
 vars objects are of course in seconds...
 Attached a few classes to give you an idea.
 Disclaimer: i made it all pretty quickly, didn't had time to review all
 well, but it seem to work well (also on mobile)...
 Probably refactor things in the coming weeks/months when using it.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT hostmode in weblogic

2013-10-10 Thread Saurabh Tiwari
I am getting an error of 
java.lang.ClassNotFoundException: org.datanucleus.OMFContext Message icon - 
Warning Errors were encountered while performing this operation.
I am not using the google Datastore.
Please help me to identify the root cause and how to switch off the 
dataneucleus calls.

On Thursday, June 3, 2010 10:50:01 PM UTC+5:30, Carlo wrote:

 You shouldn't need to do anything special to get it running in 
 weblogic, just deploy it as an application.  I run with my application 
 added as an exploded war by pointing the GWT project output directory 
 (in my case app root/target/app name, because it builds with 
 maven, but otherwise you can point to the app root/war directory). 
 Select the I will make the deployment accessible from the following 
 location: and find your output directory. 

 You can still run the debugger this way, you just have to disable the 
 default jetty server (either with -noserver on the command line or 
 deselecting the Run built-in server option in your Eclipse run 
 configuration.  You should then be able to browse to your weblogic 
 application and add the ?gwt.codesvr=localhost:9997 parameter to your 
 URL and connect to the debugger. 

 One other note is that I've not had luck changing the context name of 
 the app when deploying as an exploded war with Weblogic.  The server 
 always wants to have the root be the name of the directory, so in the 
 default case 'war'.  I haven't looked into it much, but it means that 
 the URL on my local dev box ends up looking something like 
 http://localhost:7001/war/App.html?gwt.codesvr=127.0.0.1:9997. 

 Good luck. 


 On Jun 2, 8:29 pm, GWT_novice ssu...@gmail.com wrote: 
  i am very new to GWT. I want deploy GWT app in weblogic app server 
  instead of using in-built jetty. Can someone let me know how to do 
  that? I googled it but not much info regarding set up in weblogic. 
  Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT and GSAP (Green Sock Animation Platform) ?

2013-10-10 Thread Ed Bras
I am curious how you setup/design your code.
Let me know when you put it online such that I can have a look.
If you have any ideas about working together, let me know (I only have to
work 7 days a week the next few months ...  :(.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Prefetching GWT modules

2013-10-10 Thread aswath
Hello,
I have several GWT modules (15 -20), some big, some small modules. They get 
included in a different JSP files.  
First time, the jsp file is accessed, the GWT module is loaded and hence 
the page rendering is slow.  The user is exploring different parts of the 
application by clicking on different links, and different 
GWT module getting downloaded for each new link, the user experience is bad.
So, I want to prefetch most of my modules in one of the JSP by giving 
'Initializing, please wait... message and then downloading most of the 
modules.
Please let me know, if there are any examples on prefetching or making the 
user experience more pleseant.

-Aswath

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


How to have a form which autocomplete name and password (in order to log in) ?

2013-10-10 Thread Axel R
Hi,
I would like to implement a form with autocompletion in order that the user 
does not have to rewrite its mail and password each time he wants to log in.
How could I achieve that ? I do not need a special page to login before the 
user can enter in the sitethe user can log in when he wants...

Thanks you,

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Design pattern for rpc impl

2013-10-10 Thread Leung
Hi,

On the impl class on the server side of the rpc, I have a bunch of methods, and 
I have only one rpc instance. Sometimes, these methods can be re-used by the 
methods of the same class. I dont want to repeat the Hi Facebook code on two 
methods. Is there any design pattern to solve this problem? I want to keep all 
these on the server side, instead of going back to the rpc client and send 
another rpc call.


For example,
loginLocal() {---}

updateLocalUserInfo() {---}


VerifyFromSocialMedia1(){
//Hi Facebook  ---redundant

loginLocal();

}

VerifyFromSocialMedia2(){
//Hi Facebook ---redundant
updateLocalUserInfo();

}

Thanks
Ming

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Why it got error when using splitLayoutPanel.getWidget(1) (centered widget) but ok if using splitLayoutPanel.getWidget(0) (west widget)?

2013-10-10 Thread Patrick Tucker
I believe you want getCenter()

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


[gwt-contrib] Implement subpixels to support IE10

2013-10-10 Thread Daniel Kurka
Hi all,

IE10 is returning subpixels for DOM element positions. This breaks tests
and prevents IE10 support right now.

We had a discussion and a patch a while back on that topic:
https://gwt-review.googlesource.com/#/c/3090/

I am proposing that we implement sub pixel in our DOM implementation in the
following way:

For every method, we add a subpixel version:
  int getLeft() - double getSubLeft()
the int version simply does:
  return getSubLeft() | 0
while getSubLeft returns the actual DOM value.

For know we make those methods private so that we can defer discussion to a
later point on how we want to deal with the general problem of sub pixels.

If no one strongly opposes, I will start to implement this.

-Daniel

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.