Hi Richard Good stuff! Thanks for the wiki-page! I hope I'll find the time to have a closer look at it in the next few days.
-will On 17.11.2010, at 13:06, Unger, Richard wrote: > Hi Will, hi magnolians! > > Ok, I finished the integration of our Vaadin-based GUI. I have it running > under Magnolia 4.3.8. > Attached is a screenshot of our Vaadin App running in Magnolia. > > It was surprisingly easy, and I created a wiki page about how I did it, as > you requested: > http://wiki.magnolia-cms.com/pages/viewpage.action?pageId=48726292 > > Regards from Vienna, > > Richard Unger > > > > > > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im Auftrag von Will Scheidegger > Gesendet: Freitag, 12. November 2010 15:07 > An: Magnolia User-List > Betreff: Re: AW: [magnolia-user] Vaadin support question > > > Oh! I even asked the Vaading speaker at the Magnolia conference about how to > do this. How about writing a wiki tutorial once you've got the stuff sorted > out? That would be just awesome... > > -will > > On 12.11.2010, at 13:31, Unger, Richard wrote: > >> >> Hi Gregory! >> >> Sure - use case is boring though: >> >> It's simply a GUI for the "admins" to create magnolia users by picking the >> employee's record from the organisation's LDAP servers. It's to do with the >> complicated SSO setup used in Austrian government. >> >> The Vaadin idea comes from the desire not to have to rewrite the GUI for >> magnolia 5, and also because creating GUIs is easier in Vaadin than working >> with the old adminCentral's building blocks. >> >> I'd be happy to send a screenshot once it's integrated in magnolia, if >> you're interested, but it's nothing really CMS related, just "integration >> functionality". >> >> Regards from Vienna, >> >> Richard >> >> PS: I'm aware of the LDAP module, but it doesn't suit our scenario to read >> the users directly from LDAP - for us, importing them into magnolia is the >> right way to go. >> >> >> >> >> >> -----Ursprüngliche Nachricht----- >> Von: [email protected] >> [mailto:[email protected]] Im Auftrag von Grégory >> Joseph >> Gesendet: Freitag, 12. November 2010 12:54 >> An: Magnolia User-List >> Betreff: Re: [magnolia-user] Vaadin support question >> >> >> You guys never cease to amaze me ! >> Any chance we could hear more details about this use case ? :=) >> >> >> On Nov 12, 2010, at 9:47, Ernst Bunders wrote: >> >>> Hello Richard >>> >>> I did something similar. I wanted a way to connect forms to a groovy >>> scripts, so I could create generic tasks that can be configured by >>> users at runtime. What I did: >>> >>> 1 Create a vaadin app. This is pretty much a standalone thing. >>> 2 Add the vaadin jar and the vaadin servlet at Configuration > server >>>> filters > servlets (see attachment) >>> 3 create a link in the adminInterface module > config > menu > tools >>> menu to the app (in an iframe to the right) (see attachment) >>> >>> hopes this helps >>> >>> regards, >>> >>> -- >>> Ernst Bunders >>> Ontwikkelaar VPRO >>> >>> modules/extensions for Magnolia - >>>> nothing really CMS related, more things to interface with our >>>> customer's existing IT. >>>> >>>> >>>> >>>> To avoid having to rewrite everything in a few months for magnolia >>>> 5, we would like to implement the GUIs in Vaadin from the start. >>>> >>>> >>>> >>>> The question is: how? >>>> >>>> >>>> >>>> I've looked at Vaadin, done some tutorials, and have my GUI working >>>> outside of Magnolia. >>>> >>>> I've looked at the new magnolia-module-admincentral-vaadin. >>>> >>>> >>>> >>>> So I have 2 Questions: >>>> >>>> >>>> >>>> 1) What's the right way to integrate new Vaadin-based GUI components? >>>> >>>> >>>> >>>> What I'm doing would have been implemented as a "page" in the old >>>> adminCentral. Am I correct in assuming that I would extend >>>> info.magnolia.module.admincentral.components.MagnoliaBaseComponent >>>> to create my gui-component, and then simply configure a menu-item >>>> with view=myviewclassname to provide access to my view from adminCentral's >>>> menu? >>>> >>>> Do I need to do any special magnolia-related init() or cleanup work >>>> in the Vaadin component? >>>> >>>> >>>> >>>> 2) I don't want to run the experimental Vaadin-AdminCentral in >>>> production yet. Can I use Vaadin from within the old adminCentral? >>>> >>>> >>>> >>>> My problem is that I don't want to run Vaadin-Admincentral in >>>> production at the moment, it's not ready. I'd still like to offer my >>>> vaadin-based GUI. >>>> >>>> >>>> >>>> I see the MagnoliaBaseComponent class depends upon prior >>>> initialization of the AdminCentralVaadinApplication class, and uses >>>> the application's layout ("mainComponent"). >>>> >>>> >>>> >>>> I think one approach might be to directly extend CustomComponent for >>>> the moment, and use my own Vaadin Application class for the moment. >>>> By initializing it similarily to AdminCentralVaadinApplication I >>>> should be able to use the existing magnolia-vaadin-theme. >>>> >>>> Changing the class to extend MagnoliaBaseComponent should then be >>>> fairly easy when Magnolia 5.0 comes. >>>> >>>> >>>> >>>> Now one question remains: how add the Vaadin Servlet to the old >>>> adminCentral - would it be sufficient to create a new servlet >>>> mapping under >>>> config->filters->servlets, say mapped to the URI >>>> "/.magnolia/vaadinpreview/*" ? >>>> >>>> >>>> >>>> Thanks for your thoughts and feedback! >>>> >>>> >>>> >>>> Regards from Vienna, >>>> >>>> Richard >>>> >>>> >>>> >>>> >>>> >>>> ________________________________ >>>> ---------------------------------------------------------------- >>>> For list details see >>>> http://www.magnolia-cms.com/home/community/mailing-lists.html >>>> To unsubscribe, E-mail to: <[email protected]> >>>> ---------------------------------------------------------------- >>>> >>> >>> >>> >>> -- >>> Ernst Bunders >>> Ontwikkelaar VPRO >>> >>> >>> ---------------------------------------------------------------- >>> For list details see >>> http://www.magnolia-cms.com/home/community/mailing-lists.html >>> To unsubscribe, E-mail to: <[email protected]> >>> ---------------------------------------------------------------- >>> <config.modules.adminInterface.config.menu.tools.gui-script.xml><conf >>> i g.server.filters.servlets.Vaadin-gui-script.xml> >> >> >> >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: <[email protected]> >> ---------------------------------------------------------------- >> >> >> >> >> >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: <[email protected]> >> ---------------------------------------------------------------- >> > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > <screenshot_vaadin_gui.PNG> ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
