Re: CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-24 Thread GWTter
Hi Jens, Yea, this is definitely a good point. Then any widget can inherit this minimal CssResource and define on its own how it will look like in enabled / disabled state (= you would not add enableddisabled.css to the various widgets @Source annotation although you extend HasEnabledDisabledS

Re: CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-23 Thread GWTter
in the extended css. Thanks again for the help Thomas, it's much appreciated. On Sunday, February 23, 2014 11:09:59 PM UTC+1, Thomas Broyer wrote: > > > > On Sunday, February 23, 2014 10:13:00 PM UTC+1, GWTter wrote: >> >> Hi Thomas, >> >> I think this part ri

Re: CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-23 Thread GWTter
Hi Thomas, I think this part right here is the clarification I needed: - mapping class names to/from methods is based on the method name or a @ClassName annotation (the class name in the CSS file will thus be replaced with the unique name computed for the method) So, if you want to r

Re: CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-23 Thread GWTter
Hi Jens, Here's the full example of what I was trying to illustrate as it's probably unfair of me to have others expect that I'm setting everything up right from just the pseudo code alone: public class GwtTest3 implements EntryPoint { public interface MyClientBundle extends ClientBundle{ publ

Re: CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-22 Thread GWTter
On Friday, February 21, 2014 5:09:36 PM UTC+1, Thomas Broyer wrote: > > > > On Thursday, February 20, 2014 10:51:29 PM UTC+1, GWTter wrote: >> >> Before anything, sorry Thomas, I think I may have just replied to you >> instead of just the topic (buttons bugged

Re: CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-21 Thread GWTter
Hi Jens, Yes, this duplication when extending CssResources is exactly the issue I'm trying to highlight above and mitigate with the @required idea. Your suggestion is what I was trying to cover with the third option I gave above on how to avoid the duplication and unintended precedence override

Re: CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-20 Thread GWTter
re then it won't break something else. Hope that somewhat clears up what I'm trying to say. Thanks again for the discussion. On Thursday, February 20, 2014 1:15:48 PM UTC+1, Thomas Broyer wrote: > > > > On Thursday, February 20, 2014 12:08:28 AM UTC+1, GWTter wrote: >&

Re: CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-19 Thread GWTter
On Wednesday, February 19, 2014 10:59:51 AM UTC+1, Thomas Broyer wrote: > > > > On Tuesday, February 18, 2014 6:38:36 PM UTC+1, GWTter wrote: >> >> Hi all, >> >> Let me just go with an example right off the bat. >> >> Let&

CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-18 Thread GWTter
Hi all, Let me just go with an example right off the bat. Let's say I have the following: === Pseudocode === SuperCssResource: This is injected onModuleLoad before anything else .genButton{ color: black; } Widget1 consists of: --- css --- MyCssResource: .myButton{ color: red; } --- html ---

Re: RequestFactory issue with return operation processing if entities referenced in collection are processed after the collection they appear in is processed

2013-11-23 Thread GWTter
Ended up actually opening an issue so just wanted to add the link: https://code.google.com/p/google-web-toolkit/issues/detail?id=8465 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails

RequestFactory issue with return operation processing if entities referenced in collection are processed after the collection they appear in is processed

2013-10-17 Thread GWTter
Hi all, I'm pretty sure this is RF issue but thought I'd post here first just in case. This involves the case where you update a an entity with a collection in which another entity is being persisted. When the response returns from the server and the operation messages are processed the follow

Re: GWT + Postgres not working when deployed

2013-10-17 Thread GWTter
Sounds like your postgresjdbc is not on the classpath when building the war. Have you made sure that it would be included in the classpath in the build.xml? On Thursday, October 17, 2013 5:20:01 PM UTC+2, Sean wrote: > > I have a project that talks to Postgres on the server side. I have the > J

Re: Using @UiChild with Elements not widgets, is this even possible?

2013-10-05 Thread GWTter
Thomas Broyer wrote: >> >> Looks like I was wrong and you can only use widgets (there's an explicit >> "isImportedElement" test that checks the element is within a namespace >> whose URI starts with “urn:import:”) >> >> BTW, isn't the error message rather “E

Re: Using @UiChild with Elements not widgets, is this even possible?

2013-10-05 Thread GWTter
like I was wrong and you can only use widgets (there's an explicit >> "isImportedElement" test that checks the element is within a namespace >> whose URI starts with “urn:import:”) >> >> BTW, isn't the error message rather “Expected child from

Re: what is the shortest code to make sure a dialogbox to stay inside an area when users try to move it out of that area?

2013-10-05 Thread GWTter
Actually I realized that you were asking specifically about a Dialog box (my initial answer was based on basic DnD). If you're overriding the *Dragging methods then you can just check the mouse position from the events like I said. On Saturday, October 5, 2013 10:11:27 PM UTC+2, GWTter

Re: what is the shortest code to make sure a dialogbox to stay inside an area when users try to move it out of that area?

2013-10-05 Thread GWTter
I know you said shortest code but that's too arbitrary of a request considering that it would depend on your code too, On Saturday, October 5, 2013 10:09:35 PM UTC+2, GWTter wrote: > > The only way the the popup is going to drag (barring the use of native > dnd) is if you adju

Re: what is the shortest code to make sure a dialogbox to stay inside an area when users try to move it out of that area?

2013-10-05 Thread GWTter
The only way the the popup is going to drag (barring the use of native dnd) is if you adjust its top and left. If you can move your popup then you should already be adjusting the top and left in your code. The popup isn't going to be aware that it's moving (keeping in mind good design) so you s

Using @UiChild with Elements not widgets, is this even possible?

2013-10-05 Thread GWTter
Hi all, Although the doc does say "...add a child widget to..." in my searching it seems as if you can also use UiChild with DOM elements that extend com.google.gwt.dom.client.Element class. Thomas Broyer gi

Re: Developer plugin for Firefox 23 doesn't work

2013-09-04 Thread GWTter
Has anyone tried just removing the plugin and reinstalling it? I was having the same issue and that seems to have remedied it. On Thursday, August 29, 2013 4:46:04 PM UTC+2, Emil Burzo wrote: > > On Friday, August 16, 2013 12:42:01 PM UTC+3, Gražvydas Valeika wrote: > >> Hi, >> >> I just updated

Re: RequestFactory .with() to access non-relation (primitive) properties?

2013-07-24 Thread GWTter
n the child EntityProxy. Thanks for the good news, RF just got way better. On Wednesday, July 24, 2013 2:40:29 PM UTC+2, Thomas Broyer wrote: > > > On Wednesday, July 24, 2013 2:36:34 PM UTC+2, Thomas Broyer wrote: >> >> >> >> On Wednesday, July 24, 2013 1:39:19 P

Re: RequestFactory .with() to access non-relation (primitive) properties?

2013-07-24 Thread GWTter
approach could you report back to the > group? Be interesting to hear if it works out nicely. Proxies being allowed > to have their own inheritance tree etc seems powerful but I'm quite sure > for good or evil. > > On Wednesday, July 24, 2013 12:20:11 PM UTC+1, GWTter wrote:

Re: RequestFactory .with() to access non-relation (primitive) properties?

2013-07-24 Thread GWTter
@PreAuthorize on > getters and setters and our ServiceLayerDecorator returns nulls when the > user is not allowed to read that property and ignore any requests to write > to those properties. > > On Wednesday, July 24, 2013 12:20:35 AM UTC+1, GWTter wrote: >> >> Hi all, >> >

Re: RequestFactory module - queue, retry and non atomic batching..

2013-07-24 Thread GWTter
I knew you guys wouldn't be implementing it that way, but the demo sort of gives that impression so the clarification is helpful. And as far as what most people are using, I'm not sure. However I have seen other discussions about implementing such authentication and retry queues via the default

Re: RequestFactory module - queue, retry and non atomic batching..

2013-07-23 Thread GWTter
Hi, The mechanism looks pretty good from the demo, nice. I would only say that I'm not sure I would use the same retry message for both network and authentication failures. Do you really want to keep retrying authentications for any other reason than a network failure? On Tuesday, July 23, 201

RequestFactory .with() to access non-relation (primitive) properties?

2013-07-23 Thread GWTter
Hi all, I have a String username field on a user entity which I'd rather not populate whenever I request it which is why I have not defined the getter in the EntityProxy. This works fine, however there are some instances where I would like to have RequestFactory populate that string field when

Re: Anchor does not work in IE - very strange problem!

2013-06-21 Thread GWTter
IE has had developer tools built in as far back as version 8, just press F12. If you're working with <=IE7 then: IE dev tools. Although it may work in other browsers or on the other anchor you want to see exactly what is or isn't oc

Re: Anchor does not work in IE - very strange problem!

2013-06-21 Thread GWTter
Hi Magnus, Just for the sake of thoroughness, are you sure that onCommand is even being called? Or is it that the click event is not being registered at all? On Friday, June 21, 2013 11:33:47 AM UTC+2, Magnus wrote: > > Hello, > > I have a very strange problem with some anchors, which occurrs on

Re: RequestFactory, entity Id not populated when it reaches the server?

2013-06-18 Thread GWTter
Hi Thomas, I just submitted the issue http://code.google.com/p/google-web-toolkit/issues/detail?id=8204, thanks again. On Tuesday, June 18, 2013 9:39:33 AM UTC+2, Thomas Broyer wrote: > > > > On Monday, June 17, 2013 9:55:09 PM UTC+2, GWTter wrote: >> >> Hi, >> &

Re: RequestFactory, entity Id not populated when it reaches the server?

2013-06-17 Thread GWTter
gain in advance. On Monday, June 17, 2013 6:02:53 PM UTC+2, GWTter wrote: > > Hi Ümit, > > I was actually checking the payload via the DefaultRequestTransport, I > could see the user proxy object but I could not see the id anywhere in the > payload. I had also put a println in t

Re: RequestFactory, entity Id not populated when it reaches the server?

2013-06-17 Thread GWTter
mit Seren wrote: > > For debugging: Check the RF payload with Chrome Developer Tools and put a > breakpoint in the siteId() method of your backend DTO (it should be called > after the object is created). > > > On Monday, June 17, 2013 3:59:02 AM UTC+2, GWTter wrote: >> &g

RequestFactory, entity Id not populated when it reaches the server?

2013-06-16 Thread GWTter
Hi all, I have the same setup as in question https://groups.google.com/d/msg/google-web-toolkit/GUQjZ98mL7s/MoA2gEMmS28J . I've included the relevant code from the question below for quick reference. My problem is that once the booking entity gets to the server and I look for the user, the use

Re: Uibinder inheriting and extending css classes (not just sharing them), best method?

2013-06-15 Thread GWTter
global ones. > > On Saturday, June 15, 2013 2:59:35 AM UTC+2, GWTter wrote: >> >> Hi Joseph, >> >> Thanks for the reply. You're right and I actually do this elsewhere >> extending cssresource interfaces and using the @shared which also works; >> it

Re: Uibinder inheriting and extending css classes (not just sharing them), best method?

2013-06-14 Thread GWTter
Hi Joseph, Thanks for the reply. You're right and I actually do this elsewhere extending cssresource interfaces and using the @shared which also works; it's definitely the way to go for larger extensions/additions that aren't as local. However what I like about the ui:binder approach is you don

Uibinder inheriting and extending css classes (not just sharing them), best method?

2013-06-13 Thread GWTter
Hi all, I have a Css resource that I would like to have inherited in other uibinders and be able to have these binders extend the css classes if need be. For example: Let's say I have .myTestClass{ ...properties...} in MyCss.css which is setup as a CssResource syntactically. Then I have UiBi

Re: Compiling Error (not Present in Eclipse) with Generics (requestfactory related interface)

2013-05-29 Thread GWTter
t helps. I guess I can just take the long way for now. On Wednesday, May 29, 2013 4:58:53 PM UTC+2, Thomas Broyer wrote: > > > > On Tuesday, May 28, 2013 7:54:29 PM UTC+2, GWTter wrote: >> >> Hi all, >> >> I can't figure this out, haven't found anythi

Compiling Error (not Present in Eclipse) with Generics (requestfactory related interface)

2013-05-28 Thread GWTter
Hi all, I can't figure this out, haven't found anything on the interwebs, and it's really, really getting to me. I have the following interface: public interface PersistedClassRC { Request save(P entityProxy,int version); Request delete(P entityProxy); Request findById(N id); } Now in Eclipse t

Re: RequestFactory polymorphic arguments issue, is it possible?

2013-04-15 Thread GWTter
, Thomas Broyer wrote: > > Not sure what you're trying to do but it's not a supported usecase. > RequestFactory only supports proxies created by its RequestContexts. > > On Friday, April 12, 2013 5:32:15 PM UTC+2, GWTter wrote: >> >> Hi all, >> >

RequestFactory polymorphic arguments issue, is it possible?

2013-04-12 Thread GWTter
Hi all, I'm having an issue using an implementation of an extended EntityProxy. I have the setup below, now when I call setBarProxyExt(BarProxyExt barProxyExt) I get no errors and I am sure that the setBar method is receiving the correct bar however the field is not set. This however is not t

Re: Async call returning and executing before calling method finishes in Dev mode?

2013-03-14 Thread GWTter
he browser, this shouldn't be different > in prod vs. dev mode. > Was it in Firefox? 'cause it has a bug where it could execute scripts > concurrently in some cases: > https://code.google.com/p/google-web-toolkit/issues/detail?id=7926 > > On Thursday, March 14, 2013

Async call returning and executing before calling method finishes in Dev mode?

2013-03-13 Thread GWTter
Hi all, I have a situation where, although extremely rare and really should only arise while debugging, one of my Async calls returns and executes its callback before the calling function/main loop is done with its execution. This has only been done in Dev mode and not prod. Now I know (or at

Re: Inline top and left properties cleared when removing child from parent?

2013-03-12 Thread GWTter
Yup, You guys are totally right. Changing the parent to a FlowPanel keeps the positioning when removing the child. I guess I was thinking from the doc that it would only be cleared if the positioning was modified while the child was a child of the absolutepanel (even though I know there's no co

Inline top and left properties cleared when removing child from parent?

2013-03-12 Thread GWTter
Hi everyone, I noticed that when removing an absolutely positioned child which has top and left style properties set inline from its parent that these top and left are cleared from the inline style of the child. Thus if you remove the child from the parent and then add it back the child won't b

Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-28 Thread GWTter
; of Java (not including XML or other artifacts) as well as smaller projects > and they use the methodology I described. > > Derek > > On Monday, August 27, 2012 5:18:13 PM UTC-4, GWTter wrote: >> >> Hi Derek, >> >> Thanks a lot for the reply. I did cons

Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-27 Thread GWTter
Hi all, I also posted this question on SO and revised it a little since, but received one really great response so far if anyone is interested: http://stackoverflow.com/questions/12132213/recommended-serverside-architectureframework-stack-to-use-with-gwt-for-large-a -- You received this mess

Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-27 Thread GWTter
actory isn't what I need / want to migrate > to. > > On Saturday, August 25, 2012 7:48:12 PM UTC-4, GWTter wrote: >> >> Hi all, >> >> I've been doing research on this for the past 2, almost 3 days now. I >> feel like I've googled everything u

Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-25 Thread GWTter
Hi all, I've been doing research on this for the past 2, almost 3 days now. I feel like I've googled everything under the sun on the matter (including these forums) and am almost all tutorialed-out. Before I go into any more details on the question I just want to give a quick overview of the sc

Re: Spring Roo, relationship status with GWT? recommended for more apps more complex than basic CRUD?

2012-08-25 Thread GWTter
Hi Thomas, Thanks for the suggestion, I'll definitely see if if the Spring community can shed a little more light. -seth On Saturday, August 25, 2012 10:29:53 AM UTC+2, Thomas Broyer wrote: > > > > On Saturday, August 25, 2012 4:23:44 AM UTC+2, GWTter wrote: >> >>

Spring Roo, relationship status with GWT? recommended for more apps more complex than basic CRUD?

2012-08-24 Thread GWTter
Hi all, I came across Spring Roo recently and have put in a considerable amount of research as far as whether to use it for my app or not. However, I'm running into a couple of issues in my consideration. 1) GWT support: Spring Roo integration with GWT (more specifically the gwt addon for Roo

Re: Animation frame rate, possible to increase?

2012-04-17 Thread GWTter
tion > if you set some new values while the element is still animating too.. I > guess it really comes down if you're prepared to have it not work in ie6-9, > and deal with the inevitable quirks that come up due to css3 still being a > work in progress :( > > On Tue, Apr

Re: Animation frame rate, possible to increase?

2012-04-17 Thread GWTter
y hardware accelerated) > http://css3.bradshawenterprises.com/ > Its not a very 'GWT way' of course, as it doesn't support old browsers, > but it does degrade gracefully, the elements will just move with no > animation on these browsers. > > On Tue, Apr 17, 20

Re: Animation frame rate, possible to increase?

2012-04-17 Thread GWTter
achieving 12fps? Does that mean there's a problem? Thanks again. -Seth On Tuesday, April 17, 2012 12:07:36 PM UTC-4, Thomas Broyer wrote: > > > > On Tuesday, April 17, 2012 6:05:19 PM UTC+2, Thomas Broyer wrote: >> >> >> >> On Tuesday, April 17, 2012 5:43

Re: Animation frame rate, possible to increase?

2012-04-17 Thread GWTter
; > > On Tuesday, April 17, 2012 6:05:19 PM UTC+2, Thomas Broyer wrote: >> >> >> >> On Tuesday, April 17, 2012 5:43:03 PM UTC+2, GWTter wrote: >>> >>> Hi all, >>> >>> I've written a move animation using the gwt way (extending

Animation frame rate, possible to increase?

2012-04-17 Thread GWTter
Hi all, I've written a move animation using the gwt way (extending animation class etc.) and it works great but I've noticed that when that if I keep the duration the same say 1000ms the longer the move distance is the choppier the animation seems (the animation is smoother the shorter the move

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-04-10 Thread GWTter
Ok. > > So request you to update me when you add this drag functionality. OR you > can give me some hints/suggestion so that i could also try a bit. > > Will be waiting for this one. > > Thanks > Deepak > > On Thu, Apr 5, 2012 at 12:47 AM, GWTter wrote: > >> Hi De

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-04-04 Thread GWTter
UTC-4, Deepak Singh wrote: > > Hi Seth, > > It works. Thanks. > > But the scrolling happens only through the mouse wheel movement, it does > not scroll by dragging the bar in up and down direction. > It simply gets dragged like an image. > > > On Wed, Apr 4, 2012 at

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-04-03 Thread GWTter
> Hi Seth, > > I added the styles to myVerticalScrollBar. and added the entire page > content to MyScrollpanel but still the default scrollbar is there. > > Its not overridden. > > > On Mon, Apr 2, 2012 at 9:39 PM, GWTter wrote: > >> Hi Deepak, >> >>

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-04-02 Thread GWTter
012 11:44:57 AM UTC-4, Deepak Singh wrote: > > Nothing more than what i sent you. > > I have just myScrollPanel.css as mention above. > > Could you pls guide me with css if i need to apply some css over vertical > scrollbar? > > Thanks in advance > Deepak > > On

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-04-02 Thread GWTter
? > Math.min(1.0,this.scrollWindowHeight/height):1.0; > this.scrollBarHeight = > Math.max(SCROLL_BAR_WIDTH,Math.floor(this.scrollWindowHeight*this.scrollWindowPercentage)); > this.elem.getStyle().setHeight(this.scrollBarHeight, Unit.PX); > } > } > > > All these classes a

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-04-01 Thread GWTter
wrote: > >> Thank you Seth. I would give it a try. >> >> Thats already reposted and is in the thread. >> >> Thanks >> Deepak >> >> >> On Sat, Mar 31, 2012 at 10:59 PM, GWTter wrote: >> >>> Hi Deepak, >>

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-03-31 Thread GWTter
Hi Deepak, This is all that's in the css file as the only important class is the corner that I've set to be transparent: .customScrollPanel{ } .customScrollPanelCorner{ opacity: 0.0; } As for how to use the vertical scroll bar to override the native (or the transparent one CustomScrollPan

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-03-30 Thread GWTter
Hi Deepak, Sorry, I think I just replied to you personally, can you repost my reply here? Thanks. -Seth -- 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

Re: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-03-30 Thread GWTter
, 2012 5:43:55 AM UTC+2, GWTter wrote: >> >> Hi all, >> >> I've used the CustomScrollPanel in order to implement some custom >> scrollbars, everything was working great until I added DnD (gwt-dnd, not >> native) functionality >> to an element in th

CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-03-29 Thread GWTter
Hi all, I've used the CustomScrollPanel in order to implement some custom scrollbars, everything was working great until I added DnD (gwt-dnd, not native) functionality to an element in the scrollpanel. The dragging action on the elements within is extremely laggy. After a good amount of testin