Where can I find documentation to GWT MVP comming with version 2.1

2010-09-27 Thread Kardigen
Hi, here http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#MvpFramework is mentioned that MVP framework is coming in version 2.1. We have 2.1 M3 release, but I can not find any documentation for MVP. Do anyone know where can I find any classes, examples documentation? -- You receive

Re: new GWT MVP article (part 2)

2010-06-04 Thread fmod
I'm trying to figure out how to make this parallel composite views / presenter hierarchies. And in my opinion it just break the MVP pattern. One of the goals you pursuit with MVP is to decouple the View object from the logic it contains (the presenter). Making the Presenter unaware of how the view

Re: new GWT MVP article (part 2)

2010-05-11 Thread Brian Reilly
The increased complexity is definitely an issue. I don't like the idea of yet more interfaces to have to worry about. It's a shame that part 2 of the MVP article doesn't address testing beyond simply mentioning that these practices improve testability. It would be much clearer to see before-and-aft

Re: new GWT MVP article (part 2)

2010-05-10 Thread dayre
I could comprehend part I after watching Ray's presentation and reading it a few times... it gave me a much better idea on how to structure my application, but part II things started to fall apart for me. It was very difficult to keep track of the additional layers of abstraction introduced and t

Re: new GWT MVP article (part 2)

2010-05-07 Thread Manuel Carrasco Moñino
Sorry Mike, but I don't understand what you mean. Could you point me to the concrete lines of code which are not clear, or send code to use the libraries in a better way? Thanks -Manolo On Wed, May 5, 2010 at 4:11 PM, Mike wrote: > Manolo, > > I may be mistaken, but I wasn't able to "replicate

Re: Can anyone provide a step by step maven + gwt mvp tutorial?

2010-05-06 Thread olivier nouguier
Hi, There is there a example of what your are looking for (I guess ;) http://code.google.com/p/orcades-gwt-spring/ But there is also a spring && spring security integration. HIH On Thu, May 6, 2010 at 12:45 AM, crojay78 wrote: > Hi, > > now that

Re: Can anyone provide a step by step maven + gwt mvp tutorial?

2010-05-05 Thread Manuel Carrasco Moñino
Hello, - There is an outdated archetype which creates a very simple Gwt project without tests nor RPCs. Unfortunately the generated pom.xml is for old gwt versions and needs that you do a bunch of changes by hand. mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo \ -DarchetypeArtif

Can anyone provide a step by step maven + gwt mvp tutorial?

2010-05-05 Thread crojay78
Hi, now that I have a bit experience with gwt in mvp style, I am looking for an example for using maven as build tool for gwt, I found a few posts here and on other sources but nothing made it really clear for me. I have to say that I am new to maven. I installed maven and also installed the mave

Re: new GWT MVP article (part 2)

2010-05-05 Thread Mike
Manolo, I may be mistaken, but I wasn't able to "replicate" what you'd done. Taking either the released .jar files for gwt-dispatch and gwt- presenter, or having gotten the latest code from the repository -- either way, there were differences between what you'd coded and what the library was provi

Re: new GWT MVP article (part 2)

2010-05-03 Thread Manuel Carrasco Moñino
I'm using the latest code of gwt-presenter from svn, so if you don't use maven you should either compile gwt-presenter, or download the library from: http://gwt-workshop.googlecode.com/svn/trunk/mavenrepo/net/customware/gwt/presenter/gwt-presenter/1.1.1-replace-SNAPSHOT/gwt-presenter-1.1.1-replace-

Re: new GWT MVP article (part 2)

2010-05-03 Thread Mike
> You can download the project and play with it: > svn checkouthttp://gwt-workshop.googlecode.com/svn/trunk/GwtWsMvpContacts > GwtWsMvpContacts > mvn clean test gwt:run package Looks very interesting. I've downloaded the project and imported to Eclipse (don't have Maven yet). First question: Th

Re: new GWT MVP article (part 2)

2010-05-03 Thread Manuel Carrasco Moñino
with just "Widget" type's everywhere. Both of >> which are BAD and really do make development difficult and don't forget >> you can't call uiBinder.createAndBind until all widget's have been provided. >> Thanks for reading. >> --AH >> >> On

Re: new GWT MVP article (part 2)

2010-04-28 Thread Fabio Kaminski
nt difficult and don't forget > you can't call uiBinder.createAndBind until all widget's have been provided. > > Thanks for reading. > > --AH > > > On Tue, Apr 27, 2010 at 10:37 PM, Mike wrote: > >> I'd like to chime in as well... >&

Re: new GWT MVP article (part 2)

2010-04-28 Thread Andrew Hughes
ll uiBinder.createAndBind until all widget's have been provided. Thanks for reading. --AH On Tue, Apr 27, 2010 at 10:37 PM, Mike wrote: > I'd like to chime in as well... > > Since the project posted with the update hasn't been totally > refactored, its very confu

Re: new GWT MVP article (part 2)

2010-04-27 Thread Mike
I'd like to chime in as well... Since the project posted with the update hasn't been totally refactored, its very confusing for those new to GAE, GWT, MVP, etc (and it shouldn't be). This seems akin to turning in your homework half-done or half-eaten by the dog... I would li

Re: new GWT MVP article (part 2)

2010-04-26 Thread Brian Reilly
I agree that it would be very helpful to see some examples of building a more complex composite UI. I've been trying to find a good way to handle this while keeping a clean separation between view and presenter. It gets worse when trying to use GIN along with UiBinder. Both help with construction

Re: new GWT MVP article (part 2)

2010-04-26 Thread david.herv...@gmail.com
Hi, originally the MVP pattern was design for separating the view from its logic and the model it is displaying (as the MVC). Since the arriving of UIBinder I found the word View misused. Actually, strictly speaking the View is contained in the ui.xml file and the "Controller" is the corresponding

Re: GWT MVP architecture redirect link page with URL parameters passing

2010-04-25 Thread branflake2267
Hi Mahmoud, Yes, this is very possible to do. Have any widget add a history handler, and watch for any history change event, and then fire the widget state accordingly as you see fit. I like doing it this way. You can pass any number of parameters in to change the widgets/app state. domain.tld#hi

Re: new GWT MVP article (part 2)

2010-04-25 Thread dmen
I've read it and IMHO it suffers from extreme over-compexity. Problem is people will take this article as a reference for their designs. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool..

Re: new GWT MVP article (part 2)

2010-04-25 Thread interdev
Thank you everyone for sharing. >@Chris Ramsdale, >"We use the technique described in part II. Composite views are responsible >for instantiating their own children, and making them available for the >parallel composite presenters. " >"Regarding the nested layer presenters, thanks for the feedba

Re: new GWT MVP article (part 2)

2010-04-24 Thread Chris Ramsdale
On Thu, Apr 22, 2010 at 3:27 AM, interdev wrote: > Hello everyone, > have you seen the new MVP Architecture article from google ? > http://code.google.com/webtoolkit/articles/mvp-architecture-2.html > > they have changed the structure slightly, instead of having a View and > a Presenter which has

Re: new GWT MVP article (part 2)

2010-04-24 Thread Stephen Haberman
> I like the model-view-presenter architecture. However I am not at all > sold on mocking out the view and testing just the presenter. The > problems is that you are not testing 3 of the potentially most error > prone parts of the system: 1) The browser and DOM, 2) The GWT widget > library and 3)

Re: GWT MVP architecture redirect link page with URL parameters passing

2010-04-24 Thread Mahmoud
That's parameter passing within the web application, what about the first part of my question? the most important one to me On Apr 24, 7:46 am, Paul Stockley wrote: > Use something like History.newItem("page3?param1=a¶m2=b"); > > This will rewrite the currentURLand store it in the browsers > hist

Re: GWT MVP architecture redirect link page with URL parameters passing

2010-04-24 Thread Paul Stockley
Use something like History.newItem("page3?param1=a¶m2=b"); This will rewrite the current URL and store it in the browsers history. The onChange history event will then be fired. On Apr 23, 11:38 pm, Mahmoud wrote: > Hello, > I have followed the MVP structure while developing my project. > Once I

Re: new GWT MVP article (part 2)

2010-04-24 Thread Thomas Broyer
On Apr 24, 2:04 am, Paul Stockley wrote: > I like the model-view-presenter architecture. However I am not at all > sold on mocking out the view and testing just the presenter. The > problems is that you are not testing 3 of the potentially most error > prone parts of the system: 1) The browser a

Re: new GWT MVP article (part 2)

2010-04-24 Thread Thomas Broyer
On Apr 22, 9:27 am, interdev wrote: > Hello everyone, > have you seen the new MVP Architecture article from google > ?http://code.google.com/webtoolkit/articles/mvp-architecture-2.html First, I only read it quickly, I didn't download and looked at the sample project. > they have changed the s

GWT MVP architecture redirect link page with URL parameters passing

2010-04-23 Thread Mahmoud
Hello, I have followed the MVP structure while developing my project. Once I hit the site URL, the History Manager loads the module by inserting the default token to the history stack and then from there the user can redirect himself to any part of the application by changing the History token, whi

Re: new GWT MVP article (part 2)

2010-04-23 Thread Chris Ramsdale
@Bryan, We'll get around to refactoring the EditContact View/Presenter, but the goal was to get the new View/Presenter relationship out there as soon as we could. We think it's a pattern that has worked for internal teams, and we hope that it works for the larger community as well. Regarding the

Re: new GWT MVP article (part 2)

2010-04-23 Thread BryanPoit
I was a bit disappointing. The example project wasn't even fully re factored. The edit contacts view and presenter still reflect the old architecture. I think that though these tutorials are helpful its been almost a whole year since part I of the article was posted. Also for trying to make lar

Re: new GWT MVP article (part 2)

2010-04-23 Thread Paul Stockley
I like the model-view-presenter architecture. However I am not at all sold on mocking out the view and testing just the presenter. The problems is that you are not testing 3 of the potentially most error prone parts of the system: 1) The browser and DOM, 2) The GWT widget library and 3) the GWT jav

Re: new GWT MVP article (part 2)

2010-04-23 Thread jocke eriksson
I think it's a very good explanation on MVP. But one thing that comes to mind is that they should explain why they check for nulls all the time. I think the if statements should be followed by else, at lest empty ones! explaining why it is ok to ignore the call. ex. if (presenter != null) {

new GWT MVP article (part 2)

2010-04-23 Thread interdev
Hello everyone, have you seen the new MVP Architecture article from google ? http://code.google.com/webtoolkit/articles/mvp-architecture-2.html they have changed the structure slightly, instead of having a View and a Presenter which has an inner Interface (Display), aside from the UiBinder part, t

Re: GWT MVP

2010-04-17 Thread gengstrand
Check out pages 7 and 8 from the slide deck PDF linked to from that page. For your convenience, here is the net of it. With MVC, the model is thick with business rules and glue code to a data access layer. The view has lots of dependencies on the model. The controller is usually a framework compon

Re: GWT MVP

2010-04-16 Thread nino ekambi
Hi, I cant find the informations. Can you please tell me where to look on the page ? thx and greets Al 2010/4/16 gengstrand > I covered the differences between MVP and MVC in this presentation. > > http://www.dynamicalsoftware.com/gwt > > I hope that helps. > > On Apr 15, 5:23 am, Sabbir wro

Re: GWT MVP

2010-04-16 Thread gengstrand
I covered the differences between MVP and MVC in this presentation. http://www.dynamicalsoftware.com/gwt I hope that helps. On Apr 15, 5:23 am, Sabbir wrote: > i am having quite a difficulty in understanding MVP in gwt. Can > anybody suggest a good example easy one -- You received this messag

Re: GWT MVP

2010-04-15 Thread Katharina Probst
Not sure what you're looking for, but there's a pretty new document here: http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html On Thu, Apr 15, 2010 at 7:23 AM, Sabbir wrote: > i am having quite

GWT MVP

2010-04-15 Thread Sabbir
i am having quite a difficulty in understanding MVP in gwt. Can anybody suggest a good example easy one -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscrib

gwt MVP + http session

2009-12-30 Thread mariyan nenchev
Hi, I am using MVP architecture in my project. And now i am adding session management. What exactly does sessionProvider.get() do: getSession() or getSession(false). I do not want to create new session if one does not exist. Here is my simple SessionHandler : public abstract class SessionHandler,

Re: EasyMock for GWT + MVP ?

2009-10-27 Thread lowecg2004
Cool - glad to hear you're up and running. On Oct 27, 1:32 am, "fker...@gmail.com" wrote: > On Oct 25, 5:26 pm, lowecg2004 wrote: > > > As Arthur said, calling GWTMockUtilities.disarm() will prevent that > > error (that was in part 2 of my article :) > > > As for needing asm-attrs.jar, I guess

Re: EasyMock for GWT + MVP ?

2009-10-26 Thread fker...@gmail.com
On Oct 25, 5:26 pm, lowecg2004 wrote: > As Arthur said, calling GWTMockUtilities.disarm() will prevent that > error (that was in part 2 of my article :) > > As for needing asm-attrs.jar, I guess try it - any > NoClassDefFoundError that looks asm related then that will answer your > question... H

Apple Guice: A demo of App Engine, GWT, MVP, Guice, GIN

2009-10-26 Thread Stuart
All, Apple Guice is a demo App Engine application using GWT with MVP (via gwt-dispath and gwt-presener), dependency injection (GIN on the client, Guice on the server), and a sharded counter to track the number of visitors. Demo is available at: http://appleguice.latest.emcode-dev.appspot.com/ S

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread Thomas Broyer
On 25 oct, 14:32, "fker...@gmail.com" wrote: > On Oct 25, 9:11 am, lowecg2004 wrote: > > > Your error looks like you're using the EasyMock class extensions and > > are missing cglib jars from your build path. > > > As it happens, I recently produced a getting started with MVP and unit > > test

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread lowecg2004
As Arthur said, calling GWTMockUtilities.disarm() will prevent that error (that was in part 2 of my article :) As for needing asm-attrs.jar, I guess try it - any NoClassDefFoundError that looks asm related then that will answer your question... Cheers, Chris. On Oct 25, 5:44 pm, Arthur Kalmen

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread Arthur Kalmenson
It's possible to use EasyMock to mock out GWT widgets in a standard JUnit or TestNG test, but you need to use GWTMockUtilities to disarm GWT. -- Arthur Kalmenson On Sun, Oct 25, 2009 at 12:58 AM, fker...@gmail.com wrote: > > I remember EasyMock didn't work for GWT, because it needed reflectio

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread fker...@gmail.com
On Oct 25, 9:11 am, lowecg2004 wrote: > Your error looks like you're using the EasyMock class extensions and > are missing cglib jars from your build path. > > As it happens, I recently produced a getting started with MVP and unit > testing with EasyMock article which might be of use: > > http://

Re: EasyMock for GWT + MVP ?

2009-10-25 Thread lowecg2004
Your error looks like you're using the EasyMock class extensions and are missing cglib jars from your build path. As it happens, I recently produced a getting started with MVP and unit testing with EasyMock article which might be of use: http://blog.hivedevelopment.co.uk/2009/10/introduction-to-

EasyMock for GWT + MVP ?

2009-10-24 Thread fker...@gmail.com
I remember EasyMock didn't work for GWT, because it needed reflection, which wasn't available for client side programming. However, I'm doing MVP tests, so the code need not run in hosted mode, so EasyMode should run... right? However, I'm getting the following error -- can somebody point me in th

Re: GWT, MVP a beginner's question

2009-10-05 Thread Trevis
I've been mockng the views for testing and injecting for integrating. Easymock and mockito do most of what I need. I've also been creating concrete Has... Mock classes as needed. I'm also still feelling things out. On Oct 4, 5:49 pm, Chris wrote: > Don't you just inject a Mock Panel in that

Re: GWT, MVP a beginner's question

2009-10-04 Thread Chris
Don't you just inject a Mock Panel in that case? (Sorry rather new) On Oct 4, 11:08 pm, Dave Pinn wrote: > What is your alternative, Miroslav? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro

Re: GWT, MVP a beginner's question

2009-10-04 Thread Dave Pinn
What is your alternative, Miroslav? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group,

Re: GWT, MVP a beginner's question

2009-10-04 Thread Miroslav Genov
Hello, How you test the following snippet ? The following snippet is not following the Law of Demeter and I'm not sure that such usage is correct, because in your test if have to mock the display, the MyReusablePanel and the Display of MyReusablePanel. Regards, Miroslav Dave Pinn wrote

Re: GWT, MVP a beginner's question

2009-10-03 Thread Dave Pinn
You would typically have one presenter and one view for each discrete part of the page. The idea is to componentise the parts of the page so that they can be re-used in a variety of contexts; for example: you might have a page navigation sub-panel that gets used on several pages. To re-use your p

GWT, MVP a beginner's question

2009-10-03 Thread Chris Burrell
Hi I'm new to whole lot (GWT, MVP, Dependency Injection, etc.) but my mind is coming round to the idea. At the risk of sounding like a total ignorant, do View incorporate other Views? Or would you for example build your custom panels to ensure that you only have one view with lots of bits

Re: Running Apache Hupa sample of GWT MVP

2009-09-23 Thread Norman Maurer
Hy Roman, it was a typo... It should be fixed now. Thx for reporting :) Bye, Norman 2009/9/23 Roman Ilin : > > I changed the color many times. > If I change it to 'red' Hupa works, back to 'grey' - App won't start. > > Regards > > On Tue, Sep 22, 2009 at 4:36 PM, Daniel Simons > wrote: >> Ac

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread Roman Ilin
I changed the color many times. If I change it to 'red' Hupa works, back to 'grey' - App won't start. Regards On Tue, Sep 22, 2009 at 4:36 PM, Daniel Simons wrote: > Actually what is most likely happening is that when you changed the color > property value it kicked off a fresh buildtry cha

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread Daniel Simons
Actually what is most likely happening is that when you changed the color property value it kicked off a fresh buildtry changing the color value back to grey to see if that was the case. Regards, daniel On Tue, Sep 22, 2009 at 9:32 AM, purplehaze wrote: > > Hi *, > > I have jdk 1.6 only ins

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread Norman Maurer
I Roman could you open a jira issue for it so I can keep track. https://issues.apache.org/jira/browse/Hupa Thx, Norman Ps: Hupa just moved from labs to james as subproject so the new svn url is http://svn.apache.org/repos/asf/james/hupa 2009/9/22 purplehaze : > > Hi *, > > I have jdk 1.6 only

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread purplehaze
Hi *, I have jdk 1.6 only installed. So I set org.apache.maven.plugins maven-compiler-plugin 1.6

Re: Running Apache Hupa sample of GWT MVP

2009-09-16 Thread Daniel Simons
Norman, Thanks for your help. Hupa is an excellent tool for learning MVP, GWT, and GIN. I was wondering if you could provide me with some direction in regards to a GWT related issue I've encountered. I currently have a gwt project of my own that is hooked up to a database. I would like to be ab

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Daniel Jue
After reading and re-reading some Maven documentation, I learned something that may help people struggling with learning multi-module projects using Hupa. In Hupa's hupa-parent POM, I see shared client server widgets

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Norman Maurer
Hi Daniel, you should not add the vm arguemtn in the debug configuration, change it in the webconfiguration. Well I can't say anything about what will be the affect of restructure the app. Hupa uses the "default" maven2 multi-module layout. Bye, Norman 2009/9/15 Daniel Simons : > Hi Norman, >

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Daniel Simons
Hi Norman, After some minor frustration I did get it working...Thanks for your help. One way that my setup is different from the instructions in the readme.txt is that rather than creating a vm argument in the debug configuration, I simply created a conf folder in WEB-INF and copied the config.pro

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Norman Maurer
Hi Daniel, so all is working now ? If you have any improvements for the README.txt just let me know.. Thx, Norman 2009/9/14 Daniel Simons : > I sincerely apologize for the newb issues...The ClassNotFoundException was > due to the fact that ${project_loc} was undefined. > > On Mon, Sep 14, 2009

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Simons
I sincerely apologize for the newb issues...The ClassNotFoundException was due to the fact that ${project_loc} was undefined. On Mon, Sep 14, 2009 at 1:46 PM, Daniel Simons wrote: > Still haven't discovered the source of the classNotFoundExceptionWhen I > perform 'maven package' the build fai

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Simons
Still haven't discovered the source of the classNotFoundExceptionWhen I perform 'maven package' the build fails with the following error: [INFO] hupa-parent ... SUCCESS [0.672s] [INFO] hupa-shared ... SUCCESS [2.20

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Norman Maurer
Hi Daniel, the compiler settings just tell maven to compile the src to be usable in java5 enviroments too. Bye, Norman 2009/9/14 Daniel Jue : > > FWIW, > I only have jdk1.6.0_16 and it works. I made sure Eclipse was using > this specific version, and all other JREs were removed. > > Compiler co

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Norman Maurer
Hi Daniel, are you sure you edit the right config ? Thx, Norman 2009/9/14 Daniel Simons : > Moving the JRE System Library to the bottom resolved the Access Restriction > errors, but now I receive a new problem.  When I right-click on the > hupa-parent project, then select run configuration, wi

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Jue
FWIW, I only have jdk1.6.0_16 and it works. I made sure Eclipse was using this specific version, and all other JREs were removed. Compiler compatibility is set to 1.6, and I didn't change any of the defaults in the "Deprecated and restricted API" section -- specifically the forbidden reference ac

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Simons
Moving the JRE System Library to the bottom resolved the Access Restriction errors, but now I receive a new problem. When I right-click on the hupa-parent project, then select run configuration, with -Dhupa.config.file=${project_loc}/server/src/main/webapp/WEB-INF/conf/config.properties included a

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Norman Maurer
Hi Daniel, its me again ;) Could you try this to fix the restriction problem: * Change the order of the libraries puting 'JRE System Library' at the bottom. I'm waiting for your feedback :) Bye, Norman 2009/9/14 Norman Maurer : > Hi Daniel, > > I added a jira issue to keep track of this.. >

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Norman Maurer
Hi Daniel, I added a jira issue to keep track of this.. https://issues.apache.org/jira/browse/LABS-449 Thx for the feedback. Bye, Norman 2009/9/13 Daniel : > > Could you describe the steps necessary to create the Maven2 hupa > project in Eclipse more explicitly?  I am unable to successfully b

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Norman Maurer
HI Daniel, about the DataSource problems.. Eclipse is a bit stupid about this ( at least I think its eclipse because it work to compile from cmdline without probs) :-/ You need to use java5 as jdk for hupa to getting rid of this. I had no time to understand how else I could workaround this. Some

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Norman Maurer
No Problem, hope it helps :) Bye, Norman 2009/9/14 Daniel Jue : > > You are correct, I totally ignored the readme.txt.  Thanks for the pointer! > > On Mon, Sep 14, 2009 at 1:57 AM, Norman Maurer wrote: >> >> Hi Daniel, >> >> you must have missed the README.txt file included in the project. From

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel Jue
You are correct, I totally ignored the readme.txt. Thanks for the pointer! On Mon, Sep 14, 2009 at 1:57 AM, Norman Maurer wrote: > > Hi Daniel, > > you must have missed the README.txt file included in the project. From > the README.txt: > > - If you want to run hupa in hosted mode be sure to ad

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Norman Maurer
Hi Daniel, you must have missed the README.txt file included in the project. From the README.txt: - If you want to run hupa in hosted mode be sure to add the following line as "vm argument" in the Run configuration: -Dhupa.config.file=${project_loc}/server/src/main/webapp/WEB-INF/conf/config.

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel Jue
BTW, I made sure I didn't have to change the POM. You do want to make sure mvn is downloading the snapshots and source when available. The .classpath should change though, if you replace the JRE as mentioned in my previous mail. I've been told not to put my .classpath (or any .* files) into a re

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel Jue
I also had some issues getting it to run in hosted mode the first few times. I had to issue a mvn clean package (or was it clean install?) and I still had to manually copy the conf/config.properties (or whatever it was) to the /war directory. Then I was able to select the main project (the paren

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel
Could you describe the steps necessary to create the Maven2 hupa project in Eclipse more explicitly? I am unable to successfully build the project as a result of the javax.activation imports throwing the following error: Access restriction: The type DataSource is not accessible due to restriction

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel
Could be more explicit about how to get the hupa project running in hosted mode from eclipse. The following error occurs in my attempt to run in hosted mode: [WARN] Failed startup of context com.google.gwt.dev.shell.jetty.JettyLauncher $webappcontextwithrel...@dab19a{/,C:\Documents and Settings\

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel
After checking out the hupa project, then importing into Eclipse I get compile errors for javax.activation imports in AbstractSendMessageHandler.java. I found that there is an issue using Sun JARs with Maven, and attempted to add the javax.activation dependency in my pom.xml, but the errors persi

Re: Running Apache Hupa sample of GWT MVP

2009-09-05 Thread Norman Maurer
Hi Satish, I'm no aware of any special steps needed to run Hupa in eclipse. Just make sure you have m2eclipse installed and declare Hupa as Maven2 project with nested modules. That's all. Bye, Norman 2009/9/5 Satish Puranam : > > Norman, > > I am having trouble running Apache Hupa in eclipse.

Re: Running Apache Hupa sample of GWT MVP

2009-09-05 Thread Satish Puranam
Norman, I am having trouble running Apache Hupa in eclipse. No matter what i do i am alway getting these errors: Resolving annotation '@GinModules({ClientDispatchModule.class, HupaClientModule.class})' [ERROR] java.lang.ClassNotFoundException: org.apache.hupa.client.gin.HupaClientModule [ERROR]

Re: GWT, MVP, and nested widgets

2009-09-03 Thread Nathan Wells
changes, but it is an option (especially > > > > if the individual MenuItem's events could be bubbled up to the > > > > MenuPanel and reduce code size). > > > > > The above are more what I've thought about or tried, and I don't claim > >

Re: GWT, MVP, and nested widgets

2009-09-03 Thread Ian Bambury
gt; > > The above are more what I've thought about or tried, and I don't claim > > > to be any expert. I've been trying to figure if there is some magic > > > approach that makes composition work, however I haven't seen a clear > > > winner yet.

Re: GWT, MVP, and nested widgets

2009-09-03 Thread Jason A. Beranek
to the presenter at that time). For some reason, > > this just feels wrong to me, though I can't put my finger on why this > > bidirectional coupling would be an issue since the view is already > > tightly coupled to the presenter. I don't know how well such an > >

Re: GWT, MVP, and nested widgets

2009-09-02 Thread Ian Bambury
s fire an event if clicked, and other parts of the system react if they decide they need to. Ian http://examples.roughian.com 2009/9/2 Jeff Chimene > > On 09/02/2009 11:22 AM, Ian Bambury wrote: > > Hi all, > > > > I have a question for the GWT-MVP experts out there

Re: GWT, MVP, and nested widgets

2009-09-02 Thread Ian Bambury
t; approach would work with dependency injection or UI binder (my gut > feel is it wouldn't really). > > I'll be interested to see anyone else's thoughts. > > -Jason > > On Sep 2, 1:22 pm, Ian Bambury wrote: > > Hi all, > > > > I have a question

Re: GWT, MVP, and nested widgets

2009-09-02 Thread Jeff Chimene
On 09/02/2009 11:22 AM, Ian Bambury wrote: > Hi all, > > I have a question for the GWT-MVP experts out there. If there is a more > suitable forum, please let me know. > > I have a menu panel which contains a flowpanel for menu items, and > another flowpanel where the requi

Re: GWT, MVP, and nested widgets

2009-09-02 Thread Jason A. Beranek
is it wouldn't really). I'll be interested to see anyone else's thoughts. -Jason On Sep 2, 1:22 pm, Ian Bambury wrote: > Hi all, > > I have a question for the GWT-MVP experts out there. If there is a more > suitable forum, please let me know. > > I have a men

GWT, MVP, and nested widgets

2009-09-02 Thread Ian Bambury
Hi all, I have a question for the GWT-MVP experts out there. If there is a more suitable forum, please let me know. I have a menu panel which contains a flowpanel for menu items, and another flowpanel where the required page will display itself when the associated menu item is clicked. The

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread Norman Maurer
yeah thats prolly the cause. Most companies not allow to connect to random ports. So maybe test it again when you are at home .. Bye, Norman 2009/9/1 smiletolead : > > I am behind a proxy actually. Is it because of that? > > On Sep 1, 2:24 pm, Norman Maurer wrote: >> Ok this sounds like a firew

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread smiletolead
I am behind a proxy actually. Is it because of that? On Sep 1, 2:24 pm, Norman Maurer wrote: > Ok this sounds like a firewall in front. telnet to port 993 works fine here.. > > Bye, > Norman > > 2009/9/1 smiletolead : > > > > > Telnetting is giving me the following result: > > > C:\>telnet imap.

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread Norman Maurer
Ok this sounds like a firewall in front. telnet to port 993 works fine here.. Bye, Norman 2009/9/1 smiletolead : > > Telnetting is giving me the following result: > > C:\>telnet imap.gmail.com 993 > Connecting To imap.gmail.com...Could not open connection to the host, > on port 993: Connect fail

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread smiletolead
Telnetting is giving me the following result: C:\>telnet imap.gmail.com 993 Connecting To imap.gmail.com...Could not open connection to the host, on port 993: Connect failed Thanks, Ganesh On Sep 1, 2:11 pm, Norman Maurer wrote: > can you try to connect to it via telnet, just to see if there

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread Norman Maurer
can you try to connect to it via telnet, just to see if there is a firewall in front: telnet imap.gmail.com 993 telnet smtp.gmail.com 465 Thx, Norman 2009/9/1 smiletolead : > > Here is the config.properties: > > # The IP or domainname of the IMAP server > IMAPServerAddress=imap.gmail.com > # Th

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread smiletolead
Here is the config.properties: # The IP or domainname of the IMAP server IMAPServerAddress=imap.gmail.com # The port of the IMAP server IMAPServerPort=993 # Use SSL/TLS to connect to the IMAP server IMAPS=true # The IP or domainname of the SMTP server SMTPServerAddress=smtp.gmail.com # The port o

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread Norman Maurer
Can you post your config.properties file. Connection timeout sounds like a firewall,wrong ip or wrong port. Thx, Norman 2009/9/1 smiletolead : > > Hi Norman, >  I downloaded the latest code. When connecting to gmail, I get the > following error: > > 268627 [btpool0-2] ERROR HupaLogger  - Unable

Re: Running Apache Hupa sample of GWT MVP

2009-09-01 Thread smiletolead
Hi Norman, I downloaded the latest code. When connecting to gmail, I get the following error: 268627 [btpool0-2] ERROR HupaLogger - Unable to authenticate user kumar.gane...@gmail.com javax.mail.MessagingException: Connection timed out: connect; nested exception is: java.net.ConnectEx

Re: Running Apache Hupa sample of GWT MVP

2009-08-31 Thread Norman Maurer
Hi all, Hupa supports SSL since yesterday morning ;) I just tested Hupa with gmail and it worked. So here are the steps you need to take: * Checkout latest trunk of Hupa (https://svn.apache.org/repos/asf/labs/hupa/) * Change the config.properties file to contain this: # The IP or domainname of

Re: Running Apache Hupa sample of GWT MVP

2009-08-31 Thread Manuel Carrasco Moñino
Last time I played with hupa i didn't support ssl, however gmail needs ssl for imap and tls for smtp. So I think it is not possible to use it with gmail. Manolo Carrasco On Mon, Aug 31, 2009 at 3:04 PM, Norman Maurer wrote: > > well it should work with gmail.. Did you check if you have enabled

<    1   2   3   4   >