Crossposted from GPE group (Tooling support to handle GWT MVP boilerplate)

2011-10-06 Thread abby
Posting this on this group to reach the GWT community as well.

I was wondering if there are any plans to add better tooling support
to generate the boilerplate interfaces/classes to build a use case
using MVP approach.
One pain point i have been hearing a lot in my discussion with
developers is the amount of boilerplate code needed to get something
going. I believe support from GPE to have a right click menu item
saying add use case, which generates a corresponding presenter
interface, implementation, a uibinder.xml file with corresponding java
class and interface will help ease some of the pain. Thoughts?

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



Re: GWT Designer - Support to reference CSS from ui.xml as well as CSSResource

2011-10-06 Thread abby
Thanks Eric, I think what we have now allows us to manually select a
style by clicking in the textbox, which brings a dropdown where you
can select a style.

1) It probably will be nice that when you click a widget the dropdown
automatically filters the current styles applied, along with an entry
for Add... which allows you to select other styles or add new ones.

2) The CSS button is the most prominent one and it was not even
obvious too me that clicking the textbox actually brings a dropdown of
style. Clicking CSS should still allow you to select all styles, or it
probably should be done away with.

I can open an issue to let others brainstorm this through?


On Oct 5, 7:23 pm, "Eric Clayberg (Google)" 
wrote:
> The CSS 
> editoryou
>  refer to has actually be in the tool for a very long time. It was
> originally designed to support editing of global CSS styles referenced from
> HTML or from gwt.xml files. In the most recent GPE / GWT Designer release,
> we added CSS style editing directly in the property pane of the editor. This
> new CSS editing approach works with both globals styles as well as local
> styles defined in the current UiBinder XML file. If you would like to see
> the original CSS editor extended to support local styles, create a new issue
> in the GWT Issue 
> Tracker
> .
>
> 

-- 
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 Designer - Support to reference CSS from ui.xml as well as CSSResource

2011-10-05 Thread abby
It seems like GWT designer added an awesome CSS editor, but it looks
like it only references the CSS which are referenced from the HTML
file. It will be nice to actually be able to look at all the styles
currently associated with a widget be it inline inside UIBInder xml or
from a CSSResource.

Is this something which already exists or planned?

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



UIBinder Bug Or Feature - Attribute setters on parent called after children are added

2011-06-13 Thread abby


HTML header
able


It looks like the addWidget call happens before setUnit, setWidth or
setHeight is called. I am curious why is it like this? In cases i
might want the attributes to be set before add happens and setters can
be used instead of constructor args as an alternative. Anyone knows
what is the justification for calling attribute setters after children
are added?

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



Custom ValueBoxEditorDecorator

2011-05-05 Thread abby
Any pointers on creating a custom valuebox editor decorator? What is
the easiest approach? It seems simply replacing the decorator won't
work as it is tied at the hip all the way to Valuebox. Any suggestions
are appreciated?

-- 
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.0, Maven, Google eclipse and TOMCAT, why didn't google build maven support?

2010-08-03 Thread abby
The problem is when you try to bring maven, tomcat and google plugin
together. I have hacked my way around with jetty and was able to get
it working at some level.

The problem is there is zero documentation on getting things working.

On Aug 3, 4:20 pm, Dan Billings  wrote:
> The maven-gae-plugin mvp archetype generates a very informative
> pom.xml that might help you put it all together.
>
> I would encourage anyone who has it working to post their pom here!
>
> On Aug 3, 2:08 pm, Hilco Wijbenga  wrote:
>
>
>
> > On 3 August 2010 10:44, abby  wrote:
>
> > > Has anyone gotten these to work? I am surprised at the lack of support
> > > gwt has for maven. Looking at the mojo users group, it seems that gwt-
> > > maven developers are equally frustrated
>
> > [I don't know why anyone in 2010 still would want to reinvent the
> > wheel and expect everybody else to learn how to use their unusual
> > build system when Maven offers a reasonably well working alternative
> > that most people are already familiar with. Sadly, most people simply
> > do not appreciate the importance of the build step ("Do we really need
> > a separate build? Why can't we just build in Eclipse?"). :-) ]
>
> > > Can someone clarify if gwt-maven 1.3.1 fix by google magically makes
> > > maven play nicely? If so any documentation/howto's would be godsend.
>
> > I use Jetty instead of Tomcat but other than that: yes, it's possible.
> > It's not easy, though. Luckily, most of the hard work has been done
> > already by the good folk at Spring Framework's Roo. So what I did was:
> > install Roo, create a very basic GWT project (Hibernate, Hypersonic in
> > memory, one entity + GWT setup) and then remove any reference to Roo
> > and most of the Roo generated Java (use common sense and your own
> > judgement). That will leave you with an almost functional Maven
> > project (you should be able to take over from there).
>
> > This is not a perfect result but it will get you close enough for you
> > to fix the things that don't work. There are, however, still a few
> > caveats.
>
> > 1. You'll have to go out and find all the various repositories that
> > offer you the (GWT related) Maven artifacts that you need and put
> > those repositories in your settings.xml. This is especially true if
> > you want to use any of the GWT-* projects.
> > 2. Given the poor Maven support, the POMs Maven downloads will usually
> > not have any references to transitive dependencies. You'll have to add
> > required transitive dependencies to your project's pom.xml explicitly.
> > 3. Roo uses AspectJ. I left in AspectJ support because I thought it
> > might be useful later on but if you want to remove it, you'll have a
> > bit more work to do.
> > 4. Roo uses GWT 2.1.0-M2. I don't know if downgrading breaks anything.
>
> > The end result follows Maven directory rules (no silly 'war' directory
> > in the project root directory), it builds a proper WAR (although I
> > haven't tried running it), and if you leave "mvn gwt:run" running any
> > changes you make in Java or other files will be picked up
> > automagically.
>
> > P.S. Please note that the project built by Roo isn't bug free.
> > Strangely, if you create the same project but use Spring MVC (e.g.)
> > instead of GWT then it all works perfectly. This doesn't affect the
> > Maven setup, though.

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



GWT 2.0, Maven, Google eclipse and TOMCAT, why didn't google build maven support?

2010-08-03 Thread abby
Has anyone gotten these to work? I am surprised at the lack of support
gwt has for maven. Looking at the mojo users group, it seems that gwt-
maven developers are equally frustrated

http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users/browse_thread/thread/8ced89b3cb27cf3f

Can someone clarify if gwt-maven 1.3.1 fix by google magically makes
maven play nicely? If so any documentation/howto's would be godsend.

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



IE bookmark and GWT cache.html?

2009-08-25 Thread abby

I wonder if anyone has an idea about what's going on.


I have bookmarked my gwt app URL and when i redeployed a new version
on server, IE got a 302.

I looked at fiddler out put and see that it's using cached files, so i
promptly delete the temp files, cache and everything else from the
browsing history. Now i see that the new nocache.js file is pulled
from the server but the CACHE.HTML file being requested is still old.
I look for this cache file entry in nocache.js and there is no
reference.

How is IE managing to request for this old CACHE.HTML file when
nocache.js is new and has no reference to 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
-~--~~~~--~~--~--~---



ImageBundle createImage does not trigger events as opposed to Image

2009-06-29 Thread abby

Hi,
  I just discovered an interesting issue. In one of my views i have a
bunch of widgets like textbox etc and a Proceed button (which is
basically an image). If i create Proceed using new Image(url) all
events are fired for text boxes etc, but if use
ImageBundle.createImage, and someone modified the textbox content and
directly uses the mouse to click on Proceed, change and blur events
for the textbox are not fired.

Is this a bug or an expected behaviour?

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: data binding

2009-05-29 Thread abby

Gwittir will do what you need.
--~--~-~--~~~---~--~~
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: @Resource path is OS-gnostic ( \ or / depending on the Win/Linux). What is a workaround?

2009-05-27 Thread abby

Did anyone open a RFE for this?

Also, is the best workaround now having the images in same package as
the Bundle interface?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Eclipse plugin 1.0.1 what features/fixes added?

2009-05-14 Thread abby

I see i can specify VM args for compile. Anyone knows what else was
added?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---