Re: Offtopic: does anyone have a solution to fix error-markers on OSXLion eclipse scroll?

2011-07-25 Thread Gal Dolber
yes, Im using indigo, just tried both configurations and no results... so
strange

On Tue, Jul 26, 2011 at 3:16 AM, Shawn Brown wrote:

>
>> The error marker is not shown in the scroll bar, I can't find a solution.
>> thanks
>>
>
> Are you using Indigo?  Seems to work fine.  Here's the settings that change
> it.
>
> Shawn
>
>
>  --
> 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.
>



-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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: Cell Table Data Handling & Performance

2011-07-25 Thread BST

Where does the datastore actually exist?

-- 
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/-/iy93M8fa5hwJ.
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: IE 8 and status code error 12030 - 12152

2011-07-25 Thread Craig Mitchell
I get this error in IE if I loose connection to the server during a RPC. 
 So, for me, 12031 ERROR_INTERNET_CONNECTION_RESET, is an somewhat accurate 
description (sort of).

-- 
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/-/eGfPL9MwXbAJ.
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: Eclipse Analyzing Sources Slow

2011-07-25 Thread gutto
Over the weekend my build times have reduced! Perhaps we were having
some network issues which were exacerbating the problem. However, it's
still slow. I have tracked the cause down to repeated requests for the
DTD document http://dl.google.com/gwt/DTD/xhtml.ent that is referenced
by each UI Binder templates. I have 80 XML template files and the DTD
doc is request 178 times during a clean build. The workaround I have
found is to download and store this document locally and add it to the
Eclipse XML Catalog. Doing this reduces my build time from approx. two
minutes to under 15 seconds.

Wouldn't it be sufficient to fetch such things once per build?

Would be interesting to know if the previous GPE and Helios request
this DTD so many times. (I used Wireshark to watch what was going on.)



On Jul 23, 1:18 am, "Ionuț G. Stan"  wrote:
> I've had the same problem and the times improved a bit after downgrading
> to Eclipse Helios. It seems there are some problems with Indigo.
>
> On Jul/22/2011 14:36, Alex Luya wrote:
>
>
>
>
>
>
>
>
>
> > Same problem here,even reusing old workspace
>
> > On Jul 22, 6:55 am,gutto  wrote:
> >> Hi
>
> >> Has anyone ever encountered the "analyzingsources" stage of an
> >> eclipse build taking an inordinately long time? It seems to be
> >> required each time I make a change to the dependencies of the project.
> >> It takes roughly 5 minutes, which is unacceptable.
>
> >> Does anyone know what is happening during this stage? I'm assuming its
> >> building Eclipse metadata or something. Can you suggest what I might
> >> try to find the cause of the slow running?
>
> >> Eclipse Indigo (3.7), Google Plugin for Eclipse 3.7, GWT SDK 2.3.0,
> >> OpenJDK 1.6.0_22, Ubuntu 11.04 x84_64,
>
> >> Thanks
>
> --
> Ionuț G. Stan  |  http://igstan.ro

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



No source code is available for type com.google.gwt.autobean.shared.AutoBean

2011-07-25 Thread amos
Hi,
I'm trying to use AutoBean to serialize and deserialize JSON. The
application is failing with the error "No source code is available for
type com.google.gwt.autobean.shared.AutoBean".

Do I need to add some includes or some other configuration in order to
use AutoBean?

Thanks,
Amos

-- 
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: Google beta plugin 2.4

2011-07-25 Thread bbgott
Thank you, that was the info I was gathering.

On Jul 25, 4:36 pm, Bademus -  wrote:
> May be this
> (http://code.google.com/intl/be-BY/eclipse/beta/docs/download.html)?
>
> *No repository found athttp://dl.google.com/eclipse/plugin/beta/3.7.**
> *

-- 
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 can I get the "Expenses" sample up and running?

2011-07-25 Thread Warren Tang
I'm using Windows 7 64bit / Eclipse 3.7 64bit / Latest SDKs.

-- 
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/-/lscrCM6kHSMJ.
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 can I get the "Expenses" sample up and running?

2011-07-25 Thread Warren Tang
Hi David,

I'm really thankful for your patience for answering this starter's 
question. 

I imported the project into eclipse from according to the readme file. Maven 
had an issue finding the gwt-servlet2.2.jar. I fixed it by changing the GWT 
version to 2.3.0 in pom.xml, and adding GWT SDK and Appengine SDK to the 
classpath. The project was then built successfully. But when I run it in the 
dev mode, the following error appears in eclipse's console view:

Exception in thread "main" java.lang.NoSuchMethodError: 
org.mortbay.thread.Timeout.(Ljava/lang/Object;)V
at 
org.mortbay.io.nio.SelectorManager$SelectSet.(SelectorManager.java:306)
at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.Server.doStart(Server.java:233)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:667)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:500)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1055)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
at com.google.gwt.dev.DevMode.main(DevMode.java:309)

I've no idea what it means. 

Besides, it should need my appengine credentials in order to fill data into 
appengine, right? How can I configure it? 


On Monday, July 25, 2011 10:52:58 PM UTC+8, David Chandler (Google) wrote:
>
> The Expenses sample is designed to be used with Maven. See
> README-MAVEN.txt in the samples/expenses folder and follow
> instructions there.
>
> /dmc
>
> On Mon, Jul 25, 2011 at 12:43 AM, Warren Tang  wrote:
> > I have trouble to run the "Expenses" sample in GWT's samples folder. The
> > sample appeared in Google I/O sessions a few times.
> >
> > I'm not familiar with App Engine, but this is what I've done:
> >
> > create an new Eclipse project and then overwrite the src and war with 
> those
> > from the Expenses sample.
> > add App Engine support and specified the application id/name I got by
> > creating a new application in appengine.google.com.
> > compile "LoadExpensesDB.gwt.xml" (which I assume is used to fill 
> appengine
> > with some sample data.).The permunations completed but at the beginning 
> of
> > the log their are some errors:
> > Compiling module com.google.gwt.sample.expenses.LoadExpensesDB
> >Validating newly compiled units
> >   [ERROR] Errors in
> > 
> 'file:/D:/work/learning/gwt/Expenses/java/com/google/gwt/sample/expenses/shared/EmployeeProxy.java'
> >  [ERROR] Line 25:
> > com.google.gwt.sample.expenses.server.domain.Employee cannot be resolved 
> to
> > a type
> >   [ERROR] Errors in
> > 
> 'file:/D:/work/learning/gwt/Expenses/java/com/google/gwt/sample/expenses/shared/EmployeeRequest.java'
> >  [ERROR] Line 22: The import
> > com.google.gwt.sample.expenses.server.domain.Employee cannot be resolved
> >  [ERROR] Line 29: Employee cannot be resolved to a type
> > ... ...
> > When I run the module I got
> >HTTP ERROR: 503  SERVICE_UNAVAILABLE
> > The log in hosted getty says:
> > 00:00:00.008 [WARN] failed GaeAuthFilter
> > javax.servlet.UnavailableException:
> > com.google.gwt.sample.gaerequest.server.GaeAuthFilter
> >   at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
> >   at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:81)
> >
> > Regards,
> > Warren
> >
> >
>
> -- 
> David Chandler
> Developer Programs Engineer, GWT+GAE
> w: http://code.google.com/
> b: http://turbomanage.wordpress.com/
> b: http://googlewebtoolkit.blogspot.com/
> t: @googledevtools
>
>

-- 
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/-/FUouxeOdSSoJ.
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 I18N in the header of DisclosurePanel() and of ListBox?

2011-07-25 Thread Alex Luya
Maybe,it can be done like this:
-

Login  

-
But I want to use a global Constants,I mean using this:

 

Any examples?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: my biggest problem with gwt

2011-07-25 Thread Toby Reyelts
GWT RPC has been particularly offensive when it comes to being slow in
Chrome. If you're using RPC, try running GWT from SVN head. You should see a
massive improvement in Chrome performance.

On Fri, Jul 15, 2011 at 11:12 AM, Dennis Haupt wrote:

> switching to dev mode took 41 seconds, chrome became responsive again about
> ~30 seconds after that. gut feeling wins.
>
>
> 2011/7/15 Rob Coops 
>
>>
>>
>> On Fri, Jul 15, 2011 at 1:23 PM, Dennis Haupt 
>> wrote:
>>
>>> it's the speed. not the execution speed, that one is good enough.
>>> what i mean is the compilation speed. compiling my complete java project
>>> takes 30 seconds. compiling the tiny gwt part of it takes 91 seconds.
>>> activating the hosted mode takes about 1-2 minutes (didn't measure, feels
>>> like it). debugging like this takes forever.
>>>
>>> the write - test - debug - fix - cycle slows me down a lot. is there any
>>> way to fix that problem?
>>>
>>> --
>>> 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.
>>>
>>
>> The speed of compilation and the starting in the dev server is indeed a
>> little slow, but then again if you look at what it is doing...
>>
>> Take Java code and transform that into javascript and html, then rinse and
>> repeat 6 times for all supported browsers and versions. Then repeat that n
>> times once for each language specified. In the end that means that where you
>> compile your java project once you compile your gwt bit at least six times
>> yet it only takes 3 times as long...
>> One thing I did to speed things up is remove all languages other then
>> default this saves a lot of compilation steps and reduces the time it takes
>> to compile significantly. After all once you have confirmed that a string is
>> translated there is little point in doing that again for every debug round.
>>
>> Another easy thing to do is reduce the compilation amount, do you really
>> need to recompile every single time? Most of the changes in your code can be
>> tested without having to recompile just redeploy the solution and all client
>> side code will/should (it does sometimes fail) run in the new updated
>> version.
>> Also pretty much all professional outfits use a nightly build to put the
>> whole lot together, build and deploy it all beyond that most of the time
>> developers work on their own portion of the code which they can compile and
>> test without always needing to compile the full project.
>>
>> Then there is one other thing which I know won't sound nice but it is
>> true. A gut feeling of 1 minute or even several minutes usually turns out to
>> be way less then that. Just like with performance testing you cannot trust
>> your feelings you have to measure things before you can say for sure. For
>> instance it has been found that one can make an application a lot faster by
>> showing the user a progress bar and status messages about what the program
>> is doing. The program is no faster but the user has the feeling stuff is
>> happening thus they feel that things are going faster even though there is
>> no factual difference in the execution speed.
>> So never trust a feeling, at least not when it comes to the measuring of
>> idle time waiting for a computer, as it is very often quite far of from
>> reality.
>>
>> Regards,
>>
>> Rob
>>
>> --
>> 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.
>

-- 
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: Declare an array of panels in UiBinder

2011-07-25 Thread Tomasz Gawel
Alex, But if your widgets are to be inserted at runtime what you
expect to define in uibinder template? a list or an array? it's not
the right place because these are visiual templates, and a visual
container for widgets is just a panel (or a div if u use htmlpanel as
root container),
Have i missed the point? but i don't understand the issue

-- 
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 frameworks?

2011-07-25 Thread Tomasz Gawel
still nobody mentioned gwt-query - which btw is truely a framework.
while i dont like it's jquery-like naming convention - i stay
impressed with the code itself, especially selector engine ;).
as to gxt and smart gwt - it was not sth i was looking for so i
abandoned using it.

gwt itself is a framework - and while i am not fully convinced to it's
swing-like widget/panel architecture (and gxt or smart gwt made it
even worse), i got used to it.
what i found really missing in gwt was selector engine. moreover, it's
fast growing framework, and thus leaving less area for frameworks.

pure javascript frameworks in much level originated from a necessity
to cover browser differences, and its it's not the case with gwt.

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



spurious blur event after update to 2.3

2011-07-25 Thread bhomass
I used the CellEditor.startEdit() feature on a tab header. after
upgrade to GWT 2.3, I am getting unexplained blur events which
continuous stops editing. for example, right after I start edit mode
(by double clicking the header), there is a blur event. I used the
code to ignore that. then after every key stroke, another blur event,
there are others whose origin is not at all clear.

Any one knows what could be causing this and how to prevent it?

-- 
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: Interested in helping a research study on Eclipse?

2011-07-25 Thread Mohsen Vakilian
Hi,

We're happy to announce that CodingSpectator now supports Eclipse
Indigo (3.7) -- the latest version of Eclipse.

We are looking for more participants. Your participation in our study
will help to keep the Eclipse platform innovative. If you couldn't
participate in the study because you had to use Indigo, you can now
install CodingSpectator.

If you are interested, please sign up at
 to participate in
our study.

We are thankful to those of you who have already participated in our study.

Regards,
Mohsen Vakilian

On Tue, Jun 7, 2011 at 12:47 PM, Mohsen Vakilian  wrote:
> Hi
>
> I'm Mohsen, a PhD student working with Prof. Ralph Johnson at the
> University of Illinois at Urbana-Champaign (UIUC). Ralph is a co-
> author of the seminal book on design patterns (GoF) and his research
> group has a history of important contributions to IDE's.
>
> Our team [1] is studying how developers interact with the Eclipse IDE
> for evolving and maintaining their code. Since the GWT team provides
> an Eclipse plug-in for GWT, some of you might use Eclipse for your GWT
> development. So, we are inviting you to participate in our study and
> would greatly appreciate and value your help.
>
> To participate you should be at least 18 years old and use Eclipse
> Helios for Java development. As a participant, we ask that you
> complete a short survey and install our Eclipse plug-in called
> CodingSpectator [2].
>
> CodingSpectator monitors programming interactions non-intrusively in
> the background and periodically uploads it to a secure server at UIUC.
> To get a representative perspective of how you interact with Eclipse,
> we would appreciate if you could install CodingSpectator for two
> months. Rest assured that we are taking the utmost measures to protect
> your privacy and confidentiality.
>
> If you are interested, you may sign up at  codingspectator.cs.illinois.edu/ConsentForm>, which contains our
> consent form with all the details and procedures of our research
> study.
>
> Your participation will help us greatly as we try to better understand
> how developers interact with their IDE's so we can propose
> improvements which fit better with their mindsets.
>
> Thanks in advance for your time! Please do not hesitate to contact me
> (mvaki...@illinois.edu) if you have any questions or comments. More
> information can also be found at our FAQ [3]. Feel free to forward
> this invitation to anyone who might be interested in participating in
> this study.
>
> --
> Mohsen Vakilian
> & the CodingSpectator team
>
> [1] http://codingspectator.cs.illinois.edu/People
> [2] http://codingspectator.cs.illinois.edu
> [3] http://codingspectator.cs.illinois.edu/FAQ

-- 
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 frameworks?

2011-07-25 Thread Russ
personally, for mvp style apps, I have been using GWTP and loving it.

On Mon, Jul 25, 2011 at 2:31 PM, joe kolba  wrote:

> I would be careful when calling them frameworks.  They are more collections
> of custom widgets.  For frameworks any of them libraries can use different
> frameworks.
>
>
> On Mon, Jul 25, 2011 at 2:26 PM, gwt.user  wrote:
>
>> Like Joe said it depends.
>> If you are looking for plug-ins free widgets GXT is the best imho.
>> But i will put gwt4air in that list.
>> At my company we are developing mostly Flex applications. gwt4air saved us
>> for having to deal with ActionScript :)
>>
>> --
>> 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/-/S4fIGUHbnGYJ.
>> 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.
>



-- 
Which would you rather believe in: A God that never answers you or a society
that embraces 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.



Re: GWT Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-25 Thread Jeff Chimene
On 07/25/2011 03:23 PM, David Chandler wrote:
> Sure, do you mean the GWT community or some other? Dev mode plugins
> are open source, so if someone has interest in keeping them up to
> date, we're all ears...
> 
> /dmc

The former.

I was looking around in the repository, but didn't see it (them). But I
have to admit I didn't spend more than 5 minutes searching.

Anyway, the maintenance of the FF plugins has exigent nature that isn't
shared by most of the GWT baseline. Can the "relaxed" nature of most
Open Source development work with such a time-constraint? That's why I'm
suggesting a discussion about this topic.

-- 
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 Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-25 Thread Eric Ridge
On Mon, Jul 25, 2011 at 5:55 PM, David Chandler  wrote:
> Good luck, Eric :-) It likely requires non-trivial changes (which is
> why the GWT team hasn't done it yet).

It's not clear yet what'll be required.  It looks like whoever wrote
the current plugin did a pretty decent job of separating concerns.
I'm currently playing with one of the WebKit example NPAPI plugins
(from webkit.org)... and that at least works.

I would like to say that it really stinks that nobody from the GWT
team warned us that Safari 5.1 + OOPHM doesn't work.  It's debatable
whether or not it's my responsibility to keep up with this stuff, but
it's definitely the GWT team's responsibility to at least communicate
such things to their users.

Part of me wants to say f*ck it and use FF, but frankly, I don't like
FF.  Devmode is painfully slow in Chrome, and I'm definitely not
switching to Windows.

> We're currently evaluating how to handle the recent Firefox as well as
> Safari changes going forward. The FF change is especially onerous as
> it now requires engineering effort every 6 weeks to stay up to date.

Hire somebody.

eric

-- 
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 2.4 - What and when?

2011-07-25 Thread David Chandler
Release notes will accompany the actual release... there are some new
features in GPE, as well.

On Mon, Jul 25, 2011 at 4:07 PM, Bademus -  wrote:
> Searching the same info...
> http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4
>
> --
> 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/-/dK2AO8mymLEJ.
> 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.
>



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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 Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-25 Thread David Chandler
Sure, do you mean the GWT community or some other? Dev mode plugins
are open source, so if someone has interest in keeping them up to
date, we're all ears...

/dmc

On Mon, Jul 25, 2011 at 4:13 PM, Jeff Chimene  wrote:
> On 07/25/2011 02:55 PM, David Chandler wrote:
>> (snip)
>>
>> We're currently evaluating how to handle the recent Firefox as well as
>> Safari changes going forward. The FF change is especially onerous as
>> it now requires engineering effort every 6 weeks to stay up to date.
>>
>> /dmc
>>
>
> I'd like to suggest bringing this up with the rest of the community as
> soon as possible. It's clear that Mozilla isn't going to back down on
> this decision, and the impact on the GWT plugin will be substantial.
>
> --
> 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.
>
>



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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 Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-25 Thread Jeff Chimene
On 07/25/2011 02:55 PM, David Chandler wrote:
> (snip)
> 
> We're currently evaluating how to handle the recent Firefox as well as
> Safari changes going forward. The FF change is especially onerous as
> it now requires engineering effort every 6 weeks to stay up to date.
> 
> /dmc
> 

I'd like to suggest bringing this up with the rest of the community as
soon as possible. It's clear that Mozilla isn't going to back down on
this decision, and the impact on the GWT plugin will be substantial.

-- 
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 create proxy object serverside

2011-07-25 Thread Ryan McFall
I don't think this will work, nor do I think it should.  As far as I
understand it, when you send a proxy reference via a Request, the RF
framework attempts to find the server-side entity the proxy is
referencing (using the ID), and then calls the associated method in
your service implementation passing the server-side entity to the
requested method.  Since your object does not exist on the server if
looked up by ID, the call should fail.

If you want this to work, you need to actually persist the object in
createByBarId.

Why do you want to do this?  I've wanted to do it in order to get
default values set on the client-side proxy, but not have the object
persisted.  Unfortunately that's not possible.

Ryan

On Jul 25, 11:05 am, Jakob Mar  wrote:
> Using RequestFacory I am trying to create an object on the server like this:
>
> public imterface FooRequestContext extends RequestContext
> {
>     Request createByBarId(String barId);//create new Foo object
> (dose not persist it)
>     Request calculate(FooProxy foo);
>
> }
>
> createByBarId works fine but when I call calculate I get: Server Error: The
> requested entity is not available on the server.
>
> I think I understand the reason for this error. But is there any way to tell
> RequestFactory that this object has not been persisted jet and force it to
> send the whole object, not just the diff? Just as if it had been created
> using requestContext.create(FooProxy.class) .

-- 
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 2.4 - What and when?

2011-07-25 Thread Bademus -
Searching the same info...
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4

-- 
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/-/dK2AO8mymLEJ.
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 Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-25 Thread David Chandler
Good luck, Eric :-) It likely requires non-trivial changes (which is
why the GWT team hasn't done it yet).

We're currently evaluating how to handle the recent Firefox as well as
Safari changes going forward. The FF change is especially onerous as
it now requires engineering effort every 6 weeks to stay up to date.

/dmc

On Mon, Jul 25, 2011 at 3:10 PM, Eric Ridge  wrote:
> So I just found the page on developer.apple.com that definitively says
> the WebKit plugin API is no longer supported as of 10.7 (which I
> assume also means Safari 5.1, regardless of OS version):
>
> http://developer.apple.com/library/mac/#documentation/InternetWeb/Conceptual/WebKit_PluginProgTopic/WebKitPluginTopics.html
>
> It says:
>
> Note: As of Mac OS X v10.7, the legacy WebKit plug-in architecture is
> no longer supported. Going forward, you must convert WebKit plug-ins
> to Netscape-style plug-ins or Safari Extensions.
>
> So now that I know what's going on for sure (and have documentation
> reference), I'm going to attempt to convert the plugin.  Wish me luck.
>
> eric
>
> On Sat, Jul 23, 2011 at 12:28 AM, Jeff Schnitzer  wrote:
>> It's not a Lion issue - Safari 5.1 is the latest upgrade on 10.6.8, and it
>> breaks as well :-(
>> Jeff
>>
>> On Fri, Jul 22, 2011 at 11:15 AM, Eric Ridge  wrote:
>>>
>>> On Thu, Jul 21, 2011 at 5:22 PM, Darmawan  wrote:
>>> >
>>> > Looks like it's because the Webkit Plugin API is deprecated in Safari
>>> > 5.1
>>> > ( regardless the OSX version ) ? Can anybody help to confirm this ?
>>> > Thanks.
>>>
>>> I don't think that's the case per se.  The Plugin API still exists
>>> within the WebKit.framework.  I saw some rumblings on the 'net about
>>> the API being deprecated, but couldn't find anything definitive on
>>> Apple's developer website.
>>>
>>> I'm no Cocoa expert, so there's probably a thousand reasons why I
>>> failed, but I couldn't even get the "WebKitPluginStarter" example from
>>> developer.apple.com to work.  Looks like it was created long ago, so
>>> maybe it's bit-rotted.  Safari did load it (unlike the GWT plugin),
>>> but it didn't actually work.
>>>
>>> I really wish somebody from the GWT development team would see this
>>> thread (and issue #6601
>>> http://code.google.com/p/google-web-toolkit/issues/detail?id=6601) and
>>> reply.
>>>
>>> Lion & Safari 5.1 are definitely brand new, but I find it hard to
>>> believe that nobody on the GWT team was involved with the developer
>>> previews of Lion.
>>>
>>> eric
>>>
>>> --
>>> 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.
>>
>
> --
> 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.
>
>



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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: Google beta plugin 2.4

2011-07-25 Thread David Chandler
Ah, thanks. That doc is incorrect for the 2.4 beta. The GPE 2.4 beta
is not available for 3.7, but the 2.4 release will be.

/dmc

On Mon, Jul 25, 2011 at 3:36 PM, Bademus -  wrote:
> May be this
> (http://code.google.com/intl/be-BY/eclipse/beta/docs/download.html)?
> No repository found at http://dl.google.com/eclipse/plugin/beta/3.7.
>
> --
> 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/-/RrO0ipFaorEJ.
> 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.
>



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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: Google beta plugin 2.4

2011-07-25 Thread Bademus -
May be this 
(http://code.google.com/intl/be-BY/eclipse/beta/docs/download.html)?

*No repository found at http://dl.google.com/eclipse/plugin/beta/3.7.**
*

-- 
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/-/RrO0ipFaorEJ.
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: Making the Slider Bar included in the Google Web Toolkit Incubator Vertical

2011-07-25 Thread darkflame
This would be very nice, but I think impossible with the current
implementation.

You could try this one;
http://code.google.com/p/gwt-slider-bar/
But that gave me problems when I used it.

Really GWT needs its own native slider class, seeing as Incubator is
depricated.

On Jul 24, 12:45 am, Novice Programmer 
wrote:
> Hi,
>
> I was wondering if it was possible to make the slider bar that resides
> in the Google Web Toolkit Incubator vertical instead of horizontal? My
> first thought was to rotate the bar panel and the labels 90 degrees
> with a css style
>
> .gwt-SliderBar-shell {
>   border: 2px solid #faf9f7;
>   border-right: 2px solid #848280;
>   border-bottom: 2px solid #848280;
>   background-color: #efebe7;
>   height: 34pt;
>   width: 50%;
>   -webkit-transform: rotate(90deg);
>     -moz-transform: rotate(90deg);
>     -ms-transform: rotate(90deg);
>     transform: rotate(90deg);
>
> }
>
> but  I lose the functionality of the slider bar when I do this (I am
> unable to slide the knob and the bar is unresponsive when I click on
> it). Thanks for any help you guys can offer!
>
> The Slider Bar I am talking about is located on this 
> webpagehttp://code.google.com/p/google-web-toolkit-incubator/wiki/SliderBar

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



After using Context menu, how to trigger the browsers default one? (on, say, an image)

2011-07-25 Thread darkflame
I was using this bit of code I found to detect a right click action on
a widget;


@Override
 public void onContextMenu(ContextMenuEvent event) {
 event.stopPropagation(); //This will stop the event from being
propagated to parent elements.
 event.preventDefault(); // because cancelBubble(Boolean) is
deprecated
 Window.alert(“replace this line with your popup function “);
 }

The widget implementing "ContextMenuHandler".
This works, only I'd like to only trigger it sometimes, and at others
leave the browsers normal context menu to appear.
I thought this would be as easy as putting the whole thing in a IF
statement;

@Override
public void onContextMenu(ContextMenuEvent event) {

Log.info("context menu event triggered");

//override the menu only in edit mode
if (panelstreamer.EDITMODE){
 event.stopPropagation(); //This will stop the event from being
propagated to parent elements.
 event.preventDefault(); // because cancelBubble(Boolean) is
deprecated
 Window.alert("replace this line with your popup function ");

} else {
Log.info("_context menu event triggered but no 
edit mode");
}
}

But this doesnt actualy seem to work - the second Log file displays,
but the normal right click context menu still doesnt pop up.

Do I have to specificly tell the browser too?
(even though the stopPropation and preventDefault arnt being
triggered).


Thanks for any help,
Thomas

-- 
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 Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-25 Thread Eric Ridge
So I just found the page on developer.apple.com that definitively says
the WebKit plugin API is no longer supported as of 10.7 (which I
assume also means Safari 5.1, regardless of OS version):

http://developer.apple.com/library/mac/#documentation/InternetWeb/Conceptual/WebKit_PluginProgTopic/WebKitPluginTopics.html

It says:

Note: As of Mac OS X v10.7, the legacy WebKit plug-in architecture is
no longer supported. Going forward, you must convert WebKit plug-ins
to Netscape-style plug-ins or Safari Extensions.

So now that I know what's going on for sure (and have documentation
reference), I'm going to attempt to convert the plugin.  Wish me luck.

eric

On Sat, Jul 23, 2011 at 12:28 AM, Jeff Schnitzer  wrote:
> It's not a Lion issue - Safari 5.1 is the latest upgrade on 10.6.8, and it
> breaks as well :-(
> Jeff
>
> On Fri, Jul 22, 2011 at 11:15 AM, Eric Ridge  wrote:
>>
>> On Thu, Jul 21, 2011 at 5:22 PM, Darmawan  wrote:
>> >
>> > Looks like it's because the Webkit Plugin API is deprecated in Safari
>> > 5.1
>> > ( regardless the OSX version ) ? Can anybody help to confirm this ?
>> > Thanks.
>>
>> I don't think that's the case per se.  The Plugin API still exists
>> within the WebKit.framework.  I saw some rumblings on the 'net about
>> the API being deprecated, but couldn't find anything definitive on
>> Apple's developer website.
>>
>> I'm no Cocoa expert, so there's probably a thousand reasons why I
>> failed, but I couldn't even get the "WebKitPluginStarter" example from
>> developer.apple.com to work.  Looks like it was created long ago, so
>> maybe it's bit-rotted.  Safari did load it (unlike the GWT plugin),
>> but it didn't actually work.
>>
>> I really wish somebody from the GWT development team would see this
>> thread (and issue #6601
>> http://code.google.com/p/google-web-toolkit/issues/detail?id=6601) and
>> reply.
>>
>> Lion & Safari 5.1 are definitely brand new, but I find it hard to
>> believe that nobody on the GWT team was involved with the developer
>> previews of Lion.
>>
>> eric
>>
>> --
>> 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.
>

-- 
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: Google beta plugin 2.4

2011-07-25 Thread David Chandler
Please paste a link to the page you referenced and the error message
(including path to missing repo) here. Thousands of people have
installed GPE for 3.7 successfully so there is likely a typo
somewhere.

Thanks,
/dmc

On Mon, Jul 25, 2011 at 2:02 PM, bbgott  wrote:
> The website for the Google beta plugin lists an install repository for
> Eclipse 3.7 (Indigo).  When I attempt to install the plugin from that
> repository, I get an error message indicating that the repository does
> not exist.  Will the Beta plugin for Eclipse 3.6 work, or should I
> wait for the repository to be fixed?
>
> --
> 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.
>
>



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



[Problem] Unable to load module entry point with tutorial GWT project

2011-07-25 Thread Cedric Lemaitre
Hi,

It's my first step with Eclipse and the GWT pluggins.

I try to make this tutorial : 
http://code.google.com/webtoolkit/doc/latest/tutorial/gettingstarted.html

But I have this error when I make the running at the step 3 :
http://code.google.com/webtoolkit/doc/latest/tutorial/buildui.html. I
Have the following error.

How to fix the problem?

Best,
Cédric

PS configuration

Mac OS 1.6.7
Chrome
Eclispe 3.7


17:16:27.179 [ERROR] [stockwatcher] Unable to load module entry point
class com.google.gwt.sample.stockwatcher.client.StockWatcher (see
associated exception for details)

java.lang.NullPointerException: null
at
com.google.gwt.sample.stockwatcher.client.StockWatcher.onModuleLoad(StockWatcher.java:
41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
396)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
193)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
510)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Thread.java:680)

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



URGENT: navigation bar menu

2011-07-25 Thread Marko
Hey guys.

I need one menu where user doesnt need to click to see the menu items.
I didnt find anything for it, so I tried with MenuButtons and insert a
Menu with items in it, and then add two events: MouseMove and
MouseOut.

But it doesnt work well and I think its because of the animation
coding for Menu, like: menu.animateShow(AnimationEffect.FADE);

Can anybody help me please!

thnx,
Marko

-- 
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 beta plugin 2.4

2011-07-25 Thread bbgott
The website for the Google beta plugin lists an install repository for
Eclipse 3.7 (Indigo).  When I attempt to install the plugin from that
repository, I get an error message indicating that the repository does
not exist.  Will the Beta plugin for Eclipse 3.6 work, or should I
wait for the repository to be fixed?

-- 
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 frameworks?

2011-07-25 Thread joe kolba
I would be careful when calling them frameworks.  They are more collections
of custom widgets.  For frameworks any of them libraries can use different
frameworks.

On Mon, Jul 25, 2011 at 2:26 PM, gwt.user  wrote:

> Like Joe said it depends.
> If you are looking for plug-ins free widgets GXT is the best imho.
> But i will put gwt4air in that list.
> At my company we are developing mostly Flex applications. gwt4air saved us
> for having to deal with ActionScript :)
>
> --
> 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/-/S4fIGUHbnGYJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT frameworks?

2011-07-25 Thread gwt.user
Like Joe said it depends.
If you are looking for plug-ins free widgets GXT is the best imho.
But i will put gwt4air in that list.
At my company we are developing mostly Flex applications. gwt4air saved us 
for having to deal with ActionScript :)

-- 
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/-/S4fIGUHbnGYJ.
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 + Javascript Libraries

2011-07-25 Thread KD
It totally makes sense to use other libraries (with JSNI approach) to
do something that GWT does not offer out of the box (yet i.e.)
The problem is making a wrapper that is agnostic to the JS library
version and making sure you are not writing your own (pure or not)
javascript that is not cross-browser OK.

-KD

On Jul 23, 11:43 am, Tom Carchrae  wrote:
> Hi All,
>
> I get the impression (and please correct me if I'm wrong) that most GWT
> developers live in a pure Java (compiled in JS) world.  Am I wrong?  Do you
> mix GWT with other Javascript libraries (eg.http://makeawesomeweb.com/?cat=13)
>
> I wonder if there are any groups or other resources for developers that want
> to develop in both GWT and JS.  While I love GWT, I really want to take
> advantage of some of the amazing JS libraries that are out there.  I know
> there are various ways to integrate and expose API points (GWT -> JS, or
> visaversa), but I am yet to see any great resources from people doing this
> in practice (I have read the GWT doc pages, and seen some GWT libraries that
> make exposing GWT API to native JS easier).
>
> Why don't I jump to pure JS?  I really like the ability to develop my core
> logic code in Java.  
>
> Any pointers to resources on people combining JS + GWT would be very much
> appreciated as are experiences and opinions ("you're mad", "I do it all the
> time", "I tried it and got burnt", "why?")
>
> Tom

-- 
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 Designer isDesignTime Not Working?

2011-07-25 Thread Dave Kor
Thanks for the reply! I guess I'll make do for now with a temporary fix. The
documentation should really be updated, I wasted half a day trying to figure
out what I was wrong with my code. .

On Mon, Jul 25, 2011 at 11:16 PM, Eric Clayberg  wrote:

> Unfortunately, that option no longer works in GWT 2.2 and above, so we are
> replacing it with an implementation of 
> Beans.isDesignTime()in GWT
> 2.4 .
>
> The two options would be to use GWT 
> 2.4
>  and Beans.isDesignTime()  or
> a null check to prevent the NPE.
>
> --
> 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/-/IDSJ-rNbSBgJ.
> 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,
Dave Kor

-- 
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: Cell Table Data Handling & Performance

2011-07-25 Thread John LaBanca
On Mon, Jul 25, 2011 at 1:22 PM, BST  wrote:

>
> Many Thanks for the input.
>
> The scenario is that I am not displaying more than 100 rows per page. And
> the pager works through 3 pages.
>
> Yes the Data load is on Demand, as when the user presses the next button
> for the 4th page I am getting another 300 rows thru an RPC. It is a plain
> view only table. So only after the user has paged thru the 3 pages I go for
> the next batch of 300.
>
>  Also No changes or search within the table, it is view only. The table is
> a result of a server call for search. So I guess so far no worries :-)
>
>
> CellTable caches the row values within the current page so it can pass the
>> row values to Cells, and so it can re-render rows when needed.  When you
>> switch pages, the row values of the previous page are dumped.
>
>
> My understanding: So when I am viewing the 11 th page with 100 rows and go
> to the 12th page  (using an implementation AbstractPager), the rows on the
> 11th Page is dumped and no longer in the browser. So only 100 rows are
> managed by the browser even though 1100 rows of data is available with the
> DataProvider List. Have I got it right?
>
> Let's say the User has paged thru about 12 pages, so there is a list of
> 1200 in the dataProvider list already of which 100 are being shown in a
> page. So when the user goes back and forth within the range of 12 pages(1200
> rows) sorting or changing the display per page  to be 50 or 25 (on the
> client side),will the cell table efficiently manage?
>
Yes, it only caches the data on the current page.  When you go back and
forth between pages (even pages that you've already visited), CellTable will
send a new request to the data store for the rows in range.

This allows you to control the overall caching policy in your data provider.
 You can choose to cache all rows that you receive from the server in your
data provider, or you could, for example, just cache a window for plus or
minus 5 pages.

>
> I guess after your reply I will be more confident in delivering the
> solution :-)
>
>  --
> 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/-/9IaeCLLTpQoJ.
>
> 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: position of selected row in a celltable

2011-07-25 Thread Deepak Singh
I also tried a lot but could not get to it.
I think we need to raise this to gwt team.

Regards
Deepak


On Mon, Jul 25, 2011 at 10:57 PM, BST  wrote:

>
> I did try what you wanted, but even I am stumped. What I was trying was
> getting the source from the SelectedModel, and getting its absoluteTop and
> absoluteLeft, but that did not work. I will surely update if I find any
> other way to do this.
>
> --
> 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/-/YU0t9x64xVgJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT frameworks?

2011-07-25 Thread Giuseppe La Scaleia
Give a look to gxt. It's a powerfull gwt library with rich components

2011/7/25 Jeff Larsen 

> I looked into SmartGwt, and I'll just say it wasn't for me.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/Wa0pSdu3S5AJ.
> 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.
>



-- 
Giuseppe La Scaleia
CNR - IMAA
geoSDI
Sviluppo Software

C.da S. Loja
85050  Tito Scalo - POTENZA (PZ)
Italia

phone:  +39 0971427305
fax:  +39 0971 427271
mob:+39 3804697436
mail: giuseppe.lascal...@geosdi.org
skype:  glascaleia

web: http://www.geosdi.org

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: position of selected row in a celltable

2011-07-25 Thread BST

I did try what you wanted, but even I am stumped. What I was trying was 
getting the source from the SelectedModel, and getting its absoluteTop and 
absoluteLeft, but that did not work. I will surely update if I find any 
other way to do this.

-- 
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/-/YU0t9x64xVgJ.
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: Cell Table Data Handling & Performance

2011-07-25 Thread BST

Many Thanks for the input. 

The scenario is that I am not displaying more than 100 rows per page. And 
the pager works through 3 pages. 

Yes the Data load is on Demand, as when the user presses the next button for 
the 4th page I am getting another 300 rows thru an RPC. It is a plain view 
only table. So only after the user has paged thru the 3 pages I go for the 
next batch of 300.

 Also No changes or search within the table, it is view only. The table is a 
result of a server call for search. So I guess so far no worries :-)


CellTable caches the row values within the current page so it can pass the 
> row values to Cells, and so it can re-render rows when needed.  When you 
> switch pages, the row values of the previous page are dumped.


My understanding: So when I am viewing the 11 th page with 100 rows and go 
to the 12th page  (using an implementation AbstractPager), the rows on the 
11th Page is dumped and no longer in the browser. So only 100 rows are 
managed by the browser even though 1100 rows of data is available with the 
DataProvider List. Have I got it right?

Let's say the User has paged thru about 12 pages, so there is a list of 1200 
in the dataProvider list already of which 100 are being shown in a page. So 
when the user goes back and forth within the range of 12 pages(1200 rows) 
sorting or changing the display per page  to be 50 or 25 (on the client 
side),will the cell table efficiently manage? 

I guess after your reply I will be more confident in delivering the solution 
:-)

-- 
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/-/9IaeCLLTpQoJ.
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 frameworks?

2011-07-25 Thread Jeff Larsen
I looked into SmartGwt, and I'll just say it wasn't for me. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Wa0pSdu3S5AJ.
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 frameworks?

2011-07-25 Thread joe kolba
depends on what you are going to be using your application for... If it's
something within a company and possibly served from a local server I highly
recommend smartgwt.  Something that is going to get a lot of traffic and
needs to be fast and responsive i would just stick with original GWT with
gwt mvc.

On Mon, Jul 25, 2011 at 12:57 PM, flyingb...@gmail.com  wrote:

> Is there no more new big frameworks for gwt?
>
> Only ones from this three choices?
>
>
> Smart GWT, GXT, and Vaaldin?
>
>
>
> I like gxt the best when I tried it before because of speed and widget
> options.
>
> Smart GWT was slow for me I not sure if they improved that.
>
>
> Is there better frameworks now for gwt?
>
> --
> 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.



GWT frameworks?

2011-07-25 Thread flyingb...@gmail.com
Is there no more new big frameworks for gwt?

Only ones from this three choices?


Smart GWT, GXT, and Vaaldin?



I like gxt the best when I tried it before because of speed and widget
options.

Smart GWT was slow for me I not sure if they improved that.


Is there better frameworks now for gwt?

-- 
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: position of selected row in a celltable

2011-07-25 Thread Deepak Singh
Any idea pls.

On Sun, Jul 24, 2011 at 10:50 PM, Deepak Singh wrote:

> Hi,
>
> I have a celltable.
> I want to access  the position/margin of the selected row of the table at
> runtime.
> How can i acheive this?
>
> 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: Cell Table Data Handling & Performance

2011-07-25 Thread John LaBanca
On Mon, Jul 25, 2011 at 6:49 AM, BST  wrote:

> Hi,
>
> I have successfully managed to use a Cell table & an abstract pager to
> fetch the new set of data from an RPC and display them on the cell
> table. Many thanks to the developer discussions and Developer Guide.
>
> But I do have a few concerns, as I plan to use it for large data sets,
> maybe like 10k objects. The Developer Guide does mention Cell table
> can handle large data sets, but I wanna know how large is large, any
> approximate number of objects in a list? Also a few other questions
> below,
>
The maximum page size is heavily dependent on the app and the data being
displayed, but some teams have gotten into the 250-500 rows per page.
 Assuming your backend can provide the data quickly, the limiting
performance factor of CellTable is rendering, and rendering a 500 row table
isn't instantaneous.

>
>
> Will my browser performance become sluggish if I load too many objects
> simultaneously ? For E.g lets say I store a list of Contact objects,
> with a pic of the contact and other textual information such as name,
> address and mail. The image might be a blob or a Base64 string.
>
All modern browsers should be able to handle an array of a few thousand
Contact objects without a problem, but if you are searching through the
array, that might be slow.  You also have to consider bandwidth constraints.
 Can you load the Contacts on demand and push the processing to the server?


> Is there a performance lag while using the pager on a really large
> data set?
>
There is no performance lag in CellTable itself.  If your backend can
provide data within a range, paging is a better experience than loading
10,000 objects upfront.

>
> If you are not sure, maybe you can tell me this, how the object
> handling in a list w.r.t Cell Table is done , and do the objects exist
> once objects are converted to html in the Cell Table on the client
> Side?
>
CellTable caches the row values within the current page so it can pass the
row values to Cells, and so it can re-render rows when needed.  When you
switch pages, the row values of the previous page are dumped.



> Regards,
> BST
>
>
> --
> 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: SharePoint Permissions Issue - Users moved from Domain A to Domain B

2011-07-25 Thread David Chandler
Wrong forum, please post elsewhere.

On Mon, Jul 25, 2011 at 9:21 AM, Srilakshmi Chilukuri
 wrote:
>
>
> On Jul 25, 11:06 am, Srilakshmi Chilukuri  wrote:
>> We have an Windows Server 2003 AD DS forest, under which we have two
>> domains trustedDomainA andDomainB
>>
>> We are moving users fromDomainA toDomainB
>>
>> We have  MOSS 2007 intranet and internet SharePoint site which have
>> several site collections with sites ranging from 10-500 in each site
>> collection.
>> Till now the users were given permissions using DomainA\userid to all
>> these sites.
>>
>> After the users are moved to the newdomain, I have to give
>> permissions to the individual users once again by adding them to the
>> sites using  the DomainB\userid account.
>> We have 5000+ users what is the best way to replace or change the
>> users permissions to use the  DomainB\Userid accounts.
>>
>> Are there any tools available for doing this?
>
>
> We give permissions,
>
> 1. SharePoint groups with individual users
>
> 2. SharePoint groups with AD groups
>
> 3. SharePoing groups with AD groups and Indivdual users
>
> 4. For some site which have unique permissions individual users are
> given permissions directly.
>
> --
> 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.
>
>



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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: SharePoint Permissions Issue - Users moved from Domain A to Domain B

2011-07-25 Thread Srilakshmi Chilukuri


On Jul 25, 11:06 am, Srilakshmi Chilukuri  wrote:
> We have an Windows Server 2003 AD DS forest, under which we have two
> domains trustedDomainA andDomainB
>
> We are moving users fromDomainA toDomainB
>
> We have  MOSS 2007 intranet and internet SharePoint site which have
> several site collections with sites ranging from 10-500 in each site
> collection.
> Till now the users were given permissions using DomainA\userid to all
> these sites.
>
> After the users are moved to the newdomain, I have to give
> permissions to the individual users once again by adding them to the
> sites using  the DomainB\userid account.
> We have 5000+ users what is the best way to replace or change the
> users permissions to use the  DomainB\Userid accounts.
>
> Are there any tools available for doing this?


We give permissions,

1. SharePoint groups with individual users

2. SharePoint groups with AD groups

3. SharePoing groups with AD groups and Indivdual users

4. For some site which have unique permissions individual users are
given permissions directly.

-- 
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 Designer isDesignTime Not Working?

2011-07-25 Thread Eric Clayberg
Unfortunately, that option no longer works in GWT 2.2 and above, so we are 
replacing it with an implementation of 
Beans.isDesignTime()in GWT 
2.4 .

The two options would be to use GWT 
2.4
 and Beans.isDesignTime()  or 
a null check to prevent the NPE.

-- 
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/-/IDSJ-rNbSBgJ.
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.



SharePoint Permissions Issue - Users moved from Domain A to Domain B

2011-07-25 Thread Srilakshmi Chilukuri
We have an Windows Server 2003 AD DS forest, under which we have two
domains trusted
Domain A and Domain B

We are moving users from Domain A to Domain B

We have  MOSS 2007 intranet and internet SharePoint site which have
several site collections with sites ranging from 10-500 in each site
collection.
Till now the users were given permissions using DomainA\userid to all
these sites.

After the users are moved to the new domain, I have to give
permissions to the individual users once again by adding them to the
sites using  the DomainB\userid account.
We have 5000+ users what is the best way to replace or change the
users permissions to use the  DomainB\Userid accounts.

Are there any tools available for doing this?

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



RequestFactory create proxy object serverside

2011-07-25 Thread Jakob Mar
Using RequestFacory I am trying to create an object on the server like this:

public imterface FooRequestContext extends RequestContext
{
Request createByBarId(String barId);//create new Foo object 
(dose not persist it)
Request calculate(FooProxy foo);
} 

createByBarId works fine but when I call calculate I get: Server Error: The 
requested entity is not available on the server.

I think I understand the reason for this error. But is there any way to tell 
RequestFactory that this object has not been persisted jet and force it to 
send the whole object, not just the diff? Just as if it had been created 
using requestContext.create(FooProxy.class) .

-- 
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/-/3sxUBmPmtYUJ.
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 can I get the "Expenses" sample up and running?

2011-07-25 Thread David Chandler
The Expenses sample is designed to be used with Maven. See
README-MAVEN.txt in the samples/expenses folder and follow
instructions there.

/dmc

On Mon, Jul 25, 2011 at 12:43 AM, Warren Tang  wrote:
> I have trouble to run the "Expenses" sample in GWT's samples folder. The
> sample appeared in Google I/O sessions a few times.
>
> I'm not familiar with App Engine, but this is what I've done:
>
> create an new Eclipse project and then overwrite the src and war with those
> from the Expenses sample.
> add App Engine support and specified the application id/name I got by
> creating a new application in appengine.google.com.
> compile "LoadExpensesDB.gwt.xml" (which I assume is used to fill appengine
> with some sample data.).The permunations completed but at the beginning of
> the log their are some errors:
> Compiling module com.google.gwt.sample.expenses.LoadExpensesDB
>    Validating newly compiled units
>   [ERROR] Errors in
> 'file:/D:/work/learning/gwt/Expenses/java/com/google/gwt/sample/expenses/shared/EmployeeProxy.java'
>  [ERROR] Line 25:
> com.google.gwt.sample.expenses.server.domain.Employee cannot be resolved to
> a type
>   [ERROR] Errors in
> 'file:/D:/work/learning/gwt/Expenses/java/com/google/gwt/sample/expenses/shared/EmployeeRequest.java'
>  [ERROR] Line 22: The import
> com.google.gwt.sample.expenses.server.domain.Employee cannot be resolved
>  [ERROR] Line 29: Employee cannot be resolved to a type
> ... ...
> When I run the module I got
>    HTTP ERROR: 503  SERVICE_UNAVAILABLE
> The log in hosted getty says:
> 00:00:00.008 [WARN] failed GaeAuthFilter
> javax.servlet.UnavailableException:
> com.google.gwt.sample.gaerequest.server.GaeAuthFilter
>   at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
>   at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:81)
>
> Regards,
> Warren
>
> --
> 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/-/XS1mzZlPuT8J.
> 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.
>



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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 animation and effect library with CSS3 support

2011-07-25 Thread VisualFox
I added some documentation and code example. I am not sure what is
really needed as I already include the javadaoc with the source code.
Please tell me if you need anything more. Perhaps some more sexy demo?

= I can use some help editing the doc =

As you can tell my english isn't perfect so if some kind native
speaker can review the text on the project that will really appreciate
it. Just contact me via the group or on the project page.

= Advice =

And finally I have few more GWT project I am open sourcing. But I am
not sure that this forum is the right place for that. I will
appreciate any pointer...
Like the layout project: http://code.google.com/p/visualfox-layout/

Thanks!

On Jul 21, 7:49 pm, mechacha  wrote:
> Tada! I just released it! Hope that will be useful to some of you.
> Even if the documentation is currently missing. But you can always
> check the examples.
>
> Just try a demo!http://www.visualfox.me/app/visualfox-fx
>
> And grab the source:http://code.google.com/p/visualfox-fx/

-- 
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 MAVEN PLUGIN Loading Images

2011-07-25 Thread David Chandler
In a Maven project, images and other Web artifacts (html, css) belong
under src/main/webapp. If you're using GWT's image bundling (see
ClientBundle in docs), the images will go in src/main/resources
instead.

Please post any follow-up questions specific to gwt-maven-plugin to
the appropriate mailing list.

/dmc

On Mon, Jul 25, 2011 at 5:17 AM, vzm  wrote:
> Hi guys
>
> Could you please tell me where is the best folder to put photos??
>
> I am a beginner en gwt with maven, but I worked with both separately.
>
> I am trying to build a project with GWT MAVEN MYBATIS SPRING. So
> difficult for the third time??
>
> The question is... where could I put the images folder? What do I have
> to do to build this folder? Or Maven recognise it
>
> I'll put it in WEB-INF folder but maven doesn't propagate it, or, I
> did it so bad...
>
> Could you please help me?
>
> 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.
>
>



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



SimpleEventBus : why such a non-predictive behavior implementation ?

2011-07-25 Thread david.herv...@gmail.com
Hi,

I'm facing a problem when using the simple implementation of the
EventBus.

// register widget B to be notified when WidgetA trigger an event
register handler of WidgetB on WidgetA.EventType

// dispatch (firingDepth is incremented)
WidgetA.fireEvent

// my widget is really called !!! that's good news
WidgetB.onWidgetAEvent

// on the WidgetA.EventType reception is decided to create a widget C
create widgetC

// this widget register himself to be notified on widgetB events ->
here the widget is registered in the deferredDeltas map (enqueueing)
register handler of widgetC on WidgetB.EventType

// widget B fired an event which is never trapped by the widget C
because the handler of Widget C is in the deferredDeltas AND
firingDepth is not 0
WidgetB.fireEvent

I'm doubtful because I was expected Widget C to receive event from
Widget B. A work around is to encapsulate the WidgetB.fireEvent into a
DeferredCommand but it's not really a solution.

An other solution is to reconsider the usage of firingDepth, I don't
really know why it is used (actually I know, but avoid concurrency
modification that way leads to the upper that strange behavior).
In simple implementation (thread safe) will be to get rid of the usage
of this firingDepth/deferredDeltas and that getHandlerList return a
copy of the handlers to go through and that's it:
We insert directly the handler when they request for registration and
we fire on the current map of handlers

Below is a possible implementation of what I think is a better
implementation (behaviorally speaking) :


package com.google.web.bindery.event.shared;

import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java.util.Set;

import com.google.web.bindery.event.shared.Event.Type;

public class MySimpleEventBus extends EventBus {

private final boolean isReverseOrder;

/**
 * Map of event type to map of event source to list of their
handlers.
 */
private final Map, Map>> map =
new HashMap, Map>>();

public MySimpleEventBus() {
  this(false);
}

/**
 * Allows creation of an instance that fires its handlers in the
reverse of
 * the order in which they were added, although filtered handlers
all fire
 * before unfiltered handlers.
 * 
 *
 * @deprecated This is a legacy feature, required by GWT's old
HandlerManager.
 * Reverse order is not honored for handlers tied to a
specific
 * event source (via {@link #addHandlerToSource}.
 */
@Deprecated
protected MySimpleEventBus(boolean fireInReverseOrder) {
  isReverseOrder = fireInReverseOrder;
}

@Override
public  HandlerRegistration addHandler(Type type, H handler)
{
  return doAdd(type, null, handler);
}

@Override
public  HandlerRegistration addHandlerToSource(final
Event.Type type, final Object source,
final H handler) {
  if (source == null) {
throw new NullPointerException("Cannot add a handler with a
null source");
  }

  return doAdd(type, source, handler);
}

@Override
public void fireEvent(Event event) {
  doFire(event, null);
}

@Override
public void fireEventFromSource(Event event, Object source) {
  if (source == null) {
throw new NullPointerException("Cannot fire from a null
source");
  }
  doFire(event, source);
}

/**
 * @deprecated required by legacy features in GWT's old
HandlerManager
 */
@Deprecated
protected  void doRemove(Event.Type type, Object source, H
handler) {
doRemoveNow(type, source, handler);
}

/**
 * @deprecated required by legacy features in GWT's old
HandlerManager
 */
@Deprecated
protected  H getHandler(Event.Type type, int index) {
  assert index < getHandlerCount(type) : "handlers for " +
type.getClass() + " have size: "
  + getHandlerCount(type) + " so do not have a handler at
index: " + index;

  List l = getHandlerList(type, null);
  return l.get(index);
}

/**
 * @deprecated required by legacy features in GWT's old
HandlerManager
 */
@Deprecated
protected int getHandlerCount(Event.Type eventKey) {
  return getHandlerList(eventKey, null).size();
}

/**
 * @deprecated required by legacy features in GWT's old
HandlerManager
 */
@Deprecated
protected boolean isEventHandled(Event.Type eventKey) {
  return map.containsKey(eventKey);
}

private  HandlerRegistration doAdd(final Event.Type type,
final Object source,
final H handler) {
  if (type == null) {
throw new NullPointerException("Cannot add a handler with a
null type");
  }
  if (handler == null) {
throw new NullPointerException("Cannot add a null handler");
  }

  doAddNow(type, source, handler);

  return new Han

GWT MAVEN PLUGIN Loading Images

2011-07-25 Thread vzm
Hi guys

Could you please tell me where is the best folder to put photos??

I am a beginner en gwt with maven, but I worked with both separately.

I am trying to build a project with GWT MAVEN MYBATIS SPRING. So
difficult for the third time??

The question is... where could I put the images folder? What do I have
to do to build this folder? Or Maven recognise it

I'll put it in WEB-INF folder but maven doesn't propagate it, or, I
did it so bad...

Could you please help me?

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.



Cell Table Data Handling & Performance

2011-07-25 Thread BST
Hi,

I have successfully managed to use a Cell table & an abstract pager to
fetch the new set of data from an RPC and display them on the cell
table. Many thanks to the developer discussions and Developer Guide.

But I do have a few concerns, as I plan to use it for large data sets,
maybe like 10k objects. The Developer Guide does mention Cell table
can handle large data sets, but I wanna know how large is large, any
approximate number of objects in a list? Also a few other questions
below,


Will my browser performance become sluggish if I load too many objects
simultaneously ? For E.g lets say I store a list of Contact objects,
with a pic of the contact and other textual information such as name,
address and mail. The image might be a blob or a Base64 string.

Is there a performance lag while using the pager on a really large
data set?

If you are not sure, maybe you can tell me this, how the object
handling in a list w.r.t Cell Table is done , and do the objects exist
once objects are converted to html in the Cell Table on the client
Side?

Regards,
BST


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



i18n, properties and SafteHtml

2011-07-25 Thread Johannes
Hello,

I'am using the I18NSync to generate Messages interfaces from
properties file. I've read in the documentation that Messages support
SafeHtml. Is it possible with the I18N-tools to generate safehtml
Messages?

I had a look at AbstractLocalizableInterfaceCreator. Am I right that
only the type String is supported?


Cheers, Johannes

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



Multiple dialog boxes

2011-07-25 Thread Ric -
Hi,
i have a problem with the dialog boxes from the gwt. It is no problem
to use one dialog box,
but i need multiple of them. If one dialog box pops up, the other one
gets locked and you can use the first dialog box until you close the
new one. Is there a way to solve this problem ? For example a
parameter which deactivate this "locking feature" ?
Ric

-- 
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: Frustrated with GWT

2011-07-25 Thread JC
I spent one week trying to connect my GWT Client application to my
Servlet throug RPC and I got a similar problem.
I gave up testing from Eclipse/GWT plugin against my servlet handling
the JDBC connection. It looks like GWT is forcing you to use Jetty and
GWT database.

I solved the problem with the following solution:
I created a Java package (.jar) to handle all JDBC statements only.
The Servlet invokes the classes in that .jar files.
I deployed the Servlet and the package in Tomcat
I wrote a JSP to test the Servlet. It works great.
I generated a jar file with my GWT Client application which implements
RPC to call the Servlet.
I deployed the GWT Client application in Tomcat.
I tested the whole thing successfully.
You can spent about one hours splitting your application in three
pieces, but it'll work.
After that I'm very happy using GWT just for UI.

I hope this can help you.

Greetings,

JC


On Jul 23, 5:16 pm, edprog  wrote:
> Hello,
>
>   I like the look and feel of GWT but I can find out why i am getting
> a
>
> Error when invoking the pageable data service :404 
> 
> 
> Error 404 NOT_FOUND
> 
> HTTP ERROR 404
> Problem accessing /timesheettracking/timesheetlogin. Reason:
>     NOT_FOUNDPowered by Jetty://
>
> I have spent 2 days already trying to figure it out and about to give
> up. Here is my code
>
> WEB.XML
>
> 
>      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>   
>   
>     timesheetLoginServlet
>      class>com.timesheet.tmproject.server.TimeSheetLoginServiceImpl servlet-class>
>   
>   
>     timesheetLoginServlet
>     /TimeSheetTracking/timesheetlogin
>   
>   
>   
>     TimeSheetTracking.html
>   
> 
>
> //TIMESHEET LOGIN SERVICE
>
> package com.timesheet.tmproject.client;
>
> import java.util.List;
>
> import com.google.gwt.user.client.rpc.RemoteService;
> import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
>
> public interface TimeSheetLoginService extends RemoteService {
>
>   public boolean isAuthenticated(String empID, String password );
>
> }
>
> //TIMESHEET LOGIN SERVICE ASYNC
>
> package com.timesheet.tmproject.client;
>
> import com.google.gwt.user.client.rpc.AsyncCallback;
>
> public interface TimeSheetLoginServiceAsync {
>         public void isAuthenticated(String empID, String
> password ,AsyncCallback callback);
>
> }
>
> //TIMESHEETTRACK.JAVA
>
> package com.timesheet.tmproject.client;
>
> import java.util.ArrayList;
> import java.util.Iterator;
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.core.client.GWT;
> import com.google.gwt.event.dom.client.ClickEvent;
> import com.google.gwt.event.dom.client.ClickHandler;
> import com.google.gwt.event.dom.client.KeyCodes;
> import com.google.gwt.event.dom.client.KeyUpEvent;
> import com.google.gwt.event.dom.client.KeyUpHandler;
> import com.google.gwt.user.client.Window;
> import com.google.gwt.user.client.rpc.AsyncCallback;
> import com.google.gwt.user.client.rpc.ServiceDefTarget;
> import com.google.gwt.user.client.ui.Button;
> import com.google.gwt.user.client.ui.ClickListener;
> import com.google.gwt.user.client.ui.DialogBox;
> import com.google.gwt.user.client.ui.FlowPanel;
> import com.google.gwt.user.client.ui.HTML;
> import com.google.gwt.user.client.ui.HorizontalPanel;
> import com.google.gwt.user.client.ui.Label;
> import com.google.gwt.user.client.ui.PasswordTextBox;
> import com.google.gwt.user.client.ui.RootPanel;
> import com.google.gwt.user.client.ui.SourcesTabEvents;
> import com.google.gwt.user.client.ui.TabPanel;
> import com.google.gwt.user.client.ui.TabListener;
> import com.google.gwt.user.client.ui.TabPanel;
> import com.google.gwt.user.client.ui.TextBox;
> import com.google.gwt.user.client.ui.VerticalPanel;
> import com.google.gwt.user.client.ui.Widget;
>
> /**
>  * Entry point classes define onModuleLoad().
>  */
> public class TimeSheetTracking implements EntryPoint {
>
>   VerticalPanel vpLogin = new VerticalPanel();
>   private Label lblLoginEmpID = new Label("Employee ID");
>   private TextBox txtEmpID = new TextBox();
>   private Label lblLoginPassword = new Label("**Password ");
>   private PasswordTextBox txtPassword = new PasswordTextBox();
>   private Button btnLogin = new Button("Login");
>   private String _empID;
>   private String _password;
>
>   final TimeSheetLoginServiceAsync timesheetLoginServlet =
> (TimeSheetLoginServiceAsync) GWT
>         .create(TimeSheetLoginService.class);
>
>         @SuppressWarnings("deprecation")
>         public void onModuleLoad() {
>
>                 ServiceDefTarget endpoint = (ServiceDefTarget)
> timesheetLoginServlet;
>                 endpoint.setServiceEntryPoint(GWT.getModuleBaseURL() +
> "timesheetlogin");
>
>                 txtEmpID.setStyleName("txtTextbox");
>                 txtPassword.setStyleName("txtTextbox");
>
>                 lblLoginEmpID.setStyleName("lblLabels");
>                 lblLoginPassword.setStyleName("lblLabels"

Re: Regarding menu navigation (page to page) in GWT

2011-07-25 Thread Justin T
Here's what I usually do to transition between "pages" in GWT. It may or may
not be what your looking for.

I first clear the Rootpanel, then add to the panel another class which acts
like another page.

Here's a example:

public class Example implements EntryPoint {
  public void onModuleLoad() {
  final Button nextButton = new Button("Go to another page");
  //Activates if the button is clicked.
nextButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
  RootPanel.get().clear();
  RootPanel.get().add((IsWidget) new Page());
}
});
  }
}

public class Page{
public Page(){
//Heres your new page. Anything you add to the RootPanel will show
up on the screen.
   //In your case you will probably want to re-add the menu here first.
 }

}
On Mon, Jul 25, 2011 at 9:36 AM, Nandha  wrote:

> Hi,
> Requirement : More pages . navigation using menu
>
> am using menu for navigating from a page to page..
> In this I created a rootpanel with a content panel .
> i added  two pages inside the content panel.. one with visible and
> another with hidden..
> On click of the menu both are interchanging by show() and hide()
> functions...
> but the sub components are not showing with the proper height and
> width
> Doubt is : Is the correct way for creating more pages with menu..
>
> or is there any way for creating more pages in a single GWT project
> ..
> Note : In my project there is only one html file and only one
> entrypoint
>
> Is there any other way...
>
> Am feeling we can make more html files..
> Can anyone help me for that and guide me a way to work with menu for
> navigation
>
> --
> 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: Declare an array of panels in UiBinder

2011-07-25 Thread Alexander Orlov
On Jul 25, 3:16 pm, Tomasz Gawel  wrote:
> Yes, you're right. It's a mistake. I copied your method signature and
> forgot to remove void after adding FocusPanel as a return type.

I've got your example working... kind of, thanks. But I still can't
add any FocusPanels to slots although slots is a List.

-Alex

-- 
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 package a gwt project into a jar so that it can be included into other projects

2011-07-25 Thread Nandha
Hi..

I ll explain upto my knolege

You can use the server side classes directly but not the client..
The server side classes you can find out from
projectname\war\web-inf\classes folder in your workplace of eclipse

Client side Code:
These code are complied as html and java scripts You cannot use it
externally ..
In this you should resuse the client side classes in the editor itself with
the source code by copying your old project package into the new project
packages

On Mon, Jul 25, 2011 at 6:27 AM, Komal Goyal  wrote:

> Hi,
>
> I need to package a gwt project into a jar
> and use the implementations of this project ie its client side class
> in the importing projects client package
>
> and the server side classes to the importing projects server classes
>
> how will the Impls work in this case..?
>
> --
> 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.
>
>


-- 

<3 :) <3
yours.. Nandha...

-- 
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: Frustrated with GWT

2011-07-25 Thread Jeff Larsen
oops, i missed the web.xml at the top of the post. Yea, I agree with 
everyone else. 

-- 
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/-/DDvZmZ3QfosJ.
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: Frustrated with GWT

2011-07-25 Thread Kevin Jordan
Yeah, definitely looks like a case-sensitive error.  It's got
uppercase letters in the mapping of where it's listening on, but all
lowercase in the request.

On Jul 24, 11:09 pm, Gal Dolber  wrote:
> Maybe the uppercases? try this:
>
> /timesheettracking/timesheetlogin
>
>
>
>
>
>
>
>
>
> On Sat, Jul 23, 2011 at 9:16 PM, edprog  wrote:
> > Hello,
>
> >  I like the look and feel of GWT but I can find out why i am getting
> > a
>
> > Error when invoking the pageable data service :404 
> > 
> > 
> > Error 404 NOT_FOUND
> > 
> > HTTP ERROR 404
> > Problem accessing /timesheettracking/timesheetlogin. Reason:
> >     NOT_FOUNDPowered by Jetty://
>
> > I have spent 2 days already trying to figure it out and about to give
> > up. Here is my code
>
> > WEB.XML
>
> > 
> >  >    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> >    "http://java.sun.com/dtd/web-app_2_3.dtd";>
> > 
> >  
> >  
> >    timesheetLoginServlet
> >     > class>com.timesheet.tmproject.server.TimeSheetLoginServiceImpl > servlet-class>
> >  
> >  
> >    timesheetLoginServlet
> >    /TimeSheetTracking/timesheetlogin
> >  
> >  
> >  
> >    TimeSheetTracking.html
> >  
> > 
>
> > //TIMESHEET LOGIN SERVICE
>
> > package com.timesheet.tmproject.client;
>
> > import java.util.List;
>
> > import com.google.gwt.user.client.rpc.RemoteService;
> > import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
>
> > public interface TimeSheetLoginService extends RemoteService {
>
> >  public boolean isAuthenticated(String empID, String password );
> > }
>
> > //TIMESHEET LOGIN SERVICE ASYNC
>
> > package com.timesheet.tmproject.client;
>
> > import com.google.gwt.user.client.rpc.AsyncCallback;
>
> > public interface TimeSheetLoginServiceAsync {
> >        public void isAuthenticated(String empID, String
> > password ,AsyncCallback callback);
> > }
>
> > //TIMESHEETTRACK.JAVA
>
> > package com.timesheet.tmproject.client;
>
> > import java.util.ArrayList;
> > import java.util.Iterator;
>
> > import com.google.gwt.core.client.EntryPoint;
> > import com.google.gwt.core.client.GWT;
> > import com.google.gwt.event.dom.client.ClickEvent;
> > import com.google.gwt.event.dom.client.ClickHandler;
> > import com.google.gwt.event.dom.client.KeyCodes;
> > import com.google.gwt.event.dom.client.KeyUpEvent;
> > import com.google.gwt.event.dom.client.KeyUpHandler;
> > import com.google.gwt.user.client.Window;
> > import com.google.gwt.user.client.rpc.AsyncCallback;
> > import com.google.gwt.user.client.rpc.ServiceDefTarget;
> > import com.google.gwt.user.client.ui.Button;
> > import com.google.gwt.user.client.ui.ClickListener;
> > import com.google.gwt.user.client.ui.DialogBox;
> > import com.google.gwt.user.client.ui.FlowPanel;
> > import com.google.gwt.user.client.ui.HTML;
> > import com.google.gwt.user.client.ui.HorizontalPanel;
> > import com.google.gwt.user.client.ui.Label;
> > import com.google.gwt.user.client.ui.PasswordTextBox;
> > import com.google.gwt.user.client.ui.RootPanel;
> > import com.google.gwt.user.client.ui.SourcesTabEvents;
> > import com.google.gwt.user.client.ui.TabPanel;
> > import com.google.gwt.user.client.ui.TabListener;
> > import com.google.gwt.user.client.ui.TabPanel;
> > import com.google.gwt.user.client.ui.TextBox;
> > import com.google.gwt.user.client.ui.VerticalPanel;
> > import com.google.gwt.user.client.ui.Widget;
>
> > /**
> >  * Entry point classes define onModuleLoad().
> >  */
> > public class TimeSheetTracking implements EntryPoint {
>
> >  VerticalPanel vpLogin = new VerticalPanel();
> >  private Label lblLoginEmpID = new Label("Employee ID");
> >  private TextBox txtEmpID = new TextBox();
> >  private Label lblLoginPassword = new Label("**Password ");
> >  private PasswordTextBox txtPassword = new PasswordTextBox();
> >  private Button btnLogin = new Button("Login");
> >  private String _empID;
> >  private String _password;
>
> >  final TimeSheetLoginServiceAsync timesheetLoginServlet =
> > (TimeSheetLoginServiceAsync) GWT
> >        .create(TimeSheetLoginService.class);
>
> >        @SuppressWarnings("deprecation")
> >        public void onModuleLoad() {
>
> >                ServiceDefTarget endpoint = (ServiceDefTarget)
> > timesheetLoginServlet;
> >                endpoint.setServiceEntryPoint(GWT.getModuleBaseURL() +
> > "timesheetlogin");
>
> >                txtEmpID.setStyleName("txtTextbox");
> >                txtPassword.setStyleName("txtTextbox");
>
> >                lblLoginEmpID.setStyleName("lblLabels");
> >                lblLoginPassword.setStyleName("lblLabels");
>
> >        btnLogin.setStyleName("btnButtons");
>
> >            // Create a tab panel with three items.
> >            TabPanel panel = new TabPanel();
> >        HorizontalPanel hpLogin = new HorizontalPanel();
> >        hpLogin.add(lblLoginEmpID);
> >        hpLogin.add(txtEmpID);
> >        vpLogin.add(hpLogin);
>
> >        HorizontalPanel hpLogin2 = new HorizontalPanel();
> >        hpLogin2.add(lblLoginPassword);
> >   

Regarding menu navigation (page to page) in GWT

2011-07-25 Thread Nandha
Hi,
Requirement : More pages . navigation using menu

am using menu for navigating from a page to page..
In this I created a rootpanel with a content panel .
i added  two pages inside the content panel.. one with visible and
another with hidden..
On click of the menu both are interchanging by show() and hide()
functions...
but the sub components are not showing with the proper height and
width
Doubt is : Is the correct way for creating more pages with menu..

or is there any way for creating more pages in a single GWT project
..
Note : In my project there is only one html file and only one
entrypoint

Is there any other way...

Am feeling we can make more html files..
Can anyone help me for that and guide me a way to work with menu for
navigation

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to package a gwt project into a jar so that it can be included into other projects

2011-07-25 Thread Komal Goyal
Hi,

I need to package a gwt project into a jar
and use the implementations of this project ie its client side class
in the importing projects client package

and the server side classes to the importing projects server classes

how will the Impls work in this case..?

-- 
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: Declar~ á´â´â´ .´´ e an array of panels in UiBindera

2011-07-25 Thread Alisson Prestes
I'm sorry, my smartphone was in my pocket and I accidentally sent this
nonsense message to the group :$

Alisson Prestes
www.google.com/profiles/javalisson



On Mon, Jul 25, 2011 at 9:50 AM, Alisson Prestes wrote:

> On 7/25/11, Alexander Orlov  wrote:
> > On Jul 25, 12:09 pm, Tomasz Gawel  wrote:
> >> List slots;
> >> @UiField FlowPanel slotTargetPanel;
> >>
> >> @UiFactory FocusPanel void addSlot() {
> >
> > I suppose this should be
> >  @UiFactory FocusPanel addSlot() {
> >
> >>FocusPanel slot = new FocusPanel();
> >>slots.add(slot);
> > Here I get:
> > ERROR: Failed to create an instance of
> > 'dp.verp.planer.client.ResourceDefiner' via deferred binding .
> > java.lang.NullPointerException: null
> >
> > Didn't know about @UiFactory. This annotation could be very useful in
> > many other cases...
> >
> > -Alex
> >
> > --
> > 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.
> >
> >
>
>
> --
> Alisson Prestes
> www.google.com/profiles/javalisson
>

-- 
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: Declare an array of panels in UiBinder

2011-07-25 Thread Tomasz Gawel
Yes, you're right. It's a mistake. I copied your method signature and
forgot to remove void after adding FocusPanel as a return type.

-- 
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: Declar~á´â´â´ .´´ e an array of panels in UiBindera

2011-07-25 Thread Alisson Prestes
On 7/25/11, Alexander Orlov  wrote:
> On Jul 25, 12:09 pm, Tomasz Gawel  wrote:
>> List slots;
>> @UiField FlowPanel slotTargetPanel;
>>
>> @UiFactory FocusPanel void addSlot() {
>
> I suppose this should be
>  @UiFactory FocusPanel addSlot() {
>
>>    FocusPanel slot = new FocusPanel();
>>    slots.add(slot);
> Here I get:
> ERROR: Failed to create an instance of
> 'dp.verp.planer.client.ResourceDefiner' via deferred binding .
> java.lang.NullPointerException: null
>
> Didn't know about @UiFactory. This annotation could be very useful in
> many other cases...
>
> -Alex
>
> --
> 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.
>
>


-- 
Alisson Prestes
www.google.com/profiles/javalisson

-- 
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: Declare an array of panels in UiBinder

2011-07-25 Thread Alexander Orlov
On Jul 25, 12:09 pm, Tomasz Gawel  wrote:
> List slots;
> @UiField FlowPanel slotTargetPanel;
>
> @UiFactory FocusPanel void addSlot() {

I suppose this should be
 @UiFactory FocusPanel addSlot() {

>    FocusPanel slot = new FocusPanel();
>    slots.add(slot);
Here I get:
ERROR: Failed to create an instance of
'dp.verp.planer.client.ResourceDefiner' via deferred binding .
java.lang.NullPointerException: null

Didn't know about @UiFactory. This annotation could be very useful in
many other cases...

-Alex

-- 
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: Not Finishing Compile

2011-07-25 Thread Sean
And just a quick update I've made sure GWT and the Eclipse Plug-ins are up 
to the latest. Still, so far no luck with being able to compile. Really wish 
I knew what was causing this

-- 
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/-/g0SNgGou9N8J.
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: Frustrated with GWT

2011-07-25 Thread Jeff Larsen
Did you map your servlet in your web.xml file? 

-- 
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/-/95sWSOEQpS4J.
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: Declare an array of panels in UiBinder

2011-07-25 Thread Tomasz Gawel
Sorry i haven't noticed vp is panel not list ;)
so in java you have sth like that:

List slots;
@UiField FlowPanel slotTargetPanel;

@UiFactory FocusPanel void addSlot() {
   FocusPanel slot = new FocusPanel();
   slots.add(slot);
   return slot;
}

in ui.xml:




Some sample html ...








Some sample widget




in fact slotTargetPanel is not needed for that - you could stick
Focuspanels anywhere in your ui file - as you have an uifactory method
for creatign FlowPanels.

-- 
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: Declare an array of panels in UiBinder

2011-07-25 Thread Tomasz Gawel
Assuming you do not use FocusPanel in other cases in this Widget just
anototate addSlot with @UiFactory and return newly created slot from
it:

@UiFactory FocusPanel void addSlot() {
final FocusPanel fp = new FocusPanel();
vp.add(fp);
return fp;
}


this will cause uibinder to call this method instead of FocusPanel's
constructor.

-- 
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: Changed handling of quotes in GWT localizable resources?

2011-07-25 Thread googelybear
just found out that this only affects properties loaded via the
Constants interface. When using  in uibinder files the old
trick still works (I guess this goes via MessageFormat). But when
loading the property programmatically using Constants interface it
does NOT work (meinaing 2 '' in the source file will also be outputted
as 2 '').

On Jul 25, 11:40 am, googelybear  wrote:
> Hi,
>
> I am a bit puzzled about this, is no one else facing this issue? How
> did you guys solve it?
>
> According to the official Message Format javadoc from Oracle (http://
> download.oracle.com/javase/6/docs/api/java/text/MessageFormat.html)
> the old trick with doubling the quotes should still work (quote):
> "Within a String, "''" represents a single quote. "
>
> but when I write the following property in my properties file:
> "foo = you can''t do this"
>
> the output will be "you can''t do this" - with 2 single quotes still
> present - instead of one according to the javadoc.
>
> Is this a gwt bug?
>
> thanks for any feedback,
> Dennis
>
> On Jun 25, 3:31 pm,googelybear wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I am developing a multi locale app and as described in many posts
> > (e.g. [1] or [2]) so far I have always put 2 quotes when I wanted a
> > single quote to appear in the output in my language properties files
> > (e.g. "that''s right" will become "that's right"). This was very
> > annoying for translators and often got forgotten, meaning I had to fix
> > it manually. But it worked.
>
> > Now I received a bug report from the client stating that all quotes
> > are printed twice on the website (which turned out to be true).
>
> > I will now go back and replace all the double quotes with single
> > quotes again.
>
> > I don't know in which version of GWT that changed (I suspect 2.2 or
> > 2.3).
>
> > Did others also experience the same issue? If so, why have we not been
> > warned about this change by the GWT team? If not, do you have any idea
> > what could have caused this?
>
> > thanks,
> > Den
>
> > [1]http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> > [2]http://groups.google.com/group/google-web-toolkit/browse_thread/threa...

-- 
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: Changed handling of quotes in GWT localizable resources?

2011-07-25 Thread googelybear
Hi,

I am a bit puzzled about this, is no one else facing this issue? How
did you guys solve it?

According to the official Message Format javadoc from Oracle (http://
download.oracle.com/javase/6/docs/api/java/text/MessageFormat.html)
the old trick with doubling the quotes should still work (quote):
"Within a String, "''" represents a single quote. "

but when I write the following property in my properties file:
"foo = you can''t do this"

the output will be "you can''t do this" - with 2 single quotes still
present - instead of one according to the javadoc.

Is this a gwt bug?

thanks for any feedback,
Dennis

On Jun 25, 3:31 pm, googelybear  wrote:
> Hi,
>
> I am developing a multi locale app and as described in many posts
> (e.g. [1] or [2]) so far I have always put 2 quotes when I wanted a
> single quote to appear in the output in my language properties files
> (e.g. "that''s right" will become "that's right"). This was very
> annoying for translators and often got forgotten, meaning I had to fix
> it manually. But it worked.
>
> Now I received a bug report from the client stating that all quotes
> are printed twice on the website (which turned out to be true).
>
> I will now go back and replace all the double quotes with single
> quotes again.
>
> I don't know in which version of GWT that changed (I suspect 2.2 or
> 2.3).
>
> Did others also experience the same issue? If so, why have we not been
> warned about this change by the GWT team? If not, do you have any idea
> what could have caused this?
>
> thanks,
> Den
>
> [1]http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> [2]http://groups.google.com/group/google-web-toolkit/browse_thread/threa...

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



Declare an array of panels in UiBinder

2011-07-25 Thread Alexander Orlov
Currently I do

@UiField
VerticalPanel vp;

void addSlot() {
final FocusPanel fp = new FocusPanel();
vp.add(fp);
}

...so, vp contains a variable number of fps at runtime. However I try
to use UiBinder wherever it's possible.

Is it possible to declare Widget Arrays resp. ArrayLists in UiBinder
that might have a different size at runtime and (if not) are there
plans to implement it?

-Alex

-- 
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: Aw: Re: MVP best practices, how to expose a view to a presenter?

2011-07-25 Thread Thomas Broyer
You'd have to either juggle with binding annotations (and possibly private 
modules), or have the same dependencies in your provider as in your provided 
class (to be able to 'new' the class yourself in the provider) and keep them 
in sync.
IMO, unless you're in a hurry, if this is absolutely necessary (i.e. you 
cannot live with either a singleton or the default behavior) then you'd 
better contribute the support for custom scopes to GIN.

-- 
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/-/2iT2y4xEH_IJ.
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: Battery Percentage

2011-07-25 Thread Ashwin Desikan
have two images one for battery red and battery green. you can define 
them as sprites in your CSS under different style names like batteryRed, 
BatteryGreen. Your logic can fire an event when the battery% has reached 
above or below 40% and accordingly change the image by applying the 
appropriate style (Red or green)


~Ashwin

On Sunday 24 July 2011 03:44 PM, sanjay kanwar wrote:

Hi There,

I have an battery image where i hav to show green line inside tht 
battery when the battery power is more than 40% and red if its less 
than 40%. Thx in Advance



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