Re: GWT 2.7 and GSS

2014-11-24 Thread Ashton Thomas
I have some documentation linked below FWIW. This may not be perfect, but it may help you along your way. Obviously, you will want to refer to Julien's documents. However, feel free to open an issue with my wiki if you would like some other notes.

Re: How to use different CSS/Code for different browsers/devices/os?

2013-09-18 Thread Ashton Thomas
Here is one example of working around CSS3 limitation for media queries: http://pastebin.com/p2S0HKtR So this class encapsulates all the ensureInjected + hacking media queries Just call MainAppResource.injectStyles() in onModuleLoad() or somewhere Certainly not the best example, but an

Re: How to use different CSS/Code for different browsers/devices/os?

2013-09-15 Thread Ashton Thomas
I just wanted to point to these related links on conditional CSS with an example from mgwt if there is a case where GIN may not be needed but just conditionals in CSS (Looks like your solution may need a combination of GIN config, etc - using gin to configure some king of ScriptInjector for

Re: GWT.create conference - call for presentations

2013-07-10 Thread Ashton Thomas
+1 for the showcase session. Many people build internal or private applications with GWT and this may be a good opportunity to showcase and spark conversation within the context of live apps. I would also love to showcase Acrinta's application (public app - due for release before the event).

Re: GWT.create conference - call for presentations

2013-07-10 Thread Ashton Thomas
Also, it may make sense to do a poster room/showcase on the second day after people (especially newcomers) have different types of GWT topics on their minds and can discuss their use in the wild. On Wednesday, July 10, 2013 7:03:33 AM UTC-4, Ashton Thomas wrote: +1 for the showcase session

Re: primer for mobile development

2013-05-23 Thread Ashton Thomas
Here is a playlist of mobile web videos form Google IO 2013: http://www.youtube.com/watch?v=EPYnGFEcis4list=PLAbrfaVBC6kWiNBI1wPYhXtTke64QkLqC -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop

Re: Best Practices/Tips to Achieve Great Performance/Memory/etc

2013-05-02 Thread Ashton Thomas
$20not?/google-web-toolkit/7aHqw-C-Oy0/OOTxO8386BUJ On Wednesday, May 1, 2013 2:12:37 PM UTC-4, Ashton Thomas wrote: Does anyone know of a list of best practices for handling Performance/Memory/etc while using Activities, Widgets, UiBinder, ClickHandlers, etc.? Such as: - Making sure

Best Practices/Tips to Achieve Great Performance/Memory/etc

2013-05-01 Thread Ashton Thomas
Does anyone know of a list of best practices for handling Performance/Memory/etc while using Activities, Widgets, UiBinder, ClickHandlers, etc.? Such as: - Making sure widgets/components are GC'ed - Patterns for reusing widgets/components instead of rebuilding - Widgets to avoid or lean

Re: Code splittingmysteries

2013-03-20 Thread Ashton Thomas
I would also be interested in any updates to this as I am currently working on the async aspect or my app. (I wouldn't even know how to identify anomalies due to a lack of experience here) I also remembrer having the same questions with soyc -at On Wednesday, March 20, 2013 7:53:11 AM

Re: GWT Advice

2013-02-13 Thread Ashton Thomas
At a very high-level I think you need to start with the offline data issue and define exactly what your requirements are for supporting offline. - I haven't had a chance to go through all of this but may help + http://www.youtube.com/watch?v=Oic22dQMRXQ - Also, I think we are in a critical time

Re: GWT RPC future ?

2013-02-07 Thread Ashton Thomas
I too am very interested in this. I absolutely do not want to jump over to RequestFactory. I love GWT-RPC and I use it in conjunction with the Command Pattern action/result wrapper. I haven't seen any problems with GWT-RPC in terms of performance as I don't currently have any high payloads

Re: Hi suggestion needed....

2013-01-17 Thread Ashton Thomas
I recommend using Activity and Places for organizing at a high level: https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces For a prototype, you may not need to follow the strict presenter format (normally your Activity would act as the 'presenter') Again, since

Re: Code Splitting Simple Example Still getting Thrown into Left Overs

2013-01-08 Thread Ashton Thomas
Jens, thanks for the input. If you don't mind me asking, - Do you link Activities directly to specific places: ActivityP extends Place ? - Somewhat related, do you set an actual place (constructor/setter) or just a particular param (DTO/other object/variable)? - Do you have a lot of

Re: Code Splitting Simple Example Still getting Thrown into Left Overs

2013-01-07 Thread Ashton Thomas
haven't looked in detail at your code, but you might experiencing the same problems I had, see this issue (and the linked forum post): ISSUE http://code.google.com/p/google-web-toolkit/issues/detail?id=7874 Op zaterdag 5 januari 2013 17:27:51 UTC+1 schreef Ashton Thomas het volgende: I

Re: Code Splitting Simple Example Still getting Thrown into Left Overs

2013-01-07 Thread Ashton Thomas
haven't looked in detail at your code, but you might experiencing the same problems I had, see this issue (and the linked forum post): ISSUE http://code.google.com/p/google-web-toolkit/issues/detail?id=7874 Op zaterdag 5 januari 2013 17:27:51 UTC+1 schreef Ashton Thomas het volgende: I

Code Splitting Simple Example Still getting Thrown into Left Overs

2013-01-05 Thread Ashton Thomas
I would greatly appreciate some input here. I am trying to use the below references to implement Code Splitting w/ Activities/Place/GIN HOWEVER, I can't get anything to work. Not even a simple solution which I 'think' should be working regardless of my current implementation for A/P+GIN...

Re: FastButton? Handling touch events for mobile?

2012-12-18 Thread Ashton Thomas
The PressEvent should only fire if the touchEnd happens over the element. If I understand correctly, the event should not fire if you scroll or somehow move your finger off the target. However, there may be a situation on browsers with the elastic scroll where you try to scroll but there is

Re: FastButton? Handling touch events for mobile?

2012-12-18 Thread Ashton Thomas
difference once you start using it) https://github.com/ashtonthomas/gwt-fast-touch-press http://gwt-fast-touch-press.appspot.com/ - Ashton On Tuesday, December 18, 2012 9:17:01 AM UTC-5, Ashton Thomas wrote: The PressEvent should only fire if the touchEnd happens over the element. If I

Re: FastButton? Handling touch events for mobile?

2012-12-17 Thread Ashton Thomas
click the fast buttons (using fast-press) and then try the same with the slow buttons (using regular clickHandler) - Ashton On Sunday, December 16, 2012 5:36:17 PM UTC-5, Ashton Thomas wrote: I wanted to take a shot at this implementation using the previous answer and Ed's comments: http

Re: FastButton? Handling touch events for mobile?

2012-12-16 Thread Ashton Thomas
I wanted to take a shot at this implementation using the previous answer and Ed's comments: http://stackoverflow.com/questions/9596807/converting-gwt-click-events-to-touch-events/13906134#13906134 Example with code: http://gwt-fast-touch-press.appspot.com/ Not sure if I hit all the edge cases

Re: Getting Started with GWT tutorial questions

2012-11-21 Thread Ashton Thomas
For your second question: https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCss?hl=no-NO gwt-[Classname] will use the default css/theme provided by GWT. You can remove/override this if you need Second question about the generated javascript: If, after you compile StockWatcher,

Re: Rounded borders in panel

2012-10-24 Thread Ashton Thomas
UiBinder: (Also shows background gradients) !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui ui:style .wrap { padding: 10px; } .roundedWidget { text-align: center; margin:

Re: Keep getting:out of memory when refreshing?

2012-08-10 Thread Ashton Thomas
Thanks, Jens. This worked for me after having memory issues post 2.5rc1 update On Tuesday, August 7, 2012 4:20:36 AM UTC-4, Jens wrote: Increase your heap space and/or PermGen space for DevMode. I am currently working with: -Xmx1512m -XX:MaxPermSize=1024m . The PermSize is that high

Re: synchronized object int GWT

2012-06-05 Thread Ashton Thomas
You might want to consider the use of synchronized methods when dealing with async rpcs request. The blog post linked below shows one use case involving synchronized methods http://www.summa-tech.com/blog/2010/11/29/parallel-asynchronous-calls-in-gwt/

Re: Listening for ScrollBars from Browsers :: Dynamic Resize

2012-03-29 Thread Ashton Thomas
to reposition the column header scrollbar-width pixels to the left to keep header + column visually in sync. -- J. Am Mittwoch, 28. März 2012 20:44:03 UTC+2 schrieb Ashton Thomas: I have a layout that dynamically resizes via: Window.addResizeHandler(new ResizeHandler() { However

Listening for ScrollBars from Browsers :: Dynamic Resize

2012-03-28 Thread Ashton Thomas
I have a layout that dynamically resizes via: Window.addResizeHandler(new ResizeHandler() { However, this is NOT fired when the browsers adds the scroll bars once the UI has dynamically added content to extend the browser's screen So my app is fine when it first loads and the content doesn't

Re: Place change dynamically

2012-01-29 Thread Ashton Thomas
If you use a PlaceController to goTo new places, try creating a wrapper around the placeController to do the check and then call the original goTo(Place new place)... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion

Re: Overriding processCall to intercept RPC calls

2012-01-03 Thread Ashton Thomas
May also be a good idea to have all your services declare throws SerializationException and have all your custom exceptions extend SerExc Joe, did you fix your problem? if not, can you provide more details? -- You received this message because you are subscribed to the Google Groups Google

Re: Compilation time doubles after upgrading to GWT 2.3

2011-12-21 Thread Ashton Thomas
For reference: try draftCompile and maybe only compile certain models with only certain permutation. $ java -cp gwt-dev.jar com.google.gwt.dev.Compiler Missing required argument 'module[s]' Google Web Toolkit 2.4.0 Compiler [-logLevel level] [-workDir dir] [-gen dir] [-style style] [-ea]

Re: Compilation time doubles after upgrading to GWT 2.3

2011-12-21 Thread Ashton Thomas
Also, the reference was for 2.4 not sure of exact changes for 2.3 but you can easily run the command -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: gwt uibinder in an abstract parent class

2011-12-07 Thread Ashton Thomas
I do something very similar for a very important/complex part of my app. Not out of laziness but just because it's a goo way to keep things DRY. I use an abstract parent class which actually binds the UiBinder and then has some abstract methods that are different for subclasses. I'm not sure

Re: Event Bubbling

2011-12-06 Thread Ashton Thomas
You can use a global EventBus: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/event/shared/SimpleEventBus.html and just have only the widgets that need to listen for particular events (you can add custom events for any situation) register with the global EventBus

Re: the parameter of the method addHandler

2011-12-06 Thread Ashton Thomas
Does this help creating custom events?: https://github.com/ashtonthomas/beans/blob/master/src/com/billy/bob/client/event/HeaderNotificationEvent.java https://github.com/ashtonthomas/beans/blob/master/src/com/billy/bob/client/event/HeaderNotificationHandler.java Also register handler with

Re: Blank page on internet explorer 6

2011-12-05 Thread Ashton Thomas
I had a similar problem once and I think I found the reason by using the debug tool built in explorer and then changing the version back. I think the reason had something to do with some string character or something really weird. I never worried about it and eventually made enough other

Re: how to define a widget which have custum defined event?

2011-12-05 Thread Ashton Thomas
1) create a widget 2) create event 3) create event handler 4) have your widget implement the handler 5) register the widget as a handler of the new event with eventBus (probably at the very start of your application) Hope that helps -- You received this message because you are subscribed to

Re: Activities and Places - Ant compilation

2011-12-01 Thread Ashton Thomas
I think the problem is in your application code and not an issue with a flag or adding anything to the classpath. Can you include your Mapper and Place(s) files? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on

Re: Ideal development platform for GWT/GAE?

2011-12-01 Thread Ashton Thomas
I moved from Ubuntu to MacBook to a very recent MacBookPro. A good processor and a bit of memory for dev mode really helps. My new machine is a beast which makes me smile to run in dev and compile my GWT app. 2.5i7quad/SSD/8gbMem. Dev mode screams on this thing. And it compiles the app for

Re: Activities and Places - Ant compilation

2011-12-01 Thread Ashton Thomas
My bad, I didn't read that part.. damn.. On Dec 1, 7:35 pm, Thomas Broyer t.bro...@gmail.com wrote: Well, if it compiles with the GPE, it's likely an issue with the Ant script, right? It looks like the client-side classes haven't been compiled (javac) or that the output from javac is not

Re: Sessions and Activities and Places

2011-11-13 Thread Ashton Thomas
I handle this in two areas: 1) onModuleLoad: isAuthenticated/Valid Session 2) -- 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/-/T6HkY06Cz_gJ.

Re: Sessions and Activities and Places

2011-11-13 Thread Ashton Thomas
I handle this in two areas: 1) onModuleLoad: isAuthenticated/Valid Session 2) -- 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/-/47RRkzwO8OEJ.

Re: How to make button inactive state once it is clicked.

2011-10-22 Thread Ashton Thomas
Well that is the main reason for having setEndabled but I guess you can always setVisible(false) and remove the thing (or even setVisible(false) on that on and show a dummy button... On Oct 22, 1:08 am, suresh babu sureshgbab...@gmail.com wrote: Any other technic other than disable and enable

Re: I want to know the URL pattern in AP

2011-10-20 Thread Ashton Thomas
Sri, you have the same question in 4 different posts now. Not sure where the confusion is but feel free to message me directly and I can help you bring things together: ash...@acrinta.com. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: Place, history url does not change

2011-10-20 Thread Ashton Thomas
You have presenter.goTo(new MyPlace()); but why isn't it placeController.goTo(new MyPlace());?? Sorry not sure how your app is set up but I know I just inject the PlaceController and call it directly and then that eventually hits ActivityManager that calls the next Activity while the url is

Re: how to add custom token in URL (using Activities and Places )

2011-10-13 Thread Ashton Thomas
Prakash, this question is a duplicate by Sri: Other identical post: https://groups.google.com/forum/#!topic/google-web-toolkit/3dHKOfc_ZnI Please see this thread for more information on a solution: https://groups.google.com/forum/#!topic/google-web-toolkit/PzlyZ3Gjazg Sri, please do not copy

Re: Binder problem in ui.xml file?

2011-10-12 Thread Ashton Thomas
Wrap both in g:HTMLPanel g:center g:HTMLPanel Flow/ Flow.../ /g:HTMLPanel /g:center -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: PlaceHistoryHandler for URL with multiple args

2011-10-12 Thread Ashton Thomas
Adding an example to this piece: MyPlace extends AppPlace { int param1; public MyPlace(String token){ this.param1 = getInt(pid, token); //if url is #my-place?pid=12tid=4 int var = getInt(tid, token) .. } ... } Probably a better way of doing all of this but wanted to update

Re: Activities and Places

2011-10-12 Thread Ashton Thomas
Thank you for posting the same question twice: try this link: https://groups.google.com/d/topic/google-web-toolkit/PzlyZ3Gjazg/discussion -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: PlaceHistoryHandler for URL with multiple args

2011-10-12 Thread Ashton Thomas
Not exactly sure what you are looking for but I think you want to look at the PlaceHistoryMapper: public class AppPlaceHistoryMapper implements PlaceHistoryMapper{ public Place getPlace(String token) { if(token.startsWith(something)){ //assume SomethingPlace has params //so the token is

Re: Activities Places: How to listen to PlaceChangeEvents without an Activity?

2011-10-11 Thread Ashton Thomas
I don't think this is really new You can also define a CustomClass implements PlaceChangeEvent.Handler {} then addHandler(PCE.TYPE, new CustomClass()); As for the .TYPE vs getType(), I do not know the details but if you look at PlaceChangeEvent extends GwtEvent it has the static field TYPE but

Re: Activities Places: How to listen to PlaceChangeEvents without an Activity?

2011-10-11 Thread Ashton Thomas
Ah, that is helpful. Thanks, Thomas! -- 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/-/7p2GtlKgCbEJ. To post to this group, send email to

Re: PlaceHistoryHandler for URL with multiple args

2011-10-04 Thread Ashton Thomas
Sorry for the rough form but this may help: public abstract class AppPlace extends Place { /** * Method that allows us to create a simple AppPlaceHistroyMapper. Allows * the AppPlaceHistoryMapper to just call the AppPlace's getToken in order * to build the url from the place object * *

Re: Create custom callbacks to achieve synchronous code execution

2011-10-04 Thread Ashton Thomas
Hey Alexander, I am not sure you are going about this the correct way. Dev Mode is NOT synchronous and it functions just like production mode. There is another reason why you are getting your results. It may be because the requests take longer in Dev Mode and your client has time to send the

Re: Create custom callbacks to achieve synchronous code execution

2011-10-04 Thread Ashton Thomas
My understanding is that the simple solution below would work. Is this correct? service.getStuff(new AsyncCallbackThisThat(){ public void onSuccess(result){ updateStuff(result); } } public void updateStuff(ThisThat obj){ //execute A //execute B } -- You received this message

Re: problem with async sequence...

2011-10-04 Thread Ashton Thomas
Sounds like the same issue here: https://groups.google.com/forum/#!topic/google-web-toolkit/CByX2YBQwek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Building a GWT Framework

2011-10-03 Thread Ashton Thomas
I wanted to put some of my notes down for building a custom GWT Framework. I am not an expert and this is not a guide but I hope it helps. I greatly appreciate any feedback as well. Seems like a lot of new GWT developers struggle with the same issues:

Re: GWT Tutorial, and then ? How to learn reald world GWT development

2011-10-03 Thread Ashton Thomas
This may help from a higher level: http://ashtonthomas.posterous.com/building-a-gwt-framework -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT Tutorial, and then ? How to learn reald world GWT development

2011-10-01 Thread Ashton Thomas
I wish Google would pay someone just to build sample apps (pick me, pick me!). The GWT community needs someone like Ryan Bates: http://railscasts.com/ Yeah, rails is a whole framework when GWT is nothing like that but samples that explain different things would help. The best thing about GWT

Re: JPA alternatives?

2011-09-12 Thread Ashton Thomas
I use Spring/JDBC/MyBatis Like it so far On Sep 12, 10:55 am, Jens jens.nehlme...@gmail.com wrote: Thanks I'll take a look at it. Hopefully I can dynamically set a DataSource to mybatis and don't have to configure them statically in xml. -- J. -- You received this message because you are

Re: MenuBar Keyboard Navigation with Hidden MenuItems

2011-06-13 Thread Ashton Thomas
Ah, have you tried also disabling the widget: item.setEnabled(false); On Jun 13, 11:32 am, SciencePiggy brett.rowl...@gmail.com wrote: Not the answer I was looking for but still more elegant than the hack I was toying with. Thanks for the feedback. -- You received this message because you

Re: Maintaining application state

2011-06-10 Thread Ashton Thomas
I do something kinda similar. I make the assumption that a Place object should store all the state/data for the particular place. I then have something called a ContextWatcher which controls any application wide state or data. I use a static Cache class to actually store any data. The impl also

Re: Design Implementation on GIN

2011-06-10 Thread Ashton Thomas
Yeah those links should give you a much better idea of what you are trying to do. When you say any event, do you mean PlaceChangeEvents? The PlaceController should be in charge of calling the placeController.goTo(place). You can either use an href=#myplace which will fire the PCE

Re: MenuBar Keyboard Navigation with Hidden MenuItems

2011-06-10 Thread Ashton Thomas
Not sure how you have things set up but here is a possible solution: Implement the Menu/Nav using VerticalPanel (or an element that can insert elements based on index) Let's say you have Button1 (the button dependent on the startup checks), Button2, Button3 When you build the menu just go ahead

Re: Populate Dropdowns

2011-06-10 Thread Ashton Thomas
You can try something like this: ListBox box = new ListBox(); box.setEnabled(false); box.addItem(loading...); service.getData(new AsyncCallback{public void onSuc(loadData(result)); public void loadData(ArrayListData list){ box.clear(); for(Data d:list){ box.addItem(d.getName()); }

Re: Blocking client side execution until server executes the service completely

2011-06-09 Thread Ashton Thomas
Have to agree that you need to change your mindset and fully embrace asynchronous (get used to events and callbacks:) However, here is a good article on creating parallel async calls when you can't do it in one call (for whatever reason)

Re: Eample for MVP+EventBus+Presenter+Activity

2011-06-09 Thread Ashton Thomas
I have a few public GWT example repos on Github which may help (These aren't ROO proejcts though) https://github.com/ashtonthomas May help for examples of MVP/A+Place/DI/etc These may be a little out of date (or poorly implemented) so let me know if you have any questions. I've been meaning to

Calling same Activity.start() with different id while currently in activity

2011-05-18 Thread Ashton Thomas
Banging my head on this one... If I am currently in ShowThisActivity corresponding to id=1 but then a new placeChangeEvent with ShowThisPlace with id=2, The entire process of creating a new place insert place into activity and return activity to ActivityManager is called but the activit.start()

Re: Calling same Activity.start() with different id while currently in activity

2011-05-18 Thread Ashton Thomas
Hm, Thanks for the quick reply. I think I will just have to check and reload the activity when I setPlace from PlaceHistoryMapper. Which means, when the activity is not currently showing, it will go ahead and start process the new place before the start() is ever called. I don't think this will

Re: Array of widgets in uibinder

2011-05-10 Thread Ashton Thomas
I think is very easy to accomplish this in more than one way. One simple thing you can do is create a Widget that handles everything ImageListWidget extends VerticalPanel (or Composite) add a constructor that takes in an array of Images (or any widget) and just have the ImageListWidget add new

Re: New Created Web App launched in Eclipse - Waiting for launch URLs

2011-04-06 Thread Ashton Thomas
Maybe NOT a URL problem?? I am having a similar issue *maybe* When I run my application it starts up and then terminates leaving the console saying it has started and the url waiting for I was able to recompile my project a couple of times and the issue went away but now I can't get around

Advance Login With Multi Module Example

2011-04-06 Thread Ashton Thomas
In response to the below blog post (by Ben Northrop) http://www.summa-tech.com/blog/2011/02/22/structuring-gwt-modules-for-large-applications I set up a sample app which uses a dynamic login page. So if you want more control over a login page but don't want it as part of your main module, take a

Re: GWT MVP pattern - change different parts of page on an event

2011-04-05 Thread Ashton Thomas
Not sure if I'm stating things you already know, but maybe an alternative or cleaner way is to implement MVP using Places and Activities Each section could have an Activity Manager that changes the Presenter/ Activity based on the Place (May not change everyone section each time) Or you could

Re: GWT + MVP + Spring + Hibernate

2011-04-03 Thread Ashton Thomas
this repo has gwt mvp spring but uses mybatis so no Hibernate: https://github.com/ashtonthomas/beans On Apr 3, 1:27 am, Jan Mostert j...@mycee.com wrote: Spring Roo will integrate all that stuff for you. -- Jan Vladimir Mostert BEngSci MyCee Technologies On Sat, Apr 2, 2011 at

Re: Spring GWT Integration

2011-02-25 Thread Ashton Thomas
I have a simple app with spring integration for some reference: https://github.com/ashtonthomas/beans important places: - war/WEB-INF/ spring-servlet.xml web.xml - src/appContext - src/com/billy/bob/server/request/ GwtRpc files etc GWT/Spring != Rails. You're in a whole new ballgame. There will

Re: Best hosting provider for GWT app

2011-02-23 Thread Ashton Thomas
I have been using Amazon elasticbeanstalk: http://aws.amazon.com/elasticbeanstalk/ Seems to be in its early stages but has been working very well for me. We use our own Postgres server though and will probably migrate over to the amazon service for Relational databases at one point (hopefully

Re: Developing a large scale GWT app and MVP

2011-02-09 Thread Ashton Thomas
I use complex popups and just create new widgets that extend PopupPanel MyComplexWidgetPopup extends PopupPane @Inject public My...(MyWidgetView view) where MyWidgetView is a UiBinder Acts exactly like an Activity where the Widget has the app logic and the view takes care of the

Re: Developing a large scale GWT app and MVP

2011-02-09 Thread Ashton Thomas
Yeah should be just fine. Just pass the instance of the widget to the menu and your good to go. If you use Gin and @Inject the WidgetPopup and @Inject the view into the WidgetPopup, you will reuse the same element. so if you close the popup and then reopen it, you data and stuff will still be

Re: Developing a large scale GWT app and MVP

2011-02-09 Thread Ashton Thomas
are implementing everything else (the more sound your app already is, the more sound your implementation can be) On Feb 9, 3:03 pm, Ashton Thomas ash...@acrinta.com wrote: Yeah should be just fine. Just pass the instance of the widget to the menu and your good to go. If you use Gin and @Inject

Re: GWT force Update on Server during development mode

2010-12-30 Thread Ashton Thomas
Yeah, that saves a considerable amount of time. However, when I refresh my application time and time again, it will eventually get hung up and will not refresh correctly. I will have to restart my computer as restarting eclipse or browser will not work. I will click the refresh button and it will

Re: GWT force Update on Server during development mode

2010-12-30 Thread Ashton Thomas
Awesome, Thanks! On Dec 30, 6:07 am, Piotr Kosmowski kospi...@gmail.com wrote: Or you can just compile the file that you changed. The server will refresh only compiled server side files. On 30 Gru, 04:45, Noor baken...@gmail.com wrote: Hi, I am getting a really annoying problem. In

Re: How to force Spring to intercept RequestFactoryServlet

2010-12-23 Thread Ashton Thomas
I wish I could help more but I don't use RequestFactory so I don't have a Spring configuration with it:( On Dec 23, 5:03 am, zixzigma zixzi...@gmail.com wrote: Thank you for your feedback and support on this. I spent a very long time, trying many different combinations, including those you

Re: How to force Spring to intercept RequestFactoryServlet

2010-12-22 Thread Ashton Thomas
Can you post your web.xml On Dec 22, 1:56 am, zixzigma zixzi...@gmail.com wrote: the default URL for RequestFactoryServlet is /gwtRequest. I have configured Spring, I have ContextLoaderListener and DispatcherServlet, they suppose to be the first to get initialized (bootstrapping application

Re: How to force Spring to intercept RequestFactoryServlet

2010-12-22 Thread Ashton Thomas
Okay, well it looks like you have your RequestFactory configured directly in your web.xml which is bypassing Spring. Forgiving me if I am off or telling you something you already know as I am new to Spring. But in the web.xml below, You configure both Request Factory and Application(Dispatcher).

GWT 2.1 Video with Sample Code

2010-12-18 Thread Ashton Thomas
I know I posted links to the sample code a while back, but I now have a video to go along with it from a talk at Carnegie Mellon. The talk goes over some random things and may help some people. It is goofy and not the best presentation but I guess it may help a little...

Re: MVP docs/tutorials/examples

2010-12-07 Thread Ashton Thomas
I tried to leave a lot of comments in these examples that may help.. https://github.com/ashtonthomas/gwt-seminar https://github.com/ashtonthomas/beans On Dec 7, 5:23 am, Andrey mino...@gmail.com wrote: Hello, We are going to use GWT 2.1 MVP in our projects. The problem is that there seems

Re: GWT MVP Activities and Places

2010-12-02 Thread Ashton Thomas
I am not too sure of the final goal but I have two sample projects that do something similar using places with parent class (sub-class defines main content activity, and parent class defines a different area that does not update every time) Both activity mappers are wrapped in a

Re: GWT MVP Activities and Places

2010-12-01 Thread Ashton Thomas
Depending on how your app is structured you can implement a Place hierarchy. AppPlace or just Place Type1Place extends AppPlace (or Place) Type2Place extends AppPlace (or Place) Type3Place extends AppPlace (or Place) HomePlace extends Type1Place ContactUsPlace extends Type2Place etc and

Re: GWT 2.1 Activities – nesting? YAGNI ? - an exa mple of where you NEED it !

2010-11-30 Thread Ashton Thomas
I think in the case of the composite activity / composite place, you need to define how closely realted each workspace will be. will there be any overlap between sub/areas of one workspace and a different workspace? You can be careful about how you craft your composite place and how you tokenize

Re: GWT 2.1 Activities – nesting? YAGNI ? - an exa mple of where you NEED it !

2010-11-29 Thread Ashton Thomas
Do you need to think of each area on the left and right as independent activities? can you, instead, create just one area for the left and have it be made of multiple widgets. So instead of having a full activity, you create each box area as it's own widget? So you would have one main activity

Re: Sample App using DI/Gin, MVP, UiBinder, etc

2010-11-22 Thread Ashton Thomas
? I am trying to figure out how to pass activityManager.setDisplay(composite) Thanks. On Oct 28, 6:52 am, Ashton Thomas ash...@acrinta.com wrote: I will definitely try to post a video. It just puts the pressure on to actually do a good job! Thanks very much, -Ashton On Oct 28

Re: Sample App using DI/Gin, MVP, UiBinder, etc

2010-11-22 Thread Ashton Thomas
, 2010 at 10:38 AM, Daghan dag...@gmail.com wrote: Hi Ashton, Have you figured out a way to pass anything but SimplePanel objects to activityManager.setDisplay() function? I am trying to figure out how to pass activityManager.setDisplay(composite) Thanks. On Oct 28, 6:52 am, Ashton

Re: GWT MVP ActivityMapper with GIN

2010-11-16 Thread Ashton Thomas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/2ed199a42c500156/9cf373ccdbd1b43a Unfortunately, the mere mention of a need for something does not imply its current availability :-) I wrote the Activities and Places doc and really should have left GIN out of it for the time

Re: GWT MVP Development with Activities and Places

2010-11-13 Thread Ashton Thomas
You can find this example: http://gwt.acrinta.com it is a small sample app that shows how to implement MVP/Gin/etc It uses AppPlace which other places extends and then AppPlaceHistoryMapper directly handles all the mapping but you may want to do something a little more dynamic. This is just one

Re: Gwt 2.1 Activities + Code splitting + Gin

2010-11-06 Thread Ashton Thomas
Does anyone have some words for implementing the AsyncProviderT (Still in trunk as Thomas points out)?? I have not see any code showing how to implement this so I am a little lost on where to start. How do we need to use AsyncProvider and what else needs to be change / restructure anything? Is

Re: Database data and GWT applications

2010-11-04 Thread Ashton Thomas
Yep Chad is right, You haven't missed the point of GWT I just don't think you understand the scope of GWT. Think of it as kindasortbutnotreally the same scope of Jquery. All front end interaction (client) and helps you communicate with the server (whatever server/language/framework that is)

Re: Sample App using DI/Gin, MVP, UiBinder, etc

2010-10-28 Thread Ashton Thomas
on the other side of the pond? ;) Greetings Stefan On Oct 28, 4:19 am, Ashton Thomas ash...@acrinta.com wrote: Here is a direct link to the source code:http://github.com/ashtonthomas/gwt-seminar I will continue to update the code for this site as well as the content on this app. Over

Re: What Major Companies Use GWT???

2010-10-28 Thread Ashton Thomas
My startup company is using GWT (after a lot of research into what technology to go with for the user facing technology) for commercial use. However this isn't saying much since the produce isn't released yet... On Oct 28, 2:35 pm, Harpal Grover harpal.gro...@gmail.com wrote: Yup definitely

Sample App using DI/Gin, MVP, UiBinder, etc

2010-10-27 Thread Ashton Thomas
Hey Everyone, I am working on a seminar for GWT 2.1 that will happen in late November. But I will be putting together a lot of sample code. I have already pushed one app to github: http://gwt.acrinta.com/ I am still working on this, so expect updates Cheers! -- You received this message

Re: Sample App using DI/Gin, MVP, UiBinder, etc

2010-10-27 Thread Ashton Thomas
27, 8:16 pm, Ashton Thomas ash...@acrinta.com wrote: Hey Everyone, I am working on a seminar for GWT 2.1 that will happen in late November. But I will be putting together a lot of sample code. I have already pushed one app to github: http://gwt.acrinta.com/ I am still working on this, so

Gin and the Organization of Folders as seen in Roo

2010-10-21 Thread Ashton Thomas
I have a question about how we are configuring the application to use the Ginjector as used in Roo. Can someone please explain whey we have the client.managed package and why it is separated from the client.scaffold.ioc package? To go a little further, our ScaffoldModule defines @inject

Re: New GWT 2.0 Book

2010-10-04 Thread Ashton Thomas
At the end of the day, the GWT community will benefit from the book. For whatever reasons Chris is writing the book I am certain they are justified and reasonable and I am sure he will be able to provide the GWT community some valuable insight outside of buying the book. yes, books may be a

  1   2   >