Hi Will,

Sorry, I was out of office for a few days. I'm glad you got it working. Your 
screenshots look very slick!

Regards from Vienna,

Richard

Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Will Scheidegger
Gesendet: Donnerstag, 05. Juli 2012 19:58
An: Magnolia User-List
Betreff: Re: [magnolia-user] Question reg. "Vaadin for the early birds"

Answering my own question: The "readme.txt" in the Vaadin source distribution's 
"WebContent/VAADIN" folder tells you how to build the widgets. Of course as 
Vaadin-dummy I have no clue what widgets to build, but the default set seems to 
work just fine:

% cd build
% ant widgetset-default

After that I had what I needed to copy in my Magnolia module's 
src/main/resources/mgnl-resources/[modulename] folder. Things are not working 
100% (still getting a strange error message claiming that the widgets were 
built for a different version of Vaadin), but the integration works.

For other dummies like me, I've compiled my experiences in a wiki page:
http://wiki.magnolia-cms.com/display/DEV/Vaadin+for+Dummies

Cheers,
-will

On 05.07.2012, at 11:14, Will Scheidegger wrote:


For some reasons my post was marked as junk. Just in case the Vaadin cracks on 
this list also follow the list by Mail instead of the forum and missed the post 
because it ended up in the junk folder, I'll post it again, hoping that this 
time it will not get labeled. Sorry for the "re-post".

-will

On 05.07.2012, at 08:29, Will Scheidegger wrote:


Dear Magnolians, dear Richard

Yesterday I wanted to give "Vaadin for the early birds" a try [1]. Since I have 
no Vaadin or GWT experience, I thought I could make things even easier:
- I got the "Vaadin tutorial - five minute version" [2] running
- Then created a magnolia module adding the tutorial code (1 class)
- Added the Vaadin 6.8.0 jar to my Magnolias lib folder
- And configured a servlet as described on the early birds wiki page

Result: The Vaadin application servlet gets triggered but complains about not 
being able to find the widgets. This is probably where my lack of GWT know-how 
shows:
<Screen Shot 2012-07-05 at 08.18.44.png>
My servlet configuration looks like this:
<Screen Shot 2012-07-05 at 08.17.44.png>

It is not too astonishing that the widgetset is not found since the folder is 
empty. I have not created any custom widgets and could not find any resources, 
VAADIN folder or anything alike in the target folder of my 5-minute project. So 
I copied the VAADIN-folder from the 6.8.0 sources which most likely is not good 
enough. The configuration itself seems to be fine since I can load the 
readme.txt which is in the VAADIN folder.

I somehow vaguely remember having heard some time that GWT applications need to 
be built in order for the widgets to be crated... but the build of the tutorial 
app did not do any such thing and still worked. Can someone shed some light on 
this mystery?

Thanks!
-will


[1] http://wiki.magnolia-cms.com/display/DEV/Vaadin+for+Early+Birds
[2] https://vaadin.com/tutorial

________________________________
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 
<[email protected]<mailto:[email protected]>>
----------------------------------------------------------------


________________________________
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 
<[email protected]<mailto:[email protected]>>
----------------------------------------------------------------


________________________________
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 
<[email protected]<mailto:[email protected]>>
----------------------------------------------------------------


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to