Auto TextBox & TextArea Growth Demo and Source (inside)

2011-10-22 Thread Brandon Donnelson
I've been working on a Growing TextBox and TextArea automatically expanding 
dynamically as you type into the input. I've got a little bit more tuning to 
do on the TextArea but its workable version. 

See the growth in action:
http://demogwttextexpand.appspot.com - Demo - Source link at the top.

Fore me the challenge is TextArea ComputedStyle cloning and calculation.

Brandon Donnelson
http://gwt-examples.googlecode.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/-/IHMjfkBrEJoJ.
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: DataGrid auto-set column width

2011-10-22 Thread jaga
Okay - for the first solution I did as follows:
1) for each row of data
1.1) for each field
1.1.1) count the number of characters
1.1.2) keep a running maximum
2) finally you have an array of maximum sizes where each index
corresponds to a column, e.g. List maxes;
3) for each cell column
3.1) set the width to the maximum using the unit EM.
Note: this is likely to make the column a little bigger than required.
You can also try the Unit EX

HTH



On Oct 14, 2:13 pm, misko237  wrote:
> I have tried with first solution, but I couldn't manage to read real
> cell element width. Did you succeed? Second solution is not an option
> for me.
>
> On Oct 13, 2:57 pm,jaga wrote:
>
>
>
>
>
>
>
> > I have the same problem.
>
> > For me there are two solutions:
> > 1) calculate the maximum field width at runtime by inspecting the row
> > data. Then set the field header size.
> > 2) leave as stock and listen for a mouse click or similar on each
> > field header and then resize it.
>
> > On Oct 10, 2:49 pm, misko237  wrote:
>
> > > I have a problem with DataGrid in gwt 2.4. I made table with
> > > CellTable, and everything worked fine. But I needed fixed header, and
> > > then just replaced CellTable with DataGrid. I had problem with .css
> > > file, but than has been resolved.
>
> > > Now, the problem is that every column have fixed width. I need each
> > > column width to be set as the widest cell in entire column.
>
> > > Can someone help to make old looking, but with fixed header.
>
> > > 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.



Re: Multiple Entry Points & GWT Designer, how to choose..

2011-10-22 Thread John Gentilin
Konstantin,

When you say this is in trunk, is it in the release version.. I've
search around
but haven't found any reference to gwtd.module.use. To get by I have
been
renaming the entry points I am not using to .txt, would be nice to
take advantage
of the gwtd.module.use feature if it exists today.. If it is in the
release product,
can you point me to docs on how to utilize it..

Thank you
John Gentilin

On Oct 12, 6:13 am, Konstantin Scheglov  wrote:
> Yes, there is no need for a ticket.

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



JSRange.insertNode

2011-10-22 Thread gangurg gangurg
Folks ,

I am trying to solve this native Java Script issue on IE  but unable to .
Any thoughts on this .
what  am trying to achieve here is add a widget  into a text area .
 In Firefox this seems to work fine .
//Element = new VerticalPanel().getElement();
private native void addNode(JSRange range, Element element)
/*-{
range.insertNode(element);

}-*/;


in IE this does not work fine , i have to fall back on something like
range.pasteHTML(string) . This is good in certain cases , but lets say if i
use certain GWT widgets like Anchor, CheckBox  , the widget appears fine but
since this is a string i loose the events which are  attached to the widgets
like ClickHandler etc.  Any thoughts .

-- 
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: future of gwt & who use gwt

2011-10-22 Thread krespo
when I good understand, google wanted for some period support GWT, but they 
don't want to extend funciontality of GWT(maybe will recover existing bugs). 
They want to migrate existing GWT users into DART. 
But in this Dart way I see some disadvantages against GWT eg: 1. java lang 
on client and server , 2. same model class for client server side ... .I 
think that there  will be compatibility between java <-> dart and stay RPC 
mechanism.
What Do you think about my opinion ?

-- 
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/-/J6TIgjdctY0J.
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: future of gwt & who use gwt

2011-10-22 Thread András Csányi
On 22 October 2011 18:09, Alan Chaney  wrote:
> @Krespo - if you are seriously worried about the future of GWT w.r.t Dart,
> then a quick search on Google gives this:
>
> http://markmail.org/message/uro3jtoitlmq6x7t
>
> Purported to be a leaked internal email, but, who knows?.  Open the email
> and search for "GWT" - you'll get your answer (for "Dash" read "Dart)

Long story short:
"What is the future of the JSCompiler and GWT?
JSCompiler and GWT were already on a merger path.  This effort gives us a
direction for that unification around the Dash language.  We will actively
support teams for a long time on the current generation of JSCompiler and
GWT and provide fantastic co-existence and migration tools to Dash."

Don't worry, it will be supported for long time beside the fact,
according to the linked email, it will be part of bigger something by
the time.


-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell

-- 
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 test multiple interfaces of a widget in MVP ?

2011-10-22 Thread David
I prefer MVP part 2 as well.  It lets me leverage @UiHandler in my uib
views thus further reducing boilerplate code in the presenter.I
found that GIN is essential to its success esp if you are considering
Junit testing without a web container.   Others essentials are Mockito
and Jukito

Here's an example of how I've followed mvp part 2:

SampleUIB .java...
public class SampleUIB  extends Composite implements SampleView

SampleView.java..
public interface SampleView{
   public interface Presenter {
void buttonPressed(String fieldValue);
   }
   void loadData);
}

SamplePresenter.java..
public class SamplePresenter  implements SampleView.Presenter {..
  @Inject private  SampleRpcAsync sampleService;
  @Inject private  private  Table3View view;

-david





The solution is to move to the "part 2" article and follow the advice
here:
> do not use HasXxxHandlers/HasValue/etc. interfaces but make up your own
> Presenter interface, single point of interaction from the view to the
> presenter (the view then pushes to the presenter, rather than the presenter
> pulling from the view).
> Have a look 
> athttp://www.google.com/events/io/2010/sessions/gwt-continuous-build-te...too
> in how to organize your MVP (responsibilities of each part)

-- 
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: future of gwt & who use gwt

2011-10-22 Thread Alan Chaney
@Krespo - if you are seriously worried about the future of GWT w.r.t 
Dart, then a quick search on Google gives this:


http://markmail.org/message/uro3jtoitlmq6x7t

Purported to be a leaked internal email, but, who knows?.  Open the 
email and search for "GWT" - you'll get your answer (for "Dash" read "Dart)


Alan


On 10/22/2011 8:31 AM, krespo wrote:
Yes, I thought statement from google GWT team. I think when going on 
this forum some people from GWT team,should give us some statement 
between relationship dart and GWT (or paste on the blog). Without 
unclear future I can't choose GWT for out project, and I think that 
more people will be thinking such as I.  --
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/-/A4j7k52sJ_cJ.

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: future of gwt & who use gwt

2011-10-22 Thread krespo
Yes, I thought statement from google GWT team. I think when going on this 
forum some people from GWT team,should give us some statement between 
relationship dart and GWT (or paste on the blog). Without unclear future I 
can't choose GWT for out project, and I think that more people will be 
thinking such as I. 

-- 
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/-/A4j7k52sJ_cJ.
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 takes long time to handle responce

2011-10-22 Thread Miroslav Genov
Does anyone has encountered a similar issue ? 

-- 
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/-/QTJYzZC2NxMJ.
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 make button inactive state once it is clicked.

2011-10-22 Thread Ashton Thomas
Well that is the main reason for having setEndabled but I guess you
can always setVisible(false) and remove the thing (or even
setVisible(false) on that on and show a dummy button...

On Oct 22, 1:08 am, suresh babu  wrote:
> Any other technic other than disable and enable button.
>
>
>
>
>
>
>
>
>
> On Fri, Oct 21, 2011 at 7:23 PM, TreKing  wrote:
> > On Fri, Oct 21, 2011 at 8:17 AM, suresh babu wrote:
>
> >> mean while prior to onSuccess of this RPC I am showing loading Image.
>
> > Prior to onSuccess, also disable the button ...
>
> > --- 
> > --
> > TreKing  - Chicago
> > transit tracking app for Android-powered devices
>
> >  --
> > 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.
>
> --
> Regards
> Suresh Babu G
>
> 

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



Right click on CellList!

2011-10-22 Thread David Fernando
Give your suggestion to fire a right click event on cellList. Where do
i include the event?. I have been wating 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-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: show [ERROR] Element may only contain a single child element in gwt 2.4.

2011-10-22 Thread David Fernando
Nice example, working!

On Oct 21, 5:47 pm, Sudhakar Abraham 
wrote:
> The DockLayoutPanel of  element having only one
> Child. So wrap your panel1, panel2 inside panel3.  Try the below code.
>
> S. Abrahamwww.DataStoreGwt.com
> Persist objects directly in Google App Engine
>
> 
>          
>                      
>                            Login
>                      
>          
>          
>            
>                   
>                       sample1
>                       sample2
>                   
>                   
>                       
>                   
>           
>         
>      
> 
>
> On Oct 21, 4:44 pm, David Fernando  wrote:
>
> > I got error when I compile the project. Please give your suggestion.
>
> > 
> >                 
> >                      
> >                            Login
> >                      
> >                 
> >                 
> >                    
> >                                sample1 > g:Button>
> >                                 sample2 > g:Button>
> >                    
> >                   
> >                                 
> >                   /g:VerticalPanel>
> >                 
> >         
> > 
>
>

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



Google Suite Plugin 2.4.2 - Bad request on Sign in

2011-10-22 Thread Jaroslav Záruba
"Sign in to Google..." gives this error:
--
Could not sign in. Check that your computer's date and time are correct; 
sign-in errors can occur if your computer's time is significantly different 
from the server's time.

com.google.api.client.http.HttpResponseException: 400 Bad Request
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:380)
at 
com.google.api.client.auth.oauth.AbstractOAuthGetToken.execute(AbstractOAuthGetToken.java:73)
at 
com.google.gdt.eclipse.login.GoogleLogin.authorizeStep1(GoogleLogin.java:534)
at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:407)
at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:370)
at 
com.google.gdt.eclipse.login.ui.LoginTrimContribution$1.mouseUp(LoginTrimContribution.java:90)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:219)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
--

Fresh installation of Eclipse, my date/time is perfectly OK of course.
Does anyone have any clue about what is happening here?

Regards
  Jarda Z.

-- 
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/-/xs68vvKey6sJ.
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: future of gwt & who use gwt

2011-10-22 Thread Thomas Broyer


On Saturday, October 22, 2011 1:15:35 PM UTC+2, krespo wrote:
>
> Hallo, I have 2questions:
> 1. How is the future of gwt , after Dart release ? Will you continuously 
> migrate users into Dart, or Dart hasnt impact on GWT platform ?
> (GWT use RPC, but Dart not, it's not java)
>

See https://groups.google.com/d/topic/google-web-toolkit/1YCWagI6Y2U/discussion
But there hasn't been anything official from Google.
What's clear is that Dart is beta software (maybe even alpha actually)
 

> 2. where can I found some GWT real world applications (please URL) ?
>

You're using one at the moment: http://groups.google.com/forum/

A few other: Google AdWords, Google Moderator, Apache (ex-Google) Wave, 
Google Flight Search
See also http://code.google.com/webtoolkit/developer_spotlight.html and 
http://gwtgallery.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/-/h-QSiPBv28kJ.
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: [UIBinder] Row Click Handler on flexTable.

2011-10-22 Thread Thomas Broyer
You'll use a ClickHandler and use getCellForEvent to know which cell (and 
thus which row) was clicked.

-- 
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/-/EJNN2YInTQoJ.
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: future of gwt & who use gwt

2011-10-22 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

is there a good dart ide? no. question answered. :)

Am 22.10.2011 13:28, schrieb krespo:
> I asked it becouse I will start new project(single page app)
> scalable app, and I'm thinking when is it wort to start new  GWT
> project, or wait for some time(for example 5months) and start it
> with Dart ?
> 
> -- 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/-/iQTQiyaRzkUJ. 
> 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.


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOoqzcAAoJENRtux+h35aGx/YP/39fZP9QNQqYzYza80roPiys
UKvKjk2Ua7WBmqB5mv00lhVEkbH6k0kcJ2ihrs6MOBLfKqPIdknzTXhBujUhgmku
09f5/jkE6TYSpUe7sZbx6rjUrSgZ5o+dGip+JvCYhzoZ4KErMipxCXQKjUR1SWCE
KYKpaoFS6EnaJwVvW1Xc3paH056fDMX/oK1n3M+muqtnaozFTXlUTY78GzJSe+eE
FYwtFHqvf99baxwg3UlpBB4O7fubpfh4EESp8jHRDTfqd0+LoUtw5TOCLAkGXdS0
cFkxU5FH6sYoBJY34Oi/byq1urzz+uL/8uHHwMizwQJ2vnRdtNJpFay/0kkFDajb
1FwFsIY82ADjzNxBZPVpFNEKAI0/nb2/CGJNAbNWou/j1LyPS5xMOBuPEbSZJQDj
Q8T5bi0KOP1HTy6sGkWdb+Ah4QoNQ+BqRiiFu+r8r/Vyj9blgNpmtAztdPg1X2IU
LJ1W4trCQ+a25y/dn9RG68e6VTcN0T3m6pVnz58zEvh/T9YXECjgvIHzSLtl5cIC
rBWjZ2rH2s0hJzjPnwVPwRiu3s1NkPXbUJbtinkgq/zqcrX7QLsvELKiEy4CUlWZ
5VKE9xa9GAzqwYXWBLuYaPeUF1eU7H4yDg1HhKTzAav0CyOPYLWYGu33f3Fjaae5
Ri9BwYMWLUa/1YiTCUK8
=n6PZ
-END PGP SIGNATURE-

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



[UIBinder] Row Click Handler on flexTable.

2011-10-22 Thread IDeshpande
Hi All,

I am using UIBinder for my application in which I have added a
FlexTable to show my details. I want to add a clickHandler or a row
select functionality where on clicking the row of flexTable I give a
popup.

So, i wanted to know how to add a rowClick for the FlexTable? Could
anyone please give me a example for it??


Thanks in advance.

-- 
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: future of gwt & who use gwt

2011-10-22 Thread krespo
I asked it becouse I will start new project(single page app) scalable app, 
and I'm thinking when is it wort to start new  GWT project, or wait for some 
time(for example 5months) and start it with Dart ? 

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



future of gwt & who use gwt

2011-10-22 Thread krespo
Hallo, I have 2questions:
1. How is the future of gwt , after Dart release ? Will you continuously 
migrate users into Dart, or Dart hasnt impact on GWT platform ?
(GWT use RPC, but Dart not, it's not java)
2. where can I found some GWT real world applications (please URL) ? 

-- 
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/-/7VP-BTwdxDcJ.
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 use an existing composite image in GWT

2011-10-22 Thread Thomas Broyer
You can't.

You can use it as a DataResource and then either use it in a CssResource 
just like a "basic" CSS sprite (i.e. not a @sprite), grabbing the image URL 
(possibly an embedded data: URL) with @url; or with an Image widget using 
setUrlAndVisibleRect, or your can implement the ImageResource interface 
returning the appropriate values for the methods (i.e. implement 
ClientBundle yourself rather than relying on the generator). That last 
approach makes your code "forward compatible" with ClientBundle, so you can 
later switch to a "real" ClientBundle without changing your code (you can 
even use a  rule so you can GWT.create() your implementing 
class in your code, just like if it were using the generator); the only 
difference is that you cannot use your "fake" ImageResource within a 
CssResource (with @sprite).

If I were you though, I'd split the individual images and use "real" 
ClientBundle+ImageResource (and  @sprite in a CssResource if you need).

-- 
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/-/qUgkweKHDYsJ.
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 use an existing composite image in GWT

2011-10-22 Thread Yogesh
Hi,

I already have a composite image with me. How can I use this composite
image along with ClientBundle / ImageBundle in GWT to show different
images extracted from this composite image?

Regards,
Yogesh

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