GWT M3 StackLayoutPanel Styles

2010-10-02 Thread Rud
I've gone through all the old messages on putting style on this panel and read http://code.google.com/p/google-web-toolkit/issues/detail?id=4429 which, I got the impression, was supposed to make styles work. I can't seem to figure out how. Since TabLayoutPanel had similar problems and I want to

Re: GWT M3 StackLayoutPanel Styles

2010-10-02 Thread Y2i
May be com.google.gwt.user.theme.dark/chrome in gwt-usr.jar will help? On Oct 1, 11:33 pm, Rud rudmerr...@gmail.com wrote: I've gone through all the old messages on putting style on this panel and readhttp://code.google.com/p/google-web-toolkit/issues/detail?id=4429 which, I got the

Re: GWT Spring integration - what is the best method in late 2010?

2010-10-02 Thread George Georgovassilis
Hello David al, The SL is also actively maintained - releases are not that frequent anymore though (there's not much to do) because of the high maturity grade. David wrote: Any other feedback about this ? What's odd is that we are still asking this very same question after several years of

Re: GWT panel for HTML UL/LI lists

2010-10-02 Thread Markus Kramer
Yes that's true. But I don't like the UIBinder stuff that much. There is a lot which I found difficult to do with UIBinder, so I'll stay with the old way. Just a personal taste. On Sep 27, 6:45 am, lalit lalit.bh...@gmail.com wrote: Cannot this be done with UIBinder in an easy way? Just write

how to convert string to RICHTEXT.FONTSIZE

2010-10-02 Thread bruce
Hello since there is no toolbarpanel for richtextarea i am trying to make mine. Everything works except the fontsize. I am tryng to use this code : public final static HashMapString, String GUI_FSIZE = new HashMapString, String(); static { GUI_FSIZE.file(1,XX_SMALL); how can I

Re: GWT M3 StackLayoutPanel Styles

2010-10-02 Thread Rud
No, the alternate themes don't help because they all set a background color. What happens is my override of gwt-StackLayoutPanelContent is applied and then the theme gwt-StackLayoutPanelContent is applied which undoes my styles. I looked at it last night (instead of going to bed) using the Chrome

Re: GWT panel for HTML UL/LI lists

2010-10-02 Thread opn
I'm not sure if it works for you, but you can set the tag that a HTMLPanel represents. It's set to div when you don't specify something else. I only created a HTMLPanel as an em element one time as a test and it worked fine. I'm thinking about creating an ul HTMLPanel and insert li HTMLPanels into

Re: GWT M3 StackLayoutPanel Styles

2010-10-02 Thread Y2i
It's strange. I would also think that custom styles would be applied last: http://code.google.com/webtoolkit/doc/latest/DevGuideUiCss.html On Oct 2, 7:40 am, Rud rudmerr...@gmail.com wrote: No, the alternate themes don't help because they all set a background color. What happens is my

Difference's in Client Bundle behavior? (much slower? produces lots of jpg's as well on compile?)

2010-10-02 Thread darkflame
I recently tried switching over from Image Bundle to client bundle, and am not sure if the behavior I'm seeing is intentional or not, so some confirmation would be nice; a) Is ClientBundle significantly slower then ImageBundle? Specifically at changing images (applyto). Whereas before I was

Re: Difference's in Client Bundle behavior? (much slower? produces lots of jpg's as well on compile?)

2010-10-02 Thread darkflame
oh, and for a visual example of how my switch to ClientBundle is now behaving you can see the online adventure I'm working on; http://lostagain.nl/Jarg%20Demo/AMemorableDay/AMemorableDay.html Note the rollover for the backpack icon. Compare to this previous, finished, game using the same code,

InterfaceGenerator and @external

2010-10-02 Thread Sydney
I use the InterfaceGenerator with my CSS file but the output is not a valid Java class. The goal is to style all my Button so I redefined .gwt-Button Do you have the same issue? test.css @external .gwt-Button { padding: 6px 10px; } The call InterfaceGenerator -standalone -typeName

Re: InterfaceGenerator and @external

2010-10-02 Thread Sydney
My CSS file was wrong. I fixed it. Sorry for the trouble. @external gwt-Button; .gwt-Button { padding: 6px 10px; } On Oct 2, 5:43 pm, Sydney sydney.henr...@gmail.com wrote: I use the InterfaceGenerator with my CSS file but the output is not a valid Java class. The goal is to style

Re: Difference's in Client Bundle behavior? (much slower? produces lots of jpg's as well on compile?)

2010-10-02 Thread Thomas Wrobel
Ok, thanks this clears up a lot of my confusion. I'm actually learning a lot here. Till I tried playing with ClientBundle, I wasn't even aware of the data method of injecting images inline into html. But it does sound like I want to turn on that flag to disable the data method for now though. I

Re: GWT M3 StackLayoutPanel Styles - A Solution

2010-10-02 Thread Rud
Okay, I worked out a solution that is relatively painless. I copied the TabLayout and StackLayout styles from the standard styles and put them into a file ot_styles.css. I got that to work with the simple expedient of putting the file in the WAR with the base HTML and CSS files and adding

[gwt-contrib] Re: Intern strings in the compiler AST to reduce memory footprint. (issue946801)

2010-10-02 Thread zundel
LGTM. I ran some builds and checked the output - seemed fine and I didn't notice any impact on build times. I also scoured these types myself to look for other places to save and didn't find any others. I'll keep StringInterner in the back of my mind.

[gwt-contrib] Re: Test timeout in JUnitShell ? (GWT 2.0.0)

2010-10-02 Thread Ed
Thanks for the details, it gives me a better understanding of what's going on such that I know where to look. I notices that issue 4700 (the compiler errors) isn't of concern during the nightly build as during the build all sources are correctly included through the GWT maven plugin (not compiler

[gwt-contrib] Re: Fixing a ConcurrentModificationException in JsonRequestProcessor that occurs when you use a sett... (issue945801)

2010-10-02 Thread bobv
LGTM http://gwt-code-reviews.appspot.com/945801/diff/1/2 File user/src/com/google/gwt/requestfactory/client/impl/DeltaValueStoreJsonImpl.java (right): http://gwt-code-reviews.appspot.com/945801/diff/1/2#newcode279

[gwt-contrib] creating resource automatically from editors

2010-10-02 Thread Patrick Julien
What does it take exactly? If I look at dynatblerf sample, there is an AddressEditor in a PersonEditor and it just seems to work. I have the same thing, I have a SecuritySettingsEditor inside another Editor and when I get the EntityProxy back, the security settings field is always null. What

[gwt-contrib] Re: creating resource automatically from editors

2010-10-02 Thread Thomas Broyer
On Oct 2, 4:15 pm, Patrick Julien pjul...@gmail.com wrote: What does it take exactly? If I look at dynatblerf sample, there is an AddressEditor in a PersonEditor and it just seems to work. I have the same thing, I have a SecuritySettingsEditor inside another Editor and when I get the

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-02 Thread Patrick Julien
If anyone is hurting with this, it's because all values need to be set to non null before they can be part of the editor framework, unless you're using a composite If you're using a composite, the idea is to set a non null container value like so: domainHandle =

Re: [gwt-contrib] [google-web-toolkit] r8918 committed - Overhaul the client-side portions of RequestFactory....

2010-10-02 Thread Patrick Julien
On Sat, Oct 2, 2010 at 4:41 PM, BobV b...@google.com wrote: On Sat, Oct 2, 2010 at 1:56 PM, Patrick Julien pjul...@gmail.com wrote: This assumes that the built in persist method works for everyone and it really, really doesn't.  Now we have a serious chicken and egg problem because our persist

Re: [gwt-contrib] [google-web-toolkit] r8918 committed - Overhaul the client-side portions of RequestFactory....

2010-10-02 Thread Patrick Julien
sorry, s/rc/rf/ RequestFactory doesn't have create anymore, neither does Request, which is the problem. I'm more than fine with RequestFactory not having it because it gives the impression your objects are application scope instead of request scope. But without create on Request, we don't have

Re: [gwt-contrib] [google-web-toolkit] r8918 committed - Overhaul the client-side portions of RequestFactory....

2010-10-02 Thread Patrick Julien
Ah sorry, it's the request members of RequestFactory can now inherit from RequestContext. Will give that a go If that works, would be pretty sweet On Sat, Oct 2, 2010 at 4:53 PM, Patrick Julien pjul...@gmail.com wrote: sorry, s/rc/rf/ RequestFactory doesn't have create anymore, neither

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-02 Thread BobV
It's possible to set a null field to a non-null value by making a Leaf CompositeEditor. I'll update the DynaTableRf sample with something better than this, but I think it demonstrates the point. The assumption is that PersonProxy.getManager() returns null in the default dataset. public class

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-02 Thread Patrick Julien
This actually makes sense to me but if the composite editor is set or a list, the framework will still be able to construct those types? You have    CompositeEditorPersonProxy, PersonProxy, NameLabel,    LeafValueEditorPersonProxy { But if the generic parameter was a collection, wouldn't the

[gwt-contrib] Update DynaTableRf sample to demonstrate Leaf+CompositeEditor that shows how to work with option... (issue948801)

2010-10-02 Thread bobv
Reviewers: rjrjr, Description: Update DynaTableRf sample to demonstrate Leaf+CompositeEditor that shows how to work with optional fields. Patch by: bobv Review by: rjrjr Suggested by: pjulien Please review this at http://gwt-code-reviews.appspot.com/948801/show Affected files: M

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-02 Thread BobV
But if the generic parameter was a collection, wouldn't the fact that it's a leaf editor prevent the framework from entering sub-editors? Hence the explicit chain.attach() call. If you wanted to edit an optional list, you could replace the nameLabel with the ListEditor adaptor class. Assuming

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-02 Thread Patrick Julien
thank you for the clarification, I get it I don't suppose you have advice for using a mutable CellTable in the editor framework? On Sat, Oct 2, 2010 at 8:34 PM, BobV b...@google.com wrote: But if the generic parameter was a collection, wouldn't the fact that it's a leaf editor prevent the

Re: [gwt-contrib] [google-web-toolkit] r8918 committed - Overhaul the client-side portions of RequestFactory....

2010-10-02 Thread Patrick Julien
Works for me, and have to say, this is pretty sweet. Also, very nice touch throwing an exception if an entity crosses request context. On Sat, Oct 2, 2010 at 5:25 PM, Patrick Julien pjul...@gmail.com wrote: Ah sorry, it's the request members of RequestFactory can now inherit from

[gwt-contrib] Re: Update DynaTableRf sample to demonstrate Leaf+CompositeEditor that shows how to work with option... (issue948801)

2010-10-02 Thread bobv
http://gwt-code-reviews.appspot.com/948801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-02 Thread BobV
On Sat, Oct 2, 2010 at 8:45 PM, Patrick Julien pjul...@gmail.com wrote: thank you for the clarification, I get it I'm adding a new adapter class to handle this case, since optional fields seems like a common thing to see and implementing it manually requires a lot of boilerplate. I don't

Re: [gwt-contrib] Re: creating resource automatically from editors

2010-10-02 Thread Patrick Julien
On Sat, Oct 2, 2010 at 9:07 PM, BobV b...@google.com wrote: On Sat, Oct 2, 2010 at 8:45 PM, Patrick Julien pjul...@gmail.com wrote: thank you for the clarification, I get it I'm adding a new adapter class to handle this case, since optional fields seems like a common thing to see and