Looked at the above article. Code does not work. For example the reference to import com.vaadin.server.WrappedRequest;. No such animal WrappedRequest in 7 Beta 3. Created other class files per the article and pasted the code examples in. Lots of red everywhere… lol
I am a newbie to Vaadin. I bought the Learning Vaadin. Read it.
Went through the Book Of Vaadin. Created the example project with Roo. Worked fine. I noticed it makes extensive use of plugin extensions to accomplish the Navigation / View design. I thought it was Interesting that the most basic (getting started) example has to go outside the core product to do something so simple. I looked at the code it generated but I am hesitant to go that route as the online docs seem to indicate this methodology and the associated plugins are going to be obsoleted by Vaadin 7x.
As I said I am new, so I am going to start out by apologizing for my next few remarks as I have been a developer for many years and have a certain perception of how project development should work.
As a developer I want to build products with the tools I select, not spend my time fighting just trying to get the tools to simply work. My customer is paying me to build products not fight with tools.
As a newbie I am just trying to understand. If the base examples blow up I am not going to crack open the source at this point and fix it as a lot of you surely do as part of the open source community. I am just trying to swim at this point.
If someone posts an example, my perception is that it should work without having to debug it. I tried a few of the “Sampler Examples” as well. The few I tried if you create a class using the class naming convention shown in the example and drop in the code, they all bleed red. And they seem to assume you just know where the example code snippets should go or will understand how to fix them. They look like class files. So I would go New → Class → and drop the code in based on my past experience. I must be missing something… lol
What I need at at this point is an example of Navigation —> View control where you have a main startup page with menus/buttons which load/display new views without swapping out the entire page. Similiar to the Roo example as previously mentioned but using Vaadin 7 instead as it is the future. Probably going to use a Header/Footer template, but I would just like to see something that works with Beta3 at all at this point.
Again, I apologize. Not intending to flame anyone. Just frustrated at my complete lack of productivity. I am used to commercial products where you buy them, drop them in and the and the code examples just work… This is a new experience for me and I am not used to it.
Any help at this point would be appreciated. I am sure a year from now these issues will seem simple.
FYI. Installed 7 per the instructions. Created the product in Eclipse… New Vaadin 7 project. That’s where I started with the example code… Picked Beta 3 in project creation wizard.
This project is going to take at least a year using multiple developers. I really need to start out with a coding approach that will still be in use a year from now not obsolete in a few months.
Thanks in advance…