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

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{

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

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

2014-02-23 Thread GWTter
. 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 right here is the clarification I needed: - mapping class names to/from

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 on me a bit), no-spam intended

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

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

2014-02-20 Thread GWTter
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: On Wednesday, February 19, 2014 10:59:51 AM UTC+1

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's say I have the following: === Pseudocode === SuperCssResource: This is injected

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

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

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

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

2013-10-05 Thread GWTter
Hi all, Although the dochttp://www.gwtproject.org/javadoc/latest/com/google/gwt/uibinder/client/UiChild.html 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 gives

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

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 adjust its top and left

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 wrote

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

2013-10-05 Thread GWTter
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 a urn:import namespace, found div” ? On Saturday, October 5, 2013 9:56:14 PM UTC+2, GWTter wrote: Hi all, Although

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

2013-10-05 Thread GWTter
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 a urn:import namespace, found div” ? On Saturday, October 5, 2013 9:56:14 PM UTC+2, GWTter wrote

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

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

2013-07-24 Thread GWTter
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, I have a String username field on a user entity which I'd rather not populate whenever I request it which

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

2013-07-24 Thread GWTter
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: Thanks for the reply. Yea :/, the work involved

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

2013-07-24 Thread GWTter
in 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 PM UTC+2, GWTter wrote: Will do. My approach

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: 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,

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 only

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 toolshttp://www.microsoft.com/en-us/download/details.aspx?id=18359. Although it may work in other browsers or on the other anchor you want to see exactly what is or isn't

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, So I went back using the dev tools

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

2013-06-17 Thread GWTter
: 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: Hi all, I have the same setup as in question

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

2013-06-17 Thread GWTter
. 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 the setID method in the DTO

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

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

2013-06-15 Thread GWTter
, 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's definitely the way to go for larger extensions/additions that aren't as local. However what I

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

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

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

2013-05-29 Thread GWTter
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 anything on the interwebs, and it's really, really getting to me. I have

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 PersistedClassRCP extends EntityProxy, N extends Serializable { RequestP save(P entityProxy,int version); RequestVoid delete(P

Re: RequestFactory polymorphic arguments issue, is it possible?

2013-04-15 Thread GWTter
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, I'm having an issue using an implementation of an extended EntityProxy. I have

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

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

2013-03-14 Thread GWTter
, 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 3:13:33 AM UTC+1, GWTter wrote: Hi all, I have

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

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

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

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

2012-08-28 Thread GWTter
:18:13 PM UTC-4, GWTter wrote: Hi Derek, Thanks a lot for the reply. I did consider Guice for DI on the serverside but not sure if it would be redundant if using a framework like Spring. I do want to utilize RF though as it has a nice set of features which I'd like to include, e.g. caching

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

2012-08-27 Thread GWTter
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 under the sun on the matter (including these forums) and am almost all tutorialed-out

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

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: Hi all, I came across Spring Roo

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

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

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

Re: Animation frame rate, possible to increase?

2012-04-17 Thread GWTter
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 class etc.) and it works great but I've noticed that when that if I keep the duration the same say

Re: Animation frame rate, possible to increase?

2012-04-17 Thread GWTter
? 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:03 PM UTC+2, GWTter wrote: Hi all, I've written a move animation

Re: Animation frame rate, possible to increase?

2012-04-17 Thread GWTter
://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, 2012 at 5:44 PM, GWTter seth@gmail.com wrote: Hi Thomas, I'm

Re: Animation frame rate, possible to increase?

2012-04-17 Thread GWTter
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 17, 2012 at 6:49 PM, GWTter seth@gmail.com wrote: Hi Aidan, Thanks

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

2012-04-10 Thread GWTter
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 seth@gmail.com wrote: Hi Deepak, Yes, sorry, I forgot to mention that I

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

2012-04-04 Thread GWTter
, 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 8:53 AM, GWTter seth@gmail.com wrote: Hi

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

2012-04-03 Thread GWTter
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 seth@gmail.com wrote: Hi Deepak, Yes, you would need to apply some style to your scrollbar so that it at least has width (or height if you were

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

2012-04-02 Thread GWTter
, Apr 1, 2012 at 11:01 PM, GWTter seth@gmail.com wrote: Hi Deepak, You would have to post your code. Did you make sure to style your vertical scrollbar, create the MyScrollPanel and set its verticalScrollbar with the one you created? In the code I sent you the vertical scrollbar has

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

2012-04-02 Thread GWTter
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 Mon, Apr 2, 2012 at 8:19 PM, GWTter seth@gmail.com wrote: Hi Deepak, This looks

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

2012-04-01 Thread GWTter
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 seth@gmail.com wrote: 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

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

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

2012-03-30 Thread GWTter
+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 the scrollpanel. The dragging action on the elements within is extremely laggy. After

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

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